:root {
  --green: #2f8f4e;
  --green-dark: #1f6d3a;
  --blue: #2d7fb8;
  --blue-dark: #235e88;
  --red: #d74a4a;
  --ink: #1d2a32;
  --muted: #66747d;
  --line: #dfe7e5;
  --soft: #f4f8f6;
  --white: #fff;
  --shadow: 0 18px 50px rgba(34, 67, 53, .09);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif; color: var(--ink); background: #f6f8f7; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .btn { cursor: pointer; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 10px; z-index: 999; }
.skip-link:focus { left: 10px; }
.sr-only { position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { max-width: 1240px; margin: 0 auto; min-height: 76px; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.brand img { width: 74px; height: 46px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-size: 18px; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.main-nav a { padding: 12px 14px; border-radius: 10px; color: #39464d; font-weight: 700; }
.main-nav a:hover, .main-nav a.active { color: var(--green-dark); background: #eaf5ed; }
.user-box { display: flex; align-items: center; gap: 10px; font-size: 14px; white-space: nowrap; }
.user-box a { color: var(--muted); text-decoration: underline; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 11px; }
.page-shell { max-width: 1240px; margin: 0 auto; padding: 34px 24px 72px; min-height: calc(100vh - 150px); }
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 28px 24px; color: var(--muted); text-align: center; font-size: 13px; }
.footer-note { margin-top: 5px; font-size: 12px; }
.hero-panel { padding: 34px 38px; border-radius: 24px; background: linear-gradient(130deg, #e8f6ec 0%, #f6fbf8 55%, #e7f2fa 100%); border: 1px solid #d9ebe0; display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 24px; }
.hero-panel h1 { font-size: clamp(24px, 3vw, 36px); line-height: 1.35; margin: 4px 0 8px; }
.hero-panel p { margin: 0; color: var(--muted); }
.eyebrow, .panel-kicker { display: block; margin: 0 0 4px; color: var(--green-dark); font-weight: 800; letter-spacing: .08em; font-size: 12px; }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.dashboard-wide { grid-row: span 2; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 21px; }
.more-link { color: var(--green-dark); font-weight: 700; font-size: 14px; }
.schedule-list { padding: 8px 20px 22px; }
.schedule-list.large { padding: 10px 26px 30px; }
.schedule-row { display: grid; grid-template-columns: 125px 1fr 22px; align-items: center; gap: 14px; padding: 17px 8px; border-bottom: 1px solid #edf1ef; }
.schedule-row:hover { background: #f7fbf8; }
.schedule-time { color: var(--blue-dark); font-weight: 800; font-size: 14px; }
.schedule-main { display: flex; flex-direction: column; }
.schedule-main strong { font-size: 16px; }
.schedule-main small { color: var(--muted); margin-top: 3px; }
.chevron { color: #9aaba3; font-size: 24px; }
.empty-state { padding: 48px 20px; text-align: center; color: var(--muted); }
.empty-state a { color: var(--green-dark); font-weight: 700; }
.compact-list { list-style: none; margin: 0; padding: 6px 24px 22px; }
.compact-list li { border-bottom: 1px solid #edf1ef; }
.compact-list li:last-child { border-bottom: 0; }
.compact-list a { display: flex; justify-content: space-between; gap: 20px; padding: 14px 2px; }
.compact-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-list time { color: var(--muted); font-size: 13px; }
.empty-line { padding: 30px 0; color: var(--muted); text-align: center; }
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.quick-links a { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .15s ease, border-color .15s ease; }
.quick-links a:hover { transform: translateY(-2px); border-color: #a8cfb4; }
.quick-links strong, .quick-links span { display: block; }
.quick-links span { color: var(--muted); font-size: 13px; margin-top: 4px; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin: 8px 0 24px; }
.page-head.compact { align-items: center; }
.page-head h1 { margin: 2px 0 4px; font-size: 34px; line-height: 1.2; }
.page-head p { margin: 0; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border-radius: 10px; border: 1px solid transparent; font-weight: 800; transition: .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn.danger { color: var(--red); border-color: #f0c4c4; }
.btn.full { width: 100%; }
button:disabled { opacity: .55; cursor: wait; }
.toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 16px; }
.view-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.view-tabs a { padding: 8px 15px; border-radius: 8px; font-weight: 700; color: var(--muted); }
.view-tabs a.active { background: var(--green); color: #fff; }
.date-nav { display: flex; align-items: center; gap: 7px; }
.icon-btn, .today-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 9px; }
.icon-btn { width: 40px; font-size: 25px; }
.today-btn { padding: 0 14px; font-weight: 700; }
.calendar-panel { overflow: hidden; }
.calendar-title { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.calendar-title h2 { margin: 0; font-size: 23px; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); min-height: 520px; }
.week-day { border-right: 1px solid var(--line); padding: 12px; min-width: 0; }
.week-day:last-child { border-right: 0; }
.week-day.today { background: #f2faf4; }
.week-date { display: flex; flex-direction: column; align-items: center; padding: 8px; }
.week-date span { color: var(--muted); font-size: 13px; }
.week-date strong { font-size: 23px; }
.mini-schedules { display: flex; flex-direction: column; gap: 6px; }
.mini-schedules a { display: block; padding: 7px 8px; border-radius: 8px; background: #edf7f0; font-size: 12px; overflow: hidden; }
.mini-schedules a:hover { background: #dff1e4; }
.mini-schedules time { display: block; color: var(--green-dark); font-weight: 800; white-space: nowrap; }
.mini-schedules span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-schedules .none { padding: 10px 0; text-align: center; color: #a0aaa5; font-size: 12px; }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month-grid.weekdays { background: #f4f7f5; border-bottom: 1px solid var(--line); }
.month-grid.weekdays span { padding: 10px; text-align: center; color: var(--muted); font-weight: 700; font-size: 13px; }
.month-day { min-height: 138px; padding: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.month-day:nth-child(7n) { border-right: 0; }
.month-day.muted { background: #fafbfa; color: #aeb6b2; }
.month-day.today { box-shadow: inset 0 0 0 2px var(--green); }
.day-number { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; margin-bottom: 5px; }
.today .day-number { background: var(--green); color: #fff; }
.more-count { background: transparent!important; color: var(--blue-dark); font-weight: 700; }
.year-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 24px; }
.year-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfc; }
.year-card span, .year-card strong, .year-card small { display: block; }
.year-card span { font-weight: 800; }
.year-card strong { font-size: 34px; color: var(--green-dark); margin-top: 14px; }
.year-card small { color: var(--muted); }
.form-layout { max-width: 880px; margin: 0 auto; }
.form-panel { padding: 30px; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-weight: 800; }
.field label span { color: var(--red); }
.field input[type="text"], .field input[type="password"], .field input[type="date"], .field input[type="time"], .field input[type="search"], .field select, .field textarea, .board-search input { width: 100%; border: 1px solid #cfdad5; border-radius: 10px; background: #fff; padding: 11px 12px; color: var(--ink); outline: none; }
.field input:focus, .field select:focus, .field textarea:focus, .board-search input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,143,78,.12); }
.field textarea { resize: vertical; }
.checkbox-field { padding: 10px 0 0; }
.checkbox-field label { font-weight: 700; }
.field-help { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.date-fields { margin-bottom: 0; }
.date-range-help { margin: -6px 0 16px; }

.upload-status { margin-top: 6px; color: var(--green-dark); font-size: 13px; font-weight: 700; }
.current-file { margin-top: 10px; padding: 10px 12px; background: var(--soft); border-radius: 8px; font-size: 13px; }
.current-file label { display: inline; margin-left: 10px; font-weight: 500; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 12px; }
.alert { padding: 13px 15px; border-radius: 9px; margin-bottom: 18px; }
.alert.error { background: #fff0f0; border: 1px solid #f2caca; color: #9f2929; }
.board-panel { overflow: hidden; }
.board-search { display: flex; gap: 8px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.board-search input { max-width: 430px; }
.board-table-wrap { overflow-x: auto; }
.board-table { width: 100%; border-collapse: collapse; }
.board-table th { background: #f5f8f6; color: var(--muted); font-size: 13px; }
.board-table th, .board-table td { padding: 15px 14px; border-bottom: 1px solid #edf1ef; text-align: center; }
.board-table td.title { text-align: left; }
.board-table td.title a { font-weight: 700; }
.board-table .num { width: 80px; }
.board-table .author { width: 120px; }
.board-table .date { width: 120px; }
.board-table .file { width: 70px; }
.empty-cell { padding: 50px!important; color: var(--muted); }
.post-view { overflow: hidden; }
.post-header { padding: 30px; border-bottom: 1px solid var(--line); }
.post-header h2 { margin: 0 0 12px; font-size: 28px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; }
.post-content { min-height: 280px; padding: 34px 30px; white-space: normal; }
.attachment-box { margin: 0 30px 20px; padding: 15px; border-radius: 10px; background: var(--soft); display: flex; gap: 16px; }
.attachment-box a { color: var(--blue-dark); font-weight: 800; text-decoration: underline; }
.post-view .form-actions { padding: 20px 30px 28px; border-top: 1px solid var(--line); }
.login-page { min-height: 100vh; background: radial-gradient(circle at 15% 10%, #e4f5e9 0, transparent 35%), radial-gradient(circle at 85% 85%, #e4f0f8 0, transparent 35%), #f7faf8; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(430px, 100%); padding: 38px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.login-brand { text-align: center; margin-bottom: 24px; }
.login-brand img { width: 145px; height: 84px; object-fit: contain; }
.login-brand p { margin: 4px 0 0; font-weight: 800; color: var(--green-dark); }
.login-brand h1 { margin: 4px 0 0; font-size: 27px; }
.login-card label { display: block; margin: 13px 0 6px; font-weight: 800; }
.login-card input { width: 100%; padding: 12px; border: 1px solid #cfdad5; border-radius: 10px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 60px; }
.text-button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--blue-dark); font-weight: 800; }
.login-card .btn { margin-top: 20px; }
.login-help { text-align: center; color: var(--muted); font-size: 12px; margin: 16px 0 0; }
@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; min-height: 70px; padding-top: 10px; padding-bottom: 10px; }
  .brand { flex: 1; }
  .nav-toggle { display: block; }
  .main-nav { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; padding: 8px 0; }
  .main-nav.open { display: flex; }
  .user-box { order: 3; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-wide { grid-row: auto; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .week-grid { grid-template-columns: 1fr; min-height: auto; }
  .week-day { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; }
  .month-day { min-height: 112px; }
  .year-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .page-shell { padding: 22px 14px 50px; }
  .brand img { width: 58px; }
  .brand span { display: none; }
  .user-box span { display: none; }
  .hero-panel, .page-head, .toolbar { align-items: stretch; flex-direction: column; }
  .hero-panel { padding: 26px 22px; }
  .hero-panel .btn, .page-head .btn { width: 100%; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .schedule-row { grid-template-columns: 95px 1fr 16px; }
  .form-grid.two, .form-grid.three { grid-template-columns: 1fr; gap: 0; }
  .form-panel { padding: 20px; }
  .month-grid.weekdays span { padding: 8px 2px; font-size: 11px; }
  .month-day { min-height: 88px; padding: 4px; }
  .month-day .mini-schedules time { display: none; }
  .month-day .mini-schedules a { padding: 4px; }
  .day-number { width: 25px; height: 25px; font-size: 12px; }
  .year-grid { grid-template-columns: repeat(2, 1fr); padding: 14px; }
  .board-table .num, .board-table .author, .board-table .file { display: none; }
  .board-table th, .board-table td { padding: 13px 10px; }
  .post-header, .post-content { padding: 24px 20px; }
  .attachment-box { margin: 0 20px 18px; flex-direction: column; gap: 4px; }
  .form-actions { flex-wrap: wrap; }
}
.alert.success { background: #effaf3; border: 1px solid #bfe2ca; color: #216b3a; }
.upload-status.error-text { color: #a12626; }
.system-check-table td:first-child { width: 34%; font-weight: 700; }
.system-ok { color: #23733c; font-weight: 700; }
.system-error { color: #a12626; font-weight: 700; }

/* 사회복무요원 계정 관리 */
.user-search { display: grid; grid-template-columns: minmax(260px, 1fr) 150px 150px auto; gap: 12px; align-items: end; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.user-search .field { margin-bottom: 0; }
.user-search .search-actions { display: flex; gap: 7px; padding-bottom: 1px; }
.user-table th:last-child, .user-table td:last-child { min-width: 175px; }
.user-actions { white-space: nowrap; }
.inline-form { display: inline-block; margin-left: 5px; }
.btn.small { min-height: 34px; padding: 6px 11px; font-size: 13px; }
.btn.danger { background: #fff1f1; border: 1px solid #efc2c2; color: #a12626; }
.btn.danger:hover { background: #ffe3e3; }
.role-badge, .status-badge, .self-badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 800; }
.role-badge.admin { background: #e8f0fb; color: #255f93; }
.role-badge.staff { background: #edf7f0; color: #26713e; }
.status-badge.enabled { background: #edf8f0; color: #26713e; }
.status-badge.disabled { background: #f2f3f3; color: #6c7470; }
.self-badge { margin-left: 7px; background: #fff4d9; color: #8b6415; }
.table-summary { padding: 13px 24px; color: var(--muted); text-align: right; font-size: 13px; background: #fbfcfb; }
.checkbox-card { display: flex; flex-direction: column; justify-content: center; min-height: 96px; padding: 14px 16px; border: 1px solid #dfe7e5; border-radius: 10px; background: #fafcfb; }
.checkbox-card label { margin: 0; }
.password-change-panel { max-width: 620px; margin: 0 auto; }
.field input[readonly] { background: #f1f4f2; color: #66747d; }
@media (max-width: 900px) {
  .user-search { grid-template-columns: 1fr 1fr; }
  .user-search .search-grow { grid-column: 1 / -1; }
  .user-search .search-actions { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .user-search { grid-template-columns: 1fr; }
  .user-search .search-grow, .user-search .search-actions { grid-column: auto; }
  .user-search .search-actions .btn { flex: 1; }
  .user-table th:nth-child(3), .user-table td:nth-child(3), .user-table th:nth-child(5), .user-table td:nth-child(5) { display: none; }
  .user-actions { white-space: normal; }
}

/* 일정 조회 - 상단 최소화형 */
.schedule-search-panel { margin: 0 0 12px; overflow: hidden; }
.schedule-search-panel > summary { list-style: none; }
.schedule-search-panel > summary::-webkit-details-marker { display: none; }
.schedule-search-summary { display: flex; align-items: center; gap: 11px; min-height: 58px; padding: 10px 16px; cursor: pointer; user-select: none; background: linear-gradient(135deg, #fbfdfc 0%, #f5faf7 100%); }
.schedule-search-summary:hover { background: #f3f9f5; }
.schedule-search-summary:focus-visible { outline: 3px solid rgba(35,115,60,.2); outline-offset: -3px; }
.schedule-search-summary-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: #e8f4eb; color: var(--green-dark); font-size: 23px; font-weight: 900; line-height: 1; }
.schedule-search-summary-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.schedule-search-summary-text strong { color: var(--text); font-size: 16px; }
.schedule-search-summary-text small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schedule-search-summary-action { margin-left: auto; color: var(--green-dark); font-size: 12px; font-weight: 800; }
.schedule-search-summary-arrow { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; color: var(--muted); font-size: 21px; transition: transform .2s ease; }
.schedule-search-panel[open] .schedule-search-summary { border-bottom: 1px solid var(--line); }
.schedule-search-panel[open] .schedule-search-summary-action::before { content: "검색 닫기"; }
.schedule-search-panel[open] .schedule-search-summary-action { font-size: 0; }
.schedule-search-panel[open] .schedule-search-summary-action::before { font-size: 12px; }
.schedule-search-panel[open] .schedule-search-summary-arrow { transform: rotate(180deg); }
.schedule-search-body { background: #fff; }
.schedule-search-form { display: grid; grid-template-columns: minmax(220px, 1.35fr) minmax(140px, .75fr) minmax(140px, .75fr) minmax(135px, .7fr) minmax(125px, .65fr) auto; gap: 10px; align-items: end; padding: 14px 16px 16px; }
.schedule-search-form .field { margin-bottom: 0; }
.schedule-search-form label { margin-bottom: 4px; font-size: 12px; }
.schedule-search-form input, .schedule-search-form select { min-height: 39px; padding-top: 8px; padding-bottom: 8px; }
.schedule-search-actions { display: flex; gap: 6px; padding-bottom: 1px; }
.schedule-search-actions .btn { min-height: 39px; padding: 8px 13px; }
.schedule-search-error { margin: 0 16px 16px; }
.schedule-results-panel { margin-bottom: 18px; overflow: hidden; }
.schedule-results-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px 16px; border-bottom: 1px solid var(--line); }
.schedule-results-head h2 { margin: 0; font-size: 21px; }
.schedule-results-head strong { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; padding: 5px 12px; border-radius: 999px; background: #eaf5ed; color: var(--green-dark); }
.schedule-search-list { width: 100%; }
.schedule-search-row { display: grid; grid-template-columns: 174px 125px minmax(260px, 1fr) 110px 95px 22px; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid #edf1ef; }
.schedule-search-row:last-child { border-bottom: 0; }
a.schedule-search-row:hover { background: #f7fbf8; }
.schedule-search-header { background: #f5f8f6; color: var(--muted); font-size: 12px; font-weight: 800; padding-top: 10px; padding-bottom: 10px; }
.schedule-search-main { min-width: 0; display: flex; flex-direction: column; }
.schedule-search-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.schedule-search-main small { margin-top: 2px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-date, .search-time { font-size: 13px; font-weight: 800; }
.search-date { line-height: 1.35; }
.search-time { color: var(--blue-dark); }
.search-category, .search-author { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1100px) {
  .schedule-search-form { grid-template-columns: 1fr 1fr 1fr; }
  .schedule-search-form .search-grow { grid-column: 1 / -1; }
  .schedule-search-actions { grid-column: 1 / -1; }
  .schedule-search-row { grid-template-columns: 154px 115px minmax(220px, 1fr) 100px 85px 18px; gap: 9px; padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 760px) {
  .schedule-search-summary { min-height: 54px; padding: 9px 13px; }
  .schedule-search-summary-icon { flex-basis: 32px; width: 32px; height: 32px; }
  .schedule-search-summary-action { display: none; }
  .schedule-search-form { grid-template-columns: 1fr 1fr; padding: 13px; }
  .schedule-search-form .search-grow { grid-column: 1 / -1; }
  .schedule-search-actions { grid-column: 1 / -1; }
  .schedule-search-actions .btn { flex: 1; }
  .schedule-search-error { margin: 0 13px 13px; }
  .schedule-search-row { grid-template-columns: 92px 102px minmax(0, 1fr) 16px; }
  .schedule-search-header span:nth-child(4), .schedule-search-header span:nth-child(5),
  .schedule-search-row .search-category, .schedule-search-row .search-author { display: none; }
}
@media (max-width: 520px) {
  .schedule-search-summary-text small { max-width: 220px; }
  .schedule-search-form { grid-template-columns: 1fr; }
  .schedule-search-form .search-grow, .schedule-search-actions { grid-column: auto; }
  .schedule-search-row { grid-template-columns: 84px minmax(0, 1fr) 16px; }
  .schedule-search-header span:nth-child(2), .schedule-search-row .search-time { display: none; }
}

/* 사회복무요원 복무일지 */
.duty-search { display: grid; grid-template-columns: minmax(240px, 1fr) 145px 145px 150px minmax(120px, 150px) auto; gap: 12px; align-items: end; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.duty-search .field { margin-bottom: 0; }
.duty-search .search-actions { display: flex; gap: 7px; padding-bottom: 1px; }
.duty-table th:nth-child(5), .duty-table td:nth-child(5) { min-width: 240px; }
.quick-links { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
@media (max-width: 980px) {
  .duty-search { grid-template-columns: 1fr 1fr; }
  .duty-search .search-grow, .duty-search .search-actions { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .duty-search { grid-template-columns: 1fr; }
  .duty-search .search-grow, .duty-search .search-actions { grid-column: auto; }
  .duty-search .search-actions .btn { flex: 1; }
  .duty-table th:nth-child(2), .duty-table td:nth-child(2), .duty-table th:nth-child(3), .duty-table td:nth-child(3), .duty-table th:nth-child(4), .duty-table td:nth-child(4), .duty-table th:nth-child(6), .duty-table td:nth-child(6) { display: none; }
}
