#gestorSolarRetiraTab {
  --gar-surface: #fff;
  --gar-border: #dde1e7;
  --gar-text: #1a1d23;
  --gar-muted: #6b7280;
  --gar-primary: #1e40af;
  --gar-primary-hover: #1d4ed8;
}

.gar-hub {
  padding: 0 0 24px;
}

.gar-topbar {
  margin-bottom: 14px;
}

.gar-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.gar-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--gar-muted);
}

.gar-api-health {
  margin-bottom: 0.65rem;
}

.gar-api-health-card {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.gar-api-health-lamp {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0;
  flex-shrink: 0;
  background: #cbd5e1;
}

.gar-api-health-card.is-loading .gar-api-health-lamp {
  background: #f59e0b;
  animation: gar-pulse 1.2s ease-in-out infinite;
}

.gar-api-health-card.is-ok .gar-api-health-lamp {
  background: #16a34a;
}

.gar-api-health-card.is-err .gar-api-health-lamp {
  background: #dc2626;
}

.gar-api-health-card.is-warn .gar-api-health-lamp {
  background: #d97706;
}

.gar-api-health-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gar-muted);
  margin-top: 0;
}

.gar-api-health-card.is-ok .gar-api-health-status {
  color: #15803d;
}

.gar-api-health-card.is-err .gar-api-health-status {
  color: #b91c1c;
}

.gar-api-health-card.is-warn .gar-api-health-status {
  color: #b45309;
}

.gar-api-health-meta {
  display: none;
}

.gar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  background: var(--gar-surface);
  border: 1px solid var(--gar-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.gar-status-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.gar-status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #cbd5e1;
}

.gar-status-indicator.loading {
  background: #f59e0b;
  animation: gar-pulse 1.2s ease-in-out infinite;
}

.gar-status-indicator.ok {
  background: #16a34a;
}

.gar-status-indicator.error {
  background: #dc2626;
}

@keyframes gar-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.gar-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gar-visao {
  display: inline-flex;
  border: 1px solid var(--gar-border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.gar-visao-btn {
  border: 0;
  background: transparent;
  color: var(--gar-muted);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.gar-visao-btn strong {
  margin-left: 0.25rem;
}

.gar-visao-btn strong:empty {
  display: none;
}

.gar-visao-btn.is-on {
  background: #0f172a;
  color: #fff;
}

#garVisaoExpedicao.is-on {
  background: #1e3a8a;
}

#garVisaoAgendados.is-on {
  background: #0f766e;
}

.gar-visao-btn.hidden {
  display: none;
}

.gar-meta {
  font-size: 0.8rem;
  color: var(--gar-muted);
}

#gestorSolarRetiraTab .gar-btn {
  width: auto;
  background: var(--gar-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
}

#gestorSolarRetiraTab .gar-btn:hover {
  background: var(--gar-primary-hover);
}

#gestorSolarRetiraTab .gar-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gar-error-box {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #991b1b;
}

.gar-error-box.hidden {
  display: none;
}

.gar-warning-box {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #92400e;
}

.gar-warning-box.hidden {
  display: none;
}

.gar-filters {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(220px, 2fr) repeat(3, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
  background: var(--gar-surface);
  border: 1px solid var(--gar-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.gar-filter-field label {
  display: block;
  font-size: 0.75rem;
  color: var(--gar-muted);
  margin-bottom: 0.25rem;
}

.gar-filter-field input,
.gar-filter-field select {
  width: 100%;
  height: 36px;
  border: 1px solid var(--gar-border);
  border-radius: 6px;
  padding: 0 0.65rem;
  font-size: 0.875rem;
  background: #fff;
  color: var(--gar-text);
}

#gestorSolarRetiraTab .gar-filter-field input::placeholder {
  color: #94a3b8;
}

.gar-table-wrap {
  overflow: auto;
  background: var(--gar-surface);
  border: 1px solid var(--gar-border);
  border-radius: 8px;
}

.gar-table {
  width: 100%;
  min-width: 1380px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.gar-col-action {
  width: 1%;
  white-space: nowrap;
}

.gar-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gar-border);
  background: #fff;
  color: var(--gar-primary);
  border-radius: 6px;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.gar-expand-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.gar-pedido-row.is-open .gar-expand-btn {
  background: #eff6ff;
  border-color: #93c5fd;
}


.gar-table th,
.gar-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  vertical-align: top;
}

.gar-table th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  color: #334155;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.gar-table tbody tr:hover {
  background: #f8fafc;
}

.gar-aglut-head td {
  padding: 0.45rem 0.75rem;
  border-top: 2px solid transparent;
  border-bottom: none;
}

.gar-aglut-head-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.gar-aglut-head .gar-aglut-marca {
  margin-top: 0;
}

.gar-aglut-head.is-tudo td {
  background: #dbeafe;
  color: #1e3a8a;
  border-top-color: #2563eb;
}

.gar-aglut-head.is-modulos td {
  background: #ffedd5;
  color: #9a3412;
  border-top-color: #ea580c;
}

.gar-aglut-head.is-componentes td {
  background: #ede9fe;
  color: #5b21b6;
  border-top-color: #7c3aed;
}

.gar-aglut-head.is-multi td {
  background: #ccfbf1;
  color: #115e59;
  border-top-color: #0d9488;
}

.gar-table tbody tr.gar-pedido-row.is-tudo,
.gar-table tbody tr.gar-pedido-row.is-tudo:hover,
.gar-table tbody tr.gar-itens-row.is-tudo td {
  background: #eff6ff;
}

.gar-table tbody tr.gar-pedido-row.is-modulos,
.gar-table tbody tr.gar-pedido-row.is-modulos:hover,
.gar-table tbody tr.gar-itens-row.is-modulos td {
  background: #fff7ed;
}

.gar-table tbody tr.gar-pedido-row.is-componentes,
.gar-table tbody tr.gar-pedido-row.is-componentes:hover,
.gar-table tbody tr.gar-itens-row.is-componentes td {
  background: #f5f3ff;
}

.gar-table tbody tr.gar-pedido-row.is-multi,
.gar-table tbody tr.gar-pedido-row.is-multi:hover,
.gar-table tbody tr.gar-itens-row.is-multi td {
  background: #f0fdfa;
}

.gar-pedido-row.is-tudo td:first-child,
.gar-itens-row.is-tudo td {
  box-shadow: inset 4px 0 0 #2563eb;
}

.gar-pedido-row.is-modulos td:first-child,
.gar-itens-row.is-modulos td {
  box-shadow: inset 4px 0 0 #ea580c;
}

.gar-pedido-row.is-componentes td:first-child,
.gar-itens-row.is-componentes td {
  box-shadow: inset 4px 0 0 #7c3aed;
}

.gar-pedido-row.is-multi td:first-child,
.gar-itens-row.is-multi td {
  box-shadow: inset 4px 0 0 #0d9488;
}

.gar-sub {
  font-size: 0.75rem;
  color: var(--gar-muted);
  margin-top: 2px;
}

.gar-muted {
  color: var(--gar-muted);
}

.gar-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--gar-muted);
}

.gar-pedido-row.is-open td {
  border-bottom: none;
}

.gar-itens-row td {
  padding: 0 0.75rem 0.85rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.gar-itens-empty {
  padding: 0.5rem 0.25rem;
  font-size: 0.8rem;
  color: var(--gar-muted);
}

.gar-itens-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.gar-itens-table th,
.gar-itens-table td {
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  vertical-align: top;
}

.gar-itens-table th {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gar-itens-table tbody tr:last-child td {
  border-bottom: none;
}

.gar-expand-btn.is-sm {
  width: 22px;
  height: 22px;
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.gar-prod {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.gar-estrutura-row td {
  padding: 0 0.55rem 0.55rem 2rem;
  background: #fff;
  border-bottom: 1px solid #eef2f7;
}

.gar-estrutura-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.gar-estrutura-table th,
.gar-estrutura-table td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.gar-estrutura-table th {
  background: #eef6ff;
  color: #334155;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gar-estrutura-table tbody tr:last-child td {
  border-bottom: none;
}

.gar-cat {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.65rem;
  font-weight: 700;
  vertical-align: middle;
}

.gar-cat.is-solar {
  background: #dbeafe;
  color: #1d4ed8;
}

.gar-num {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}

.gar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.gar-act {
  border: 1px solid var(--gar-border);
  background: #fff;
  color: #1e293b;
  border-radius: 6px;
  padding: 0.28rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.gar-act:hover {
  background: #f8fafc;
}

.gar-act.is-primary {
  background: var(--gar-primary);
  border-color: var(--gar-primary);
  color: #fff;
}

.gar-act.is-ok {
  background: #ecfdf5;
  border-color: #86efac;
  color: #166534;
}

.gar-act.is-danger {
  background: #fff;
  border-color: #fca5a5;
  color: #b91c1c;
}

.gar-act:disabled {
  opacity: 0.55;
  cursor: default;
}

.gar-ag-chip {
  display: inline-block;
  margin-top: 4px;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-size: 0.68rem;
  font-weight: 700;
}

.gar-ag-chip.is-ok {
  background: #dcfce7;
  color: #166534;
}

.gar-ag-chip.is-lib {
  background: #dbeafe;
  color: #1e40af;
}

.gar-ag-chip.is-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.gar-ag-chip.is-due {
  background: #ffedd5;
  color: #9a3412;
}

.gar-ag-chip.is-late {
  background: #fef3c7;
  color: #92400e;
}

.gar-atraso {
  margin-top: 0.15rem;
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
}

.gar-alerta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: #facc15;
  color: #713f12;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
  cursor: default;
}

.gar-filter-confirm {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: #9a3412;
}

.gar-filter-confirm input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.gar-filter-confirm strong {
  min-width: 1.4rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #ffedd5;
  text-align: center;
  font-size: 0.75rem;
}

.gar-filter-confirm.hidden {
  display: none;
}

.gar-filter-confirm.is-logistica {
  color: #1e3a8a;
}

.gar-filter-confirm.is-logistica strong {
  background: #dbeafe;
  color: #1e3a8a;
}

.gar-filter-confirm strong:empty {
  display: none;
}

.gar-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
}

.gar-modal.hidden {
  display: none;
}

.gar-modal-card {
  width: min(1120px, calc(100vw - 0.7rem));
  max-height: calc(100vh - 0.5rem);
  margin: 0;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  padding: 0.7rem 1rem 0.6rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.gar-modal-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.gar-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.7rem;
  margin-top: 0.4rem;
}

.gar-agenda-split {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
  gap: 0.45rem 1rem;
  align-items: start;
}

.gar-agenda-side {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.gar-cal-field {
  grid-column: auto;
  min-width: 0;
}

.gar-cal-field > span {
  display: block;
  margin-bottom: 0.35rem;
}

.gar-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.gar-cal-nav button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gar-border);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  color: #334155;
}

.gar-cal-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.gar-cal-nav strong {
  font-size: 0.85rem;
  text-transform: capitalize;
  color: var(--gar-text);
}

.gar-cal-week,
.gar-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
}

.gar-cal-week span {
  text-align: center;
  font-size: 0.68rem;
  color: var(--gar-muted);
  font-weight: 700;
}

.gar-cal-day {
  height: 26px;
  border: 1px solid transparent;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  color: var(--gar-text);
  font-size: 0.8rem;
}

.gar-cal-day:hover:not(:disabled) {
  border-color: #93c5fd;
  background: #eff6ff;
}

.gar-cal-day.is-selected,
.gar-cal-day.is-selected:disabled {
  background: var(--gar-primary);
  color: #fff;
  cursor: default;
}

.gar-cal-day:disabled {
  cursor: default;
  color: #cbd5e1;
  background: transparent;
}

.gar-cal-day.is-full:disabled,
.gar-cal-day.is-weekend:disabled {
  color: #94a3b8;
  background: #f8fafc;
  text-decoration: line-through;
}

.gar-cal-empty,
.gar-cal-loading {
  height: 32px;
}

.gar-cal-loading {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--gar-muted);
}

.gar-modal-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--gar-muted);
  font-weight: 600;
}

#garAgNome,
#garAgVeiculo {
  text-transform: uppercase;
}

.gar-modal-grid input,
.gar-modal-grid select {
  height: 36px;
  border: 1px solid var(--gar-border);
  border-radius: 6px;
  padding: 0 0.65rem;
  font-size: 0.875rem;
  color: var(--gar-text);
  font-weight: 500;
}

.gar-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.gar-btn-ghost {
  background: #fff !important;
  color: #334155 !important;
  border: 1px solid var(--gar-border) !important;
}

.gar-lib-banner {
  margin: 0.55rem 0 0;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.8rem;
  font-weight: 600;
}

.gar-lib-banner.hidden {
  display: none;
}

.gar-reject-card {
  width: min(480px, 100%);
}

.gar-aj-card {
  width: min(720px, 100%);
}

.gar-aj-card .gar-ajudantes {
  margin-top: 0.75rem;
}

.gar-reject-card label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--gar-muted);
  font-weight: 600;
}

.gar-modal-error {
  margin: 0.75rem 0 0;
  color: #991b1b;
  font-size: 0.82rem;
}

.gar-modal-error.hidden {
  display: none;
}

.gar-coleta {
  grid-column: 1 / -1;
}

.gar-agenda-side .gar-obs,
.gar-agenda-side .gar-ajudantes {
  grid-column: auto;
}

.gar-coleta {
  margin: 0;
  padding: 0.55rem 0.7rem 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.gar-coleta legend {
  padding: 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.gar-coleta-opcoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.25rem;
}

.gar-coleta-opcoes label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--gar-text);
  font-weight: 650;
}

.gar-coleta-opcoes input {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.gar-multi-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.gar-multi-bar .gar-btn {
  width: auto;
  height: 32px;
  padding: 0 0.75rem;
  font-size: 0.75rem;
}

.gar-vinc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.gar-vinc-chip {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #e0e7ff;
  color: #1e3a8a;
  font-size: 0.75rem;
  font-weight: 650;
}

.gar-vinc-modal {
  z-index: 90;
}

.gar-vinc-card {
  width: min(860px, calc(100vw - 1rem));
}

.gar-vinc-filtro {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gar-muted);
}

.gar-vinc-filtro input {
  height: 36px;
  border: 1px solid var(--gar-border);
  border-radius: 6px;
  padding: 0 0.65rem;
  font-size: 0.875rem;
  color: var(--gar-text);
  font-weight: 500;
}

#garMultiLista {
  max-height: min(52vh, 28rem);
  margin-top: 0.55rem;
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.gar-vinc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.gar-vinc-table th,
.gar-vinc-table td {
  padding: 0.4rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.gar-vinc-table th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  font-size: 0.72rem;
  color: var(--gar-muted);
}

.gar-vinc-table input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.gar-vinc-table tr {
  cursor: pointer;
}

.gar-multi-item {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
  border-bottom: 1px solid #f1f5f9;
}

.gar-multi-item:last-child {
  border-bottom: 0;
}

.gar-multi-item small {
  display: block;
  color: #64748b;
}

.gar-obs-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.gar-obs-head span:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.gar-obs-hint {
  font-weight: 500;
}

.gar-obs textarea {
  min-height: 44px;
  resize: vertical;
  border: 1px solid var(--gar-border);
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
  font: inherit;
  font-weight: 500;
  color: var(--gar-text);
}

.gar-ajudantes {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gar-ajudantes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gar-ajudantes-head span {
  font-size: 0.75rem;
  color: var(--gar-muted);
  font-weight: 700;
}

.gar-ajudantes-head .gar-btn {
  width: auto;
  height: 32px;
  padding: 0 0.75rem;
  font-size: 0.75rem;
}

.gar-ajudante-row {
  display: grid;
  grid-template-columns: 1fr 160px auto;
  gap: 0.5rem;
  align-items: end;
}

.gar-ajudante-row label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--gar-muted);
  font-weight: 600;
}

.gar-ajudante-row input {
  height: 36px;
  border: 1px solid var(--gar-border);
  border-radius: 6px;
  padding: 0 0.65rem;
  font-size: 0.875rem;
  color: var(--gar-text);
  font-weight: 500;
}

.gar-ajudante-remove {
  height: 36px;
  border: 1px solid var(--gar-border);
  background: #fff;
  color: #b91c1c;
  border-radius: 6px;
  padding: 0 0.7rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.gar-ajudantes-empty {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gar-muted);
}

@media (max-width: 900px) {
  .gar-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .gar-agenda-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gar-filters {
    grid-template-columns: 1fr;
  }
  .gar-modal-grid {
    grid-template-columns: 1fr;
  }
  .gar-ajudante-row {
    grid-template-columns: 1fr;
  }
}

.gar-aglut {
  margin-top: 0.55rem;
}

.gar-aglut-titulo {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.gar-aglut-tipos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.gar-aglut-marca {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 4px;
  padding: 0.16rem 0.55rem 0.16rem 0.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

.gar-aglut-marca svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.gar-modal-grid .gar-aglut-marca,
.gar-aglut-tipos .gar-aglut-marca {
  flex-direction: row;
  margin-top: 0;
  padding: 0.42rem 0.8rem 0.42rem 0.55rem;
  font-size: 0.86rem;
  cursor: pointer;
}

.gar-aglut-tipos .gar-aglut-marca svg {
  width: 22px;
  height: 22px;
}

.gar-modal-grid .gar-aglut-marca input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
}

.gar-aglut-tipos .gar-aglut-marca:not(.is-on) {
  opacity: 0.62;
}

.gar-aglut-marca.is-on {
  opacity: 1;
  box-shadow: 0 0 0 2px currentColor;
}

.gar-aglut-marca.is-tudo {
  background: #dbeafe;
  color: #1e3a8a;
  border-color: #2563eb;
}

.gar-aglut-marca.is-modulos {
  background: #ffedd5;
  color: #9a3412;
  border-color: #ea580c;
}

.gar-aglut-marca.is-componentes {
  background: #ede9fe;
  color: #5b21b6;
  border-color: #7c3aed;
}

.gar-aglut-marca.is-multi {
  background: #ccfbf1;
  color: #115e59;
  border-color: #0d9488;
}
