/* Kalender (calendar.js) */
.cal-overlay { position: fixed; inset: 0; z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(20, 12, 6, 0.6); }
.cal-card { width: min(100%, 380px); max-height: 100%; overflow: auto; padding: 12px; border: 3px solid var(--cs-ink, #2b1a0e); border-radius: 10px; background: #fffdf5; color: var(--cs-ink, #2b1a0e); box-shadow: 4px 4px 0 var(--cs-ink, #2b1a0e); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; background: #d9524a; color: #fff; border: 2px solid var(--cs-ink, #2b1a0e); border-radius: 6px; padding: 4px 6px; }
.cal-head button { appearance: none; border: 2px solid var(--cs-ink, #2b1a0e); background: #fff8e6; border-radius: 6px; width: 34px; height: 30px; font-weight: 900; cursor: pointer; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wd { font-style: normal; font-size: 0.7rem; font-weight: 800; text-align: center; opacity: 0.7; }
.cal-wd.sun { color: #b0332b; }
.cal-day { position: relative; appearance: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 42px; padding: 2px 0; border: 2px solid #d8d2c0; border-radius: 6px; background: #fff; font: inherit; color: inherit; cursor: pointer; }
.cal-day.empty { border: 0; background: none; cursor: default; }
.cal-day b { font-size: 0.8rem; }
.cal-day .cal-ic { font-size: 0.95rem; line-height: 1; min-height: 1em; }
.cal-day.sun b, .cal-day.pub b { color: #b0332b; }
.cal-day.pub { background: #fdecea; }
.cal-day.today { border-color: var(--cs-ink, #2b1a0e); box-shadow: 2px 2px 0 var(--cs-ink, #2b1a0e); }
.cal-day.sel { background: #fff3c4; }
.cal-gob { position: absolute; right: 3px; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: #6bbf59; border: 1px solid var(--cs-ink, #2b1a0e); }
.cal-legend { margin: 6px 0; font-size: 0.72rem; opacity: 0.8; }
.cal-legend .cal-gob { position: static; display: inline-block; vertical-align: middle; }
.cal-detail { margin: 6px 0; padding: 6px 8px; border: 2px solid #c9a227; border-radius: 6px; background: #fff3c4; font-size: 0.85rem; }
.cal-detail small, .cal-next small { opacity: 0.7; }
.cal-detail .muted { opacity: 0.6; }
.cal-next { margin: 6px 0; padding-left: 18px; font-size: 0.8rem; }
.cal-close { appearance: none; width: 100%; padding: 8px; border: 3px solid var(--cs-ink, #2b1a0e); border-radius: 8px; background: #fff8e6; font-weight: 800; cursor: pointer; }
