/* Favoritos — "Lista | Agenda" (assets/js/agenda-favoritos.js) */
.fav-visao { display: inline-flex; gap: 0; margin: 0 0 14px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; padding: 3px; }
.fav-visao button { font: inherit; font-size: 13px; font-weight: 700; color: #475569; background: none; border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.fav-visao button.ativo { background: #ff6b00; color: #fff; }
.agenda-favoritos[hidden] { display: none; }
.ag-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; font-size: 13px; color: #475569; font-weight: 600; }
.ag-todos, .ag-ics, .ag-limpar { font: inherit; font-size: 12px; font-weight: 700; color: #c2410c; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.ag-todos:hover, .ag-ics:hover, .ag-limpar:hover { background: #ff6b00; color: #fff; border-color: #ff6b00; }
.ag-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.ag-cal, .ag-lista { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 14px; }
.ag-cal-topo { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; font-size: 15px; color: #1e293b; }
.ag-nav { font: inherit; font-size: 20px; line-height: 1; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #e5e7eb; background: #fff; cursor: pointer; color: #475569; }
.ag-nav:hover { background: #f1f5f9; }
.ag-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.ag-sem { font-size: 11px; font-weight: 700; color: #94a3b8; padding: 2px 0 4px; }
.ag-dia { font: inherit; font-size: 13px; color: #334155; min-height: 40px; padding: 5px 0 3px; border-radius: 9px; border: 1px solid transparent; background: none; display: flex; flex-direction: column; align-items: center; gap: 3px; }
button.ag-dia { cursor: pointer; font-weight: 700; background: #f8fafc; }
button.ag-dia:hover { border-color: #fed7aa; }
.ag-hoje { border-color: #94a3b8; }
.ag-sel { border-color: #ff6b00 !important; background: #fff7ed !important; }
.ag-pontos { display: flex; gap: 3px; justify-content: center; }
.ag-ponto { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.ag-p1.ag-ponto { background: #2563eb; }
.ag-p2.ag-ponto { background: #ea580c; }
.ag-ponto.ag-passado { opacity: .3; }
.ag-legenda { display: flex; gap: 14px; margin: 10px 0 0; font-size: 12px; color: #64748b; }
.ag-lista h3 { margin: 0 0 10px; font-size: 15px; color: #1e293b; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ag-lista ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ag-item { border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 12px; }
.ag-item.ag-urgente { border-color: #fdba74; background: #fffbf5; }
.ag-item-topo { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.ag-quando { font-weight: 700; color: #475569; }
.ag-urgente .ag-quando { color: #c2410c; }
.ag-praca { font-weight: 700; padding: 1px 9px; border-radius: 999px; }
.ag-praca.ag-p1 { background: #eff6ff; color: #1d4ed8; }
.ag-praca.ag-p2 { background: #fff7ed; color: #c2410c; }
.ag-titulo { display: block; margin: 5px 0 2px; font-size: 14px; font-weight: 700; color: #24334d; text-decoration: none; }
.ag-titulo:hover { color: #ff6b00; }
.ag-sub { font-size: 12px; color: #64748b; margin: 0 0 8px; }
.ag-vazio { font-size: 13px; color: #64748b; margin: 0; }
.ag-nota { font-size: 11px; color: #94a3b8; margin: 10px 0 0; }
@media (max-width: 760px) {
  .ag-grade { grid-template-columns: 1fr; }
  .ag-dia { min-height: 36px; font-size: 12px; }
}
/* "Adicionar à agenda": Google / Outlook / .ics */
.ag-add { position: relative; display: inline-block; }
.ag-add summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #c2410c; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.ag-add summary::-webkit-details-marker { display: none; }
.ag-add[open] summary, .ag-add summary:hover { background: #ff6b00; color: #fff; border-color: #ff6b00; }
.ag-add-menu { display: flex; flex-direction: column; margin-top: 6px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; min-width: 240px; }
.ag-add-menu a, .ag-add-menu .ag-ics { display: block; text-align: left; font: inherit; font-size: 13px; font-weight: 600; color: #24334d; text-decoration: none; padding: 9px 12px; background: #fff; border: 0; border-bottom: 1px solid #f1f5f9; border-radius: 0; cursor: pointer; }
.ag-add-menu .ag-ics { border-bottom: 0; }
.ag-add-menu a:hover, .ag-add-menu .ag-ics:hover { background: #fff7ed; color: #c2410c; }
.ag-add-menu small { display: block; font-size: 11px; font-weight: 500; color: #94a3b8; }
.ag-ics-ok { margin: 6px 0 0; font-size: 12px; color: #15803d; }
.ag-todos-ok { margin: -4px 0 12px; }
