* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #f5f7fb; color: #222; }
a { color: #0d47a1; text-decoration: none; }
a:hover { text-decoration: underline; }
.page-wrap { width: min(1180px, 94%); margin: 0 auto; }
.temp-banner, .temp-footer { background: #10213d; color: #fff; padding: 18px; text-align: center; }
.temp-footer { margin-top: 40px; }
.top-menu { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 12px 0; }
.top-menu a { background: #fff; border: 1px solid #d5dbe7; border-radius: 8px; padding: 9px 13px; color: #10213d; font-weight: 700; }
.year-title { text-align: center; font-size: clamp(38px, 7vw, 82px); margin: 24px 0; }
.month-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.month-box { min-height: 230px; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #ffffff, #e9eef8); border: 1px solid #d9e0ee; border-radius: 18px; box-shadow: 0 12px 30px rgba(22,35,64,.08); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.month-box:hover { transform: translateY(-2px); text-decoration: none; }
.month-abbr { align-self: flex-end; font-size: clamp(46px, 5vw, 78px); line-height: 1; font-weight: 900; color: rgba(16,33,61,.88); }
.month-info { margin-top: auto; }
.month-name { font-size: 22px; font-weight: 800; color: #10213d; }
.events-label { font-size: 14px; border-bottom: 2px solid #10213d; display: inline-block; margin: 8px 0 6px; padding-bottom: 3px; }
.event-count { font-size: 21px; font-weight: 800; }
.nothing { color: #6a7282; font-weight: 700; }
.event-card { background: #fff; border: 1px solid #d9e0ee; border-radius: 14px; padding: 16px; margin: 14px 0; display: grid; grid-template-columns: 82px 1fr; gap: 18px; box-shadow: 0 8px 22px rgba(22,35,64,.06); }
.date-box { width: 82px; height: 96px; border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: #fff; text-align: center; }
.date-mon { height: 36px; line-height: 36px; background: #10213d; color: #fff; font-size: 22px; font-weight: 900; text-align: center; padding: 0; }
.date-day { flex: 1; display: flex; justify-content: center; align-items: center; padding-bottom: 8px; font-size: 32px; font-weight: 900; line-height: 1; }
.btn, button, input[type=submit] { display: inline-block; background: #b21f2d; color: #fff; border: 0; border-radius: 8px; padding: 10px 14px; font-weight: 800; cursor: pointer; }
.btn:hover { color: #fff; text-decoration: none; }
.form-card, .table-card { background: #fff; border-radius: 14px; border: 1px solid #d9e0ee; padding: 18px; margin-top: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { font-weight: 800; display: block; margin-bottom: 5px; }
input { width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
th { background: #eef2f7; }
.notice { padding: 12px; border-radius: 10px; background: #e9f8ee; border: 1px solid #bde4c8; margin: 14px 0; }
.error { padding: 12px; border-radius: 10px; background: #fff0f0; border: 1px solid #f1b8b8; margin: 14px 0; }
@media (max-width: 900px) { .month-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .month-grid { grid-template-columns: 1fr; } .month-box { aspect-ratio: auto; min-height: 155px; } .event-card { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }
