/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .static {
    position: static;
  }
  .contents {
    display: contents;
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
}
.brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
  background: white;
  border-radius: 10px;
  flex-shrink: 0;
}
.brand-logo-login {
  width: 220px;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 10px;
}
.brand.brand-official {
  flex-direction: column;
  gap: 10px;
  padding: 0 0 24px;
  text-align: center;
}
.brand-official > small {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 400;
}
.brand-logo-sidebar {
  width: 132px;
}
.brand-logo-header {
  width: 80px;
}
@media (max-width: 760px) {
  .brand-logo-login {
    width: 152px;
    margin-bottom: 20px;
  }
  .brand-logo-header {
    width: 64px;
  }
  .brand-logo-sidebar {
    width: 112px;
  }
}
.participant-header {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  gap: 16px;
}
.participant-portal {
  min-height: 100dvh;
  background: linear-gradient(180deg, #e8f3ed 0, #f6f8f7 350px);
}
.participant-nav {
  display: flex;
  gap: 12px;
  max-width: 1200px;
  margin: auto;
  padding: 0 28px 18px;
  overflow-x: auto;
}
.participant-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  white-space: nowrap;
  border-radius: 24px;
  color: #506b5c;
}
.participant-nav a.active {
  background: #16664f;
  color: white;
}
.participant-main {
  max-width: 1200px;
  margin: auto;
  padding: 32px 28px 56px;
}
.participant-footer {
  max-width: 1200px;
  margin: auto;
  padding: 24px 28px;
  color: #65766e;
  font-size: 12px;
}
@media (max-width: 760px) {
  .participant-header {
    padding: 16px;
    flex-wrap: wrap;
  }
  .participant-nav {
    padding: 0 16px 12px;
    gap: 4px;
  }
  .participant-nav a {
    padding: 10px 12px;
  }
  .participant-main {
    padding: 24px 16px;
  }
  .participant-portal .cards {
    grid-template-columns: 1fr;
  }
}
:root {
  --background: #f6f8f7;
  --foreground: #19332d;
  --primary: #16664f;
  --border: #dce5df;
  --muted: #65766e;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  margin-bottom: 8px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 16px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--primary);
  font-weight: 700;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  background: white;
  border-right: 1px solid var(--border);
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 34px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
}
.brand-icon {
  display: grid;
  place-items: center;
  background: #e7f3eb;
  color: var(--primary);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.navlink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #63736d;
}
.navlink:hover {
  background: #f3f7f4;
}
.navlink.active {
  background: #e9f3ed;
  color: #146249;
  font-weight: 700;
}
.sidebar footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 20px 10px 0;
}
.shell {
  margin-left: 244px;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--border);
  background: #ffffffcc;
}
.main {
  padding: 36px 38px 60px;
  max-width: 1600px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading p {
  margin: 0;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}
.primary {
  background: var(--primary);
  color: white;
}
.primary:hover {
  background: #10523e;
}
.outline {
  background: white;
  border-color: var(--border);
  color: var(--foreground);
}
.ghost {
  background: transparent;
  color: var(--primary);
}
.danger {
  background: #a23434;
  color: white;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.stat,
.card,
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.stat {
  padding: 22px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}
.stat strong {
  font-size: 32px;
  display: block;
  margin-top: 12px;
  font-weight: 600;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 {
  font-size: 17px;
  margin: 0;
  min-height: 45px;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.card .button {
  margin-top: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
  background: #f0f2f1;
  color: #64716b;
  width: fit-content;
  white-space: nowrap;
}
.badge.ACTIVE,
.badge.PRESENT {
  background: #e5f4ea;
  color: #21724e;
}
.badge.ABSENT,
.badge.INACTIVE {
  background: #fbecec;
  color: #9b4141;
}
.badge.JUSTIFIED,
.badge.DRAFT {
  background: #fff4dc;
  color: #987220;
}
.panel {
  padding: 24px;
  margin-bottom: 22px;
}
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: end;
}
.filters label {
  flex: 1;
  min-width: 130px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #52645b;
  font-size: 12px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: white;
  color: var(--foreground);
  padding: 10px 12px;
  border: 1px solid #cdd9d1;
  border-radius: 7px;
  min-height: 43px;
  font-size: 14px;
  font-weight: 400;
}
.field textarea {
  min-height: 88px;
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #f7f9f7;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 600;
}
td,
th {
  padding: 15px 18px;
  border-bottom: 1px solid #e8ede9;
}
tbody tr:last-child td {
  border: 0;
}
td a {
  font-weight: 600;
  color: var(--primary);
}
.empty {
  text-align: center;
  padding: 45px 24px;
  color: var(--muted);
  background: white;
  border: 1px dashed #ccdacf;
  border-radius: 10px;
}
.empty h3 {
  color: var(--foreground);
}
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 24px 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.tabs button {
  border: 0;
  background: transparent;
  padding: 10px 16px;
  white-space: nowrap;
  border-radius: 6px;
}
.tabs button.active {
  background: #e3f0e7;
  color: var(--primary);
  font-weight: 700;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.detail-grid dt {
  font-size: 12px;
  color: var(--muted);
}
.detail-grid dd {
  margin: 4px 0 0;
}
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: #102c2359;
  z-index: 60;
}
.dialog-content {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
  background: white;
  border-radius: 16px;
  padding: 28px;
  z-index: 61;
  box-shadow: 0 20px 70px #142c2333;
}
.dialog-title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-right: 28px;
}
.dialog-close {
  position: absolute;
  right: 20px;
  top: 22px;
  background: transparent;
  border: 0;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  background: #193f30;
  color: white;
  border-radius: 10px;
  padding: 15px 22px;
  max-width: calc(100% - 40px);
  box-shadow: 0 6px 25px #0002;
}
.toast.error {
  background: #923b36;
}
.error-text {
  color: #a22d2d;
  background: #fff0ed;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.notice {
  background: #edf5ef;
  border: 1px solid #d2e5d7;
  padding: 16px 20px;
  border-radius: 10px;
  color: #476752;
  margin-bottom: 22px;
}
.attendance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}
.attendance-row:last-child {
  border: 0;
}
.attendance-options {
  display: flex;
  gap: 8px;
}
.attendance-options button {
  min-height: 46px;
  min-width: 96px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px 12px;
  background: white;
  color: #5e7064;
}
.attendance-options button.selected.PRESENT {
  background: #e1f3e7;
  border-color: #26804e;
  color: #185b37;
}
.attendance-options button.selected.ABSENT {
  background: #fce6e6;
  border-color: #b95959;
  color: #9e3030;
}
.attendance-options button.selected.JUSTIFIED {
  background: #fff1d0;
  border-color: #ba9328;
  color: #856412;
}
.attendance-list {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  overflow: hidden;
}
.login {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-art {
  background: #164d3c;
  color: white;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-art:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid #ffffff15;
  border-radius: 50%;
  bottom: -250px;
  right: -100px;
  box-shadow: 0 0 0 60px #ffffff05,
    0 0 0 120px #ffffff04;
}
.login-art h1 {
  font-size: 44px;
  line-height: 1.15;
  max-width: 450px;
}
.login-art p {
  color: #b8d2c4;
  font-size: 17px;
  max-width: 370px;
}
.login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-form form {
  width: 100%;
  max-width: 370px;
}
.login-form .field {
  margin: 18px 0;
}
.login-form .button {
  width: 100%;
  margin-top: 8px;
}
.mobile-menu {
  display: none;
}
.loading {
  padding: 60px;
  max-width: 1000px;
  margin: auto;
}
.skeleton {
  height: 90px;
  background: #e4eae5;
  margin-bottom: 20px;
  border-radius: 12px;
  animation: pulse 1.5s infinite;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.between {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 16px;
}
.subtle-link {
  color: var(--primary);
  font-weight: 600;
}
.mobile-backdrop {
  display: none;
}
.progress {
  height: 6px;
  width: 100px;
  background: #e8eee9;
  border-radius: 5px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: #45986d;
}
small {
  font-size: 12px;
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}
@media (min-width: 1450px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1150px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .main {
    padding: 28px 24px;
  }
  .sidebar {
    width: 218px;
  }
  .shell {
    margin-left: 218px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    width: 265px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    background: #1237;
    z-index: 25;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 64px;
    padding: 0 18px;
  }
  .mobile-menu {
    display: inline-flex;
    background: transparent;
    border: 0;
    padding: 8px;
  }
  .main {
    padding: 24px 16px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  h1 {
    font-size: 24px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 28px;
  }
  .form-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 18px;
  }
  .attendance-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  .attendance-options {
    width: 100%;
    gap: 6px;
  }
  .attendance-options button {
    flex: 1;
    min-width: 0;
    padding: 10px 7px;
    font-size: 13px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-art {
    padding: 36px 28px;
  }
  .login-art h1 {
    font-size: 30px;
  }
  .login-art p {
    font-size: 14px;
    margin-bottom: 0;
  }
  .login-form {
    padding: 32px 24px;
  }
  .dialog-content {
    padding: 24px 20px;
  }
  .topbar .date-label {
    display: none;
  }
  .filters label {
    min-width: 140px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .form-actions .button {
    flex: 1;
  }
  .card h3 {
    min-height: 0;
  }
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-border-style: solid;
      --tw-outline-style: solid;
    }
  }
}
