/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Lexend","arguments":[{"subsets":["latin"],"variable":"--font-display"}],"variableName":"display"} ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/630e0b819503bca7-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: 'Lexend';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/6eed223b32d97b82-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/793968fa3513f5d6-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: 'Lexend Fallback';src: local("Arial");ascent-override: 90.98%;descent-override: 22.74%;line-gap-override: 0.00%;size-adjust: 109.91%
}.__className_9d0602 {font-family: 'Lexend', 'Lexend Fallback';font-style: normal
}.__variable_9d0602 {--font-display: 'Lexend', 'Lexend Fallback'
}

/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Public_Sans","arguments":[{"subsets":["latin"],"variable":"--font-body"}],"variableName":"body"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/f7650dfaa438c37c-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: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/98baa4a7809fbf72-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8bf7b2ceda89477b-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: 'Public Sans Fallback';src: local("Arial");ascent-override: 90.59%;descent-override: 21.46%;line-gap-override: 0.00%;size-adjust: 104.87%
}.__className_81ca43 {font-family: 'Public Sans', 'Public Sans Fallback';font-style: normal
}.__variable_81ca43 {--font-body: 'Public Sans', 'Public Sans Fallback'
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --paper: #f6f3ec;
  --card: #fffdf8;
  --ink: #17293e;
  --ink-soft: #51647c;
  --teal: #0e7c66;
  --teal-soft: #e2f0ec;
  --amber: #c97c2b;
  --amber-soft: #f7ecdd;
  --line: #e5dfd3;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display), system-ui, sans-serif;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 0.4em;
  font-weight: 600;
}

a {
  color: var(--teal);
}

img,
video {
  max-width: 100%;
}

/* ---------- primitives ---------- */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display), sans-serif;
  font-weight: 500;
  font-size: 15px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  min-height: 44px;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
.btn-primary {
  background: var(--ink);
  color: #fdfbf6;
}
.btn-primary:hover:not(:disabled) {
  background: #22374f;
  box-shadow: 0 8px 20px rgba(23, 41, 62, 0.18);
}
.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover:not(:disabled) {
  background: #0b6856;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover:not(:disabled) {
  border-color: var(--ink-soft);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
  min-height: 38px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-family: var(--font-display), sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body), sans-serif;
  font-size: 15.5px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 124, 102, 0.12);
}
.field .hint {
  font-size: 13px;
  color: var(--ink-soft);
}

.form-error {
  background: #fbeee8;
  border: 1px solid #ecc8b4;
  color: #93350f;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 14.5px;
  margin-bottom: 16px;
}
.form-success {
  background: var(--teal-soft);
  border: 1px solid #b9d9d1;
  color: #0b5a4a;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 14.5px;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display), sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.badge-done {
  background: var(--teal-soft);
  color: #0b5a4a;
}
.badge-pending {
  background: var(--amber-soft);
  color: #8a5114;
}
.badge-plain {
  background: #efece4;
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--font-display), sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 243, 236, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display), sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.wordmark-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--ink);
  color: #fdfbf6;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- progress ring ---------- */
.ring {
  position: relative;
  display: inline-grid;
  place-items: center;
}
.ring svg {
  display: block;
  transform: rotate(-90deg);
}
.ring .track {
  stroke: #e8e2d5;
}
.ring .val {
  stroke: var(--teal);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}
.ring-label {
  position: absolute;
  text-align: center;
}
.ring-label b {
  font-family: var(--font-display), sans-serif;
  display: block;
  line-height: 1;
}
.ring-label span {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.bar {
  height: 8px;
  border-radius: 99px;
  background: #eae4d8;
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--teal);
  transition: width 0.5s ease;
}

/* ---------- checklist ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border 0.15s ease, transform 0.15s ease;
}
.step:hover {
  border-color: #cfc7b6;
}
.step-num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display), sans-serif;
  font-weight: 600;
  font-size: 16px;
  background: #efece4;
  color: var(--ink-soft);
}
.step.done .step-num {
  background: var(--teal);
  color: #fff;
}
.step-body {
  flex: 1;
  min-width: 0;
}
.step-body h3 {
  font-size: 17.5px;
  margin: 0 0 2px;
}
.step-body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.step-kind {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-family: var(--font-display), sans-serif;
}
.step-side {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- admin table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
table.grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 760px;
}
table.grid th {
  text-align: left;
  font-family: var(--font-display), sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 14px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.grid td {
  padding: 14px;
  border-bottom: 1px solid #efece4;
  vertical-align: middle;
}
table.grid tr:last-child td {
  border-bottom: none;
}
table.grid tr:hover td {
  background: #faf8f2;
}
.emp-cell b {
  display: block;
  font-family: var(--font-display), sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.emp-cell span {
  color: var(--ink-soft);
  font-size: 13px;
}
.dot {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  background: #efece4;
  color: transparent;
}
.dot.on {
  background: var(--teal);
  color: #fff;
}
.dot.off {
  background: transparent;
  border: 1.5px dashed #cfc7b6;
}

/* ---------- footer ---------- */
.footer {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--ink-soft);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
}

/* ---------- login ---------- */
.login-grid {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 46% 54%;
}
.login-photo {
  position: relative;
  overflow: hidden;
}
.login-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.login-photo .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(23, 41, 62, 0) 40%, rgba(23, 41, 62, 0.72));
}
.login-photo .quote {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 44px;
  color: #fdfbf6;
}
.login-photo .quote p {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.login-photo .quote span {
  font-size: 14px;
  opacity: 0.85;
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.login-box {
  width: 100%;
  max-width: 420px;
}
.login-box h1 {
  font-size: clamp(30px, 3.4vw, 40px);
}

/* ---------- signatures ---------- */
.sig-input {
  font-family: var(--font-display), sans-serif;
  font-size: 20px !important;
  font-style: italic;
}
.agreement {
  background: #f4f1e9;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 20px;
}

/* ---------- handbook ---------- */
.prose {
  max-width: 720px;
}
.prose h2 {
  font-size: 24px;
  margin-top: 44px;
}
.prose p,
.prose li {
  font-size: 16.5px;
  color: #2b3d53;
}
.prose ul {
  padding-left: 22px;
}
.prose li {
  margin-bottom: 6px;
}

.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d1826;
  aspect-ratio: 16 / 9;
}
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px 0 30px;
}
.kpi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.kpi b {
  font-family: var(--font-display), sans-serif;
  font-size: 30px;
  font-weight: 600;
  display: block;
  line-height: 1.1;
}
.kpi span {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .login-grid {
    grid-template-columns: 1fr;
  }
  .login-photo {
    min-height: 300px;
  }
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .step {
    flex-wrap: wrap;
  }
  .step-side {
    width: 100%;
    justify-content: space-between;
  }
}

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

