/* guardian/views/bundle.css — 가정통신문 «자동 묶음» 판 옷 (2026-10-31 nF · .gbd-)
 *   그리는 곳 한 벌 = include/guardian-bundle.php gbd_html. 보호자 앱(views/*.css 로 저절로 실림) · 기관 미리보기(layouts/gdn-post.js 가 실음) ·
 *   종이 출력(daynight-recipient-management/newsletter-print.php) 이 같은 옷을 쓴다.
 *   글자 검정 · 연한 글자는 한 단계 진하게(연령층 높음) · 폰 폭에서 표는 가로로 굴린다(판 밖으로 안 넘침). */
.gbd { margin-top: 16px; }
.gbd-sec { margin: 0 0 12px; padding: 14px 14px 12px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.gbd-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; font-size: 16.5px; font-weight: 800; color: #0f172a; word-break: keep-all; }
.gbd-h i { color: #0d9488; font-size: 16px; }
.gbd-h small { font-size: 13.5px; font-weight: 700; color: #0f766e; }
.gbd-empty { margin: 0; padding: 10px 12px; border-radius: 10px; background: #f8fafc; font-size: 14.5px; color: #334155; word-break: keep-all; }
.gbd-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; margin-bottom: 8px; }
.gbd-st { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: #f0fdfa; }
.gbd-st small { font-size: 13px; font-weight: 600; color: #334155; }
.gbd-st b { font-size: 17px; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; word-break: keep-all; }
.gbd-st b em { margin-left: 3px; font-style: normal; font-size: 12.5px; font-weight: 700; color: #475569; }
.gbd-tw { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e2e8f0; border-radius: 10px; }
.gbd-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.gbd-t th { padding: 7px 8px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; font-size: 13.5px; font-weight: 700; color: #1e293b; text-align: left; white-space: nowrap; }
.gbd-t td { padding: 7px 8px; border-bottom: 1px solid #f1f5f9; color: #0f172a; vertical-align: top; word-break: keep-all; line-height: 1.5; }
.gbd-t tr:last-child td { border-bottom: 0; }
.gbd-t td.gbd-t__k { font-weight: 700; white-space: nowrap; }
.gbd-t tr.is-hl td { background: #ecfdf5; }
.gbd-t tr.is-hl td.gbd-t__k { color: #0f766e; }
.gbd-days { display: flex; flex-direction: column; border: 1px solid #e2e8f0; border-radius: 10px; }
.gbd-day { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; padding: 7px 10px; border-bottom: 1px solid #f1f5f9; }
.gbd-day:last-child { border-bottom: 0; }
.gbd-day > b { font-size: 14px; color: #0f172a; white-space: nowrap; }
.gbd-day > span { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.gbd-day em { font-style: normal; font-size: 14px; color: #334155; word-break: keep-all; }
.gbd-day em + em::before { content: '· '; color: #94a3b8; }
.gbd-day em.is-on { font-weight: 800; color: #0f766e; }
.gbd-note { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: #334155; word-break: keep-all; }
.gbd-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; height: 38px; padding: 0 14px; border: 1px solid #99f6e4; border-radius: 10px;
	background: #f0fdfa; font: inherit; font-size: 14.5px; font-weight: 700; color: #0f766e; cursor: pointer; }
@media (max-width: 520px) {
	.gbd-sec { padding: 12px 10px 10px; }
	.gbd-day { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.gbd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
	.gbd-sec { break-inside: avoid; page-break-inside: avoid; border-color: #94a3b8; }
	.gbd-tw { overflow: visible; border-color: #94a3b8; }
	.gbd-t th, .gbd-t td { border-color: #cbd5e1; }
	.gbd-link { display: none; }
}
.gbd-t th.gbd-t__n, .gbd-t td.gbd-t__n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gbd-text { margin: 0 0 8px; font-size: 15px; line-height: 1.75; color: #0f172a; word-break: keep-all; overflow-wrap: anywhere; }
.gbd-sec--note { border-color: #99f6e4; background: #f8fffd; }
/* 11-01 요양원 «어르신 개인 현황표» — 한 묶음 안 표 여러 장의 제목 줄 */
.gbd-cap { margin: 10px 0 6px; font-size: 14.5px; font-weight: 800; color: #0f172a; word-break: keep-all; }
.gbd-stats + .gbd-cap { margin-top: 4px; }
.gbd-sec--status .gbd-t th { white-space: nowrap; }
@media (max-width: 520px) {
	.gbd-sec--status .gbd-t th, .gbd-sec--status .gbd-t td { padding: 7px 6px; }
	.gbd-sec--status .gbd-day em + em::before { content: ''; }
	.gbd-sec--status .gbd-day > span { flex-direction: column; gap: 2px; }
}
