.ev-toolbar, .ev-card-head, .ev-row, .ev-mini, .ev-navigation { display: flex; align-items: center; gap: 14px; }
.ev-toolbar { flex-wrap: wrap; padding: 16px; border: 1px solid var(--line, #ddd); border-radius: 14px; background: #fff; }
.ev-toolbar label { min-width: 160px; }
.ev-card-head { justify-content: space-between; flex-wrap: wrap; }
.ev-card { margin-top: 20px; padding: 20px; border: 1px solid var(--line, #ddd); border-radius: 16px; background: #fff; }
.sidebar .ev-card { margin-top: 0; }
.ev-card h3 { margin: 0; font: 600 20px Fraunces, Georgia, serif; }
.ev-card a { color: #2b56c8; }
.ev-mini { padding: 14px 0; border-bottom: 1px solid #07163712; align-items: flex-start; }
.ev-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.ev-mini time { flex: 0 0 60px; color: #5a6479; font-size: 13px; }
.ev-mini div { min-width: 0; }
.ev-mini a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.ev-mini small { display: block; color: #5a6479; }
.ev-list { display: grid; gap: 10px; }
.ev-row { padding: 18px; border: 1px solid var(--line); border-left: 4px solid var(--ev-color, #667085); border-radius: 12px; background: #fff; }
.ev-date { min-width: 42px; text-align: center; display: grid; line-height: 1.25; }
.ev-date b { font-size: 27px; color: var(--ev-color); }
.ev-body { flex: 1; min-width: 0; }
.ev-title { border: 0; background: none; padding: 0; min-height: 32px; border-radius: 4px; text-align: left; color: var(--ink); font-size: 16px; }
.ev-meta { color: var(--muted); font-size: 13px; margin-top: 5px; }
.ev-fiscal { --ev-color: #1f7a4d; } .ev-asamblea { --ev-color: #052460; }
.ev-eventos { --ev-color: #a06a00; } .ev-examenes { --ev-color: #2b56c8; }
.ev-internacional { --ev-color: #0b7285; } .ev-legal { --ev-color: #6b3fa0; } .ev-otro { --ev-color: #667085; }
.ev-download { white-space: nowrap; font-size: 12px; }
.ev-navigation { justify-content: space-between; flex-wrap: wrap; }
.ev-month-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ev-month { display: grid; grid-template-columns: repeat(7, minmax(105px, 1fr)); min-width: 735px; }
.ev-day { min-height: 110px; padding: 8px; border: 1px solid #0716370d; display: flex; flex-direction: column; gap: 5px; }
.ev-day.out { background: #f6f5f2; color: #777; }
.ev-day.today { box-shadow: inset 0 0 0 2px #2b56c8; }
.ev-dow { padding: 10px; text-align: center; color: var(--muted); font-size: 12px; }
.ev-chip { display: block; width: 100%; min-height: 32px; border-radius: 5px; background: #f5f3ef; border-left: 3px solid var(--ev-color); font-size: 11px; padding: 5px; text-align: left; overflow-wrap: anywhere; }
.ev-feed { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); padding: 22px; border-radius: 16px; }
.ev-feed code { display: block; overflow-wrap: anywhere; }
.ev-feed ol { margin: 0; padding-left: 22px; }
.ev-description { white-space: pre-wrap; overflow-wrap: anywhere; }
.ev-dialog { width: min(640px, calc(100% - 32px)); }
.ev-dialog > * + * { margin-top: 16px; }
@media (max-width: 679px) {
  .ev-row { flex-wrap: wrap; gap: 10px; padding: 14px; }
  .ev-download { margin-left: 52px; }
  .ev-toolbar label { flex: 1 1 130px; min-width: 0; }
  .ev-card { padding: 16px; }
}
