.agenda-prof-toolbar { display: grid; grid-template-columns: auto minmax(180px,1fr) auto; align-items: center; gap: 18px; margin-bottom: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.045); }
.agenda-prof-toolbar h3 { margin: 0; text-align: center; font-size: clamp(1rem,1.6vw,1.35rem); text-transform: capitalize; }
.agenda-prof-navegacao, .agenda-prof-acoes, .agenda-prof-visualizacoes { display: flex; align-items: center; gap: 7px; }
.agenda-prof-navegacao button, .agenda-prof-visualizacoes button { min-height: 38px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #fff; background: rgba(255,255,255,.055); cursor: pointer; }
.agenda-prof-navegacao button:first-child, .agenda-prof-navegacao button:last-child { width: 38px; padding: 0; font-size: 1.35rem; }
.agenda-prof-navegacao button[data-agenda-nav="hoje"] { min-width: 62px; background: rgba(255,255,255,.085); }
.agenda-prof-navegacao button[data-agenda-nav="hoje"].voltar-hoje { min-width: 118px; color: #fff; border-color: rgba(229,9,20,.45); background: rgba(229,9,20,.12); }
.agenda-prof-visualizacoes button.active { border-color: #d51b27; background: #850912; }
.agenda-prof-legenda { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 3px 13px; color: rgba(255,255,255,.65); font-size: .76rem; }
.agenda-prof-legenda span { display: inline-flex; align-items: center; gap: 6px; }
.agenda-prof-legenda i { width: 9px; height: 9px; border-radius: 50%; }
.tipo-mentoria { background: #e50914; }.tipo-entrevista { background: #7567ff; }.tipo-outro { background: #43a97b; }
.agenda-prof-calendario { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: #111; }
.agenda-mes-head, .agenda-mes-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.agenda-mes-head { border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.045); }
.agenda-mes-head span { padding: 10px; color: rgba(255,255,255,.58); font-size: .7rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.agenda-mes-dia { min-width: 0; min-height: 112px; padding: 8px; border-right: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.agenda-mes-dia:nth-child(7n) { border-right: 0; }
.agenda-mes-dia.fora-mes { opacity: .38; background: rgba(0,0,0,.24); }
.agenda-mes-dia.hoje .agenda-dia-numero { color: #fff; background: #d20b17; }
.agenda-dia-numero { display: grid; width: 25px; height: 25px; margin: 0 0 6px auto; place-items: center; border-radius: 50%; font-size: .75rem; font-weight: 800; }
.agenda-mes-dia small { display: block; margin-top: 5px; color: rgba(255,255,255,.55); font-size: .63rem; }
.agenda-evento { display: block; width: 100%; min-width: 0; margin-bottom: 4px; padding: 6px 7px; overflow: hidden; border: 0; border-left: 3px solid; border-radius: 7px; color: #fff; background: rgba(255,255,255,.07); text-align: left; cursor: pointer; }
.agenda-evento.tipo-mentoria { border-color: #e50914; background: rgba(229,9,20,.15); }.agenda-evento.tipo-entrevista { border-color: #7567ff; background: rgba(117,103,255,.15); }.agenda-evento.tipo-outro { border-color: #43a97b; background: rgba(67,169,123,.14); }
.agenda-evento strong, .agenda-evento span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agenda-evento strong { font-size: .69rem; }.agenda-evento span { margin-top: 2px; color: rgba(255,255,255,.63); font-size: .61rem; }
.agenda-grade-scroll { overflow: auto; max-height: 68vh; }
.agenda-semana-tabela { width: 100%; min-width: 880px; border-collapse: collapse; table-layout: fixed; }
.agenda-semana-tabela th, .agenda-semana-tabela td { border-right: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.agenda-semana-tabela thead th { position: sticky; top: 0; z-index: 2; padding: 9px; color: rgba(255,255,255,.58); background: #1d1d1d; font-size: .68rem; text-transform: capitalize; }
.agenda-semana-tabela thead strong { display: block; margin-top: 4px; color: #fff; font-size: .95rem; }
.agenda-semana-tabela tbody th { width: 62px; padding: 8px; color: rgba(255,255,255,.45); background: #151515; font-size: .67rem; vertical-align: top; }
.agenda-semana-tabela td { height: 64px; padding: 4px; vertical-align: top; }
.agenda-prof-calendario.modo-selecao [data-agenda-nova-hora] { touch-action: none; cursor: crosshair; }
.agenda-prof-calendario [data-agenda-nova-hora].agenda-slot-selecionado { background: rgba(229,9,20,.24); box-shadow: inset 0 0 0 1px rgba(255,90,100,.55); }
.agenda-dia-grade { max-height: 68vh; overflow: auto; }
.agenda-dia-hora { display: grid; grid-template-columns: 72px 1fr; min-height: 72px; border-bottom: 1px solid rgba(255,255,255,.07); }
.agenda-dia-hora > span { padding: 10px; color: rgba(255,255,255,.45); border-right: 1px solid rgba(255,255,255,.07); font-size: .7rem; }
.agenda-dia-hora > div { padding: 5px; }
.agenda-fim-dia { opacity: .6; }
.agenda-ajuda { margin: 0; padding: 9px 12px; color: rgba(255,255,255,.45); background: rgba(255,255,255,.025); font-size: .67rem; }
.agenda-vazia { padding: 40px; color: rgba(255,255,255,.6); text-align: center; }

.agenda-compromisso-dialog { width: min(760px,calc(100vw - 24px)); max-height: 90vh; padding: 0; overflow: auto; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; color: #fff; background: #171717; box-shadow: 0 28px 90px rgba(0,0,0,.65); }
.agenda-compromisso-dialog::backdrop { background: rgba(0,0,0,.74); backdrop-filter: blur(5px); }
.agenda-compromisso-dialog form { padding: 22px; }
.agenda-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.agenda-dialog-head span { color: #ff7f87; font-size: .68rem; font-weight: 800; text-transform: uppercase; }.agenda-dialog-head h3 { margin: 4px 0 0; font-size: 1.45rem; }
.agenda-dialog-head button { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: #fff; background: rgba(255,255,255,.06); font-size: 1.3rem; cursor: pointer; }
.agenda-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.agenda-form-grid label { display: grid; gap: 7px; }.agenda-form-grid label > span { color: rgba(255,255,255,.75); font-size: .76rem; font-weight: 700; }
.agenda-form-grid input, .agenda-form-grid select, .agenda-form-grid textarea { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; color: #fff; background: #242424; }
.agenda-form-grid textarea { min-height: 90px; resize: vertical; }.agenda-campo-largo { grid-column: 1/-1; }.agenda-form-grid small { color: rgba(255,255,255,.45); font-size: .67rem; }
.agenda-meet-field { display: grid; grid-template-columns: minmax(0,1fr) repeat(3,auto); gap: 8px; }.agenda-meet-field button { padding: 9px 13px; border: 1px solid #b31a23; border-radius: 10px; color: #fff; background: #6f0c13; cursor: pointer; }
.agenda-dialog-actions { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 9px; margin-top: 18px; }.agenda-dialog-actions button { min-height: 40px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; color: #fff; background: rgba(255,255,255,.06); cursor: pointer; }.agenda-dialog-actions .agenda-btn-excluir { color: #ff9ca2; border-color: rgba(229,9,20,.3); background: rgba(229,9,20,.08); }
.agenda-form-status { min-height: 20px; margin: 10px 0 0; color: #ff9ca2; font-size: .78rem; }

@media (max-width: 1050px) { .agenda-prof-toolbar { grid-template-columns: 1fr auto; }.agenda-prof-toolbar h3 { grid-column: 1/-1; grid-row: 1; }.agenda-prof-navegacao { grid-row: 2; }.agenda-prof-acoes { grid-row: 2; } }
@media (max-width: 700px) { .agenda-prof-toolbar { display: flex; align-items: stretch; flex-direction: column; }.agenda-prof-toolbar h3 { order: -1; }.agenda-prof-acoes { align-items: stretch; flex-direction: column; }.agenda-prof-visualizacoes { display: grid; grid-template-columns: repeat(3,1fr); }.agenda-prof-acoes .btn-prof { width: 100%; }.agenda-mes-dia { min-height: 78px; padding: 4px; }.agenda-mes-head span { padding: 7px 2px; font-size: .58rem; }.agenda-dia-numero { width: 21px; height: 21px; }.agenda-evento { padding: 4px; }.agenda-evento strong { font-size: .57rem; }.agenda-form-grid { grid-template-columns: 1fr; }.agenda-campo-largo { grid-column: auto; }.agenda-meet-field { grid-template-columns: 1fr; }.agenda-dialog-actions { grid-template-columns: 1fr 1fr; }.agenda-dialog-actions span { display: none; }.agenda-dialog-actions button { width: 100%; }.agenda-dialog-actions .agenda-btn-excluir { grid-column: 1/-1; } }
