/* 캘린더 */
#app-calendar .red { color: #ff3b30; }
.txt-btn { appearance: none; border: 0; background: none; font: inherit; font-size: 17px; padding: 6px 8px; cursor: pointer; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 16px 10px; }
.cal-head h2 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.cal-nav { appearance: none; border: 0; background: none; color: #ff3b30; font-size: 30px; line-height: 1; padding: 2px 10px; cursor: pointer; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); padding: 0 8px; text-align: center; }
.cal-week span { font-size: 11px; color: #8e8e93; padding-bottom: 6px; }
.cal-week span:first-child, .cal-grid .sun { color: #8e8e93; }
.cal-grid { border-top: .5px solid #d1d1d6; padding-top: 6px; row-gap: 4px; }
.calday { appearance: none; border: 0; background: none; font: inherit; font-size: 19px; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px; cursor: pointer; color: #000; }
.calday b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 400; }
.calday.today b { color: #ff3b30; font-weight: 600; }
.calday.sel b { background: #000; color: #fff; }
.calday.sel.today b { background: #ff3b30; color: #fff; }
.calday i { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.calday.has i { background: #c7c7cc; }
.cal-events { border-top: .5px solid #d1d1d6; margin-top: 8px; padding: 12px 16px 4px; }
.cal-sel { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
#calList { list-style: none; margin: 0; padding: 0; }
#calList li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: .5px solid #e5e5ea; }
#calList li::before { content: ""; width: 4px; align-self: stretch; border-radius: 2px; background: #ff3b30; }
#calList .ev-time { font-size: 13px; color: #8e8e93; width: 44px; font-variant-numeric: tabular-nums; }
#calList .ev-title { flex: 1; font-size: 16px; }
#calList .ev-del { appearance: none; border: 0; background: none; color: #c7c7cc; font-size: 20px; cursor: pointer; padding: 0 4px; }
#calList .empty { color: #8e8e93; font-size: 14px; }
#calList .empty::before { display: none; }
.cal-form { display: flex; gap: 6px; margin-top: 12px; }
.cal-form input { font: inherit; font-size: 16px; border: 0; border-radius: 10px; background: #f2f2f7; padding: 9px 10px; min-width: 0; }
.cal-form input[type="text"] { flex: 1; }
.cal-form button { appearance: none; border: 0; border-radius: 10px; background: #ff3b30; color: #fff; font: inherit; font-weight: 600; padding: 0 14px; cursor: pointer; }

.cal-nav:disabled { opacity: .25; cursor: default; }
