@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap");

@import url("footer.296368af51fa.css");
@import url("portal-footer.a77ba8b21ab4.css");
@import url("navbar.77f6f51c3168.css");
@import url("button.42d0f47ec913.css");
@import url("font.0dc67cac0fa6.css");
@import url("container.5beb34d89c66.css");
@import url("errors.3883ffc316e2.css");
@import url("table.63d76ea4d7a6.css");
@import url("icons.d41d8cd98f00.css");

:root {
  --color-bg: #f7f9f5;
  --color-bg-hover: #e5e7eb;
  --color-bg-light: #fff;
  --color-dark: #1b4621;
  --color-dark-surface: #2e5732;
  --color-dark-light: #4a8a50;
  --color-accent: #2e7d32;
  --color-border: #b7cca0;
  --color-accent-light: #dcf0d8;
  --color-danger: #c62828;
  --color-text-light: #ebe7df;
  --color-yellow: #fad70f;
  --color-yellow-light: #fff3d6;
  --color-yellow-dark: #b7791f;

  --font-heading: "Neue Haas Grotesk", "Helvetica Now", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-header: "Geist", sans-serif;

  --fw-black: 900;
  --fw-bold: 700;
  --fw-regular: 400;

  --radius-btn: 8px;
  --radius-btn-round: 20px;
  --radius-input: 4px;

  --min-height: calc(100vh - (80px + 2rem));

  --img-svg-dark: brightness(0) saturate(100%) invert(23%) sepia(18%)
    saturate(1000%) hue-rotate(80deg) brightness(85%);
}

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

body {
  background-color: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-dark);
}

/* Shared sizing prevents padded controls overflowing narrow layouts. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
input,
select,
textarea,
button {
  font-family: inherit;
}
img {
  max-width: 100%;
}
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* Global themed native <select> — rounded corners, theme border, green focus
   ring, a custom green caret, and accent-light option highlight, so every
   dropdown matches the premium look without per-form styling. Multi-selects and
   list-boxes keep the native control. Opt out with the `.native-select` class. */
select:not([multiple]):not([size]):not(.native-select) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.6rem 2.3rem 0.6rem 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  background-color: var(--color-bg-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231b4621' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  /* Recolors the open option list's active-row highlight from the OS default
     blue to brand green on Chromium/Blink. */
  accent-color: var(--color-accent);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

select:not([multiple]):not([size]):not(.native-select):hover {
  border-color: var(--color-dark-light);
}

select:not([multiple]):not([size]):not(.native-select):focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, .18);
}

/* Best-effort option theming (honoured on Firefox/most Linux; Chrome/macOS use
   the OS popup, which these cannot fully override). Rounded corners where the
   renderer allows it; never the OS-drawn blue. */
select:not([multiple]):not([size]):not(.native-select) option {
  background-color: var(--color-bg-light);
  color: var(--color-dark);
  border-radius: var(--radius-btn);
}

/* Hover / keyboard-active row: soft greenish highlight. */
select:not([multiple]):not([size]):not(.native-select) option:hover {
  background-color: var(--color-accent-light);
  color: var(--color-dark);
}

/* The currently selected value: a firmer brand green. */
select:not([multiple]):not([size]):not(.native-select) option:checked {
  background-color: var(--color-accent);
  color: #fff;
}

/* The enhanced control keeps its native select in the form for submission and
   accessibility, but only the rounded premium button is visually rendered. */
select.premium-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 768px) {
  .container-worker {
    padding: 1.25rem;
  }
}
@media (max-width: 480px) {
  .container-worker {
    padding: 1rem;
  }
}

/* ===========================================================================
   Premium select — a reusable, token-themed replacement for the native
   <select>. Markup: .premium-select > .premium-select-button + .premium-select-
   menu[role=listbox] > .premium-select-option[role=option]. JS toggles
   [data-open] and manages aria-selected; this file owns the look everywhere.
   =========================================================================== */
.premium-select {
  position: relative;
  width: 100%;
  font-family: var(--font-body);
}

.premium-select-button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  color: var(--color-dark);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.premium-select-button:hover {
  border-color: var(--color-dark-light);
}

.premium-select-button:focus-visible,
.premium-select[data-open] .premium-select-button {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, .18);
}

.premium-select-current {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1 1 auto;
  min-width: 0;
}

.premium-select-current .premium-select-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-select-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  border-radius: 7px;
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.premium-select-icon svg { width: 16px; height: 16px; }

.premium-select-caret {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--color-dark-light);
  transition: transform 0.18s ease;
}

.premium-select[data-open] .premium-select-caret { transform: rotate(180deg); }

.premium-select-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  box-shadow: 0 12px 30px rgba(27, 70, 33, .14);
  max-height: 16rem;
  overflow-y: auto;
}

.premium-select-menu[hidden] { display: none; }

.premium-select-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.55rem;
  border-radius: 6px;
  color: var(--color-dark);
  font-weight: 500;
  cursor: pointer;
}

.premium-select-option > span { flex: 1 1 auto; min-width: 0; }

.premium-select-option:hover,
.premium-select-option.is-active {
  background: var(--color-accent-light);
}

/* Selected option: solid dark-green row with white text (no bold, no checkmark). */
.premium-select-option[aria-selected="true"],
.premium-select-option[aria-selected="true"]:hover,
.premium-select-option[aria-selected="true"].is-active {
  background: var(--color-dark);
  color: #fff;
}

.premium-select-check { display: none; }
