/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 01 2026 | 17:37:57 */
:root {
  --paper: #eef2f0;
  --surface: #ffffff;
  --surface-2: #e4ebe8;
  --ink: #132622;
  --ink-soft: #4d5f5a;
  --border: #d3ddd8;
  --primary: #0b6b5c;
  --primary-dark: #083f36;
  --primary-tint: #e0efec;
  --sidebar-bg: #083f36;
  --sidebar-ink: #eef5f2;
  --accent: #b9791b;
  --accent-tint: #f7ecd8;
  --agendado: #3f5f8a;
  --agendado-tint: #e4ebf5;
  --recebido: #0b6b5c;
  --recebido-tint: #e0efec;
  --compareceu: #1f7a4a;
  --compareceu-tint: #e2f2e7;
  --faltou: #b23a34;
  --faltou-tint: #f8e5e3;
  --cancelado: #6b6558;
  --cancelado-tint: #ece9e2;
  --whats: #1f7a4a;
  --shadow:
    0 1px 2px rgba(19, 38, 34, 0.06), 0 6px 20px -8px rgba(19, 38, 34, 0.18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1a17;
    --surface: #152521;
    --surface-2: #1c2f2a;
    --ink: #e9f1ee;
    --ink-soft: #a7b8b2;
    --border: #2a3d37;
    --primary: #4fb3a0;
    --primary-dark: #8fd4c4;
    --primary-tint: #1b3530;
    --sidebar-bg: #0a1613;
    --sidebar-ink: #dfeee9;
    --accent: #e0ab5c;
    --accent-tint: #3a2f1c;
    --agendado: #8fb0da;
    --agendado-tint: #20304a;
    --recebido: #4fb3a0;
    --recebido-tint: #1b3530;
    --compareceu: #6fcf97;
    --compareceu-tint: #173626;
    --faltou: #e59189;
    --faltou-tint: #3a2020;
    --cancelado: #b7b0a1;
    --cancelado-tint: #2b2822;
    --whats: #6fcf97;
    --shadow:
      0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px -10px rgba(0, 0, 0, 0.5);
  }
}
:root[data-theme="dark"] {
  --paper: #0f1a17;
  --surface: #152521;
  --surface-2: #1c2f2a;
  --ink: #e9f1ee;
  --ink-soft: #a7b8b2;
  --border: #2a3d37;
  --primary: #4fb3a0;
  --primary-dark: #8fd4c4;
  --primary-tint: #1b3530;
  --sidebar-bg: #0a1613;
  --sidebar-ink: #dfeee9;
  --accent: #e0ab5c;
  --accent-tint: #3a2f1c;
  --agendado: #8fb0da;
  --agendado-tint: #20304a;
  --recebido: #4fb3a0;
  --recebido-tint: #1b3530;
  --compareceu: #6fcf97;
  --compareceu-tint: #173626;
  --faltou: #e59189;
  --faltou-tint: #3a2020;
  --cancelado: #b7b0a1;
  --cancelado-tint: #2b2822;
  --whats: #6fcf97;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px -10px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}
.contgeral {
	background: #0f1a17;
}
h1{
	color:#e9f1ee !important
}
div#content-wrapper {
    background: #0f1a17;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Public Sans",
    -apple-system,
    "Segoe UI",
    sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
.mono,
.tabular {
  font-variant-numeric: tabular-nums;
}
.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

a {
  color: var(--primary-dark);
}
button {
  font-family: inherit;
}
input,
select,
textarea {
  font-family: inherit;
  font-size: 0.92rem;
}

.app {
  display: grid;
  grid-template-columns: 236px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--sidebar-bg);
  color: var(--sidebar-ink);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 6px;
}
.brand .org {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  opacity: 0.72;
}
.brand .title {
  font-family: "Zilla Slab", serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #fff;
}
.brand .sub {
  font-size: 0.78rem;
  opacity: 0.75;
  margin-top: 2px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav button {
  all: unset;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #dcece7;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav button:hover {
  background: rgba(255, 255, 255, 0.08);
}
.nav button.active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.nav button .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.sync {
  margin-top: auto;
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: #cfe3dd;
}
.sync .led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fd6a8;
  box-shadow: 0 0 0 3px rgba(95, 214, 168, 0.25);
}
.sync.offline .led {
  background: #e08b52;
  box-shadow: 0 0 0 3px rgba(224, 139, 82, 0.25);
}

main {
  padding: 28px 34px 60px;
  max-width: 1080px;
  overflow-x: auto;
}
.masthead {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.masthead img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
}
.view {
  display: none;
  flex-direction: column;
  gap: 20px;
}
.view.active {
  display: flex;
}

.pagehead {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 2px;
}
.pagehead p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  max-width: 62ch;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.card-pad {
  padding: 20px 22px;
}

.banner {
  background: var(--primary-tint);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--ink);
}
.banner ol {
  margin: 8px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.banner strong {
  color: var(--primary-dark);
}
.banner.warn {
  background: var(--accent-tint);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.field.span2 {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.field .hint {
  font-size: 0.76rem;
  color: var(--ink-soft);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.field-hint {
  font-size: 0.78rem;
  color: var(--ink-soft);
  min-height: 1.1em;
}
.field-hint.warn {
  color: var(--faltou);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  border-radius: 9px;
  padding: 9px 11px;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}
.field textarea {
  resize: vertical;
  min-height: 64px;
}
.field textarea.mono {
  font-size: 0.82rem;
  line-height: 1.5;
}

.btn {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--primary);
  color: #fff;
}
.btn:hover {
  background: var(--primary-dark);
}
.btn.secondary {
  background: var(--surface-2);
  color: var(--ink);
}
.btn.secondary:hover {
  filter: brightness(0.96);
}
.btn.ghost {
  background: transparent;
  color: var(--primary-dark);
  padding: 8px 10px;
}
.btn.ghost:hover {
  background: var(--primary-tint);
}
.btn.danger {
  background: var(--faltou-tint);
  color: var(--faltou);
}
.btn.danger:hover {
  background: var(--faltou);
  color: #fff;
}
.btn.whats {
  background: var(--whats);
  color: #fff;
}
.btn.whats:hover {
  filter: brightness(0.92);
}
.btn.small {
  padding: 6px 11px;
  font-size: 0.8rem;
  border-radius: 7px;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn:focus-visible,
.nav button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat .n {
  font-family: "Zilla Slab", serif;
  font-size: 1.7rem;
  font-weight: 700;
}
.stat .l {
  font-size: 0.76rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.stat.s-agendado .n {
  color: var(--agendado);
}
.stat.s-recebido .n {
  color: var(--recebido);
}
.stat.s-compareceu .n {
  color: var(--compareceu);
}
.stat.s-faltou .n {
  color: var(--faltou);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: end;
}
.filters .field {
  min-width: 160px;
}
.filters .field.grow {
  flex: 1;
  min-width: 220px;
}
.filters .field.date {
  min-width: 150px;
}

.indicators-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.indicators-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  background: var(--surface);
}
table.compact {
  min-width: 0;
}
thead th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  background: var(--surface-2);
  padding: 10px 14px;
  position: sticky;
  top: 0;
}
tbody td {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  vertical-align: top;
}
tbody tr:hover {
  background: var(--paper);
}
.worker-name {
  font-weight: 700;
}
.worker-meta {
  color: var(--ink-soft);
  font-size: 0.8rem;
  margin-top: 2px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}
.pill.agendado {
  background: var(--agendado-tint);
  color: var(--agendado);
}
.pill.compareceu {
  background: var(--compareceu-tint);
  color: var(--compareceu);
}
.pill.faltou {
  background: var(--faltou-tint);
  color: var(--faltou);
}
.pill.cancelado {
  background: var(--cancelado-tint);
  color: var(--cancelado);
}
.pill.recebido {
  background: var(--recebido-tint);
  color: var(--recebido);
}
.pill.pendente {
  background: var(--surface-2);
  color: var(--ink-soft);
}

.row-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.status-select {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 7px;
  font-size: 0.78rem;
  background: var(--paper);
  color: var(--ink);
}

.empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-soft);
}

.cate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.cate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cate-card.inativo {
  opacity: 0.6;
  border-style: dashed;
}
.cate-card .idx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cate-card .idx {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}
.cate-card input {
  width: 100%;
}
.cate-card .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.toggle-ativo {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.toggle-ativo.ativo {
  background: var(--compareceu-tint);
  color: var(--compareceu);
}
.toggle-ativo.inativo {
  background: var(--cancelado-tint);
  color: var(--cancelado);
}
.toggle-ativo .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--primary-dark);
  color: #fff;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s,
    transform 0.2s;
  pointer-events: none;
  z-index: 50;
  max-width: 360px;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 18, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 16px;
}
.modal-backdrop.show {
  display: flex;
}
.modal {
  background: var(--surface);
  border-radius: 14px;
  padding: 22px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal h3 {
  font-size: 1.05rem;
}
.modal .form-actions {
  justify-content: flex-end;
}

.confirm-inline {
  display: flex;
  gap: 6px;
  align-items: center;
}

@media (max-width: 880px) {
  .app {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: relative;
    height: auto;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
  }
  .brand {
    display: none;
  }
  .nav {
    flex-direction: row;
  }
  .sync {
    display: none;
  }
  main {
    padding: 20px 16px 48px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}
