@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f5f3ef;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #18201d;
  --muted: #6f766f;
  --line: #e4ded3;
  --brand: #2f6f5e;
  --brand-dark: #1f4d41;
  --brand-soft: #e3eee9;
  --accent: #d98a35;
  --accent-soft: #fff1df;
  --danger: #bf4b4b;
  --warning: #b7791f;
  --success: #2f6f5e;
  --info: #4b6f8f;
  --shadow: 0 18px 48px rgba(37, 43, 39, .10);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #faf8f4 0%, #f5f3ef 48%, #f0ece5 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.lummi-app {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #faf8f4 0%, #f5f3ef 48%, #f0ece5 100%);
  color: var(--ink);
}

.lummi-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.lummi-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: #18201d;
  color: #dbe7df;
  padding: 20px 16px 24px;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .06);
  scrollbar-color: rgba(255, 255, 255, .16) transparent;
  scrollbar-width: thin;
}

/* Point calculation workspace */
.calculation-command {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(240px, .8fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  background: #fff;
}

.calculation-period {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.calculation-period-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.calculation-period-icon svg { width: 20px; height: 20px; }
.calculation-period > div { display: grid; min-width: 0; gap: 3px; }
.calculation-period strong { font-size: 17px; }
.calculation-period small { color: var(--muted); font-size: 11px; font-weight: 700; }

.calculation-eyebrow {
  color: #6a766f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.calculation-progress-block { display: grid; gap: 7px; }
.calculation-progress-block > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 800; }
.calculation-progress-block > div:first-child strong { color: var(--brand-dark); font-size: 14px; }
.calculation-progress-block small { color: var(--muted); font-size: 10px; font-weight: 700; }

.calculation-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 4px;
  background: #e7ebe8;
}

.calculation-progress span { display: block; height: 100%; border-radius: inherit; background: var(--brand); }

.calculation-command-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.calculation-command-actions form,
.calculation-row-actions form { margin: 0; }
.calculation-command .lummi-btn svg,
.calculation-workspace .lummi-btn svg { width: 16px; height: 16px; }
.calculation-cancel-all { color: #8d4747; }

.calculation-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
}

.calculation-metric {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 17px 20px;
  border-right: 1px solid var(--line);
  transition: background .16s ease;
}

.calculation-metric:last-child { border-right: 0; }
.calculation-metric:hover { background: #fff; }
.calculation-metric.is-active { background: #f1f7f4; }
.calculation-metric.is-active::after { position: absolute; right: 18px; bottom: -1px; left: 18px; height: 3px; background: var(--brand); content: ""; }
.calculation-metric span { color: #667169; font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.calculation-metric strong { color: var(--ink); font-size: 24px; line-height: 1.1; }
.calculation-metric small { overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.calculation-metric.is-alert strong { color: #a76520; }

.calculation-workspace {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.calculation-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fafbf9;
}

.calculation-tabs a {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.calculation-tabs a::after { position: absolute; right: 10px; bottom: -1px; left: 10px; height: 3px; background: transparent; content: ""; }
.calculation-tabs a.is-active { color: var(--brand-dark); }
.calculation-tabs a.is-active::after { background: var(--brand); }
.calculation-tabs svg { width: 17px; height: 17px; }
.calculation-tabs a > span { min-width: 24px; padding: 3px 6px; border-radius: 8px; background: #e9eeeb; color: #5e6962; font-size: 9px; text-align: center; }
.calculation-tabs a.is-active > span { background: var(--brand-soft); color: var(--brand-dark); }

.calculation-filter-band {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}

.calculation-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(170px, .75fr) minmax(180px, .85fr) 92px auto;
  align-items: end;
  gap: 10px;
}

.calculation-filters .lummi-field { min-width: 0; gap: 6px; }
.calculation-filters .lummi-input,
.calculation-filters .lummi-select { min-width: 0; min-height: 40px; border-radius: 6px; font-size: 12px; }
.calculation-input-icon { position: relative; display: block; min-width: 0; }
.calculation-input-icon > svg { position: absolute; top: 50%; left: 12px; z-index: 1; width: 16px; height: 16px; color: #7b8780; transform: translateY(-50%); pointer-events: none; }
.calculation-input-icon .lummi-input { padding-left: 37px; }
.calculation-filter-actions { display: flex; align-items: center; gap: 8px; }
.calculation-filter-actions .lummi-icon-btn { width: 40px; height: 40px; border-radius: 6px; }

.calculation-list-toolbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
}

.calculation-list-toolbar > div:first-child { display: grid; gap: 2px; }
.calculation-list-toolbar > div:first-child strong { font-size: 13px; }
.calculation-list-toolbar > div:first-child span { color: var(--muted); font-size: 10px; font-weight: 700; }
.calculation-selection-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.calculation-selection-actions > span { margin-right: 4px; color: var(--muted); font-size: 11px; font-weight: 750; }
.calculation-selection-actions > span strong { color: var(--ink); }
.calculation-selection-actions .lummi-btn { min-height: 36px; padding: 8px 11px; border-radius: 6px; font-size: 11px; }

.calculation-table-scroll { width: 100%; overflow-x: auto; }
.calculation-workspace .calculation-table { min-width: 900px; border: 0; border-radius: 0; }
.calculation-workspace .calculation-table th { padding: 11px 13px; background: #f7f9f7; color: #657169; font-size: 9px; letter-spacing: .05em; white-space: nowrap; }
.calculation-workspace .calculation-table td { padding: 12px 13px; vertical-align: middle; font-size: 12px; }
.calculation-table tbody tr:hover { background: #fbfcfb; }
.calculation-table tbody tr:last-child td { border-bottom: 0; }
.calculation-check-cell { width: 42px; text-align: center; }
.calculation-check-cell input { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; }
.calculation-actions-column { width: 150px; text-align: right; }

.calculation-employee { display: flex; min-width: 220px; align-items: center; gap: 10px; }
.calculation-employee > span { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 50%; background: #e8efeb; color: var(--brand-dark); font-size: 11px; font-weight: 900; }
.calculation-employee > div { display: grid; min-width: 0; gap: 3px; }
.calculation-employee strong { overflow: hidden; max-width: 280px; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.calculation-employee small { color: var(--muted); font-size: 9px; font-weight: 700; }

.calculation-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px; background: #eef1ef; color: #5f6963; font-size: 9px; font-weight: 900; white-space: nowrap; }
.calculation-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.calculation-status.is-success { background: #e6f2ec; color: #286d57; }
.calculation-status.is-warning { background: #fff2dc; color: #9a5f18; }
.calculation-status.is-muted { background: #f1eeee; color: #786969; }
.calculation-status.is-neutral { background: #eef1ef; color: #657069; }
.calculation-reason { display: block; overflow: hidden; max-width: 210px; margin-top: 5px; color: #866226; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.calculation-divergence-count { display: inline-grid; min-width: 30px; height: 27px; place-items: center; border-radius: 6px; background: #eef1ef; color: #647068; font-size: 11px; font-weight: 900; }
.calculation-divergence-count.has-items { background: #fff0df; color: #9d601d; }
.calculation-date { color: #59645d; font-size: 10px; font-weight: 750; white-space: nowrap; }
.calculation-row-actions { justify-content: flex-end; gap: 6px; }
.calculation-row-actions .lummi-icon-btn { width: 32px; height: 32px; border-radius: 6px; }
.calculation-row-actions .lummi-icon-btn svg { width: 15px; height: 15px; }

.calculation-pagination {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 18px;
  border-top: 1px solid var(--line);
}

.calculation-pagination > span { color: var(--muted); font-size: 10px; font-weight: 750; }
.calculation-pagination > div { display: flex; align-items: center; gap: 5px; }
.calculation-pagination .lummi-icon-btn { width: 32px; height: 32px; border-radius: 6px; }
.calculation-pagination .lummi-icon-btn svg { width: 15px; height: 15px; }
.calculation-pagination .is-disabled { opacity: .35; pointer-events: none; }
.calculation-page-link { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid transparent; border-radius: 6px; color: #59645d; font-size: 11px; font-weight: 850; }
.calculation-page-link:hover { border-color: var(--line); background: #f7f9f7; }
.calculation-page-link.is-active { border-color: #bcd1c8; background: var(--brand-soft); color: var(--brand-dark); }

.calculation-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.calculation-history-heading > div { display: grid; gap: 4px; }
.calculation-history-heading > div strong { font-size: 16px; }
.calculation-history-heading > div small { color: var(--muted); font-size: 11px; }
.calculation-history-heading > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.calculation-history-table { min-width: 800px; }
.calculation-history-table td:first-child { display: grid; gap: 2px; }
.calculation-history-table td:first-child small { color: var(--muted); font-size: 9px; }
.calculation-history-date { font-size: 11px; }
.calculation-history-summary { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.calculation-history-summary span { padding: 4px 6px; border-radius: 4px; background: #f0f3f1; color: #5f6963; font-size: 9px; font-weight: 750; }
.calculation-empty { display: grid; justify-items: center; gap: 5px; padding: 34px 20px; color: var(--muted); text-align: center; }
.calculation-empty svg { width: 23px; height: 23px; }
.calculation-empty strong { color: var(--ink); font-size: 13px; }
.calculation-empty span { font-size: 10px; }

@media (max-width: 1120px) {
  .calculation-command { grid-template-columns: minmax(260px, 1fr) minmax(220px, .8fr); }
  .calculation-command-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .calculation-filters { grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(160px, 1fr)) 90px; }
  .calculation-filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 760px) {
  .calculation-command { grid-template-columns: 1fr; gap: 17px; padding: 18px; }
  .calculation-command-actions { grid-column: auto; justify-content: stretch; }
  .calculation-command-actions form { flex: 1; }
  .calculation-command-actions .lummi-btn { width: 100%; }
  .calculation-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calculation-metric:nth-child(2) { border-right: 0; }
  .calculation-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .calculation-filters { grid-template-columns: 1fr 1fr; }
  .calculation-search { grid-column: 1 / -1; }
  .calculation-filter-actions { grid-column: 1 / -1; }
  .calculation-list-toolbar { align-items: stretch; flex-direction: column; }
  .calculation-selection-actions { justify-content: flex-start; }
  .calculation-history-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .calculation-command-actions { flex-direction: column; }
  .calculation-command-actions form { width: 100%; }
  .calculation-metrics { grid-template-columns: 1fr; }
  .calculation-metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .calculation-metric:last-child { border-bottom: 0; }
  .calculation-filters { grid-template-columns: 1fr; }
  .calculation-search,
  .calculation-filter-actions { grid-column: auto; }
  .calculation-filter-actions { justify-content: stretch; }
  .calculation-filter-actions .lummi-btn { flex: 1; }
  .calculation-selection-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .calculation-selection-actions > span { grid-column: 1 / -1; }
  .calculation-selection-actions .lummi-btn { min-width: 0; padding-right: 7px; padding-left: 7px; }
  .calculation-pagination { align-items: flex-start; flex-direction: column; }
  .calculation-tabs { padding: 0 8px; }
  .calculation-tabs a { padding: 0 8px; font-size: 12px; }
}

.lummi-brand {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 5px 6px;
}

.lummi-brand-icon { display: block; width: 38px; height: 38px; flex: 0 0 38px; }
.lummi-brand-wordmark {
  display: block;
  width: min(160px, calc(100% - 48px));
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.lummi-company-chip {
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .055);
  color: #e7efe9;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.lummi-sidebar-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: start;
  gap: 8px;
  margin-top: 12px;
}

.lummi-context-switch {
  display: grid;
  width: 34px;
  height: 34px;
  margin-top: 4px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  font-weight: 900;
  line-height: 1;
}

.lummi-context-switch svg {
  width: 18px;
  height: 18px;
  display: block;
}

.lummi-context-switch:hover {
  border-color: rgba(217, 138, 53, .45);
  background: rgba(217, 138, 53, .18);
}

.lummi-period-chip {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(217, 138, 53, .26);
  border-radius: 10px;
  background: rgba(217, 138, 53, .11);
}

.lummi-period-chip span {
  color: rgba(219, 231, 223, .65);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lummi-period-chip strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.lummi-period-chip small {
  color: rgba(219, 231, 223, .74);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.lummi-period-months {
  display: inline-grid;
  align-items: center;
  justify-items: center;
  width: fit-content;
  min-width: 96px;
  min-height: 54px;
  padding: 8px 15px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.lummi-period-months small {
  margin-top: 4px;
  color: #66756e;
  font-size: 12px;
  font-weight: 900;
}

.lummi-period-picker {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(96px, .8fr);
  gap: 12px;
}

.lummi-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(47, 111, 94, .24);
}

.lummi-nav {
  display: grid;
  gap: 4px;
  margin-top: 26px;
}

.lummi-nav-group {
  display: grid;
  gap: 4px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .055);
}

.lummi-nav-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.lummi-nav-heading {
  display: flex;
  min-height: 36px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(219, 231, 223, .58);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .16s ease, background .16s ease;
}

.lummi-nav-heading:hover,
.lummi-nav-group.is-open .lummi-nav-heading {
  background: rgba(255, 255, 255, .035);
  color: #f1f6f3;
}

.lummi-nav-heading-label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.lummi-nav-heading-label svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #86a89d;
}

.lummi-nav-chevron {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: rgba(219, 231, 223, .44);
  transition: transform .18s ease, color .18s ease;
}

.lummi-nav-group.is-open .lummi-nav-chevron {
  color: #dbe7df;
  transform: rotate(90deg);
}

.lummi-nav-links {
  display: none;
  gap: 2px;
  padding: 2px 0 3px 4px;
}

.lummi-nav-group.is-open .lummi-nav-links {
  display: grid;
}

.lummi-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 7px 10px 7px 8px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #b9c7bf;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  transition: color .16s ease, background .16s ease, border-color .16s ease;
}

.lummi-nav a:hover {
  background: rgba(255, 255, 255, .045);
  color: #ffffff;
}

.lummi-nav a.active {
  border-color: rgba(217, 138, 53, .22);
  background: rgba(255, 255, 255, .095);
  color: #ffffff;
}

.lummi-nav a.active::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
  content: "";
}

.lummi-nav a:focus-visible,
.lummi-nav-heading:focus-visible {
  outline: 2px solid rgba(217, 138, 53, .78);
  outline-offset: 2px;
}

.lummi-nav-link-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
  color: #8da39a;
}

.lummi-nav-link-icon svg {
  width: 16px;
  height: 16px;
}

.lummi-nav a:hover .lummi-nav-link-icon {
  color: #dbe7df;
}

.lummi-nav a.active .lummi-nav-link-icon {
  background: rgba(217, 138, 53, .14);
  color: #f0a954;
}

.lummi-nav-link-label {
  min-width: 0;
}

.lummi-main {
  min-width: 0;
}

.lummi-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(228, 222, 211, .85);
  background: rgba(247, 243, 236, .88);
  backdrop-filter: blur(16px);
}

.lummi-topbar-actions { display: flex; align-items: center; gap: 9px; }
.lummi-topbar-context { display: none; }

.lummi-content {
  width: min(100% - 20px, 1540px);
  margin: 0 auto;
  padding: 32px 0 54px;
}

.lummi-page-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lummi-page-subtitle {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.lummi-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(37, 43, 39, .055);
}

.lummi-card-header,
.lummi-card-body {
  padding: 22px;
}

.lummi-card-body {
  overflow-x: auto;
}

.lummi-card-header {
  border-bottom: 1px solid var(--line);
}

.lummi-tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 0;
}

.lummi-tab {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #fbf8f2;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.lummi-tab.is-active {
  background: #ffffff;
  color: var(--brand-dark);
}

.lummi-grid {
  display: grid;
  gap: 16px;
}

.lummi-grid-1 {
  grid-template-columns: 1fr;
}

.lummi-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lummi-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lummi-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lummi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: .18s ease;
  white-space: nowrap;
}

.lummi-btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(47, 111, 94, .24);
}

.lummi-btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.lummi-btn-secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.lummi-btn-secondary:hover {
  border-color: #cfc7ba;
  transform: translateY(-1px);
}

.lummi-btn-accent {
  background: var(--accent);
  color: #ffffff;
}

.lummi-field {
  display: grid;
  gap: 8px;
}

.lummi-label {
  color: #4f574f;
  font-size: 13px;
  font-weight: 900;
}

.lummi-input,
.lummi-select,
.lummi-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  outline: none;
}

.lummi-input,
.lummi-select {
  min-height: 46px;
  padding: 0 14px;
}

.lummi-textarea {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.lummi-input:focus,
.lummi-select:focus,
.lummi-textarea:focus {
  border-color: #cfe0d9;
  box-shadow: 0 0 0 4px rgba(47, 111, 94, .12);
}

.lummi-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.lummi-table th,
.lummi-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.lummi-table th {
  color: var(--muted);
  background: #fbf8f2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lummi-table td {
  color: #4f574f;
  font-size: 14px;
  font-weight: 700;
}

.lummi-table-title {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.lummi-employee-form {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.lummi-employee-photo {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbf8f2;
}

.lummi-avatar-preview {
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 42px;
  font-weight: 900;
}

.lummi-avatar-preview img,
.lummi-avatar-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lummi-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lummi-employee-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lummi-employee-cell strong,
.lummi-employee-cell small {
  display: block;
}

.lummi-employee-cell strong {
  color: var(--ink);
  font-weight: 900;
}

.lummi-employee-cell small {
  color: var(--muted);
  font-size: 12px;
}

.lummi-avatar-sm {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
}

.lummi-table tr:last-child td {
  border-bottom: 0;
}

.lummi-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.lummi-badge-success {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.lummi-badge-warning {
  background: var(--accent-soft);
  color: #9a5a18;
}

.lummi-badge-danger {
  background: #f8e4e4;
  color: var(--danger);
}

.lummi-badge-muted {
  background: #f1ede6;
  color: var(--muted);
}

.lummi-stat {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 45px rgba(37, 43, 39, .055);
}

.lummi-stat small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lummi-stat strong {
  color: var(--ink);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.055em;
}

.lummi-muted {
  color: var(--muted);
}

.lummi-text-brand {
  color: var(--brand);
}

.lummi-text-danger {
  color: var(--danger);
}

.lummi-table td.lummi-balance-positive,
.lummi-balance-positive {
  color: #237653;
  font-weight: 900;
}

.lummi-table td.lummi-balance-negative,
.lummi-balance-negative {
  color: #b43d3d;
  font-weight: 900;
}

.lummi-table td.lummi-balance-zero,
.lummi-balance-zero {
  color: var(--muted);
  font-weight: 800;
}

.lummi-bank-search {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
}

@media (max-width: 720px) {
  .lummi-bank-search {
    grid-template-columns: 1fr;
  }
}

.lummi-check-card,
.lummi-option-group {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: #4f574f;
  font-size: 14px;
  font-weight: 800;
}

.lummi-option-group {
  align-items: flex-start;
  flex-wrap: wrap;
}

.lummi-option-group legend {
  padding: 0 6px;
  color: #4f574f;
  font-size: 13px;
  font-weight: 900;
}

.lummi-option-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.lummi-schedule-rules {
  align-items: end;
}

.lummi-schedule-section {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.lummi-schedule-section h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.lummi-schedule-section p {
  margin: 6px 0 0;
}

.lummi-table-scroll {
  overflow-x: auto;
}

.lummi-schedule-table {
  min-width: 1120px;
}

.lummi-schedule-table td {
  vertical-align: middle;
}

.lummi-schedule-table .lummi-input,
.lummi-schedule-table .lummi-select {
  min-width: 130px;
}

.lummi-schedule-table td:first-child {
  min-width: 160px;
}

.lummi-surface-dark {
  background: #18201d;
  color: #ffffff;
}

.lummi-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lummi-icon-btn {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  transition: .16s ease;
}

.lummi-icon-btn:hover {
  border-color: #c8d8d1;
  background: var(--brand-soft);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.lummi-icon-btn-danger:hover {
  border-color: #e7bbbb;
  background: #f8e4e4;
  color: var(--danger);
}

.lummi-icon-btn:disabled {
  cursor: not-allowed;
  opacity: .38;
  transform: none;
}

.lummi-icon-btn:disabled:hover {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.lummi-modal {
  width: min(520px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lummi-modal-wide {
  width: min(860px, calc(100vw - 28px));
}

.lummi-modal::backdrop {
  background: rgba(24, 32, 29, .48);
  backdrop-filter: blur(4px);
}

.lummi-modal-header,
.lummi-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
}

.lummi-modal-header {
  border-bottom: 1px solid var(--line);
}

.lummi-modal-header strong,
.lummi-modal-header span {
  display: block;
}

.lummi-modal-header strong {
  font-size: 17px;
  font-weight: 900;
}

.lummi-modal-header span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lummi-modal-body {
  padding: 20px;
}

.lummi-modal-actions {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  background: #fbf8f2;
}

.lummi-page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lummi-filter-button {
  width: 44px;
  height: 44px;
}

.lummi-filter-button.is-active {
  border-color: var(--primary);
  background: #e4f0ec;
  color: var(--primary);
}

.lummi-filter-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 16px;
}

.lummi-filter-icon::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 62% 45%, 62% 100%, 38% 82%, 38% 45%);
}

.lummi-empty-state {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 34px 16px;
  color: var(--muted);
  text-align: center;
}

.lummi-empty-state strong {
  color: var(--ink);
}

.lummi-loading-panel {
  display: grid;
  grid-column: 1 / -1;
  place-items: center;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid #cfe0d9;
  border-radius: 12px;
  background: var(--brand-soft);
  text-align: center;
}

.lummi-detail-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(37, 43, 39, .055);
}

.lummi-detail-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.lummi-detail-panel summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.lummi-detail-panel ul {
  max-height: 260px;
  margin: 0;
  overflow: auto;
  padding: 0 18px 18px 36px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
}

.lummi-loading-panel[hidden] {
  display: none;
}

.lummi-loading-panel strong {
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 900;
}

.lummi-loading-panel span:last-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lummi-spinner {
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 4px solid rgba(47, 111, 94, .18);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: lummi-spin .78s linear infinite;
}

.lummi-spinner-small {
  width: 16px;
  height: 16px;
  border-width: 2px;
  border-color: rgba(255, 255, 255, .40);
  border-top-color: #ffffff;
}

@keyframes lummi-spin {
  to {
    transform: rotate(360deg);
  }
}

.lummi-upload {
  position: relative;
  display: grid;
  min-height: 168px;
  place-items: center;
  gap: 8px;
  padding: 24px;
  border: 1.5px dashed #cbd8d2;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
  cursor: pointer;
  text-align: center;
  transition: .18s ease;
}

.lummi-upload:hover,
.lummi-upload.is-dragging {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 4px rgba(47, 111, 94, .10);
}

.lummi-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.lummi-upload-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 14px;
  background: var(--brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(47, 111, 94, .20);
}

.lummi-upload-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.lummi-upload-subtitle {
  max-width: 320px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.lummi-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.lummi-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.lummi-radio-panel {
  margin: 0;
  padding: 0;
  border: 0;
}

.lummi-radio-panel label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
}

.lummi-radio-panel input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.lummi-radio-panel span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.lummi-radio-panel small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.lummi-report-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(37, 43, 39, .055);
}

.lummi-report-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 900;
}

.lummi-report-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.lummi-report-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

/* Reporting workspace */
.report-overview,
.report-workspace {
  display: grid;
  gap: 22px;
}

.report-command-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid #2f7868;
  border-radius: 6px;
  background: #fff;
}

.report-period-context,
.report-command-actions,
.report-workspace-nav,
.report-context-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.report-period-context strong {
  font-size: 17px;
}

.report-eyebrow {
  color: #68736e;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.report-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.report-kpi {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.report-kpi:last-child {
  border-right: 0;
}

.report-kpi span,
.report-kpi small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.report-kpi strong {
  display: block;
  margin: 6px 0 4px;
  color: #193d34;
  font-size: 26px;
}

.report-kpi-warning strong {
  color: #9a5b16;
}

.report-section {
  min-width: 0;
}

.report-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.report-section-heading h2 {
  margin: 3px 0 0;
  font-size: 20px;
}

.report-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.report-catalog-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid #2f7868;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.report-catalog-item:hover {
  border-color: #a9bbb5;
  box-shadow: 0 10px 28px rgba(26, 43, 37, .08);
  transform: translateY(-1px);
}

.report-accent-blue { border-left-color: #3a6f91; }
.report-accent-amber { border-left-color: #bb7527; }
.report-accent-teal { border-left-color: #287b7d; }

.report-catalog-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 6px;
  background: #e7f0ed;
  color: #245e51;
  font-size: 16px;
  font-weight: 950;
}

.report-accent-blue .report-catalog-icon { background: #e6eef4; color: #315f7c; }
.report-accent-amber .report-catalog-icon { background: #fff0dc; color: #8c571b; }
.report-accent-teal .report-catalog-icon { background: #e2f0f0; color: #226668; }

.report-catalog-copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.report-catalog-copy strong {
  font-size: 16px;
}

.report-catalog-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.report-catalog-meta {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.report-open-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #f1f4f2;
  color: #31534a;
  font-size: 18px;
}

.report-queue-section {
  padding-top: 4px;
}

.report-queue-table {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.report-job-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 100px 190px 94px;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.report-job-row:last-child { border-bottom: 0; }

.report-job-file {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.report-job-file > span:last-child,
.report-job-scope,
.report-job-status {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.report-job-file strong,
.report-job-file small,
.report-job-status small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-job-file small,
.report-job-scope small,
.report-job-status small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.report-file-icon,
.report-preview-empty-icon {
  display: grid;
  width: 40px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #dfb4b4;
  border-radius: 4px;
  background: #fff5f5;
  color: #9a3d3d;
  font-size: 10px;
  font-weight: 950;
}

.report-job-scope strong { font-size: 16px; }

.report-status {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf0ee;
  color: #55605b;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}

.report-status-pronto,
.report-status-ativo,
.report-status-corrigida,
.report-status-abonada { background: #e2f2eb; color: #216347; }
.report-status-processando { background: #e7eff6; color: #315f7c; }
.report-status-aguardando,
.report-status-pendente { background: #fff0d8; color: #8b581b; }
.report-status-falhou,
.report-status-demitido { background: #f9e4e4; color: #913838; }
.report-status-justificada { background: #e9eef7; color: #445f87; }
.report-status-ignorada,
.report-status-inativo { background: #ececea; color: #5f625e; }
.report-status-afastado { background: #f1e9f4; color: #72517e; }

.report-progress {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #e6ebe8;
  overflow: hidden;
}

.report-progress i {
  display: block;
  height: 100%;
  background: #3a6f91;
}

.report-job-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.report-job-waiting {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.report-empty-row {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 34px 20px;
  color: var(--muted);
  text-align: center;
}

.report-empty-row strong { color: var(--ink); }

.report-workspace-nav {
  justify-content: space-between;
  margin-top: -12px;
}

.report-workspace-nav a {
  color: #315f54;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.report-workspace-nav-actions,
.report-document-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-document-nav {
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.report-workspace-nav .report-document-nav-button {
  flex: 0 0 38px;
  color: var(--ink);
  font-size: 18px;
}

.report-document-current {
  display: grid;
  min-width: 108px;
  max-width: 180px;
  gap: 2px;
  text-align: center;
}

.report-document-current strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-document-current small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.report-workspace-grid {
  display: grid;
  grid-template-columns: 326px minmax(0, 1fr);
  align-items: start;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.report-workspace-grid > * { min-width: 0; }

.report-filter-panel {
  min-width: 0;
  border-right: 1px solid var(--line);
  background: #f8faf9;
}

.report-filter-panel form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.report-filter-heading {
  display: grid;
  gap: 4px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.report-filter-heading strong { font-size: 17px; }
.report-filter-heading small { color: var(--muted); font-size: 12px; line-height: 1.45; }

.report-filter-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 13px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.report-filter-group-title {
  color: #36564d;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.report-date-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  gap: 10px;
}

.report-filter-panel .lummi-field,
.report-filter-panel .lummi-input,
.report-filter-panel .lummi-select,
.report-filter-panel .report-date-range > * {
  min-width: 0;
  max-width: 100%;
}

.report-employee-field > select { display: none; }
.report-employee-combobox { position: relative; min-width: 0; }
.report-employee-combobox .lummi-input { padding-right: 40px; }
.report-employee-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 38px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}
.report-employee-results {
  position: absolute;
  z-index: 30;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(25, 54, 46, .16);
}
.report-employee-results [role="option"] {
  display: grid;
  width: 100%;
  gap: 3px;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.report-employee-results [role="option"]:hover,
.report-employee-results [role="option"].is-active { background: #edf6f2; }
.report-employee-results [role="option"][aria-selected="true"] { background: #e1f0ea; color: #175d4d; }
.report-employee-results [role="option"] strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.report-employee-results [role="option"] small { color: var(--muted); font-size: 11px; }
.report-employee-empty { padding: 18px 10px; color: var(--muted); font-size: 12px; text-align: center; }

.report-filter-actions {
  display: grid;
  gap: 9px;
  padding: 20px;
  background: #fff;
}

.report-filter-actions .lummi-btn { width: 100%; }

.report-button-icon {
  display: inline-grid;
  width: 24px;
  height: 20px;
  margin-right: 6px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 7px;
}

[data-queue-report].is-loading { opacity: .72; cursor: wait; }

.report-preview-panel {
  min-width: 0;
  min-height: 720px;
  background: #eef1ef;
}

.report-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.report-preview-toolbar > div { display: grid; gap: 3px; }
.report-preview-note { color: var(--muted); font-size: 11px; font-weight: 800; }

.report-preview-empty {
  display: grid;
  width: min(440px, calc(100% - 40px));
  justify-items: center;
  gap: 10px;
  margin: 132px auto;
  color: var(--muted);
  text-align: center;
}

.report-preview-empty .report-preview-empty-icon { width: 48px; height: 54px; }
.report-preview-empty strong { color: var(--ink); font-size: 17px; }
.report-preview-empty p { margin: 0; font-size: 13px; line-height: 1.6; }

.report-alert {
  display: grid;
  gap: 5px;
  margin: 20px;
  padding: 15px 17px;
  border: 1px solid #e6c58f;
  border-radius: 5px;
  background: #fff8eb;
  color: #775019;
}

.report-preview-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 20px;
  border: 1px solid #d6ddda;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}

.report-preview-summary > div {
  min-width: 0;
  padding: 13px 14px;
  border-right: 1px solid #e1e6e3;
}

.report-preview-summary > div:last-child { border-right: 0; }
.report-preview-summary span { display: block; color: var(--muted); font-size: 10px; font-weight: 850; }
.report-preview-summary strong { display: block; margin-top: 5px; font-size: 18px; }
.is-positive { color: #18704e !important; }
.is-negative { color: #a43f3f !important; }

.report-paper,
.report-employee-block {
  margin: 20px;
  border: 1px solid #cfd6d2;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(25, 38, 33, .06);
}

.report-document-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border-bottom: 2px solid #2f7868;
}

.report-document-header > div { display: grid; gap: 4px; }
.report-document-header span,
.report-document-header small,
.report-identity-grid small { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.report-document-header strong { font-size: 15px; }

.report-identity-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1px;
  border-bottom: 1px solid #e0e5e2;
  background: #e0e5e2;
}

.report-identity-grid > div { display: grid; gap: 4px; padding: 12px 15px; background: #f8faf9; }

.report-table-scroll { width: 100%; overflow-x: auto; }
.report-data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.report-data-table th { padding: 10px 11px; border-bottom: 1px solid #cfd8d4; background: #f2f5f3; color: #41564f; font-size: 10px; text-align: left; text-transform: uppercase; white-space: nowrap; }
.report-data-table td { padding: 10px 11px; border-bottom: 1px solid #e4e8e6; vertical-align: top; }
.report-data-table tbody tr:last-child td { border-bottom: 0; }
.report-data-table td strong,
.report-data-table td small { display: block; }
.report-data-table td small { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 700; }

.report-document-totals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-top: 1px solid #dce2df;
  background: #dce2df;
}

.report-document-totals span { padding: 12px 14px; background: #f8faf9; color: var(--muted); font-size: 11px; }
.report-document-totals strong { display: block; margin-top: 3px; color: var(--ink); font-size: 14px; }
.report-preview-limit { margin: -8px 20px 20px; color: var(--muted); font-size: 11px; font-weight: 800; text-align: center; }

.report-context-line {
  margin: 0 20px 14px;
  padding: 12px 14px;
  border-left: 3px solid #3a6f91;
  background: #eaf1f5;
  color: #31566d;
  font-size: 12px;
}

.report-divergence-list { display: grid; gap: 14px; margin: 20px; }
.report-employee-block { margin: 0; box-shadow: none; }
.report-employee-block > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid #dce3df;
  background: #f7f9f8;
}
.report-employee-block > header > div:first-child { display: grid; gap: 3px; }
.report-employee-block > header span { color: var(--muted); font-size: 11px; font-weight: 750; }
.report-employee-totals { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.report-employee-totals span { padding: 4px 7px; border: 1px solid #d3dcd7; border-radius: 3px; background: #fff; }
.report-divergence-items { display: grid; gap: 5px; min-width: 240px; }
.report-divergence-tag { display: grid; gap: 2px; padding: 6px 8px; border-left: 3px solid #82968d; background: #f3f6f4; }
.report-divergence-tag strong { font-size: 11px; }
.report-divergence-tag small { margin: 0 !important; white-space: normal; }
.report-severity-critica { border-left-color: #b74848; background: #fff1f1; }
.report-severity-atencao { border-left-color: #c27a25; background: #fff7e9; }
.report-severity-informativa { border-left-color: #3e7596; background: #eef5f8; }

.report-workspace-queue { margin-top: 2px; }

@media (max-width: 1180px) {
  .report-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-kpi:nth-child(2) { border-right: 0; }
  .report-kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .report-workspace-grid { grid-template-columns: 292px minmax(0, 1fr); }
  .report-preview-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .report-preview-summary > div:nth-child(3) { border-right: 0; }
}

@media (max-width: 900px) {
  .report-catalog { grid-template-columns: 1fr; }
  .report-workspace-grid { grid-template-columns: 1fr; }
  .report-filter-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .report-filter-panel form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-filter-heading,
  .report-filter-actions { grid-column: 1 / -1; }
  .report-filter-group { border-right: 1px solid var(--line); }
  .report-preview-panel { min-height: 520px; }
  .report-job-row { grid-template-columns: minmax(0, 1fr) 82px 150px 84px; }
}

@media (max-width: 640px) {
  .report-command-bar,
  .report-section-heading,
  .report-preview-toolbar,
  .report-employee-block > header { align-items: stretch; flex-direction: column; }
  .report-kpis { grid-template-columns: 1fr; }
  .report-kpi { border-right: 0; border-bottom: 1px solid var(--line); }
  .report-kpi:last-child { border-bottom: 0; }
  .report-catalog-item { grid-template-columns: 42px minmax(0, 1fr); }
  .report-catalog-meta { grid-column: 2; display: flex; justify-content: space-between; justify-items: initial; }
  .report-job-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .report-job-scope { display: none; }
  .report-job-status { grid-column: 1; }
  .report-job-actions { grid-column: 2; grid-row: 1 / 3; }
  .report-filter-panel form { grid-template-columns: 1fr; }
  .report-filter-heading,
  .report-filter-actions { grid-column: 1; }
  .report-date-range { grid-template-columns: 1fr; }
  .report-workspace-nav-actions { width: 100%; justify-content: space-between; }
  .report-document-current { min-width: 72px; max-width: 112px; }
  .report-preview-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 12px; }
  .report-preview-summary > div { border-bottom: 1px solid #e1e6e3; }
  .report-preview-summary > div:nth-child(2n) { border-right: 0; }
  .report-paper,
  .report-divergence-list { margin: 12px; }
  .report-document-header { flex-direction: column; }
  .report-identity-grid,
  .report-document-totals { grid-template-columns: 1fr; }
}

.lummi-registry-tabs {
  display: flex;
  gap: 8px;
  margin: -4px 0 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.lummi-registry-tabs a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.lummi-registry-section {
  margin-bottom: 18px;
  scroll-margin-top: 96px;
}

.lummi-registry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.lummi-registry-card {
  display: grid;
  min-height: 176px;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  transition: .16s ease;
}

.lummi-registry-card:hover {
  border-color: #c8d8d1;
  box-shadow: 0 12px 28px rgba(37, 43, 39, .07);
  transform: translateY(-1px);
}

.lummi-registry-card.is-disabled {
  opacity: .72;
}

.lummi-registry-card.is-disabled:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.lummi-registry-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 900;
}

.lummi-registry-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.lummi-registry-description {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.lummi-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.lummi-pagination > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lummi-employee-pagination {
  position: relative;
  justify-content: center;
  min-height: 42px;
}

.lummi-employee-pagination-info {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.lummi-employee-pagination > div {
  position: absolute;
  right: 0;
}

@media (max-width: 760px) {
  .lummi-employee-pagination > div {
    position: static;
    justify-content: center;
    width: 100%;
  }
}

.lummi-page-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.lummi-btn.is-disabled {
  pointer-events: none;
  opacity: .52;
}

.lummi-frequency-table {
  min-width: 1420px;
}

.lummi-frequency-table tr.has-portal-request {
  background: #fbfefc;
  box-shadow: inset 3px 0 #4b967b;
}

.frequency-date-context {
  min-width: 178px;
  vertical-align: top;
}

.frequency-date-context > strong {
  display: block;
  color: var(--ink);
}

.frequency-day-request-trigger {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr) 12px;
  align-items: center;
  width: 100%;
  margin-top: 7px;
  padding: 7px 8px;
  gap: 6px;
  border: 1px solid #cfe1d9;
  border-radius: 6px;
  background: #f3faf7;
  color: #286a56;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}

.frequency-day-request-trigger:hover {
  border-color: #8ebba9;
  background: #eaf6f1;
}

.frequency-day-request-trigger.has-open-request {
  border-color: #e8cca7;
  background: #fff9f0;
  color: #8a581e;
}

.frequency-day-request-trigger svg {
  width: 14px;
  height: 14px;
}

.frequency-day-request-trigger svg:last-child {
  width: 11px;
  height: 11px;
}

.frequency-request-modal {
  width: min(780px, calc(100vw - 28px));
}

.frequency-request-modal-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.frequency-request-modal-title > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0;
  place-items: center;
  border-radius: 6px;
  background: #e5f2eb;
  color: #286f59;
}

.frequency-request-modal-title > span svg {
  width: 18px;
  height: 18px;
}

.frequency-request-modal-title small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.frequency-request-modal-body {
  display: grid;
  max-height: min(66vh, 620px);
  gap: 14px;
  overflow-y: auto;
  background: #f7f9f7;
}

.frequency-request-modal-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3px 16px;
  padding: 13px 15px;
  border: 1px solid #dce4df;
  border-left: 4px solid #478872;
  border-radius: 6px;
  background: #fff;
}

.frequency-request-modal-overview span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6d7a73;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.frequency-request-modal-overview span svg {
  width: 14px;
  height: 14px;
}

.frequency-request-modal-overview strong {
  grid-column: 1;
  color: #202b26;
  font-size: 18px;
}

.frequency-request-modal-overview small {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: #65736c;
  font-size: 10px;
  font-weight: 800;
}

.frequency-request-modal-list {
  display: grid;
  gap: 10px;
}

.frequency-request-modal-item {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #dce2de;
  border-radius: 7px;
  background: #fff;
}

.frequency-request-modal-item > header,
.frequency-request-modal-item > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.frequency-request-modal-item > header > div {
  display: grid;
  gap: 3px;
}

.frequency-request-modal-item > header small {
  color: #78837d;
  font-size: 9px;
  font-weight: 850;
}

.frequency-request-modal-item > header strong {
  color: #202b26;
  font-size: 14px;
}

.frequency-request-modal-item > header > span {
  padding: 6px 8px;
  border-radius: 5px;
  background: #eef0ef;
  color: #68736d;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.frequency-request-modal-item > header > .is-enviada,
.frequency-request-modal-item > header > .is-em_analise {
  background: #fff0dc;
  color: #915b1b;
}

.frequency-request-modal-item > header > .is-aprovada {
  background: #e5f2eb;
  color: #286f59;
}

.frequency-request-modal-item > header > .is-rejeitada {
  background: #f8e6e6;
  color: #9d4141;
}

.frequency-request-modal-meta {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  overflow: hidden;
  border: 1px solid #e0e5e2;
  border-radius: 6px;
}

.frequency-request-modal-meta > div {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border-right: 1px solid #e0e5e2;
}

.frequency-request-modal-meta > div:last-child {
  border-right: 0;
}

.frequency-request-modal-meta span,
.frequency-request-modal-copy > span,
.frequency-request-modal-response span {
  color: #7a857f;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.frequency-request-modal-meta strong {
  color: #35433c;
  font-size: 10px;
}

.frequency-request-modal-copy {
  display: grid;
  gap: 5px;
}

.frequency-request-modal-copy p,
.frequency-request-modal-response p {
  margin: 0;
  color: #435149;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.55;
}

.frequency-request-modal-response {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  padding: 11px 12px;
  border-left: 3px solid #4b967b;
  border-radius: 5px;
  background: #f0f8f4;
}

.frequency-request-modal-response > svg {
  width: 17px;
  height: 17px;
  color: #34715f;
}

.frequency-request-modal-response > div {
  display: grid;
  gap: 4px;
}

.frequency-request-modal-item > footer {
  padding-top: 12px;
  border-top: 1px solid #e4e8e5;
}

.frequency-request-modal-item > footer > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6b7871;
  font-size: 9px;
  font-weight: 800;
}

.frequency-request-modal-item > footer svg {
  width: 13px;
  height: 13px;
}

.frequency-request-modal-item > footer .lummi-btn {
  min-height: 36px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 10px;
}

@media (max-width: 620px) {
  .frequency-request-modal-meta {
    grid-template-columns: 1fr;
  }

  .frequency-request-modal-meta > div {
    border-right: 0;
    border-bottom: 1px solid #e0e5e2;
  }

  .frequency-request-modal-meta > div:last-child {
    border-bottom: 0;
  }

  .frequency-request-modal-overview {
    grid-template-columns: 1fr;
  }

  .frequency-request-modal-overview small {
    grid-column: 1;
    grid-row: auto;
  }

  .frequency-request-modal-item > footer {
    align-items: stretch;
    flex-direction: column;
  }
}

.lummi-frequency-results > div {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.lummi-frequency-results .lummi-label,
.lummi-frequency-results strong {
  display: block;
}

.lummi-frequency-results strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

.absence-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.absence-metric {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(37, 43, 39, .05);
}

.absence-metric-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  background: #e3eee9;
  color: #246555;
}

.absence-metric-icon.is-blue { background: #e7f0f5; color: #356783; }
.absence-metric-icon.is-violet { background: #efebf5; color: #6b5b87; }
.absence-metric-icon.is-orange { background: #fff0df; color: #a66720; }

.absence-metric-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.absence-metric > span:last-child {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.absence-metric small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.absence-metric strong {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
}

.absence-metric em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}

.absence-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.absence-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(37, 43, 39, .05);
}

.absence-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.absence-panel header div { display: grid; gap: 4px; }
.absence-panel header span,
.absence-panel header > small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.absence-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.absence-ranking {
  display: grid;
  gap: 17px;
  padding: 20px;
}

.absence-ranking-row { display: grid; gap: 8px; }
.absence-ranking-row > div { display: flex; justify-content: space-between; gap: 16px; }
.absence-ranking-row span { color: #4f574f; font-size: 13px; font-weight: 800; }
.absence-ranking-row strong { color: var(--ink); font-size: 13px; }

.absence-track {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #eceeea;
}

.absence-track i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.absence-track i.is-ferias { background: #4d7c94; }
.absence-track i.is-outro { background: #76628e; }
.absence-track i.is-falta { background: #c1792f; }
.absence-track i.is-gender { background: #4d7c94; }

.absence-panel footer {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.absence-records .lummi-card-header > div { display: grid; gap: 4px; }
.absence-records .lummi-card-header span { color: var(--muted); font-size: 12px; font-weight: 700; }

.lummi-inline-adjust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
}

.lummi-inline-adjust .lummi-select,
.lummi-inline-adjust .lummi-input {
  min-height: 38px;
  padding: 8px 10px;
}

.lummi-mini-adjust {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.lummi-mini-adjust .lummi-select {
  min-height: 34px;
  padding: 6px 8px;
}

.lummi-action-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  vertical-align: top;
}

.lummi-action-choice-list {
  display: grid;
  gap: 9px;
}

.lummi-action-choice-list button {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.lummi-action-choice-list button:hover {
  border-color: rgba(47, 120, 104, .42);
  background: rgba(47, 120, 104, .06);
}

.lummi-action-choice-list strong {
  font-size: 14px;
}

.lummi-action-choice-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.lummi-slot-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.lummi-slot-picker legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.lummi-slot-picker label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.lummi-time-cell {
  width: 78px;
  min-height: 36px;
  padding: 7px 8px;
  cursor: pointer;
}

.lummi-mini-note {
  display: block;
  margin-top: 3px;
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.lummi-mini-note[hidden] {
  display: none !important;
}

.lummi-punch-treated .lummi-time-cell {
  border-color: #c7cec9;
  background: #e9ecea;
  color: #46504a;
  box-shadow: inset 0 0 0 1px rgba(84, 96, 89, .04);
}

.lummi-punch-treated .lummi-time-cell:hover {
  border-color: #9da8a1;
  background: #e1e5e2;
}

.lummi-treatment-note {
  color: #59635d;
}

.lummi-btn-danger {
  border-color: #e0bcbc;
  background: #fff;
  color: var(--danger);
}

.lummi-btn-danger:hover {
  border-color: var(--danger);
  background: #f8e4e4;
}

.lummi-picker-list {
  display: grid;
  gap: 8px;
  max-height: 380px;
  margin-top: 14px;
  overflow: auto;
  padding-right: 4px;
}

/* Dashboard */
.dashboard-page {
  display: grid;
  gap: 18px;
}

.dashboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 2px 2px 8px;
}

.dashboard-eyebrow,
.dashboard-panel-header > div > span {
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.dashboard-heading h1 {
  margin: 0;
  color: #14201c;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.dashboard-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.dashboard-heading-actions {
  display: flex;
  gap: 10px;
}

.dashboard-heading-actions svg,
.dashboard-shortcuts svg,
.dashboard-panel-footer svg,
.dashboard-metric svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-metric {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 13px;
  min-height: 128px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(37, 43, 39, .045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dashboard-metric:hover {
  border-color: #c8d8d1;
  box-shadow: 0 12px 28px rgba(37, 43, 39, .08);
  transform: translateY(-2px);
}

.dashboard-metric-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
}

.dashboard-metric-icon.is-green { color: #246555; background: #e3eee9; }
.dashboard-metric-icon.is-blue { color: #356783; background: #e7f0f5; }
.dashboard-metric-icon.is-orange { color: #a66720; background: #fff0df; }
.dashboard-metric-icon.is-violet { color: #6b5b87; background: #efebf5; }

.dashboard-metric-copy {
  display: grid;
  min-width: 0;
}

.dashboard-metric-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dashboard-metric-copy strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.dashboard-metric-copy span {
  margin-top: 9px;
  overflow: hidden;
  color: #7e847e;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-metric-arrow {
  align-self: center;
  color: #a7aca8;
}

.dashboard-primary-grid,
.dashboard-secondary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, .85fr);
  gap: 18px;
}

.dashboard-secondary-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(370px, 1fr);
}

.dashboard-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(37, 43, 39, .05);
}

.dashboard-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.dashboard-panel-header > div > span {
  display: block;
  margin-bottom: 3px;
  color: #7f877f;
}

.dashboard-panel-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
}

.dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.dashboard-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.dashboard-status.is-success { color: #246555; background: #e3eee9; }
.dashboard-status.is-warning { color: #99621f; background: #fff0df; }
.dashboard-status.is-info { color: #356783; background: #e7f0f5; }
.dashboard-status.is-neutral { color: #626a64; background: #eeece7; }

.dashboard-apuration-body {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 240px;
  padding: 24px;
}

.dashboard-progress-ring {
  display: grid;
  width: 156px;
  height: 156px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--progress) * 1%), #e8ebe8 0);
}

.dashboard-progress-ring::before {
  grid-area: 1 / 1;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.dashboard-progress-ring div {
  z-index: 1;
  display: grid;
  grid-area: 1 / 1;
  justify-items: center;
}

.dashboard-progress-ring strong {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.dashboard-progress-ring span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.dashboard-progress-detail {
  display: grid;
  gap: 20px;
}

.dashboard-progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: end;
}

.dashboard-progress-row div {
  display: grid;
  gap: 3px;
}

.dashboard-progress-row strong,
.dashboard-period-meta strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.dashboard-progress-row span,
.dashboard-period-meta small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.dashboard-progress-row b {
  color: var(--ink);
  font-size: 13px;
}

.dashboard-progress-track {
  grid-column: 1 / -1;
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ebe8;
}

.dashboard-progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.dashboard-progress-track.is-blue i { background: #4d7c94; }

.dashboard-period-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 2px;
}

.dashboard-period-meta > span {
  display: grid;
  gap: 3px;
}

.dashboard-panel-footer {
  display: flex;
  justify-content: flex-end;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  background: #fcfbf8;
}

.dashboard-panel-footer a,
.dashboard-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.dashboard-panel-footer svg { width: 15px; height: 15px; }

.dashboard-count-badge {
  display: grid;
  min-width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #fff0df;
  color: #9c641e;
  font-size: 12px;
  font-weight: 900;
}

.dashboard-attention-list {
  display: grid;
}

.dashboard-attention-list a {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 65px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .16s ease;
}

.dashboard-attention-list a:last-child { border-bottom: 0; }
.dashboard-attention-list a:hover { background: #fafaf7; }

.dashboard-alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dashboard-alert-dot.is-orange { background: #d98a35; box-shadow: 0 0 0 4px #fff0df; }
.dashboard-alert-dot.is-red { background: #bd5353; box-shadow: 0 0 0 4px #f8e7e7; }
.dashboard-alert-dot.is-blue { background: #4d7c94; box-shadow: 0 0 0 4px #e7f0f5; }
.dashboard-alert-dot.is-violet { background: #76628e; box-shadow: 0 0 0 4px #efebf5; }

.dashboard-attention-list a > span:nth-child(2) {
  display: grid;
  gap: 2px;
}

.dashboard-attention-list strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.dashboard-attention-list small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.dashboard-attention-list b {
  min-width: 24px;
  color: #505852;
  font-size: 13px;
  text-align: right;
}

.dashboard-chart {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  height: 270px;
  padding: 24px 20px 18px;
}

.dashboard-chart-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 27px;
  color: #969b97;
  font-size: 9px;
  font-weight: 800;
}

.dashboard-bars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(14, minmax(18px, 1fr));
  gap: 8px;
  min-width: 0;
}

.dashboard-bars::before,
.dashboard-bars::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 0;
  border-top: 1px dashed #e8e4dd;
  content: "";
}

.dashboard-bars::before { top: 0; }
.dashboard-bars::after { top: 50%; }

.dashboard-bar-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 18px minmax(0, 1fr) 20px;
  min-width: 0;
  text-align: center;
}

.dashboard-bar-value {
  color: #657069;
  font-size: 9px;
  font-weight: 900;
  opacity: 0;
  transition: opacity .16s ease;
}

.dashboard-bar-item:hover .dashboard-bar-value { opacity: 1; }

.dashboard-bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
}

.dashboard-bar i {
  display: block;
  width: min(24px, 72%);
  min-height: 3px;
  border-radius: 4px 4px 2px 2px;
  background: #4d7c6f;
  transition: height .22s ease, background .16s ease;
}

.dashboard-bar-item:hover .dashboard-bar i { background: var(--accent); }

.dashboard-bar-item small {
  padding-top: 7px;
  overflow: hidden;
  color: #7e857f;
  font-size: 8px;
  font-weight: 800;
  text-overflow: clip;
  white-space: nowrap;
}

.dashboard-activity-list {
  display: grid;
  max-height: 270px;
  overflow: auto;
}

.dashboard-activity-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 61px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
}

.dashboard-activity-item:last-child { border-bottom: 0; }

.dashboard-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.dashboard-avatar img { width: 100%; height: 100%; object-fit: cover; }

.dashboard-activity-item > span:nth-child(2) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.dashboard-activity-item strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-activity-item small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
}

.dashboard-activity-item em {
  padding: 5px 7px;
  border-radius: 6px;
  background: #f1f3f1;
  color: #68716b;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-empty {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-shortcuts {
  display: grid;
  grid-template-columns: minmax(170px, .8fr) repeat(4, minmax(150px, 1fr));
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(37, 43, 39, .04);
}

.dashboard-shortcuts > span,
.dashboard-shortcuts a {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-right: 1px solid var(--line);
}

.dashboard-shortcuts > span {
  display: grid;
  align-content: center;
  gap: 2px;
  background: #faf9f6;
}

.dashboard-shortcuts > span small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.dashboard-shortcuts > span strong,
.dashboard-shortcuts a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.dashboard-shortcuts a:last-child { border-right: 0; }
.dashboard-shortcuts a:hover { background: #f7faf8; color: var(--brand-dark); }
.dashboard-shortcuts svg { color: var(--brand); }

.dashboard-shortcuts b {
  display: grid;
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  place-items: center;
  border-radius: 50%;
  background: #fff0df;
  color: #9c641e;
  font-size: 9px;
}

@media (max-width: 980px) {
  .lummi-employee-form {
    grid-template-columns: 1fr;
  }

  .lummi-shell {
    grid-template-columns: 1fr;
  }

  .lummi-sidebar {
    position: static;
    height: auto;
    overflow: visible;
  }

  .lummi-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .lummi-grid-3,
  .lummi-grid-4,
  .lummi-registry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .absence-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-primary-grid,
  .dashboard-secondary-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-shortcuts > span {
    grid-column: 1 / -1;
  }
}

[data-company-panel][hidden] {
  display: none !important;
}

.lummi-operation-step {
  display: grid;
  grid-template-columns: 44px minmax(220px, 1fr) minmax(180px, .7fr) auto;
  gap: 16px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 760px) {
  .lummi-operation-step {
    grid-template-columns: 40px 1fr;
  }

  .lummi-operation-step > .lummi-badge,
  .lummi-operation-step > .lummi-btn {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .lummi-content {
    width: min(100% - 28px, 1180px);
  }

  .lummi-sidebar {
    padding: 16px;
  }

  .lummi-nav {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 22px;
  }

  .lummi-nav-heading {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
  }

  .lummi-nav a {
    min-height: 40px;
    padding: 7px 10px 7px 8px;
    font-size: 13px;
  }

  .lummi-topbar {
    position: static;
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .lummi-grid-2,
  .lummi-grid-3,
  .lummi-grid-4,
  .lummi-registry-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .absence-metrics,
  .absence-insights {
    grid-template-columns: 1fr;
  }

  .absence-metric {
    min-height: 0;
  }

  .dashboard-heading-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-heading-actions .lummi-btn {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

  .dashboard-metrics,
  .dashboard-shortcuts {
    grid-template-columns: 1fr;
  }

  .dashboard-metric {
    min-height: 112px;
  }

  .dashboard-apuration-body {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .dashboard-progress-detail {
    width: 100%;
  }

  .dashboard-shortcuts > span {
    grid-column: auto;
  }

  .dashboard-shortcuts > span,
  .dashboard-shortcuts a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dashboard-shortcuts a:last-child { border-bottom: 0; }

  .dashboard-chart {
    overflow-x: auto;
  }

  .dashboard-bars {
    min-width: 620px;
  }
}

/* Employee portal */
.employee-portal-body { min-width: 320px; margin: 0; background: #f4f5f2; color: #1d2622; }
.employee-portal-shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.employee-portal-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 22px 16px 16px; overflow-y: auto; background: #15221e; color: #dce8e1; }
.employee-portal-brand { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 0 11px; padding: 0 8px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.employee-portal-brand > img { grid-row: 1 / 3; display: block; width: 38px; height: 38px; }
.employee-portal-brand strong { color: #fff; font-size: 17px; line-height: 1.15; }
.employee-portal-brand small { color: rgba(220,232,225,.58); font-size: 9px; font-weight: 700; }
.employee-portal-nav { display: grid; gap: 4px; margin-top: 24px; }
.employee-portal-nav a { position: relative; display: flex; min-height: 42px; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 6px; color: #aec0b7; font-size: 12px; font-weight: 750; }
.employee-portal-nav a:hover { background: rgba(255,255,255,.05); color: #fff; }
.employee-portal-nav a.is-active { background: rgba(255,255,255,.1); color: #fff; }
.employee-portal-nav a.is-active::before { position: absolute; top: 9px; bottom: 9px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: #e79a45; content: ""; }
.employee-portal-nav svg { width: 17px; height: 17px; color: #83a398; }
.employee-portal-nav a.is-active svg { color: #f0aa5b; }
.employee-portal-user { display: grid; grid-template-columns: 32px minmax(0,1fr) 30px; align-items: center; gap: 9px; margin-top: auto; padding: 14px 8px 2px; border-top: 1px solid rgba(255,255,255,.08); }
.employee-portal-user > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 11px; font-weight: 900; }
.employee-portal-user > div { display: grid; min-width: 0; gap: 2px; }
.employee-portal-user strong { overflow: hidden; color: #fff; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.employee-portal-user small { color: rgba(220,232,225,.58); font-size: 8px; }
.employee-portal-user form { margin: 0; }
.employee-portal-user button { display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 6px; background: transparent; color: #9eb0a7; cursor: pointer; }
.employee-portal-user button:hover { background: rgba(255,255,255,.08); color: #fff; }
.employee-portal-user svg { width: 15px; height: 15px; }
.employee-portal-onboarding-note { display: grid; justify-items: center; gap: 7px; margin-top: 28px; padding: 20px 13px; border: 1px solid rgba(231,154,69,.22); border-radius: 6px; background: rgba(231,154,69,.08); text-align: center; }
.employee-portal-onboarding-note svg { width: 24px; height: 24px; color: #e7a052; }
.employee-portal-onboarding-note strong { color: #fff; font-size: 11px; }
.employee-portal-onboarding-note span { color: #9fb0a8; font-size: 9px; line-height: 1.5; }
.employee-portal-main { min-width: 0; }
.employee-portal-topbar { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 28px; border-bottom: 1px solid #dde1dc; background: rgba(255,255,255,.88); }
.employee-portal-topbar > div { display: grid; gap: 2px; }
.employee-portal-topbar span { color: #707a74; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.employee-portal-topbar strong { font-size: 12px; }
.employee-portal-top-action { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #cfd8d3; border-radius: 6px; background: #fff; color: #285f51; font-size: 10px; font-weight: 850; }
.employee-portal-top-action svg { width: 15px; height: 15px; }
.employee-portal-content { width: min(100% - 48px, 1180px); margin: 0 auto; padding: 28px 0 52px; }
.employee-portal-shell.is-onboarding .employee-portal-content { width: min(100% - 48px, 920px); }
.employee-portal-alert { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; padding: 11px 13px; border: 1px solid #e0d7c4; border-radius: 6px; background: #fff7e8; color: #84591f; font-size: 11px; font-weight: 750; }
.employee-portal-alert.is-success { border-color: #c8ded4; background: #edf7f2; color: #286b57; }
.employee-portal-alert svg { width: 17px; height: 17px; }

.portal-page-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.portal-page-heading > div { min-width: 0; }
.portal-page-heading small { color: #6d7771; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.portal-page-heading h1 { margin: 3px 0 0; font-size: 25px; line-height: 1.15; letter-spacing: 0; }
.portal-page-heading p { margin: 6px 0 0; color: #6d7771; font-size: 11px; font-weight: 600; line-height: 1.5; }
.portal-page-heading > .lummi-btn,
.portal-page-heading > .portal-signed-badge { margin-left: auto; }
.portal-heading-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 8px; background: #e4efea; color: #286653; }
.portal-heading-icon svg { width: 21px; height: 21px; }
.portal-page-heading .lummi-btn svg { width: 16px; height: 16px; }

.portal-dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.portal-dashboard-heading small { color: #77817b; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.portal-dashboard-heading h1 { margin: 4px 0 0; font-size: 29px; letter-spacing: 0; }
.portal-dashboard-heading p { margin: 5px 0 0; color: #69736d; font-size: 12px; }
.portal-period-context { display: grid; min-width: 190px; gap: 3px; padding-left: 18px; border-left: 1px solid #d8ddd9; }
.portal-period-context span { color: #727c76; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.portal-period-context strong { font-size: 14px; }
.portal-period-context small { color: #34735f; font-size: 9px; font-weight: 850; }

.portal-status-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 22px; border: 1px solid #dce0dc; border-radius: 6px; background: #fff; overflow: hidden; }
.portal-status-grid > a { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 10px; min-height: 92px; padding: 14px 16px; border-right: 1px solid #e2e5e1; }
.portal-status-grid > a:last-child { border-right: 0; }
.portal-status-grid > a:hover { background: #fafcfb; }
.portal-status-grid > a > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 8px; background: #eef1ef; color: #65716a; }
.portal-status-grid > a > span.is-green { background: #e7f2ec; color: #2c735d; }
.portal-status-grid > a > span.is-orange { background: #fff0df; color: #9b601d; }
.portal-status-grid > a > span.is-blue { background: #e8f0f5; color: #416d87; }
.portal-status-grid svg { width: 18px; height: 18px; }
.portal-status-grid a > div { display: grid; min-width: 0; gap: 2px; }
.portal-status-grid small { color: #747e78; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.portal-status-grid strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.portal-status-grid em { color: #68736c; font-size: 9px; font-style: normal; font-weight: 650; }

.portal-dashboard-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 18px; margin-bottom: 18px; }
.portal-section { border: 1px solid #dce0dc; border-radius: 6px; background: #fff; overflow: hidden; }
.portal-section > header { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 18px; border-bottom: 1px solid #e2e5e1; }
.portal-section > header > div { display: grid; gap: 2px; }
.portal-section > header small { color: #78827c; font-size: 8px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.portal-section > header h2 { margin: 0; font-size: 14px; }
.portal-section > header > a { display: flex; align-items: center; gap: 6px; color: #2c6958; font-size: 9px; font-weight: 850; }
.portal-section > header > a svg { width: 14px; height: 14px; }
.portal-action-list { display: grid; }
.portal-action-list a { display: grid; grid-template-columns: 34px minmax(0,1fr) 17px; align-items: center; gap: 11px; min-height: 66px; padding: 12px 18px; border-bottom: 1px solid #edf0ed; }
.portal-action-list a:last-child { border-bottom: 0; }
.portal-action-list a:hover { background: #fafcfb; }
.portal-action-list > a > svg:first-child { width: 18px; height: 18px; color: #34715f; }
.portal-action-list > a > svg:last-child { width: 15px; height: 15px; color: #8a948e; }
.portal-action-list span { display: grid; gap: 3px; }
.portal-action-list strong { font-size: 11px; }
.portal-action-list small { color: #717b75; font-size: 9px; }
.portal-manager-panel { display: grid; justify-items: center; align-content: center; gap: 5px; padding: 22px 18px; border: 1px solid #dce0dc; border-radius: 6px; background: #f8faf8; text-align: center; }
.portal-manager-avatar { display: grid; width: 48px; height: 48px; margin-bottom: 5px; place-items: center; border-radius: 50%; background: #dcebe4; color: #286653; font-size: 16px; font-weight: 900; }
.portal-manager-panel small { color: #737e77; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.portal-manager-panel strong { font-size: 13px; }
.portal-manager-panel > span:not(.portal-manager-avatar) { color: #707a74; font-size: 9px; }
.portal-manager-panel a { display: flex; max-width: 100%; align-items: center; gap: 6px; margin-top: 8px; overflow: hidden; color: #2e6b5a; font-size: 9px; font-weight: 800; text-overflow: ellipsis; }
.portal-manager-panel a svg { width: 14px; height: 14px; }

.portal-request-mini-list { display: grid; }
.portal-request-mini-list a { display: grid; grid-template-columns: 8px minmax(0,1fr) auto; align-items: center; gap: 11px; min-height: 56px; padding: 10px 18px; border-bottom: 1px solid #edf0ed; }
.portal-request-mini-list a:last-child { border-bottom: 0; }
.portal-request-mini-list div { display: grid; gap: 2px; }
.portal-request-mini-list strong { font-size: 10px; }
.portal-request-mini-list small { color: #717b75; font-size: 8px; }
.portal-request-mini-list em { color: #68736c; font-size: 9px; font-style: normal; font-weight: 750; }
.portal-request-status { width: 7px; height: 7px; border-radius: 50%; background: #7e8983; }
.portal-request-status.is-enviada,.portal-request-status.is-em_analise { background: #d48a37; }
.portal-request-status.is-aprovada { background: #2e8065; }
.portal-request-status.is-rejeitada { background: #b24f4f; }

.portal-empty-state { display: grid; justify-items: center; gap: 6px; padding: 38px 20px; color: #707a74; text-align: center; }
.portal-empty-state svg { width: 25px; height: 25px; }
.portal-empty-state strong { color: #25302b; font-size: 12px; }
.portal-empty-state span { max-width: 380px; font-size: 9px; line-height: 1.5; }

.portal-frequency-summary,.portal-card-status { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin-bottom: 18px; border: 1px solid #dce0dc; border-radius: 6px; background: #fff; overflow: hidden; }
.portal-frequency-summary > div,.portal-card-status > div { display: grid; gap: 4px; padding: 14px 17px; border-right: 1px solid #e2e5e1; }
.portal-frequency-summary > div:last-child,.portal-card-status > div:last-child { border-right: 0; }
.portal-frequency-summary span,.portal-card-status span { color: #758079; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.portal-frequency-summary strong,.portal-card-status strong { font-size: 16px; }
.portal-frequency-summary .is-negative strong,.portal-negative { color: #aa4747; }
.portal-frequency-summary .is-positive strong,.portal-positive { color: #26715a; }
.portal-card-status { grid-template-columns: repeat(3,minmax(0,1fr)); }
.portal-card-status small { color: #707a74; font-size: 9px; }
.portal-table-scroll { width: 100%; overflow-x: auto; }
.portal-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.portal-table th { padding: 10px 13px; border-bottom: 1px solid #dfe3df; background: #f7f9f7; color: #68736c; font-size: 8px; font-weight: 900; letter-spacing: .04em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.portal-table td { padding: 11px 13px; border-bottom: 1px solid #edf0ed; color: #354039; font-size: 10px; vertical-align: middle; }
.portal-table tr:last-child td { border-bottom: 0; }
.portal-table td > small { display: block; margin-top: 3px; color: #77817b; font-size: 8px; }
.portal-table .lummi-icon-btn { width: 31px; height: 31px; border-radius: 6px; }
.portal-table .lummi-icon-btn svg { width: 14px; height: 14px; }
.portal-punches { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.portal-punches span { padding: 4px 6px; border: 1px solid #dce2de; border-radius: 4px; background: #fafcfb; font-size: 9px; font-weight: 800; }
.portal-punches em { color: #929a95; font-size: 9px; font-style: normal; }
.portal-day-status,.portal-request-badge { display: inline-flex; padding: 5px 7px; border-radius: 5px; font-size: 8px; font-weight: 850; }
.portal-day-status.is-ok,.portal-request-badge.is-aprovada { background: #e5f2eb; color: #286f59; }
.portal-day-status.is-warning,.portal-request-badge.is-enviada,.portal-request-badge.is-em_analise { background: #fff0dc; color: #915b1b; }
.portal-request-badge.is-rejeitada { background: #f8e6e6; color: #9d4141; }
.portal-request-badge.is-cancelada { background: #eef0ef; color: #69736d; }
.portal-pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 18px; border-top: 1px solid #e2e5e1; }
.portal-pagination > span { color: #758079; font-size: 9px; font-weight: 750; }
.portal-pagination > div { display: flex; gap: 7px; }
.portal-pagination a { display: flex; align-items: center; gap: 5px; color: #2d6958; font-size: 9px; font-weight: 850; }
.portal-pagination svg { width: 14px; height: 14px; }

.portal-request-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; align-items: start; gap: 18px; }
.portal-request-form { border: 1px solid #dce0dc; border-radius: 6px; background: #fff; overflow: hidden; }
.portal-form-section { display: grid; gap: 15px; padding: 20px 22px; border-bottom: 1px solid #e2e5e1; }
.portal-form-section > span { display: flex; align-items: center; gap: 9px; }
.portal-form-section > span b { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: #e3eee9; color: #286653; font-size: 9px; }
.portal-form-section > span strong { font-size: 12px; }
.portal-request-types { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.portal-request-types input { position: absolute; opacity: 0; pointer-events: none; }
.portal-request-types label > span { display: flex; min-height: 62px; align-items: center; gap: 8px; padding: 11px; border: 1px solid #dce1dd; border-radius: 6px; color: #59655e; cursor: pointer; font-size: 9px; font-weight: 800; }
.portal-request-types input:checked + span { border-color: #83ae9e; background: #edf6f2; color: #245f4e; box-shadow: inset 0 0 0 1px #83ae9e; }
.portal-request-types svg { width: 17px; height: 17px; }
.portal-form-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
.portal-request-period-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.portal-request-form .lummi-input,.portal-request-form .lummi-select { min-height: 42px; border-radius: 6px; }
.portal-request-form .lummi-textarea { border-radius: 6px; }
.portal-form-section .lummi-field > small { color: #79837d; font-size: 8px; }
.portal-form-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 15px 22px; }
.portal-form-actions .lummi-btn svg { width: 15px; height: 15px; }
.portal-request-info { display: grid; justify-items: center; gap: 5px; padding: 22px 18px; border: 1px solid #dce0dc; border-radius: 6px; background: #f8faf8; text-align: center; }
.portal-request-info > svg { width: 29px; height: 29px; margin-bottom: 5px; color: #34715f; }
.portal-request-info small { color: #77817b; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.portal-request-info strong { font-size: 12px; }
.portal-request-info span,.portal-request-info a { color: #69746d; font-size: 9px; }
.portal-request-info a { color: #2d6958; font-weight: 800; }
.portal-request-info hr { width: 100%; margin: 13px 0; border: 0; border-top: 1px solid #dfe3df; }
.portal-request-info p { margin: 0; color: #717b75; font-size: 9px; line-height: 1.55; }

.portal-frequency-table { min-width: 1120px; }
.portal-frequency-table tr.has-approved-request { background: #fbfefc; box-shadow: inset 3px 0 #4b967b; }
.portal-approved-requests { display: grid; min-width: 210px; gap: 5px; }
.portal-approved-request { overflow: hidden; border: 1px solid #cfe1d9; border-radius: 6px; background: #f3faf7; }
.portal-approved-request summary { display: grid; grid-template-columns: 18px minmax(0,1fr) 14px; align-items: center; gap: 7px; padding: 7px 8px; color: #26634f; cursor: pointer; list-style: none; }
.portal-approved-request summary::-webkit-details-marker { display: none; }
.portal-approved-request summary > svg { width: 15px; height: 15px; }
.portal-approved-request summary > svg:last-child { width: 12px; height: 12px; transition: transform .16s; }
.portal-approved-request[open] summary > svg:last-child { transform: rotate(180deg); }
.portal-approved-request summary span { display: grid; min-width: 0; gap: 2px; }
.portal-approved-request summary strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.portal-approved-request summary small { color: #638074; font-size: 7px; font-weight: 800; }
.portal-approved-request > div { display: grid; gap: 5px; padding: 8px 10px 9px 35px; border-top: 1px solid #d8e8e1; }
.portal-approved-request > div span { color: #687b72; font-size: 7px; font-weight: 800; }
.portal-approved-request > div p { max-width: 280px; margin: 1px 0; color: #3f5048; font-size: 8px; line-height: 1.45; }
.portal-approved-request > div a { color: #286a56; font-size: 8px; font-weight: 900; }
.portal-no-approved-request { color: #919a95; font-size: 8px; }
.portal-requests-table tr:target { background: #f1f8f5; box-shadow: inset 3px 0 #4b967b; }

.portal-point-paper { border: 1px solid #d9deda; border-radius: 6px; background: #fff; overflow: hidden; }
.portal-point-paper > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; border-bottom: 1px solid #dfe3df; }
.portal-point-paper > header > div { display: grid; gap: 3px; }
.portal-point-paper > header small { color: #727d76; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.portal-point-paper > header strong { font-size: 12px; }
.portal-point-paper > header span { font-size: 12px; font-weight: 850; }
.portal-point-paper > footer { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid #dfe3df; }
.portal-point-paper > footer span { display: grid; gap: 3px; padding: 12px 16px; border-right: 1px solid #e2e5e1; color: #748078; font-size: 8px; text-transform: uppercase; }
.portal-point-paper > footer span:last-child { border-right: 0; }
.portal-point-paper > footer strong { color: #27322c; font-size: 13px; }
.portal-signed-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 6px; background: #e5f2eb; color: #286f59; font-size: 9px; font-weight: 900; }
.portal-signed-badge svg { width: 16px; height: 16px; }
.portal-sign-card,.portal-document-proof,.portal-document-wait { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; padding: 15px 17px; border: 1px solid #cdded6; border-radius: 6px; background: #f1f8f5; }
.portal-sign-card > div,.portal-document-proof { min-width: 0; }
.portal-sign-card > div { display: flex; align-items: center; gap: 11px; }
.portal-sign-card > div > svg,.portal-document-proof > svg,.portal-document-wait > svg { width: 23px; height: 23px; flex: 0 0 23px; color: #2e705c; }
.portal-sign-card span,.portal-document-proof > div { display: grid; min-width: 0; gap: 3px; }
.portal-sign-card strong,.portal-document-proof strong { font-size: 11px; }
.portal-sign-card small,.portal-document-proof span,.portal-document-wait span { overflow-wrap: anywhere; color: #69746d; font-size: 8px; }

.portal-onboarding-steps { display: grid; grid-template-columns: auto minmax(30px,1fr) auto minmax(30px,1fr) auto; align-items: center; gap: 10px; margin: 0 auto 30px; }
.portal-onboarding-steps > span { display: flex; align-items: center; gap: 7px; color: #8a938e; font-size: 8px; font-weight: 850; text-transform: uppercase; white-space: nowrap; }
.portal-onboarding-steps > span b { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #d7ddd9; border-radius: 50%; background: #fff; font-size: 9px; }
.portal-onboarding-steps > span.is-active { color: #286653; }
.portal-onboarding-steps > span.is-active b { border-color: #76a897; background: #e7f2ed; }
.portal-onboarding-steps > span.is-done b { border-color: #3b806a; background: #3b806a; color: #fff; }
.portal-onboarding-steps > span b svg { width: 13px; height: 13px; }
.portal-onboarding-steps > i { height: 1px; background: #d8ddd9; }
.portal-onboarding-heading { justify-content: center; text-align: center; }
.portal-onboarding-heading > div { max-width: 660px; }
.portal-terms-list { display: grid; gap: 12px; }
.portal-term-document { border: 1px solid #dce0dc; border-radius: 6px; background: #fff; overflow: hidden; }
.portal-term-document > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 17px; border-bottom: 1px solid #e2e5e1; }
.portal-term-document > header > div { display: flex; align-items: center; gap: 9px; }
.portal-term-document > header span { padding: 4px 6px; border-radius: 4px; background: #e7f1ec; color: #2d6d5a; font-size: 7px; font-weight: 900; }
.portal-term-document > header strong { font-size: 11px; }
.portal-term-document > header small { color: #737e77; font-size: 8px; }
.portal-term-document > div { max-height: 230px; padding: 17px; overflow-y: auto; }
.portal-term-document p { margin: 0; color: #4f5b54; font-size: 10px; line-height: 1.75; }
.portal-term-document > footer { display: flex; align-items: center; gap: 13px; padding: 9px 17px; border-top: 1px solid #e8ebe8; background: #fafbfa; color: #77817b; font-size: 7px; }
.portal-term-document > footer svg { width: 13px; height: 13px; }
.portal-consent-bar,.portal-consent-complete { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 14px; padding: 15px 17px; border: 1px solid #cbdcd4; border-radius: 6px; background: #f0f7f4; }
.portal-consent-bar label { display: flex; align-items: flex-start; gap: 9px; color: #435049; font-size: 9px; font-weight: 750; line-height: 1.5; }
.portal-consent-bar input { width: 16px; height: 16px; flex: 0 0 16px; accent-color: #2f725e; }
.portal-consent-bar .lummi-btn,.portal-consent-complete .lummi-btn { flex: 0 0 auto; }
.portal-consent-bar .lummi-btn svg { width: 14px; height: 14px; }
.portal-consent-complete { justify-content: flex-start; color: #286b57; font-size: 10px; font-weight: 800; }
.portal-consent-complete > svg { width: 18px; height: 18px; }
.portal-consent-complete .lummi-btn { margin-left: auto; }
.portal-legal-note { margin: 12px 0 0; color: #7b8580; font-size: 8px; text-align: center; }

.portal-current-signature { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 13px 16px; border: 1px solid #d7ded9; border-radius: 6px; background: #f9faf9; }
.portal-current-signature > div { display: grid; gap: 3px; }
.portal-current-signature span { color: #748078; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.portal-current-signature strong { font-size: 11px; }
.portal-current-signature small { color: #747f78; font-size: 8px; }
.portal-current-signature img { width: 160px; height: 54px; object-fit: contain; }
.portal-signature-builder { border: 1px solid #dce0dc; border-radius: 6px; background: #fff; overflow: hidden; }
.portal-signature-tabs { display: flex; gap: 3px; padding: 8px; border-bottom: 1px solid #e2e5e1; background: #f8faf8; }
.portal-signature-tabs button { display: flex; min-height: 38px; align-items: center; gap: 7px; padding: 8px 12px; border: 0; border-radius: 6px; background: transparent; color: #707b74; cursor: pointer; font-size: 9px; font-weight: 850; }
.portal-signature-tabs button.is-active { background: #fff; color: #286653; box-shadow: 0 0 0 1px #d5ddd8; }
.portal-signature-tabs svg { width: 15px; height: 15px; }
.portal-signature-panel { padding: 22px; }
.portal-signature-panel[hidden] { display: none; }
.portal-typed-preview { display: grid; min-height: 145px; margin-top: 16px; place-items: center; align-content: center; gap: 5px; border: 1px dashed #bdc9c2; border-radius: 6px; background: #fbfcfb; }
.portal-typed-preview small { color: #78827c; font-size: 8px; text-transform: uppercase; }
.portal-typed-preview strong { color: #214f42; font-family: Georgia,serif; font-size: 29px; font-style: italic; font-weight: 500; }
.portal-typed-preview span { color: #858e89; font-size: 8px; }
.portal-canvas-wrap { position: relative; }
.portal-canvas-wrap canvas { display: block; width: 100%; height: 220px; border: 1px dashed #afbeb6; border-radius: 6px; background: #fff; touch-action: none; }
.portal-canvas-wrap > span { position: absolute; bottom: 9px; left: 50%; color: #929b96; font-size: 8px; transform: translateX(-50%); pointer-events: none; }
.portal-signature-panel > .lummi-btn { margin-top: 9px; }
.portal-signature-notice { display: flex; align-items: center; gap: 9px; margin: 0 22px; padding: 11px 13px; border: 1px solid #e1e5e2; border-radius: 6px; background: #f8faf9; color: #68736c; font-size: 9px; }
.portal-signature-notice svg { width: 17px; height: 17px; color: #3f6e5f; }
.portal-signature-locked { display: flex; align-items: flex-start; gap: 12px; padding: 17px 18px; border: 1px solid #cfe0d9; border-radius: 6px; background: #f1f8f5; color: #315d4f; }
.portal-signature-locked > svg { width: 22px; height: 22px; flex: 0 0 22px; }
.portal-signature-locked > div { display: grid; gap: 4px; }
.portal-signature-locked strong { font-size: 11px; }
.portal-signature-locked span { color: #63746c; font-size: 9px; line-height: 1.5; }

/* Employee profile */
.portal-profile-heading { margin-bottom: 18px; }
.portal-profile-identity { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 14px; margin-bottom: 18px; padding: 17px 19px; border: 1px solid #d9dfdb; border-radius: 7px; background: #fff; }
.portal-profile-avatar { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #dcebe4; color: #245f4e; font-size: 17px; font-weight: 900; }
.portal-profile-identity > div { display: grid; min-width: 0; gap: 3px; }
.portal-profile-identity small { color: #77817b; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.portal-profile-identity h2 { margin: 0; overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.portal-profile-identity p { margin: 0; color: #6d7771; font-size: 9px; }
.portal-profile-status,.portal-profile-ok { display: inline-flex; align-items: center; gap: 5px; color: #286d57; font-size: 8px; font-weight: 900; }
.portal-profile-status { padding: 7px 9px; border-radius: 5px; background: #e8f3ed; text-transform: uppercase; }
.portal-profile-status.is-afastado { background: #fff0dc; color: #8e5a1c; }
.portal-profile-status.is-demitido,.portal-profile-status.is-inativo { background: #f1f2f1; color: #6c7670; }
.portal-profile-status svg,.portal-profile-ok svg { width: 13px; height: 13px; }
.portal-profile-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 18px; }
.portal-profile-main,.portal-profile-aside { display: grid; gap: 18px; }
.portal-profile-section { overflow: hidden; border: 1px solid #d9dfdb; border-radius: 7px; background: #fff; }
.portal-profile-section > header { display: flex; min-height: 59px; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 17px; border-bottom: 1px solid #e1e5e2; }
.portal-profile-section > header > div { display: grid; gap: 2px; }
.portal-profile-section > header small { color: #77817b; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.portal-profile-section > header h2 { margin: 0; font-size: 13px; }
.portal-profile-section > header > svg { width: 18px; height: 18px; color: #3c7161; }
.portal-profile-data { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; }
.portal-profile-data > div { display: grid; min-width: 0; gap: 4px; padding: 14px 17px; border-right: 1px solid #e8ebe9; border-bottom: 1px solid #e8ebe9; }
.portal-profile-data > div:nth-child(2n) { border-right: 0; }
.portal-profile-data > div:nth-last-child(-n+2) { border-bottom: 0; }
.portal-profile-data dt,.portal-profile-signature dt,.portal-profile-access dt { color: #77817b; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.portal-profile-data dd,.portal-profile-signature dd,.portal-profile-access dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: #29342e; font-size: 10px; font-weight: 800; }
.portal-profile-section > footer { display: flex; align-items: center; gap: 8px; padding: 10px 17px; border-top: 1px solid #e4e8e5; background: #fafbfa; color: #707a74; font-size: 8px; }
.portal-profile-section > footer svg { width: 14px; height: 14px; flex: 0 0 14px; }
.portal-profile-signature { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(220px,.75fr); align-items: stretch; }
.portal-profile-signature-preview { display: grid; min-height: 145px; place-items: center; align-content: center; gap: 5px; padding: 18px; border-right: 1px solid #e4e8e5; background: #fbfcfb; text-align: center; }
.portal-profile-signature-preview small,.portal-profile-signature-preview span { color: #7c8680; font-size: 8px; }
.portal-profile-signature-preview small { font-weight: 850; text-transform: uppercase; }
.portal-profile-signature-preview strong { max-width: 100%; overflow-wrap: anywhere; color: #214f42; font-family: Georgia,serif; font-size: 25px; font-style: italic; font-weight: 500; }
.portal-profile-signature-preview img { display: block; width: min(100%,260px); height: 72px; object-fit: contain; }
.portal-profile-signature > dl { display: grid; align-content: center; gap: 13px; margin: 0; padding: 18px; }
.portal-profile-signature > dl > div,.portal-profile-access dl > div { display: grid; gap: 4px; }
.portal-profile-signature code { color: #48574f; font-size: 8px; }
.portal-profile-signature-section > .portal-signature-locked { margin: 0; border-width: 1px 0 0; border-radius: 0; }
.portal-profile-manager > div { display: grid; justify-items: center; gap: 5px; padding: 22px 17px; text-align: center; }
.portal-profile-manager strong { font-size: 12px; }
.portal-profile-manager small { color: #707a74; font-size: 8px; }
.portal-profile-manager a { display: flex; max-width: 100%; align-items: center; gap: 6px; margin-top: 7px; overflow: hidden; color: #2d6958; font-size: 8px; font-weight: 850; text-overflow: ellipsis; }
.portal-profile-manager a svg { width: 14px; height: 14px; flex: 0 0 14px; }
.portal-profile-access dl { display: grid; gap: 14px; margin: 0; padding: 17px; }
.portal-profile-access form { margin: 0; padding: 0 12px 12px; }
.portal-profile-logout { display: grid; width: 100%; grid-template-columns: 18px minmax(0,1fr) 14px; align-items: center; gap: 9px; min-height: 52px; padding: 9px 11px; border: 1px solid #e3cdcd; border-radius: 6px; background: #fff8f8; color: #934242; cursor: pointer; text-align: left; }
.portal-profile-logout:hover { border-color: #d7b3b3; background: #fff2f2; }
.portal-profile-logout > svg { width: 17px; height: 17px; }
.portal-profile-logout > svg:last-child { width: 13px; height: 13px; color: #a67575; }
.portal-profile-logout span { display: grid; gap: 2px; }
.portal-profile-logout strong { font-size: 9px; }
.portal-profile-logout small { color: #8b6f6f; font-size: 7px; }

@media (max-width: 900px) {
  .portal-profile-grid { grid-template-columns: 1fr; }
  .portal-profile-aside { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
  .portal-profile-identity { grid-template-columns: 48px minmax(0,1fr); padding: 14px; }
  .portal-profile-avatar { width: 48px; height: 48px; font-size: 14px; }
  .portal-profile-identity h2 { font-size: 14px; }
  .portal-profile-status { grid-column: 2; justify-self: start; }
  .portal-profile-signature { grid-template-columns: 1fr; }
  .portal-profile-signature-preview { min-height: 130px; border-right: 0; border-bottom: 1px solid #e4e8e5; }
  .portal-profile-aside { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .portal-profile-data { grid-template-columns: 1fr; }
  .portal-profile-data > div { border-right: 0; }
  .portal-profile-data > div:nth-last-child(2) { border-bottom: 1px solid #e8ebe9; }
}

/* Point card signature tracking */
.signature-report-command{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;align-items:center;gap:18px;margin-bottom:16px;padding:16px 18px;border:1px solid #dce1de;border-left:4px solid #34715f;border-radius:7px;background:#fff}.signature-report-command>div{display:grid;gap:3px}.signature-report-command>div>span,.signature-report-command label>span{color:#748078;font-size:8px;font-weight:900;text-transform:uppercase}.signature-report-command>div>strong{font-size:15px}.signature-report-command>div>small{color:#6f7b74;font-size:9px}.signature-report-command label{display:grid;gap:5px}.signature-report-command select{min-width:245px;height:38px;padding:0 10px;border:1px solid #d7ddd9;border-radius:6px;background:#fff;font-size:10px;font-weight:750}.signature-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px;overflow:hidden;border:1px solid #dce1de;border-radius:7px;background:#fff}.signature-report-kpis>div{display:grid;gap:4px;padding:15px 18px;border-right:1px solid #e1e5e2}.signature-report-kpis>div:last-child{border-right:0}.signature-report-kpis span{color:#748078;font-size:8px;font-weight:900;text-transform:uppercase}.signature-report-kpis strong{font-size:22px}.signature-report-kpis small{color:#7b8580;font-size:8px}.signature-report-kpis .is-signed strong{color:#287159}.signature-report-kpis .is-pending strong{color:#a56825}.signature-progress{height:5px;margin-top:4px;overflow:hidden;border-radius:3px;background:#e7ece9}.signature-progress i{display:block;height:100%;border-radius:inherit;background:#3c806b}.signature-report-panel{overflow:hidden;border:1px solid #dce1de;border-radius:7px;background:#fff}.signature-report-filters{display:grid;grid-template-columns:minmax(220px,1fr) 190px 190px auto 38px;align-items:center;gap:8px;padding:12px;border-bottom:1px solid #e1e5e2;background:#fafbf9}.manager-portal-content .signature-report-filters{grid-template-columns:minmax(220px,1fr) 190px auto 38px}.signature-report-filters>label{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 11px;border:1px solid #d8ded9;border-radius:6px;background:#fff}.signature-report-filters label svg{width:15px;height:15px;color:#78837d}.signature-report-filters input,.signature-report-filters select{min-width:0;height:40px;border:1px solid #d8ded9;border-radius:6px;background:#fff;padding:0 10px;font-size:10px}.signature-report-filters label input{width:100%;height:auto;padding:0;border:0;outline:0}.signature-report-table-scroll{overflow-x:auto}.signature-report-table{width:100%;min-width:980px;border-collapse:collapse}.signature-report-table th,.signature-report-table td{padding:12px 14px;border-bottom:1px solid #e5e8e6;text-align:left;vertical-align:middle}.signature-report-table th{background:#f7f9f7;color:#748079;font-size:8px;font-weight:900;text-transform:uppercase}.signature-report-table td{color:#46534c;font-size:10px}.signature-report-table tr:last-child td{border-bottom:0}.signature-report-table td>strong,.signature-report-table td>small,.signature-report-table td>.signature-proof{display:block}.signature-report-table td>strong{color:#202b26;font-size:10px}.signature-report-table td>small{margin-top:3px;color:#7b8580;font-size:8px}.signature-status{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border-radius:5px;font-size:8px;font-weight:900}.signature-status svg{width:12px;height:12px}.signature-status.is-ok{background:#e5f2eb;color:#286f59}.signature-status.is-pending{background:#fff0dc;color:#915b1b}.signature-status.is-muted{background:#eef0ef;color:#69736d}.signature-proof{color:#68766f;font-family:monospace;font-size:8px;line-height:1.6}.signature-report-pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;border-top:1px solid #e2e5e1;color:#748079;font-size:9px;font-weight:800}.signature-report-pagination>div,.signature-report-pagination a{display:flex;align-items:center;gap:10px}.signature-report-pagination a{gap:4px;color:#2d6958}.signature-report-pagination svg{width:13px;height:13px}.signature-report-empty{display:grid;justify-items:center;gap:5px;padding:32px;color:#758079;text-align:center}.signature-report-empty svg{width:26px;height:26px}.signature-report-empty strong{color:#2b3731}.signature-report-heading{align-items:center}.signature-report-heading>.lummi-btn svg{width:15px;height:15px}
.signature-report-table{min-width:940px}
@media(max-width:760px){.signature-report-command{grid-template-columns:1fr}.signature-report-command select{width:100%;min-width:0}.signature-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.signature-report-kpis>div:nth-child(2n){border-right:0}.signature-report-kpis>div:nth-child(-n+2){border-bottom:1px solid #e1e5e2}.signature-report-filters,.manager-portal-content .signature-report-filters{grid-template-columns:1fr}.signature-report-filters>.lummi-icon-btn{width:40px}.signature-report-heading{align-items:flex-start}}
@media print{.lummi-sidebar,.lummi-topbar,.manager-portal-sidebar,.manager-portal-topbar,.signature-report-filters,.signature-report-heading>.lummi-btn,.signature-report-command>form,.signature-report-command>button{display:none!important}.lummi-shell,.manager-portal-shell{display:block}.lummi-content,.manager-portal-content{width:100%;padding:0}.signature-report-table{min-width:0}.signature-report-panel{overflow:visible;border-color:#bbb}.signature-report-table th,.signature-report-table td{padding:7px;font-size:8px}}

/* Authentication workspace */
.lummi-auth-page {
  min-width: 320px;
  min-height: 100vh;
  background: #fff;
}

.lummi-auth-shell {
  display: grid;
  grid-template-columns: minmax(360px, 41%) minmax(0, 1fr);
  min-height: 100vh;
}

.lummi-auth-brand-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  padding: 38px 44px;
  background: #16231f;
  color: #fff;
}

.lummi-auth-page.is-portal .lummi-auth-brand-panel {
  background: #173029;
}

.lummi-auth-brand {
  display: inline-grid;
  width: 200px;
  max-width: 100%;
  gap: 5px;
  padding: 2px 0;
}

.lummi-auth-brand img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .97;
}

.lummi-auth-brand small {
  color: #9eb0a7;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.lummi-auth-brand-copy {
  align-self: center;
  max-width: 410px;
}

.lummi-auth-context {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  color: #9fc7b7;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.lummi-auth-context svg {
  width: 15px;
  height: 15px;
}

.lummi-auth-brand-copy h2 {
  max-width: 390px;
  margin: 0;
  color: #fff;
  font-size: 38px;
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: 0;
}

.lummi-auth-brand-rule {
  display: grid;
  grid-template-columns: 1.7fr .8fr .45fr .25fr;
  width: min(290px, 75%);
  height: 4px;
  margin-top: 28px;
  gap: 5px;
}

.lummi-auth-brand-rule i {
  border-radius: 2px;
  background: #4e9a80;
}

.lummi-auth-brand-rule i:nth-child(2) {
  background: #d88a36;
}

.lummi-auth-brand-rule i:nth-child(3) {
  background: #7390a3;
}

.lummi-auth-brand-rule i:nth-child(4) {
  background: #d7e2dc;
}

.lummi-auth-security {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b9c9c1;
}

.lummi-auth-security > svg {
  width: 18px;
  height: 18px;
  color: #72ad98;
}

.lummi-auth-security > span {
  display: grid;
  gap: 2px;
}

.lummi-auth-security strong {
  color: #e7eeea;
  font-size: 10px;
}

.lummi-auth-security small {
  color: #85988f;
  font-size: 8px;
  font-weight: 700;
}

.lummi-auth-access-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  min-height: 100vh;
  padding: 44px 64px 30px;
  background: #fff;
}

.lummi-auth-form-wrap {
  width: min(100%, 430px);
  align-self: center;
  justify-self: center;
}

.lummi-auth-mobile-brand {
  display: none;
}

.lummi-auth-mobile-brand img { display: block; width: 168px; height: auto; }

.lummi-auth-heading {
  margin-bottom: 30px;
}

.lummi-auth-heading > span {
  display: block;
  margin-bottom: 8px;
  color: #397663;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.lummi-auth-heading h1 {
  margin: 0;
  color: #17211d;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.lummi-auth-heading p {
  margin: 9px 0 0;
  color: #6b766f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.lummi-auth-alert {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 11px 12px;
  border: 1px solid #d9e1dc;
  border-left: 3px solid #58786b;
  border-radius: 6px;
  background: #f6f9f7;
  color: #415149;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
}

.lummi-auth-alert svg {
  width: 17px;
  height: 17px;
}

.lummi-auth-alert.is-danger {
  border-color: #eccccc;
  border-left-color: #b84a4a;
  background: #fcf3f3;
  color: #873d3d;
}

.lummi-auth-alert.is-warning {
  border-color: #ead4b7;
  border-left-color: #b8792b;
  background: #fff8ed;
  color: #815722;
}

.lummi-auth-alert.is-success {
  border-color: #cfe3d9;
  border-left-color: #34765f;
  background: #f1f8f5;
  color: #28634f;
}

.lummi-auth-form {
  display: grid;
  gap: 18px;
}

.lummi-auth-field {
  display: grid;
  gap: 7px;
}

.lummi-auth-field > span:first-child,
.lummi-auth-field > label {
  color: #435149;
  font-size: 11px;
  font-weight: 850;
}

.lummi-auth-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lummi-auth-field-label a {
  color: #34715f;
  font-size: 10px;
  font-weight: 850;
}

.lummi-auth-field-label label {
  color: #435149;
  font-size: 11px;
  font-weight: 850;
}

.lummi-auth-field-label a:hover {
  text-decoration: underline;
}

.lummi-auth-input {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 50px;
  padding: 0 12px;
  gap: 9px;
  border: 1px solid #d7ded9;
  border-radius: 6px;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.lummi-auth-input:focus-within {
  border-color: #72a895;
  box-shadow: 0 0 0 3px rgba(47, 111, 94, .11);
}

.lummi-auth-input > svg {
  width: 17px;
  height: 17px;
  color: #738078;
}

.lummi-auth-input input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1c2822;
  font-size: 13px;
  font-weight: 700;
}

.lummi-auth-input button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #68766f;
  cursor: pointer;
}

.lummi-auth-input button:hover {
  background: #edf2ef;
  color: #285f4f;
}

.lummi-auth-input button svg {
  width: 17px;
  height: 17px;
}

.lummi-auth-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  margin-top: 2px;
  padding: 0 16px;
  border: 1px solid #2f6f5e;
  border-radius: 6px;
  background: #2f6f5e;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  transition: background .16s ease, border-color .16s ease;
}

.lummi-auth-submit:hover {
  border-color: #245849;
  background: #245849;
}

.lummi-auth-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.lummi-auth-submit svg {
  width: 17px;
  height: 17px;
}

.lummi-auth-submit.is-loading svg {
  animation: auth-submit-pulse .8s ease-in-out infinite alternate;
}

@keyframes auth-submit-pulse {
  to { transform: translateX(3px); }
}

.lummi-auth-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e2e6e3;
}

.lummi-auth-switch > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.lummi-auth-switch > span > svg {
  width: 18px;
  height: 18px;
  color: #497765;
}

.lummi-auth-switch > span > span {
  display: grid;
  gap: 2px;
}

.lummi-auth-switch small {
  color: #7a857f;
  font-size: 9px;
  font-weight: 750;
}

.lummi-auth-switch strong {
  color: #34433b;
  font-size: 11px;
}

.lummi-auth-switch > a {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid #d8dfda;
  border-radius: 6px;
  color: #326d5c;
}

.lummi-auth-switch > a:hover {
  border-color: #8eb4a5;
  background: #edf5f1;
}

.lummi-auth-switch > a svg {
  width: 16px;
  height: 16px;
}

.lummi-auth-back,
.lummi-auth-exit button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  border: 0;
  background: transparent;
  color: #476158;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.lummi-auth-back svg,
.lummi-auth-exit button svg {
  width: 14px;
  height: 14px;
}

.lummi-auth-back:hover,
.lummi-auth-exit button:hover {
  color: #286a56;
}

.lummi-auth-password-policy {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: -10px 0 22px;
  padding: 11px 12px;
  border: 1px solid #d7e5de;
  border-radius: 6px;
  background: #f2f8f5;
  color: #2e6855;
}

.lummi-auth-password-policy > svg {
  width: 18px;
  height: 18px;
}

.lummi-auth-password-policy > span {
  display: grid;
  gap: 2px;
}

.lummi-auth-password-policy strong {
  font-size: 10px;
}

.lummi-auth-password-policy small {
  color: #60756b;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.45;
}

.lummi-auth-exit {
  margin: 0;
}

.lummi-auth-exit button {
  padding: 0;
}

.employee-login-security-state {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  grid-column: 1 / -1;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #d8e4de;
  border-radius: 6px;
  background: #f3f8f5;
  color: #316b58;
}

.employee-login-security-state > svg {
  width: 18px;
  height: 18px;
  justify-self: center;
}

.employee-login-security-state > span {
  display: grid;
  gap: 2px;
}

.employee-login-security-state strong {
  font-size: 11px;
}

.employee-login-security-state small {
  color: #66766e;
  font-size: 9px;
  font-weight: 700;
}

.employee-login-security-state.is-pending {
  border-color: #ead5b8;
  background: #fff8ee;
  color: #906024;
}

.employee-login-security-state.is-locked {
  border-color: #e8caca;
  background: #fcf2f2;
  color: #9a4141;
}

.lummi-auth-footer {
  display: flex;
  justify-content: space-between;
  width: min(100%, 430px);
  justify-self: center;
  color: #929b96;
  font-size: 9px;
  font-weight: 750;
}

@media (max-width: 840px) {
  .lummi-auth-shell {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .lummi-auth-brand-panel {
    padding: 30px;
  }

  .lummi-auth-brand-copy h2 {
    font-size: 30px;
  }

  .lummi-auth-access-panel {
    padding-right: 36px;
    padding-left: 36px;
  }
}

@media (max-width: 680px) {
  .lummi-auth-shell {
    display: block;
    min-height: 100vh;
  }

  .lummi-auth-brand-panel {
    display: none;
  }

  .lummi-auth-access-panel {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 24px 22px 20px;
  }

  .lummi-auth-mobile-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    margin-bottom: 30px;
    color: #1d2a24;
    font-size: 14px;
  }

  .lummi-auth-mobile-brand img {
    width: 154px;
    height: auto;
  }

  .lummi-auth-form-wrap {
    flex: 0 0 auto;
    align-self: center;
  }

  .lummi-auth-footer {
    width: 100%;
    margin-top: auto;
  }

  .lummi-auth-heading {
    margin-bottom: 25px;
  }

  .lummi-auth-heading h1 {
    font-size: 26px;
  }

  .lummi-auth-footer {
    padding-top: 20px;
  }
}

@media (max-width: 1050px) {
  .employee-portal-shell { grid-template-columns: 78px minmax(0,1fr); }
  .employee-portal-sidebar { padding: 18px 10px 12px; }
  .employee-portal-brand { grid-template-columns: 1fr; justify-items: center; padding: 0 0 18px; }
  .employee-portal-brand > img { grid-row: auto; }
  .employee-portal-brand strong,.employee-portal-brand small,.employee-portal-nav span,.employee-portal-user > div { display: none; }
  .employee-portal-nav a { justify-content: center; padding: 9px; }
  .employee-portal-user { grid-template-columns: 32px; justify-content: center; }
  .employee-portal-user form { display: none; }
  .employee-portal-onboarding-note strong,.employee-portal-onboarding-note span { display: none; }
  .portal-status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-status-grid > a:nth-child(2) { border-right: 0; }
  .portal-status-grid > a:nth-child(-n+2) { border-bottom: 1px solid #e2e5e1; }
  .portal-dashboard-grid { grid-template-columns: minmax(0,1fr) 240px; }
  .portal-request-layout { grid-template-columns: 1fr; }
  .portal-request-info { grid-template-columns: auto minmax(0,1fr); justify-items: start; text-align: left; }
  .portal-request-info > svg { grid-row: 1 / 5; }
  .portal-request-info hr,.portal-request-info p { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .employee-portal-shell { grid-template-columns: 1fr; padding-bottom: 66px; }
  .employee-portal-sidebar { position: fixed; top: auto; right: 0; bottom: 0; left: 0; z-index: 50; display: block; width: 100%; height: 66px; padding: 7px 10px; overflow: visible; }
  .employee-portal-brand,.employee-portal-user,.employee-portal-onboarding-note { display: none; }
  .employee-portal-nav { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; margin: 0; }
  .employee-portal-nav.has-manager-access { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .employee-portal-nav a { display: grid; min-height: 52px; justify-items: center; align-content: center; gap: 3px; padding: 4px; font-size: 7px; text-align: center; }
  .employee-portal-nav a.is-active::before { top: -7px; right: 8px; bottom: auto; left: 8px; width: auto; height: 3px; border-radius: 0 0 3px 3px; }
  .employee-portal-nav span { display: block; }
  .employee-portal-topbar { padding: 11px 16px; }
  .employee-portal-content,.employee-portal-shell.is-onboarding .employee-portal-content { width: min(100% - 28px,1180px); padding-top: 20px; }
  .portal-dashboard-heading { align-items: flex-start; flex-direction: column; }
  .portal-period-context { width: 100%; padding: 10px 0 0; border-top: 1px solid #d8ddd9; border-left: 0; }
  .portal-dashboard-grid { grid-template-columns: 1fr; }
  .portal-page-heading { align-items: flex-start; flex-wrap: wrap; }
  .portal-page-heading > .lummi-btn,.portal-page-heading > .portal-signed-badge { width: 100%; margin-left: 0; }
  .portal-page-heading > .lummi-btn { justify-content: center; }
  .portal-frequency-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-frequency-summary > div { border-bottom: 1px solid #e2e5e1; }
  .portal-frequency-summary > div:nth-child(2n) { border-right: 0; }
  .portal-frequency-summary > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .portal-card-status { grid-template-columns: 1fr; }
  .portal-card-status > div { border-right: 0; border-bottom: 1px solid #e2e5e1; }
  .portal-card-status > div:last-child { border-bottom: 0; }
  .portal-request-types { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-form-grid { grid-template-columns: 1fr; }
  .portal-point-paper > header { align-items: flex-start; flex-direction: column; }
  .portal-point-paper > footer { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-point-paper > footer span:nth-child(2) { border-right: 0; }
  .portal-point-paper > footer span:nth-child(-n+2) { border-bottom: 1px solid #e2e5e1; }
  .portal-sign-card,.portal-consent-bar { align-items: stretch; flex-direction: column; }
  .portal-sign-card .lummi-btn,.portal-consent-bar .lummi-btn { width: 100%; }
  .portal-onboarding-steps > span { font-size: 0; }
  .portal-typed-preview strong { padding: 0 10px; font-size: 22px; text-align: center; }
}

@media (max-width: 430px) {
  .employee-portal-top-action { width: 36px; padding: 8px; font-size: 0; }
  .portal-status-grid { grid-template-columns: 1fr; }
  .portal-status-grid > a { border-right: 0; border-bottom: 1px solid #e2e5e1; }
  .portal-status-grid > a:last-child { border-bottom: 0; }
  .portal-request-types { grid-template-columns: 1fr; }
  .portal-form-actions { flex-direction: column-reverse; }
  .portal-form-actions .lummi-btn { width: 100%; }
  .portal-current-signature { align-items: flex-start; flex-direction: column; }
  .portal-current-signature img { width: 100%; }
}

/* Portal employee request operations */
.portal-management-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.portal-management-metric { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 16px 18px; border-right: 1px solid var(--line); color: var(--ink); }
.portal-management-metric:last-child { border-right: 0; }
.portal-management-metric:hover { background: #fbfcfb; }
.portal-management-metric-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 7px; background: #eaf2ef; color: #2f6f5e; }
.portal-management-metric-icon.is-blue { background: #eaf1f7; color: #3c6c91; }
.portal-management-metric-icon.is-amber { background: #f8efe0; color: #936526; }
.portal-management-metric-icon.is-green { background: #e5f2ea; color: #2c7657; }
.portal-management-metric-icon svg { width: 18px; height: 18px; }
.portal-management-metric > span:last-child { display: grid; min-width: 0; gap: 2px; }
.portal-management-metric small { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.portal-management-metric strong { font-size: 24px; line-height: 1; }
.portal-management-metric em { overflow: hidden; color: #7a837d; font-size: 10px; font-style: normal; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.portal-management-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.portal-management-toolbar > div { display: grid; gap: 4px; }
.portal-management-toolbar > div > strong { font-size: 16px; }
.portal-management-toolbar > div > span { color: var(--muted); font-size: 12px; font-weight: 650; }
.portal-management-toolbar form { width: min(100%, 220px); }
.portal-management-toolbar .lummi-select { min-height: 40px; }
.portal-management-table { min-width: 900px; }
.portal-management-table td:last-child { width: 48px; }
.portal-management-table td strong + .lummi-muted { display: block; margin-top: 3px; }
.portal-management-table td > .lummi-muted { display: block; margin-top: 3px; }
.portal-management-employee { display: flex; min-width: 230px; align-items: center; gap: 10px; }
.portal-management-employee > span:last-child { display: block; min-width: 0; }
.portal-management-list-avatar { display: grid; width: 36px; height: 36px; flex: 0 0 36px; overflow: hidden; place-items: center; border-radius: 50%; background: #e3eee9; color: #286b58; font-size: 13px; font-weight: 900; }
.portal-management-list-avatar img { width: 100%; height: 100%; object-fit: cover; }
.portal-management-protocol { color: #276956; font-size: 12px; font-weight: 900; }
.portal-management-status { display: inline-flex; align-items: center; min-height: 26px; padding: 5px 9px; border-radius: 5px; background: #eef1ef; color: #5c6861; font-size: 10px; font-weight: 900; white-space: nowrap; }
.portal-management-status.is-enviada { background: #e9f1f7; color: #356a90; }
.portal-management-status.is-em_analise { background: #f8efdf; color: #876021; }
.portal-management-status.is-aprovada { background: #e4f1e9; color: #267354; }
.portal-management-status.is-rejeitada,.portal-management-status.is-cancelada { background: #f7e9e7; color: #9a4a42; }
.portal-management-empty { display: grid; min-height: 190px; place-items: center; align-content: center; gap: 7px; color: var(--muted); text-align: center; }
.portal-management-empty svg { width: 25px; height: 25px; }
.portal-management-empty strong { color: var(--ink); }
.portal-management-empty span { font-size: 12px; }
.portal-management-pagination { padding: 15px 22px; border-top: 1px solid var(--line); }
.portal-management-pagination > span { color: var(--muted); font-size: 12px; font-weight: 750; }

.portal-management-detail-heading { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: start; gap: 14px; margin-bottom: 22px; }
.portal-management-detail-heading > div > span { display: block; margin: 1px 0 4px; color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.portal-management-detail-heading .lummi-page-title { font-size: 28px; }
.portal-management-detail-heading .lummi-page-subtitle { margin-top: 5px; font-size: 12px; }
.portal-management-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.portal-management-detail-main,.portal-management-detail-side { display: grid; gap: 18px; min-width: 0; }
.portal-management-detail-card .lummi-card-header,.portal-management-review .lummi-card-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.portal-management-detail-card .lummi-card-header > div,.portal-management-review .lummi-card-header > div { display: grid; gap: 3px; }
.portal-management-detail-card .lummi-card-header span,.portal-management-review .lummi-card-header span { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.portal-management-detail-card .lummi-card-header svg,.portal-management-review .lummi-card-header svg { width: 20px; height: 20px; color: #547267; }
.portal-management-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 20px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.portal-management-facts > div { padding: 13px 15px; border-right: 1px solid var(--line); }
.portal-management-facts > div:last-child { border-right: 0; }
.portal-management-facts dt,.portal-management-person dt { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.portal-management-facts dd,.portal-management-person dd { margin: 4px 0 0; color: var(--ink); font-size: 14px; font-weight: 850; }
.portal-management-reason > span { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.portal-management-reason p { margin: 8px 0 0; color: #444f49; font-size: 14px; font-weight: 650; line-height: 1.7; }
.portal-management-review-form { display: grid; gap: 17px; }
.portal-management-review-form small { color: var(--muted); font-size: 11px; }
.portal-management-review-actions { display: grid; grid-template-columns: auto 1fr auto auto; gap: 9px; align-items: center; }
.portal-management-reject { border-color: #e1b8b2; background: #fff; color: #9a443c; }
.portal-management-reject:hover { background: #fdf5f4; }
.portal-management-person { padding: 22px; text-align: center; }
.portal-management-avatar { display: grid; width: 64px; height: 64px; margin: 0 auto 12px; overflow: hidden; place-items: center; border-radius: 50%; background: #e3eee9; color: #286b58; font-size: 22px; font-weight: 900; }
.portal-management-avatar img { width: 100%; height: 100%; object-fit: cover; }
.portal-management-person > small { display: block; color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.portal-management-person > strong { display: block; margin-top: 4px; font-size: 16px; }
.portal-management-person > span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.portal-management-person dl { display: grid; gap: 11px; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.portal-management-person .lummi-btn { width: 100%; }
.portal-management-owner,.portal-management-audit { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.portal-management-owner > svg,.portal-management-audit > svg { width: 20px; height: 20px; flex: 0 0 20px; color: #34705f; }
.portal-management-owner > div,.portal-management-audit > div { display: grid; gap: 3px; }
.portal-management-owner small { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.portal-management-owner strong,.portal-management-audit strong { font-size: 12px; }
.portal-management-audit { background: #f4f7f5; }
.portal-management-audit span { color: #68736d; font-size: 10px; line-height: 1.55; }
.portal-management-decision { display: flex; gap: 13px; padding: 16px; border: 1px solid #cde0d5; border-radius: 7px; background: #eff7f2; }
.portal-management-decision.is-rejeitada,.portal-management-decision.is-cancelada { border-color: #ead0cc; background: #fcf4f3; }
.portal-management-decision > svg { width: 22px; height: 22px; flex: 0 0 22px; color: #2b7658; }
.portal-management-decision.is-rejeitada > svg,.portal-management-decision.is-cancelada > svg { color: #9a4a42; }
.portal-management-decision p { margin: 6px 0; color: #48534d; font-size: 13px; line-height: 1.6; }
.portal-management-decision span { color: var(--muted); font-size: 10px; }

@media (max-width: 1100px) {
  .portal-management-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-management-metric:nth-child(2) { border-right: 0; }
  .portal-management-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .portal-management-detail-grid { grid-template-columns: minmax(0, 1fr) 260px; }
}

@media (max-width: 760px) {
  .portal-management-toolbar { align-items: stretch; flex-direction: column; }
  .portal-management-toolbar form { width: 100%; }
  .portal-management-detail-grid { grid-template-columns: 1fr; }
  .portal-management-detail-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-management-person { grid-row: span 2; }
  .portal-management-review-actions { grid-template-columns: 1fr 1fr; }
  .portal-management-review-actions > span { display: none; }
  .portal-management-review-actions .lummi-btn { width: 100%; }
}

@media (max-width: 520px) {
  .portal-management-metrics { grid-template-columns: 1fr; }
  .portal-management-metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .portal-management-metric:last-child { border-bottom: 0; }
  .portal-management-detail-heading { grid-template-columns: 42px minmax(0, 1fr); }
  .portal-management-detail-heading > .portal-management-status { grid-column: 2; justify-self: start; }
  .portal-management-facts { grid-template-columns: 1fr; }
  .portal-management-facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .portal-management-facts > div:last-child { border-bottom: 0; }
  .portal-management-detail-side { grid-template-columns: 1fr; }
  .portal-management-review-actions { grid-template-columns: 1fr; }
}

.portal-document-upload-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.portal-document-drop { display: flex; min-height: 76px; align-items: center; gap: 12px; padding: 12px 15px; border: 1px dashed #aebdb5; border-radius: 6px; background: #fafcfb; color: #4f5c55; cursor: pointer; }
.portal-document-drop:hover,.portal-document-drop.has-files { border-color: #55917f; background: #f1f7f4; }
.portal-document-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.portal-document-drop > svg { width: 23px; height: 23px; flex: 0 0 23px; color: #34715f; }
.portal-document-drop > span { display: grid; gap: 4px; }
.portal-document-drop strong { font-size: 10px; }
.portal-document-drop small { color: #78837c; font-size: 8px; line-height: 1.45; }
.portal-document-selection { display: grid; gap: 6px; }
.portal-document-selection > span { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #dce3df; border-radius: 5px; background: #f8faf9; }
.portal-document-selection svg { width: 15px; height: 15px; color: #34715f; }
.portal-document-selection strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.portal-document-selection small { color: #7a847e; font-size: 8px; }
.portal-request-documents { display: grid; gap: 5px; }
.portal-request-documents a { display: inline-flex; align-items: center; gap: 5px; color: #2c6b59; font-size: 8px; font-weight: 850; }
.portal-request-documents svg { width: 13px; height: 13px; }
.portal-no-document { color: #8a938e; font-size: 8px; }
.portal-management-table .lummi-muted svg { width: 12px; height: 12px; margin: 0 2px -2px 4px; }
.portal-management-documents { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.portal-management-documents > span { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.portal-management-documents > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
.portal-management-documents a { display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: #fafbfa; }
.portal-management-documents a:hover { border-color: #b9cec5; background: #f3f8f5; }
.portal-management-documents a > svg:first-child { width: 17px; height: 17px; color: #34715f; }
.portal-management-documents a > svg:last-child { width: 14px; height: 14px; color: #7c8780; }
.portal-management-documents a > span { display: grid; min-width: 0; gap: 2px; }
.portal-management-documents strong { font-size: 10px; }
.portal-management-documents small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 620px) {
  .portal-document-upload-grid,.portal-management-documents > div { grid-template-columns: 1fr; }
}

/* Teams administration */
.team-admin-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.team-admin-metrics > div { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-right: 1px solid var(--line); }
.team-admin-metrics > div:last-child { border-right: 0; }
.team-admin-metrics svg { width: 20px; height: 20px; color: #34715f; }
.team-admin-metrics span { display: grid; gap: 2px; }
.team-admin-metrics small { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.team-admin-metrics strong { font-size: 20px; }
.team-admin-table { min-width: 880px; }
.team-admin-table .lummi-muted { display: block; max-width: 360px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-form-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 22px; }
.team-form-heading .lummi-page-title { font-size: 30px; }
.team-form { display: grid; gap: 16px; }
.team-form-section { overflow: hidden; }
.team-form-section > header { display: flex; align-items: center; gap: 11px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.team-form-section > header > span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 50%; background: #e3eee9; color: #2d6a58; font-size: 11px; font-weight: 900; }
.team-form-section > header > div { display: grid; gap: 2px; }
.team-form-section > header strong { font-size: 14px; }
.team-form-section > header small { color: var(--muted); font-size: 11px; }
.team-form-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) 180px; gap: 14px; }
.team-form-grid .is-wide { grid-column: 1 / -1; }
.team-manager-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.team-manager-options label { position: relative; cursor: pointer; }
.team-manager-options input { position: absolute; opacity: 0; }
.team-manager-options label > span { display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: center; gap: 8px; min-height: 62px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #fafbfa; }
.team-manager-options input:checked + span { border-color: #78a999; background: #eef6f2; box-shadow: inset 3px 0 #34715f; }
.team-manager-options svg { grid-row: 1 / 3; width: 18px; height: 18px; color: #34715f; }
.team-manager-options strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.team-manager-options small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.team-new-manager { margin-top: 13px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfb; }
.team-new-manager summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; color: #2f6958; cursor: pointer; font-size: 11px; font-weight: 850; }
.team-new-manager summary svg { width: 16px; height: 16px; }
.team-new-manager > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 0 14px 14px; }
.team-member-search { display: flex; width: min(100%,380px); align-items: center; gap: 8px; margin-left: auto; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.team-member-search svg { width: 15px; height: 15px; color: var(--muted); }
.team-member-search input { width: 100%; height: 36px; border: 0; outline: 0; font-size: 11px; }
.team-member-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-height: 430px; overflow-y: auto; }
.team-member-list > label { display: grid; grid-template-columns: 34px minmax(0,1fr) 20px; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.team-member-list > label:hover { background: #fafbfa; }
.team-member-list input { position: absolute; opacity: 0; }
.team-member-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #edf1ef; color: #536159; font-size: 12px; font-weight: 900; }
.team-member-list label > span:nth-of-type(2) { display: grid; min-width: 0; gap: 3px; }
.team-member-list strong,.team-member-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-member-list strong { font-size: 11px; }
.team-member-list small { color: var(--muted); font-size: 8px; }
.team-member-list label > svg { width: 17px; height: 17px; color: #b5bdb8; }
.team-member-list label:has(input:checked) { border-color: #82ad9e; background: #eff6f3; }
.team-member-list label:has(input:checked) .team-member-avatar { background: #34715f; color: #fff; }
.team-member-list label:has(input:checked) > svg { color: #34715f; }
.team-form-actions { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; gap: 9px; padding: 13px 0; background: rgba(247,243,236,.94); backdrop-filter: blur(8px); }

/* Manager portal */
.manager-portal-body { margin: 0; background: #f4f5f3; color: #1c2520; }
.manager-portal-shell { display: grid; grid-template-columns: 238px minmax(0,1fr); min-height: 100vh; }
.manager-portal-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 19px 14px 14px; overflow-y: auto; background: #12201b; color: #fff; }
.manager-portal-brand { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 10px; padding: 0 7px 18px; color: #fff; }
.manager-portal-brand > img { display: block; width: 38px; height: 38px; grid-row: 1 / 3; }
.manager-portal-brand strong { font-size: 17px; }
.manager-portal-brand small { color: #8fa39a; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.manager-portal-team-context { display: grid; gap: 3px; margin-bottom: 18px; padding: 12px; border: 1px solid #304039; border-radius: 7px; background: #1b2924; }
.manager-portal-team-context small { color: #84988f; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.manager-portal-team-context strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.manager-portal-team-context span { color: #a5b3ad; font-size: 9px; }
.manager-portal-nav { display: grid; gap: 5px; }
.manager-portal-nav a { position: relative; display: flex; min-height: 43px; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 6px; color: #b9c5c0; font-size: 11px; font-weight: 800; }
.manager-portal-nav a:hover { background: #1c2d27; color: #fff; }
.manager-portal-nav a.is-active { background: #293a34; color: #fff; }
.manager-portal-nav a.is-active::before { position: absolute; top: 8px; bottom: 8px; left: -14px; width: 3px; border-radius: 0 3px 3px 0; background: #e39a38; content: ''; }
.manager-portal-nav svg { width: 18px; height: 18px; }

/* Employee access profile */
.employee-access-profile,.employee-manager-team-scope{min-width:0;margin:4px 0 0;padding:0;border:0}.employee-access-profile>legend,.employee-manager-team-scope>legend{margin-bottom:8px}.employee-access-profile-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.employee-access-profile-options>label,.employee-manager-team-scope>div>label{position:relative;display:block;cursor:pointer}.employee-access-profile-options input,.employee-manager-team-scope input{position:absolute;opacity:0;pointer-events:none}.employee-access-profile-options label>span{display:grid;min-height:102px;grid-template-columns:36px 1fr;grid-template-rows:auto auto;column-gap:11px;align-content:center;padding:15px;border:1px solid #d7ddd9;border-radius:7px;background:#fff;transition:border-color .16s,box-shadow .16s,background .16s}.employee-access-profile-options svg{width:20px;height:20px;grid-row:1/3;align-self:center;padding:7px;border-radius:6px;box-sizing:content-box;background:#edf3f0;color:#2f6657}.employee-access-profile-options strong{align-self:end;color:#20352e;font-size:13px}.employee-access-profile-options small{margin-top:3px;color:#68766f;font-size:11px;line-height:1.45}.employee-access-profile-options input:checked+span{border-color:#3e7b69;background:#f5faf8;box-shadow:0 0 0 2px rgba(62,123,105,.12)}.employee-access-profile-options input:checked+span svg{background:#2e6656;color:#fff}.employee-access-profile-options input:focus-visible+span,.employee-manager-team-scope input:focus-visible+span{outline:2px solid #e59a3b;outline-offset:2px}.employee-manager-team-scope{padding:15px;border:1px solid #dfe5e1;border-radius:7px;background:#f8faf9}.employee-manager-team-scope[hidden]{display:none}.employee-manager-team-scope>div:not(.employee-manager-team-empty){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.employee-manager-team-scope label>span{display:flex;min-height:44px;align-items:center;gap:9px;padding:9px 11px;border:1px solid #d8dfdb;border-radius:6px;background:#fff;color:#34473f;font-size:12px}.employee-manager-team-scope label svg{width:16px;height:16px;color:#668078}.employee-manager-team-scope input:checked+span{border-color:#3e7b69;background:#edf6f2;color:#245447;box-shadow:inset 3px 0 #3e7b69}.employee-manager-team-scope>.lummi-muted{display:block;margin-top:9px}.employee-manager-team-empty{display:flex;align-items:center;gap:9px;color:#66756e;font-size:12px}.employee-manager-team-empty svg{width:17px}.employee-manager-team-empty a{margin-left:auto;color:#276c58;font-weight:800}
@media(max-width:700px){.employee-access-profile-options{grid-template-columns:1fr}.employee-manager-team-scope>div:not(.employee-manager-team-empty){grid-template-columns:1fr}.employee-manager-team-empty{align-items:flex-start;flex-wrap:wrap}.employee-manager-team-empty a{width:100%;margin-left:26px}}
.manager-portal-user { display: grid; grid-template-columns: 32px minmax(0,1fr) 30px; align-items: center; gap: 8px; margin-top: auto; padding: 13px 6px 0; border-top: 1px solid #2b3934; }
.manager-portal-user > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #d9e9e2; color: #286b57; font-size: 12px; font-weight: 900; }
.manager-portal-user > div { display: grid; min-width: 0; gap: 2px; }
.manager-portal-user strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.manager-portal-user small { color: #83968d; font-size: 8px; }
.manager-portal-user button { display: grid; width: 30px; height: 30px; place-items: center; border: 0; background: transparent; color: #9aaba3; cursor: pointer; }
.manager-portal-user svg { width: 16px; height: 16px; }
.manager-portal-main { min-width: 0; }
.manager-portal-topbar { position: sticky; top: 0; z-index: 20; display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 26px; border-bottom: 1px solid #dfe3df; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
.manager-portal-topbar > div { display: grid; gap: 3px; }
.manager-portal-topbar > div span { color: #78837d; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.manager-portal-topbar > div strong { font-size: 13px; }
.manager-portal-topbar form label { display: flex; align-items: center; gap: 8px; }
.manager-portal-topbar form span { color: #78837d; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.manager-portal-topbar select { min-width: 180px; height: 36px; padding: 0 10px; border: 1px solid #d7ddd9; border-radius: 6px; background: #fff; font-size: 10px; font-weight: 800; }
.manager-portal-content { width: min(100% - 36px,1380px); margin: 0 auto; padding: 25px 0 48px; }
.manager-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.manager-page-heading > div { display: grid; gap: 4px; }
.manager-page-heading small { color: #36705f; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.manager-page-heading h1 { margin: 0; font-size: 29px; letter-spacing: 0; }
.manager-page-heading p { margin: 2px 0 0; color: #747f79; font-size: 11px; }
.manager-page-heading > span { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1px solid #dce1de; border-radius: 6px; background: #fff; color: #5d6962; font-size: 9px; font-weight: 800; }
.manager-page-heading > span svg { width: 15px; height: 15px; }
.manager-kpi-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 15px; overflow: hidden; border: 1px solid #dce1de; border-radius: 7px; background: #fff; }
.manager-kpi-grid > a { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 16px; border-right: 1px solid #e1e5e2; color: #1e2823; }
.manager-kpi-grid > a:last-child { border-right: 0; }
.manager-kpi-grid > a > svg { width: 21px; height: 21px; flex: 0 0 21px; color: #34715f; }
.manager-kpi-grid > a.is-warning > svg { color: #b27425; }
.manager-kpi-grid > a > span { display: grid; min-width: 0; gap: 2px; }
.manager-kpi-grid small { color: #758079; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.manager-kpi-grid strong { font-size: 22px; line-height: 1.05; }
.manager-kpi-grid em { overflow: hidden; color: #7c8680; font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.manager-hours-band { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 15px; border: 1px solid #dce1de; border-radius: 7px; background: #192620; color: #fff; overflow: hidden; }
.manager-hours-band > div { display: grid; gap: 4px; padding: 14px 18px; border-right: 1px solid #34423c; }
.manager-hours-band > div:last-child { border-right: 0; }
.manager-hours-band span { color: #9dacA5; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.manager-hours-band strong { font-size: 20px; }
.manager-hours-band .is-positive strong { color: #8fd1b7; }
.manager-hours-band .is-negative strong { color: #f1a69f; }
.manager-section { overflow: hidden; border: 1px solid #dce1de; border-radius: 7px; background: #fff; }
.manager-section > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-bottom: 1px solid #e1e5e2; }
.manager-section > header > div { display: grid; gap: 2px; }
.manager-section > header small { color: #708078; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.manager-section > header h2 { margin: 0; font-size: 14px; }
.manager-section > header > a { display: flex; align-items: center; gap: 5px; color: #2e6d5b; font-size: 9px; font-weight: 850; }
.manager-section > header svg { width: 14px; height: 14px; }
.manager-section > header > span { color: #78837d; font-size: 9px; font-weight: 800; }
.manager-table-scroll { overflow-x: auto; }
.manager-table { width: 100%; min-width: 780px; border-collapse: collapse; }
.manager-table th,.manager-table td { padding: 12px 14px; border-bottom: 1px solid #e5e8e6; text-align: left; }
.manager-table th { background: #f8faf8; color: #748079; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.manager-table td { color: #48534d; font-size: 10px; font-weight: 700; }
.manager-table tr:last-child td { border-bottom: 0; }
.manager-table td > strong:first-child,.manager-table td > small { display: block; }
.manager-table td > strong:first-child { color: #202a25; font-size: 10px; }
.manager-table td > small { margin-top: 3px; color: #7c8680; font-size: 8px; }
.manager-positive { color: #287357 !important; }
.manager-negative { color: #a84e46 !important; }
.manager-count-badge,.manager-status { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 4px 8px; border-radius: 5px; background: #eef1ef; color: #627068; font-size: 8px; font-weight: 900; white-space: nowrap; }
.manager-count-badge.is-warning,.manager-status.is-warning { background: #f8eddd; color: #906321; }
.manager-status.is-ok { background: #e5f2ea; color: #287154; }
.manager-status.is-muted { background: #eef0ef; color: #68736d; }
.manager-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; padding: 12px; border: 1px solid #dce1de; border-radius: 7px; background: #fff; }
.manager-filter-bar form { display: grid; grid-template-columns: minmax(220px,1fr) 190px auto; gap: 8px; width: min(100%,720px); }
.manager-filter-bar form > label { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 11px; border: 1px solid #d8ded9; border-radius: 6px; }
.manager-filter-bar label svg { width: 15px; height: 15px; color: #79837d; }
.manager-filter-bar input,.manager-filter-bar select { min-width: 0; border: 0; outline: 0; background: #fff; font-size: 10px; font-weight: 700; }
.manager-filter-bar select { padding: 0 10px; border: 1px solid #d8ded9; border-radius: 6px; }
.manager-filter-bar > span { color: #758079; font-size: 9px; font-weight: 800; white-space: nowrap; }
.manager-pagination { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid #e1e5e2; color: #748079; font-size: 9px; font-weight: 800; }
.manager-pagination > div { display: flex; gap: 12px; }
.manager-pagination a { display: flex; align-items: center; gap: 5px; color: #2e6d5b; }
.manager-pagination svg { width: 13px; height: 13px; }
.manager-employee-heading { display: grid; grid-template-columns: 40px 52px minmax(0,1fr) auto; align-items: center; gap: 12px; margin-bottom: 18px; }
.manager-employee-avatar { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: #dfece6; color: #2d6f5b; font-size: 18px; font-weight: 900; }
.manager-employee-heading > div { display: grid; gap: 3px; }
.manager-employee-heading small { color: #37705f; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.manager-employee-heading h1 { margin: 0; font-size: 21px; letter-spacing: 0; }
.manager-employee-heading p { margin: 0; color: #748079; font-size: 9px; }
.manager-punches { display: flex; flex-wrap: wrap; gap: 4px; min-width: 150px; }
.manager-punches span { padding: 4px 5px; border: 1px solid #dfe4e1; border-radius: 4px; background: #f8faf8; color: #36443d; font-size: 8px; }
.manager-punches em { color: #8a938e; font-size: 8px; font-style: normal; }
.manager-empty-team { display: grid; min-height: 450px; place-items: center; align-content: center; gap: 8px; text-align: center; }
.manager-empty-team svg { width: 36px; height: 36px; color: #648076; }
.manager-empty-team h1 { margin: 5px 0 0; font-size: 21px; }
.manager-empty-team p { max-width: 420px; margin: 0; color: #758079; font-size: 11px; line-height: 1.6; }

@media (max-width: 1050px) {
  .team-manager-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .manager-portal-shell { grid-template-columns: 76px minmax(0,1fr); }
  .manager-portal-sidebar { padding: 16px 9px 12px; }
  .manager-portal-brand { grid-template-columns: 1fr; justify-items: center; padding: 0 0 18px; }
  .manager-portal-brand > img { grid-row: auto; }
  .manager-portal-brand strong,.manager-portal-brand small,.manager-portal-team-context,.manager-portal-nav span,.manager-portal-user > div { display: none; }
  .manager-portal-nav a { justify-content: center; }
  .manager-portal-user { grid-template-columns: 32px; justify-content: center; }
  .manager-portal-user form { display: none; }
  .manager-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .manager-kpi-grid > a:nth-child(2) { border-right: 0; }
  .manager-kpi-grid > a:nth-child(-n+2) { border-bottom: 1px solid #e1e5e2; }
}

@media (max-width: 720px) {
  .team-admin-metrics,.team-form-grid,.team-new-manager > div,.team-member-list { grid-template-columns: 1fr; }
  .team-admin-metrics > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .team-admin-metrics > div:last-child { border-bottom: 0; }
  .team-manager-options { grid-template-columns: 1fr; }
  .team-form-section > header { align-items: flex-start; flex-wrap: wrap; }
  .team-member-search { width: 100%; margin-left: 0; }
  .manager-portal-shell { grid-template-columns: 1fr; padding-bottom: 64px; }
  .manager-portal-sidebar { position: fixed; top: auto; right: 0; bottom: 0; left: 0; z-index: 50; display: block; width: 100%; height: 64px; padding: 7px 9px; overflow: visible; }
  .manager-portal-brand,.manager-portal-team-context,.manager-portal-user { display: none; }
  .manager-portal-nav { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2px; }
  .manager-portal-nav.has-employee-access { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .manager-portal-nav a { display: grid; min-height: 50px; justify-items: center; align-content: center; gap: 3px; padding: 4px; font-size: 7px; }
  .manager-portal-nav span { display: block; }
  .manager-portal-nav a.is-active::before { top: -7px; right: 9px; bottom: auto; left: 9px; width: auto; height: 3px; }
  .manager-portal-topbar { padding: 0 15px; }
  .manager-portal-topbar form span { display: none; }
  .manager-portal-topbar select { min-width: 130px; }
  .manager-portal-content { width: min(100% - 24px,1380px); padding-top: 18px; }
  .manager-page-heading { flex-direction: column; }
  .manager-kpi-grid,.manager-hours-band { grid-template-columns: 1fr; }
  .manager-kpi-grid > a,.manager-hours-band > div { border-right: 0; border-bottom: 1px solid #e1e5e2; }
  .manager-hours-band > div { border-bottom-color: #34423c; }
  .manager-kpi-grid > a:last-child,.manager-hours-band > div:last-child { border-bottom: 0; }
  .manager-filter-bar { align-items: stretch; flex-direction: column; }
  .manager-filter-bar form { grid-template-columns: 1fr; width: 100%; }
  .manager-filter-bar select { min-height: 40px; }
  .manager-employee-heading { grid-template-columns: 40px 46px minmax(0,1fr); }
  .manager-employee-heading > .manager-status { grid-column: 3; justify-self: start; }
}

/* Admin mobile navigation */
@media (max-width: 720px) {
  .lummi-app { padding-bottom: 66px; }
  .lummi-shell { display: block; min-height: calc(100vh - 66px); }
  .lummi-main { min-width: 0; }
  .lummi-sidebar {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: block;
    width: 100%;
    height: 66px;
    padding: 6px 8px;
    overflow: visible;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 -12px 30px rgba(10,20,16,.16);
  }
  .lummi-sidebar .lummi-brand,.lummi-sidebar-context { display: none; }
  .lummi-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; margin: 0; }
  .lummi-nav-group,.lummi-nav-group:first-child { display: block; min-width: 0; padding: 0; border: 0; }
  .lummi-nav-heading {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 54px;
    justify-items: center;
    align-content: center;
    gap: 3px;
    padding: 4px 2px;
    border-radius: 6px;
    font-size: 7px;
    letter-spacing: 0;
    line-height: 1.1;
  }
  .lummi-nav-heading-label { display: grid; justify-items: center; gap: 3px; }
  .lummi-nav-heading-label svg { width: 18px; height: 18px; }
  .lummi-nav-chevron { display: none; }
  .lummi-nav-group.is-open .lummi-nav-heading,.lummi-nav-group.is-mobile-open .lummi-nav-heading { background: rgba(255,255,255,.1); color: #fff; }
  .lummi-nav-group.is-open .lummi-nav-heading::before,.lummi-nav-group.is-mobile-open .lummi-nav-heading::before { position: absolute; top: -6px; right: 10px; left: 10px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); content: ''; }
  body.is-mobile-nav-open .lummi-nav-group.is-open:not(.is-mobile-open) .lummi-nav-heading { background: transparent; color: rgba(219,231,223,.58); }
  body.is-mobile-nav-open .lummi-nav-group.is-open:not(.is-mobile-open) .lummi-nav-heading::before { display: none; }
  .lummi-nav-group.is-open .lummi-nav-links { display: none; }
  .lummi-nav-group.is-mobile-open .lummi-nav-links {
    position: fixed;
    right: 8px;
    bottom: 72px;
    left: 8px;
    z-index: 82;
    display: grid;
    max-height: min(58vh,460px);
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 4px;
    padding: 41px 8px 8px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 8px;
    background: #18231f;
    box-shadow: 0 -18px 44px rgba(8,17,13,.32);
  }
  .lummi-nav-group.is-mobile-open .lummi-nav-links::before { position: absolute; top: 0; right: 0; left: 0; height: 37px; padding: 12px 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); color: #dce8e1; content: attr(data-nav-label); font-size: 9px; font-weight: 900; text-transform: uppercase; }
  .lummi-nav a { min-height: 43px; gap: 8px; padding: 6px 8px; font-size: 10px; }
  .lummi-nav-link-icon { width: 28px; height: 28px; flex-basis: 28px; }
  .lummi-nav-link-icon svg { width: 15px; height: 15px; }
  body.is-mobile-nav-open .lummi-app::before { position: fixed; inset: 0 0 66px; z-index: 70; background: rgba(14,23,19,.34); content: ''; pointer-events: none; }
  .lummi-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 62px;
    align-items: center;
    flex-direction: row;
    padding: 9px 14px;
  }
  .lummi-topbar > div:first-child { display: grid; min-width: 0; gap: 2px; }
  .lummi-topbar > div:first-child > strong { font-size: 11px; }
  .lummi-topbar > div:first-child .lummi-muted { overflow: hidden; font-size: 9px !important; text-overflow: ellipsis; white-space: nowrap; }
  .lummi-topbar-actions { flex: 0 0 auto; gap: 6px; }
  .lummi-topbar-actions form { margin: 0; }
  .lummi-topbar-actions form > .lummi-muted { display: none; }
  .lummi-topbar-actions .lummi-btn { min-height: 36px; padding: 8px 11px; font-size: 9px; }
  .lummi-topbar-context { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid #d9ddd9; border-radius: 6px; background: #fff; color: #316b5a; cursor: pointer; }
  .lummi-topbar-context svg { width: 16px; height: 16px; }
  .lummi-content { padding-top: 20px; padding-bottom: 28px; }
}

/* Help center */
.help-heading { display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:18px }.help-heading>div:first-child>small,.help-command-band>div>span{color:#2f6f5e;font-size:9px;font-weight:900;text-transform:uppercase}.help-heading h1{margin:5px 0 0;font-size:30px;letter-spacing:0}.help-heading p{margin:6px 0 0;color:#6e7872;font-size:11px}.help-heading-actions{display:flex;gap:8px}.help-heading .lummi-btn svg{width:16px;height:16px}.help-command-band{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:16px;padding:16px 18px;border:1px solid #d7dfda;border-left:4px solid #34745f;border-radius:7px;background:#fff}.help-command-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:8px;background:#e5f1eb;color:#2c6f59}.help-command-icon svg{width:22px;height:22px}.help-command-band>div:nth-child(2){display:grid;gap:3px}.help-command-band strong{font-size:14px}.help-command-band p{margin:0;color:#727d76;font-size:9px}.help-central-state{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border-radius:5px;font-size:8px;font-weight:900}.help-central-state svg{width:14px;height:14px}.help-central-state.is-online{background:#e6f2ec;color:#286d57}.help-central-state.is-offline{background:#fff0dc;color:#8f5b1e}.help-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px;overflow:hidden;border:1px solid #dce1dd;border-radius:7px;background:#fff}.help-metrics a{display:grid;gap:4px;padding:14px 17px;border-right:1px solid #e2e6e3}.help-metrics a:last-child{border-right:0}.help-metrics span{color:#758079;font-size:8px;font-weight:900;text-transform:uppercase}.help-metrics strong{font-size:21px}.help-metrics small{color:#7d8781;font-size:8px}.help-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.help-panel{overflow:hidden;border:1px solid #dce1dd;border-radius:7px;background:#fff}.help-panel>header{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-bottom:1px solid #e2e6e3}.help-panel>header>div{display:grid;gap:2px}.help-panel>header small{color:#79837d;font-size:8px;font-weight:900;text-transform:uppercase}.help-panel>header h2{margin:0;font-size:13px}.help-panel>header>a{display:flex;align-items:center;gap:5px;color:#2c6857;font-size:8px;font-weight:900}.help-panel>header>a svg{width:13px;height:13px}.help-ticket-list,.help-article-list{display:grid}.help-ticket-list>a{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:61px;padding:10px 15px;border-bottom:1px solid #eaedea}.help-ticket-list>a:last-child{border-bottom:0}.help-ticket-product{display:grid;width:38px;height:30px;place-items:center;border-radius:5px;background:#e8f1ed;color:#2d6b58;font-size:7px;font-weight:900}.help-ticket-list div{display:grid;min-width:0;gap:3px}.help-ticket-list strong{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.help-ticket-list small{color:#7b8580;font-size:7px}.help-ticket-list em,.help-ticket-status{display:inline-flex;padding:5px 7px;border-radius:5px;background:#eef0ef;color:#69736d;font-size:7px;font-style:normal;font-weight:900;white-space:nowrap}.help-ticket-list em.is-aberto,.help-ticket-status.is-aberto,.help-ticket-status.is-aguardando_envio{background:#fff0dc;color:#8c591d}.help-ticket-list em.is-em_atendimento,.help-ticket-status.is-em_atendimento{background:#e5eef4;color:#37657d}.help-ticket-list em.is-aguardando_cliente,.help-ticket-status.is-aguardando_cliente{background:#f2e8f7;color:#744c87}.help-ticket-list em.is-resolvido,.help-ticket-status.is-resolvido{background:#e4f1ea;color:#286b55}.help-article-list>a{display:grid;grid-template-columns:34px minmax(0,1fr) 14px;align-items:center;gap:10px;min-height:72px;padding:10px 15px;border-bottom:1px solid #eaedea}.help-article-list>a:last-child{border-bottom:0}.help-article-list>a>span{display:grid;width:32px;height:32px;place-items:center;border-radius:7px;background:#e9f1ed;color:#316e5b}.help-article-list>a>span svg{width:16px;height:16px}.help-article-list>a>div{display:grid;min-width:0;gap:2px}.help-article-list small{color:#7a847e;font-size:7px;font-weight:800}.help-article-list strong{font-size:10px}.help-article-list p{margin:1px 0 0;overflow:hidden;color:#727c76;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.help-article-list>a>svg{width:13px;height:13px;color:#8b948f}.help-empty{display:grid;justify-items:center;gap:6px;padding:35px 20px;color:#737e77;text-align:center}.help-empty svg{width:27px;height:27px}.help-empty strong{color:#26312b;font-size:11px}.help-empty span{font-size:8px}.help-ticket-filters{display:grid;grid-template-columns:minmax(240px,1fr) 210px auto;gap:8px;margin-bottom:12px}.help-ticket-filters label{display:flex;min-height:40px;align-items:center;gap:8px;padding:0 11px;border:1px solid #d9dfda;border-radius:6px;background:#fff}.help-ticket-filters label svg{width:15px;height:15px;color:#7c8680}.help-ticket-filters input{width:100%;border:0;outline:0;font-size:9px}.help-ticket-filters select{min-height:40px;padding:0 10px;border:1px solid #d9dfda;border-radius:6px;background:#fff;font-size:9px}.help-ticket-table{overflow:hidden;border:1px solid #dce1dd;border-radius:7px;background:#fff}.help-ticket-table-head,.help-ticket-row{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(160px,.8fr) 100px 130px 120px 18px;align-items:center;gap:12px;padding:10px 14px}.help-ticket-table-head{border-bottom:1px solid #dfe4e0;background:#f8faf8;color:#76817a;font-size:7px;font-weight:900;text-transform:uppercase}.help-ticket-row{min-height:66px;border-bottom:1px solid #e8ece9;color:#445049;font-size:8px}.help-ticket-row:last-child{border-bottom:0}.help-ticket-row:hover{background:#fafcfb}.help-ticket-row>div{display:grid;min-width:0;gap:3px}.help-ticket-row strong{overflow:hidden;color:#243029;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.help-ticket-row small{color:#7b8580;font-size:7px}.help-ticket-row>div:nth-child(2){grid-template-columns:42px minmax(0,1fr);align-items:center}.help-ticket-row>div:nth-child(2) small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.help-priority{display:inline-flex;width:max-content;padding:5px 7px;border-radius:5px;background:#eef0ef;color:#66706a;font-size:7px;font-weight:900}.help-priority.is-alta{background:#fff0dc;color:#8e5a1c}.help-priority.is-critica{background:#f8e5e5;color:#9b3f3f}.help-ticket-row>svg{width:14px;height:14px;color:#89938d}.help-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:16px;color:#2f6958;font-size:9px;font-weight:900}.help-back svg{width:14px;height:14px}.help-ticket-form{overflow:hidden;border:1px solid #dce1dd;border-radius:7px;background:#fff}.help-ticket-form>section{border-bottom:1px solid #e1e5e2}.help-ticket-form>section>header{display:flex;align-items:center;gap:10px;padding:13px 18px;background:#f9faf9}.help-ticket-form>section>header>span{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:#e3eee9;color:#286552;font-size:9px;font-weight:900}.help-ticket-form>section>header>div{display:grid;gap:2px}.help-ticket-form>section>header strong{font-size:11px}.help-ticket-form>section>header small{color:#768079;font-size:8px}.help-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;padding:17px 18px}.help-form-fields{display:grid;gap:13px;padding:17px 18px}.help-form-fields .lummi-textarea{border-radius:6px}.help-form-fields .lummi-field>small{color:#7c8580;font-size:8px}.help-form-grid.is-contact{grid-template-columns:minmax(240px,.8fr) minmax(300px,1fr);align-items:end}.help-upload{display:flex;min-height:66px;align-items:center;gap:10px;padding:11px 13px;border:1px dashed #aebdb5;border-radius:6px;background:#fbfcfb;color:#316b59;cursor:pointer}.help-upload input{position:absolute;opacity:0;pointer-events:none}.help-upload>svg{width:20px;height:20px}.help-upload>span{display:grid;gap:3px}.help-upload strong{font-size:9px}.help-upload small{color:#77817b;font-size:7px}.help-file-list{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap}.help-file-list span{padding:6px 8px;border-radius:5px;background:#eef2ef;color:#617068;font-size:7px;font-weight:800}.help-ticket-form>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px}.help-ticket-form>footer>div{display:flex;align-items:center;gap:8px;color:#6d7871;font-size:8px}.help-ticket-form>footer>div svg{width:16px;height:16px;color:#39735f}.help-ticket-form>footer .lummi-btn svg{width:15px;height:15px}.help-ticket-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.help-ticket-detail-heading small{color:#2e6c59;font-size:8px;font-weight:900;text-transform:uppercase}.help-ticket-detail-heading h1{margin:5px 0 0;font-size:25px}.help-ticket-detail-heading p{margin:5px 0 0;color:#748078;font-size:9px}.help-ticket-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;align-items:start;gap:16px}.help-ticket-thread{display:grid;gap:10px}.help-ticket-thread article{padding:17px;border:1px solid #dce1dd;border-radius:7px;background:#fff}.help-ticket-thread article.is-support{border-left:4px solid #34745f;background:#f8fbf9}.help-ticket-thread article>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:11px;border-bottom:1px solid #e7ebe8}.help-ticket-thread article>header>div{display:flex;align-items:center;gap:9px}.help-ticket-avatar{display:grid;width:31px;height:31px;place-items:center;border-radius:50%;background:#e2eee8;color:#2b6a56;font-size:10px;font-weight:900}.help-ticket-thread article header div div{display:grid;gap:2px}.help-ticket-thread article header strong{font-size:9px}.help-ticket-thread article header small,.help-ticket-thread time{color:#78827c;font-size:7px}.help-ticket-thread article p{margin:14px 0 0;color:#445149;font-size:10px;line-height:1.7}.help-ticket-attachments{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.help-ticket-attachments span{display:flex;align-items:center;gap:5px;padding:7px 8px;border:1px solid #dfe4e1;border-radius:5px;color:#4d5b53;font-size:7px;font-weight:800}.help-ticket-attachments svg{width:12px;height:12px}.help-ticket-attachments small{color:#88918c}.help-response-wait{display:flex;align-items:center;gap:11px;padding:16px;border:1px dashed #c8d1cc;border-radius:7px;background:#fafbfa}.help-response-wait>svg{width:22px;height:22px;color:#6e7d75}.help-response-wait>div{display:grid;gap:3px}.help-response-wait strong{font-size:9px}.help-response-wait span{color:#78817c;font-size:8px}.help-ticket-side{display:grid;gap:12px}.help-ticket-side>section{overflow:hidden;border:1px solid #dce1dd;border-radius:7px;background:#fff}.help-ticket-side>section>header{padding:12px 14px;border-bottom:1px solid #e4e8e5}.help-ticket-side header small{color:#78827c;font-size:7px;font-weight:900;text-transform:uppercase}.help-ticket-side header h2{margin:3px 0 0;font-size:11px}.help-ticket-side dl{display:grid;gap:12px;margin:0;padding:14px}.help-ticket-side dl div{display:grid;gap:3px}.help-ticket-side dt{color:#78827c;font-size:7px;font-weight:900;text-transform:uppercase}.help-ticket-side dd{margin:0;overflow-wrap:anywhere;font-size:9px;font-weight:800}.help-sync-state{display:flex;align-items:flex-start;gap:9px;margin:12px;padding:11px;border-radius:6px;background:#fff0dc;color:#87571e}.help-sync-state.is-sincronizado{background:#e8f3ed;color:#286b55}.help-sync-state>svg{width:19px;height:19px;flex:0 0 19px}.help-sync-state>span{display:grid;gap:3px}.help-sync-state strong{font-size:8px}.help-sync-state small{overflow-wrap:anywhere;color:#6d7871;font-size:7px;line-height:1.4}.help-ticket-side form{padding:0 12px 12px}.help-ticket-side form .lummi-btn{width:100%}.help-knowledge-search{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:16px;padding:8px 9px 8px 13px;border:1px solid #d9dfda;border-radius:7px;background:#fff}.help-knowledge-search>svg{width:17px;height:17px;color:#748078}.help-knowledge-search input{height:36px;border:0;outline:0;font-size:10px}.help-knowledge-search button{height:36px;padding:0 14px;border:0;border-radius:5px;background:#2f725f;color:#fff;font-size:8px;font-weight:900}.help-knowledge-layout{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:16px}.help-knowledge-layout>aside{position:sticky;top:92px;display:grid;gap:4px;padding:12px;border:1px solid #dce1dd;border-radius:7px;background:#fff}.help-knowledge-layout>aside>span{padding:3px 7px 8px;color:#77817b;font-size:8px;font-weight:900;text-transform:uppercase}.help-knowledge-layout>aside>a{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;padding:9px 8px;border-radius:5px;color:#526058}.help-knowledge-layout>aside>a:hover{background:#eef5f1;color:#286954}.help-knowledge-layout>aside>a>svg{width:16px;height:16px}.help-knowledge-layout>aside>a>span{display:grid;gap:2px}.help-knowledge-layout>aside strong{font-size:8px}.help-knowledge-layout>aside small{color:#818a85;font-size:7px}.help-books{display:grid;gap:14px}.help-books>section{overflow:hidden;border:1px solid #dce1dd;border-radius:7px;background:#fff;scroll-margin-top:90px}.help-books>section>header{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #dfe4e0;background:#f9faf9}.help-books>section>header>span{display:grid;width:34px;height:34px;place-items:center;border-radius:7px;background:#e4efe9;color:#2f6e59}.help-books>section>header svg{width:17px;height:17px}.help-books>section>header div{display:grid;gap:2px}.help-books>section>header small{color:#7a847e;font-size:7px;font-weight:900;text-transform:uppercase}.help-books>section>header h2{margin:0;font-size:13px}.help-chapter>h3{margin:0;padding:11px 16px;border-bottom:1px solid #e9ecea;color:#64716a;font-size:8px;text-transform:uppercase}.help-chapter>a{display:grid;grid-template-columns:28px minmax(0,1fr) 14px;align-items:center;gap:9px;min-height:58px;padding:10px 16px;border-bottom:1px solid #ecefec}.help-chapter>a:hover{background:#fafcfb}.help-chapter>a>svg:first-child{width:16px;height:16px;color:#3a725f}.help-chapter>a>span{display:grid;gap:3px}.help-chapter strong{font-size:9px}.help-chapter small{color:#78827c;font-size:7px}.help-chapter>a>svg:last-child{width:13px;height:13px;color:#8e9792}.help-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;align-items:start;gap:16px}.help-article{overflow:hidden;border:1px solid #dce1dd;border-radius:7px;background:#fff}.help-article>header{padding:25px 28px;border-bottom:1px solid #e2e6e3}.help-article-breadcrumb{display:flex;align-items:center;gap:5px;color:#6f7b74;font-size:7px;font-weight:850}.help-article-breadcrumb svg{width:11px;height:11px}.help-article-icon{display:grid;width:42px;height:42px;margin:20px 0 12px;place-items:center;border-radius:8px;background:#e5f0ea;color:#2d6c57}.help-article-icon svg{width:21px;height:21px}.help-article h1{margin:0;font-size:26px}.help-article>header>p{margin:7px 0 0;color:#6f7a73;font-size:10px;line-height:1.6}.help-article-content{padding:28px;color:#3f4d45;font-size:11px;line-height:1.9;white-space:normal}.help-article>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;border-top:1px solid #e2e6e3;background:#fafbfa;color:#7a847e;font-size:7px}.help-article>footer>a{display:flex;align-items:center;gap:5px;color:#2c6b57;font-weight:900}.help-article>footer svg{width:13px;height:13px}.help-article-side{position:sticky;top:92px;display:grid;justify-items:center;gap:7px;padding:22px 17px;border:1px solid #dce1dd;border-radius:7px;background:#fff;text-align:center}.help-article-side>svg{width:28px;height:28px;color:#34745f}.help-article-side strong{font-size:11px}.help-article-side>span{color:#737e77;font-size:8px;line-height:1.5}.help-article-side .lummi-btn{width:100%;margin-top:6px}
@media(max-width:1000px){.help-dashboard-grid,.help-ticket-detail-grid,.help-article-layout{grid-template-columns:1fr}.help-article-side{position:static}.help-knowledge-layout{grid-template-columns:180px minmax(0,1fr)}.help-ticket-table{overflow-x:auto}.help-ticket-table-head,.help-ticket-row{min-width:900px}}
@media(max-width:720px){.help-heading{align-items:flex-start;flex-direction:column}.help-heading-actions{width:100%}.help-heading-actions .lummi-btn{flex:1}.help-heading>.lummi-btn{width:100%}.help-command-band{grid-template-columns:42px minmax(0,1fr)}.help-command-icon{width:40px;height:40px}.help-central-state{grid-column:1/-1;justify-self:start}.help-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.help-metrics a:nth-child(2n){border-right:0}.help-metrics a:nth-child(-n+2){border-bottom:1px solid #e2e6e3}.help-dashboard-grid{grid-template-columns:1fr}.help-ticket-filters{grid-template-columns:1fr}.help-form-grid,.help-form-grid.is-contact{grid-template-columns:1fr}.help-ticket-form>footer{align-items:stretch;flex-direction:column}.help-ticket-form>footer .lummi-btn{width:100%}.help-ticket-detail-heading{flex-direction:column}.help-knowledge-layout{grid-template-columns:1fr}.help-knowledge-layout>aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.help-knowledge-layout>aside>span{grid-column:1/-1}.help-article>header,.help-article-content{padding:20px}.help-article>footer{align-items:flex-start;flex-direction:column}}
@media(max-width:420px){.help-metrics{grid-template-columns:1fr}.help-metrics a{border-right:0;border-bottom:1px solid #e2e6e3}.help-metrics a:nth-child(-n+2){border-bottom:1px solid #e2e6e3}.help-knowledge-layout>aside{grid-template-columns:1fr}.help-heading-actions{flex-direction:column}.help-ticket-list>a{grid-template-columns:38px minmax(0,1fr)}.help-ticket-list em{grid-column:2;justify-self:start}}
.lummi-context-help{position:fixed;right:20px;bottom:20px;z-index:35;display:grid;width:40px;height:40px;place-items:center;border:1px solid #cfd9d4;border-radius:50%;background:#fff;color:#2f6d59;box-shadow:0 12px 30px rgba(29,48,40,.17)}.lummi-context-help:hover{background:#edf5f1;color:#245b4b}.lummi-context-help svg{width:19px;height:19px}@media(max-width:720px){.lummi-context-help{right:13px;bottom:77px;width:36px;height:36px}.lummi-context-help svg{width:17px;height:17px}}
