/* V143.58 일정 달력 — 날짜 칸 누르면 일정 상세 모달 */
.home-calendar-day.has-day-detail{cursor:pointer;transition:background .15s,box-shadow .15s}
.home-calendar-day.has-day-detail:hover{background:#fbf6ea;box-shadow:inset 0 0 0 1px #e6d3a6}
.home-calendar-day.has-day-detail:focus-visible{outline:2px solid #1f1f1f;outline-offset:-2px}
.home-calendar-event.more{cursor:pointer}
html.hdm-lock,html.hdm-lock body{overflow:hidden}
.hdm-backdrop{position:fixed;inset:0;z-index:100001;background:rgba(17,17,17,.48);display:flex;align-items:center;justify-content:center;padding:20px;animation:hdmFade .15s ease}
@keyframes hdmFade{from{opacity:0}to{opacity:1}}
.hdm-dialog{width:min(560px,100%);max-height:calc(100vh - 40px);display:flex;flex-direction:column;background:#fff;border-radius:14px;box-shadow:0 24px 60px rgba(0,0,0,.25);color:#1f1f1f;word-break:keep-all}
.hdm-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:22px 24px 14px;border-bottom:1px solid #eee}
.hdm-head h3{margin:4px 0 0;font-size:21px;font-weight:800;letter-spacing:-.02em}
.hdm-head h3 small{font-size:15px;color:#888;font-weight:600}
.hdm-dday{display:inline-block;padding:3px 10px;border-radius:999px;background:#1f1f1f;color:#fff;font-size:12px;font-weight:700}
.hdm-holiday{display:inline-block;margin-top:6px;padding:3px 10px;border-radius:999px;background:#fdecec;color:#c0392b;font-size:12.5px;font-weight:700}
.hdm-x{width:36px;height:36px;border:0;background:transparent;font-size:26px;line-height:1;color:#666;cursor:pointer;border-radius:8px;flex:none}
.hdm-x:hover{background:#f2f2f2}
.hdm-body{padding:16px 24px;overflow:auto;display:grid;gap:12px}
.hdm-item{border:1px solid #ebe7dc;border-left:4px solid #c79a3c;border-radius:10px;padding:14px 16px;background:#fff}
.hdm-item.exam{border-left-color:#2f5d8a}.hdm-item.apply{border-left-color:#d9822b}.hdm-item.course{border-left-color:#2e7d4f}.hdm-item.custom{border-left-color:#8a6414}
.hdm-item-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hdm-item-head h4{margin:0;font-size:16.5px;font-weight:800}
.hdm-tag{padding:3px 9px;border-radius:6px;font-size:12px;font-weight:800;background:#f3efe5;color:#6b4a00}
.hdm-tag.exam{background:#e8f0f8;color:#2f5d8a}.hdm-tag.apply{background:#fdf0e3;color:#a65d14}.hdm-tag.course{background:#e6f4ec;color:#22663f}
.hdm-info{margin:10px 0 0;display:grid;gap:4px}
.hdm-info div{display:grid;grid-template-columns:96px 1fr;gap:10px;font-size:14px;line-height:1.6}
.hdm-info dt{color:#888;font-weight:600}
.hdm-info dd{margin:0;color:#2b2b2b;font-weight:600}
.hdm-note{margin:10px 0 0;padding:10px 12px;border-radius:8px;background:#faf9f6;font-size:14px;line-height:1.65;color:#4a4a4a}
.hdm-go{margin-top:10px;height:38px;padding:0 16px;border-radius:6px;border:1px solid #1f1f1f;background:#fff;font-weight:700;font-size:13.5px;cursor:pointer;font-family:inherit}
.hdm-go:hover{background:#1f1f1f;color:#fff}
.hdm-empty{margin:8px 0;font-size:15px;color:#666;text-align:center}
.hdm-foot{padding:12px 24px 18px;display:flex;justify-content:flex-end;border-top:1px solid #f0f0f0}
.hdm-close{height:44px;padding:0 24px;border-radius:6px;border:1px solid #cfcfcf;background:#fff;font-weight:700;font-size:15px;cursor:pointer;font-family:inherit}
@media(max-width:560px){
  .hdm-backdrop{align-items:flex-end;padding:0}
  .hdm-dialog{border-radius:16px 16px 0 0;max-height:88vh}
  .hdm-head,.hdm-body,.hdm-foot{padding-left:18px;padding-right:18px}
  .hdm-info div{grid-template-columns:84px 1fr}
  .hdm-close{flex:1}
}
