/* guardian/guardian.css — 보호자 화면 옷 (2026-10-28) · 폰 우선 · 연령층 높음 = 글자 크게 · 연한 글자도 진하게 */
* { box-sizing: border-box; }
html, body { margin: 0; }
.gd-body { min-height: 100vh; background: #f4f6fb; color: #0f172a; font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
	font-size: 16px; line-height: 1.6; word-break: keep-all; -webkit-text-size-adjust: 100%; }
a { color: #0f766e; }
.gd-wrap { padding: 12px; display: flex; flex-direction: column; gap: 12px; }   /* 10-28 사장님 «바디 패딩 12px 상하좌우» */
/* 10-28 사장님 «모바일 전용 · 폭 512px 정도로 애당초 폰처럼» — 화면 전체가 가운데 폰 틀 하나(_page.php .gd-app). 넓은 화면에선 틀 밖을 한 톤 어둡게 */
.gd-app { position: relative; max-width: 512px; min-height: 100vh; margin: 0 auto; background: #f4f6fb; }
@media (min-width: 540px) {
	.gd-body { background: #e3e7ef; }
	.gd-app { box-shadow: 0 0 0 1px #d5dbe5, 0 12px 48px rgba(15, 23, 42, .10); }
}
.gd-hero { padding: 22px 20px; border-radius: 18px; background: linear-gradient(135deg, #115e59, #0f766e); color: #fff; }
.gd-hero h1 { margin: 0 0 6px; font-size: 22px; line-height: 1.35; }
.gd-hero p { margin: 0; font-size: 15.5px; color: #f0fdfa; }
.gd-card { padding: 18px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; }
.gd-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 17.5px; }
.gd-card h2 i { color: #0d9488; }
.gd-card h2 small { margin-left: auto; font-size: 13.5px; font-weight: 600; color: #475569; }
.gd-note { margin: 0; font-size: 14.5px; color: #334155; }
.gd-f { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; }
.gd-f > span { font-size: 14.5px; font-weight: 700; color: #1e293b; }
.gd-i { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid #cbd5e1; border-radius: 12px; background: #fff; font: inherit; font-size: 17px; color: #0f172a; }
.gd-i:focus { outline: none; border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13, 148, 136, .15); }
.gd-row { display: flex; gap: 8px; }
.gd-row .gd-i { flex: 1; min-width: 0; }
.gd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 18px; border: 0; border-radius: 12px;
	background: #0d9488; color: #fff; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; text-decoration: none; white-space: nowrap; }
.gd-btn:hover { background: #0f766e; }
.gd-btn[disabled] { opacity: .55; cursor: default; }
.gd-btn.is-wide { width: 100%; }
.gd-btn.is-ghost { background: #fff; color: #115e59; border: 1.5px solid #99f6e4; }
.gd-btn.is-ghost:hover { background: #f0fdfa; }
.gd-btn.is-sm { height: 40px; padding: 0 12px; font-size: 15px; border-radius: 10px; }
.gd-chk { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 14px; font-size: 15px; color: #1e293b; }
.gd-chk input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: #0d9488; }
.gd-msg { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.gd-msg.is-bad { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.gd-msg.is-ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.gd-msg.is-info { background: #eff6ff; color: #1e3a8a; border: 1px solid #bfdbfe; }
.gd-msg[hidden] { display: none; }
.gd-or { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 14px; color: #475569; }
.gd-or::before, .gd-or::after { content: ""; flex: 1; height: 1px; background: #e2e8f0; }
/* 어르신 카드 */
.gd-p { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fbfcfe; }
.gd-p + .gd-p { margin-top: 10px; }
.gd-p__h { display: flex; align-items: center; gap: 10px; }
.gd-p__av { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #f0fdfa; color: #115e59; font-size: 19px; font-weight: 800; flex: none; }
.gd-p__n { display: flex; flex-direction: column; min-width: 0; }
.gd-p__n b { font-size: 18.5px; }
.gd-st { margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; flex: none; }
.gd-st.is-active { background: #dcfce7; color: #166534; }
.gd-st.is-requested { background: #fef3c7; color: #92400e; }
.gd-st.is-rejected, .gd-st.is-revoked { background: #f1f5f9; color: #334155; }
.gd-kv { display: grid; grid-template-columns: 96px 1fr; gap: 6px 10px; font-size: 15px; }
.gd-kv dt { color: #475569; }
.gd-kv dd { margin: 0; font-weight: 700; }
.gd-soon { display: flex; flex-wrap: wrap; gap: 6px; }
/* 10-28 내 어르신 카드 — 그분 화면 바로가기 2×2 */
/* 11-14 사장님 «보호자 앱 단추 글이 두 줄로 꺾임» — 두 칸을 같은 폭으로 못 박음(1fr 은 «본인부담금» 처럼 꺾을 자리 없는 글 칸이 넓어져 옆 칸 글이 꺾였다) · 글은 한 줄 */
.gd-pgo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.gd-pgo button { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff;
	color: #0f172a; font: inherit; font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; }
.gd-pgo button > i:first-child { flex: none; font-size: 18px; color: #0d9488; }
.gd-pgo button > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-pgo button > i:last-child { margin-left: auto; font-size: 12px; color: #64748b; }
.gd-pgo button:active { background: #f0fdfa; }
@media (max-width: 380px) {   /* 344 · 360 폰 — 장식 › 를 빼고 안쪽 여백을 줄여 글 자리를 만든다(글 크기는 그대로) */
	.gd-pgo button { gap: 7px; padding: 0 10px; }
	.gd-pgo button > i:last-child { display: none; }
}
.gd-mine__c { margin: 0 0 12px; font-size: 14.5px; color: #475569; }
.gd-mine__c:empty { display: none; }
.gd-soon span { padding: 6px 10px; border-radius: 10px; background: #f1f5f9; color: #334155; font-size: 13.5px; font-weight: 600; }
.gd-empty { padding: 18px; border: 1.5px dashed #cbd5e1; border-radius: 14px; text-align: center; color: #334155; font-size: 15px; }
.gd-hide { display: none !important; }
details.gd-old summary { cursor: pointer; font-size: 14.5px; font-weight: 700; color: #334155; }
@media (max-width: 420px) {
	.gd-hero h1 { font-size: 20px; }
	.gd-kv { grid-template-columns: 84px 1fr; }
}
/* ── 10-28 머리 종 · 알림 켜기 카드 · 오늘 등 · 하원 · 알림 화면 ── */
.gd-push { border-color: #99f6e4; background: #f5fffd; }
.gd-push h2 .gd-st { margin-left: auto; }
.gd-push__later { display: block; margin: 10px auto 0; }
.gd-howto { margin: 0 0 10px; padding-left: 22px; font-size: 15px; color: #1e293b; }
.gd-howto li { margin: 4px 0; }
.gd-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gd-btns .gd-btn { flex: 1 1 160px; height: 46px; font-size: 15.5px; }
.gd-link { margin-left: auto; padding: 4px 6px; border: 0; background: none; color: #115e59; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.gd-link[hidden] { display: none; }
.gd-p.is-focus { border-color: #2dd4bf; box-shadow: 0 0 0 3px rgba(20, 184, 166, .18); }
/* 오늘 이용 — 단계 넷 */
.gd-today { padding: 14px; border-radius: 12px; background: #fff; border: 1px solid #ccfbf1; }
.gd-today__h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.gd-today__h b { font-size: 16px; color: #0f172a; }
.gd-today__h b i { color: #f59e0b; }
.gd-today__h span { margin-left: auto; font-size: 14px; color: #334155; }
.gd-today__off { margin: 0; font-size: 15.5px; font-weight: 700; color: #92400e; }
.gd-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gd-steps li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 40px; }
.gd-steps li + li::before { content: ""; position: absolute; left: 13px; top: -14px; height: 20px; width: 2px; background: #e2e8f0; }
.gd-steps li.is-done + li::before { background: #0d9488; }
.gd-steps__dot { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #cbd5e1; background: #fff; color: #fff; font-size: 13px; z-index: 1; }
.gd-steps li.is-done .gd-steps__dot { border-color: #0d9488; background: #0d9488; }
.gd-steps li.is-now .gd-steps__dot { border-color: #0d9488; box-shadow: 0 0 0 4px rgba(13, 148, 136, .15); }
.gd-steps__l { font-size: 16px; font-weight: 600; color: #334155; }
.gd-steps li.is-done .gd-steps__l, .gd-steps li.is-now .gd-steps__l { color: #0f172a; font-weight: 800; }
.gd-steps__t { margin-left: auto; font-size: 16px; font-variant-numeric: tabular-nums; color: #0f172a; }
.gd-steps li.is-now .gd-steps__t { font-size: 14px; font-weight: 700; color: #0d9488; }
/* 받을 알림 스위치 */
.gd-sw { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1px solid #eef2f6; cursor: pointer; }
.gd-sw:first-child { border-top: 0; }
.gd-sw__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gd-sw__t b { font-size: 16px; }
.gd-sw__t small { font-size: 13.5px; color: #334155; }
.gd-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gd-sw__k { flex: none; position: relative; width: 52px; height: 30px; border-radius: 999px; background: #cbd5e1; transition: background .15s; }
.gd-sw__k::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .25); transition: transform .15s; }
.gd-sw input:checked + .gd-sw__k { background: #0d9488; }
.gd-sw input:checked + .gd-sw__k::after { transform: translateX(22px); }
.gd-sw input:focus-visible + .gd-sw__k { outline: 2px solid #0d9488; outline-offset: 2px; }
/* 받은 알림 */
.gd-n { display: flex; gap: 12px; padding: 12px 4px; border-top: 1px solid #eef2f6; color: inherit; text-decoration: none; }
.gd-n:first-child { border-top: 0; }
.gd-n__ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: #f1f5f9; color: #475569; }
.gd-n.is-new .gd-n__ic { background: #f0fdfa; color: #0f766e; }
.gd-n__b { min-width: 0; display: flex; flex-direction: column; }
.gd-n__b b { font-size: 15.5px; }
.gd-n.is-new .gd-n__b b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: #dc2626; vertical-align: middle; }
.gd-n__b span { font-size: 14.5px; color: #1e293b; }
.gd-n__b small { font-size: 13px; color: #475569; }

/* ── 10-28 전자서명 (sign.php · sign.js) — 사장님 «보호자 앱이랑 연동해서 서명 발송» ── */
.gd-sgdoc { max-height: 52vh; overflow-y: auto; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc;
	font-size: 16px; line-height: 1.75; color: #0f172a; word-break: keep-all; }
.gd-sgtopics { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.gd-sgtopics span { padding: 5px 10px; border-radius: 999px; background: #f0fdfa; color: #115e59; font-size: 14px; font-weight: 700; }
.gd-sgans { display: flex; flex-direction: column; gap: 8px; }
.gd-sgans label, .gd-sgread { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border: 1.5px solid #cbd5e1; border-radius: 12px;
	font-size: 16.5px; font-weight: 700; color: #0f172a; cursor: pointer; }
.gd-sgans label:has(input:checked), .gd-sgread:has(input:checked) { border-color: #0d9488; background: #f0fdfa; }
.gd-sgans input, .gd-sgread input { width: 22px; height: 22px; accent-color: #0d9488; flex-shrink: 0; }
.gd-sgread { margin: 0 0 12px; }
.gd-sgpad { position: relative; border: 2px dashed #94a3b8; border-radius: 14px; background: #fff; touch-action: none; overflow: hidden; }
.gd-sgpad canvas { display: block; width: 100%; touch-action: none; cursor: crosshair; }
.gd-sgclr { position: absolute; right: 8px; top: 8px; height: 34px; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff;
	font: inherit; font-size: 14px; font-weight: 700; color: #334155; cursor: pointer; }
.gd-sgdone { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.gd-sgdone > i { font-size: 46px; color: #10b981; }
.gd-sgdone h2 { justify-content: center; margin: 0; }
.gd-sgdone .gd-btn { margin-top: 8px; }
.gd-sglist { display: flex; flex-direction: column; gap: 8px; }
.gd-sglist a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid #99f6e4; border-radius: 12px; background: #f0fdfa;
	color: #1e293b; text-decoration: none; }
.gd-sglist a > i { font-size: 20px; color: #0d9488; }
.gd-sglist b { display: block; font-size: 16px; }
.gd-sglist small { display: block; font-size: 13.5px; color: #475569; }
.gd-sglist em { margin-left: auto; font-style: normal; font-size: 14px; font-weight: 800; color: #0f766e; white-space: nowrap; }
/* 10-28 첫 화면 맨 위 «서명 요청 n건» 띠 */
.gd-sgal { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 14px 16px; border-radius: 16px; background: #0d9488; color: #fff;
	text-decoration: none; box-shadow: 0 6px 18px rgba(13, 148, 136, .28); }
.gd-sgal > i { font-size: 24px; }
.gd-sgal b { display: block; font-size: 16.5px; }
.gd-sgal small { display: block; font-size: 13.5px; color: #ccfbf1; }
.gd-sgal em { margin-left: auto; padding: 7px 12px; border-radius: 999px; background: #fff; color: #0f766e; font-style: normal; font-size: 14px; font-weight: 800; white-space: nowrap; }

/* ══ 10-28 앱 꼴 — 사장님 «최소 이 정도로 어플 느낌 · 케어하자 로고 · 아이콘으로 최대한» (머리 · ☰ 메뉴 판 · 꼬리 · 첫 화면 · 설치 띠) ══ */
html { scroll-behavior: smooth; }
html.gd-lock { overflow: hidden; }
/* 마스터가 «회원 로그인» 으로 보는 동안 머리 위 띠 */
.gd-imp { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #0f172a; color: #fff; font-size: 13.5px; font-weight: 600; }
.gd-imp i { color: #5eead4; }
.gd-imp button { margin-left: auto; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: #fff; color: #0f172a; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; white-space: nowrap; }
/* 머리 */
.gd-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; height: 60px; padding: 0 6px 0 16px; background: #fff; border-bottom: 1px solid #eef1f5; }
.gd-logo { display: inline-flex; align-items: center; gap: 7px; color: #0f172a; text-decoration: none; }
.gd-logo img { width: 30px; height: 30px; }
.gd-logo b { font-size: 20px; font-weight: 900; letter-spacing: -.03em; }
.gd-logo em { font-style: normal; padding: 2px 8px; border-radius: 999px; background: #f0fdfa; color: #0f766e; font-size: 12.5px; font-weight: 800; }
.gd-top__r { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.gd-ib { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: none;
	color: #0f172a; font-size: 22px; text-decoration: none; cursor: pointer; }
.gd-ib:hover { background: #f1f5f9; }
.gd-bell__n { position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.gd-bell__n[hidden] { display: none; }
/* ☰ 메뉴 판 — 아래에서 올라온다 */
.gd-menu { position: fixed; inset: 0; z-index: 60; }
.gd-menu[hidden] { display: none; }
.gd-menu__bg { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); }
.gd-menu__p { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(512px, 100%); max-height: 85vh; overflow: auto;
	padding: 8px 12px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; background: #fff; animation: gdUp .2s ease-out; }
@keyframes gdUp { from { transform: translate(-50%, 30px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.gd-menu__p::before { content: ""; display: block; width: 40px; height: 5px; margin: 2px auto 8px; border-radius: 3px; background: #e2e8f0; }
.gd-menu__me { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; padding: 6px 4px 14px; border-bottom: 1px solid #eef1f5; }
.gd-menu__me > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gd-menu__me b { font-size: 18px; }
.gd-menu__me small { font-size: 14px; color: #475569; font-variant-numeric: tabular-nums; }
.gd-menu__av { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #ccfbf1; color: #115e59; font-size: 19px; font-weight: 800; }
.gd-menu__p a { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 8px; border-radius: 12px; color: #0f172a; font-size: 16.5px; font-weight: 600; text-decoration: none; }
.gd-menu__p a i { width: 26px; text-align: center; font-size: 21px; }
.gd-menu__p a:hover { background: #f8fafc; }
.gd-menu__p a.is-out { color: #b91c1c; }
.gd-menu__p hr { margin: 6px 0; border: 0; border-top: 1px solid #eef1f5; }
/* 꼬리 */
.gd-foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 16px 34px; background: #eceff3; text-align: center; color: #475569; font-size: 13.5px; }
.gd-foot__l { display: flex; gap: 18px; }
.gd-foot__l a { color: #334155; font-size: 14px; text-decoration: none; }
/* 11-07 회사 정보 — 이름표 : 값, 줄마다 가운데 */
.gd-foot__co { display: flex; flex-direction: column; gap: 3px; margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: #475569; word-break: keep-all; }
.gd-foot__co div { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; }
.gd-foot__co dt { font-weight: 700; color: #334155; }
.gd-foot__co dd { margin: 0; }
.gd-foot p { margin: 0; font-size: 12.5px; letter-spacing: .02em; color: #64748b; }
.gd-foot__logo { display: inline-flex; align-items: center; gap: 6px; color: #334155; }
.gd-foot__logo img { width: 22px; height: 22px; }
.gd-foot__logo b { font-size: 16px; font-weight: 900; letter-spacing: -.03em; }
.gd-app.has-fab .gd-foot { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }   /* 설치 띠가 맨 아래 글을 덮지 않게 */
/* 첫 화면 — 회색 인사 띠 */
.gd-wrap--home { padding: 0; gap: 0; }
.gd-hi { padding: 26px 20px 22px; }
.gd-hi h1 { margin: 0 0 16px; font-size: 24px; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.gd-hi__q { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-qb { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border: 1.5px solid #0f172a; border-radius: 10px; background: #fff;
	color: #0f172a; font-size: 15.5px; font-weight: 700; text-decoration: none; }
.gd-qb i { font-size: 18px; }
.gd-qb:active { background: #f1f5f9; }
/* 흰 판 */
.gd-sh { display: flex; flex-direction: column; padding: 4px 0 24px; background: #fff; }
.gd-sh > .gd-msg, .gd-sh > .gd-push { margin: 12px 16px 0; }
/* 아이콘 메뉴 4×3 */
.gd-mn { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 0; margin: 0 12px; padding: 16px 0 18px; border-bottom: 1px solid #eef1f5; }
.gd-mi { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 2px; border-radius: 14px; color: #0f172a; text-align: center; text-decoration: none; }
.gd-mi:active { background: #f1f5f9; }
.gd-mi i { height: 32px; font-size: 30px; line-height: 32px; }
.gd-mi span { font-size: 14px; font-weight: 700; line-height: 1.25; letter-spacing: -.03em; }
.gd-mi.is-soon i { color: #94a3b8; }
.gd-mi.is-soon span { color: #475569; }
.gd-mi em { position: absolute; top: 4px; left: calc(50% + 10px); padding: 0 5px; border-radius: 6px; background: #f1f5f9; color: #475569; font-style: normal; font-size: 11px; font-weight: 800; line-height: 17px; }
.gd-mi__n { position: absolute; top: 3px; left: calc(50% + 8px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 11.5px; font-weight: 800; line-height: 19px; }
.gd-mi__n[hidden] { display: none; }
/* 구역 */
.gd-sec { padding: 20px 16px 6px; }
#gdSign, #gdMine, #gdReqSec { margin-top: 18px; border-top: 8px solid #f4f6fb; scroll-margin-top: 64px; }
.gd-sec__h { display: flex; align-items: center; margin-bottom: 12px; }
.gd-sec__h h2 { display: flex; align-items: baseline; gap: 6px; margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.gd-sec__h h2 small { font-size: 14px; font-weight: 700; color: #475569; }
.gd-sec__h a { margin-left: auto; font-size: 14px; font-weight: 600; color: #475569; text-decoration: none; }
.gd-sec__h a i { font-size: 12px; }
/* 새로 온 소식 */
.gd-nw { list-style: none; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; }
.gd-nw a { display: flex; align-items: center; gap: 10px; min-height: 42px; color: #0f172a; text-decoration: none; }
.gd-nw a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; }
.gd-nw a.is-new span { font-weight: 700; }
.gd-nw a small { flex: none; font-size: 13px; color: #64748b; }
.gd-nw__e { padding: 8px 0 12px; font-size: 14.5px; color: #475569; }
.gd-tag { flex: none; padding: 3px 8px; border-radius: 6px; background: #eef1f5; color: #334155; font-style: normal; font-size: 12.5px; font-weight: 700; }
.gd-tag.is-ride { background: #f0fdfa; color: #0f766e; }
.gd-tag.is-news { background: #eff6ff; color: #1d4ed8; }
.gd-tag.is-record { background: #fef3c7; color: #92400e; }
.gd-tag.is-link { background: #f5f3ff; color: #6d28d9; }
/* 띠 광고 — 옆 장이 살짝 보이게 */
.gd-bn { margin: 14px 0 4px; }
.gd-bn__t { display: flex; gap: 10px; padding: 0 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; scrollbar-width: none; }
.gd-bn__t::-webkit-scrollbar { display: none; }
.gd-bn__s { position: relative; flex: 0 0 100%; display: flex; align-items: center; min-height: 132px; padding: 22px; overflow: hidden; border-radius: 16px;
	color: #fff; text-decoration: none; scroll-snap-align: center; }
.gd-bn__s span { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.gd-bn__s b { font-size: 19px; font-weight: 800; line-height: 1.4; letter-spacing: -.02em; }
.gd-bn__s small { font-size: 14px; font-weight: 700; opacity: .92; }
.gd-bn__s > i { position: absolute; right: -4px; bottom: -16px; font-size: 112px; opacity: .22; transform: rotate(-8deg); }
.gd-bn__s.is-a { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.gd-bn__s.is-b { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.gd-bn__s.is-c { background: linear-gradient(135deg, #c2410c, #f59e0b); }
.gd-bn__d { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.gd-bn__d i { width: 6px; height: 6px; border-radius: 3px; background: #cbd5e1; transition: width .2s, background .2s; }
.gd-bn__d i.is-on { width: 18px; background: #0f172a; }
/* 짧은 안내 한 줄 («곧» 칸 등) */
.gd-toast { position: fixed; left: 50%; bottom: calc(118px + env(safe-area-inset-bottom, 0px)); z-index: 70; max-width: calc(min(512px, 100vw) - 48px); padding: 12px 18px; border-radius: 12px;
	background: rgba(15, 23, 42, .92); color: #fff; font-size: 15px; font-weight: 600; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .2s, transform .2s; }
.gd-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
/* 설치 띠 (guardian.js drawFab) — 10-28 글래스모피즘 · 아이폰 꼴: 1행 [아이콘 · 제목] · 2행 설명 · 3행 [설치] — 폰 틀(512) 안 아래 · 설치 · 앱으로 열면 없음 · 닫기 없음 */
.gd-fab { position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50; transform: translateX(-50%);
	display: flex; flex-direction: column; gap: 10px; width: calc(min(512px, 100vw) - 24px); padding: 16px 16px 14px; border-radius: 26px;
	background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, .65); box-shadow: 0 18px 50px rgba(15, 23, 42, .22), inset 0 1px 0 rgba(255, 255, 255, .8);
	color: #0f172a; animation: gdFabIn .3s cubic-bezier(.22, .8, .24, 1); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .gd-fab { background: rgba(255, 255, 255, .96); } }
@keyframes gdFabIn { from { opacity: 0; transform: translate(-50%, 16px) scale(.98); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
.gd-fab__r1 { display: flex; align-items: center; gap: 12px; }
.gd-fab__ic { flex: none; width: 44px; height: 44px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, .12); }
.gd-fab__r1 b { flex: 1; min-width: 0; font-size: 17px; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.gd-fab__d { margin: 0; font-size: 14.5px; line-height: 1.5; color: #334155; }
.gd-fab__go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border: 0; border-radius: 14px;
	background: #0d9488; color: #fff; font: inherit; font-size: 16.5px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 16px rgba(13, 148, 136, .35); }
.gd-fab__go:hover { background: #0f766e; }
.gd-fab__go:active { transform: scale(.98); }
.gd-app.has-fab .gd-foot { padding-bottom: calc(190px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) { .gd-fab, .gd-menu__p { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 380px) { .gd-mi span { font-size: 13px; } .gd-mi i { font-size: 27px; } .gd-hi h1 { font-size: 22px; } }

/* 10-28 «어르신 연결 신청» 전체 판 — 연결된 어르신이 있을 때 [어르신 연결] 로 연다 · 오른쪽에서 왼쪽으로 (guardian.js paneOpen) */
.gd-pane { position: fixed; inset: 0; z-index: 65; overflow: hidden; }
.gd-pane[hidden] { display: none; }
.gd-pane__p { position: absolute; top: 0; bottom: 0; left: 50%; width: min(512px, 100%); margin-left: calc(min(512px, 100%) / -2); display: flex; flex-direction: column;
	background: #fff; transform: translateX(100vw); transition: transform .28s cubic-bezier(.22, .8, .24, 1); box-shadow: -12px 0 32px rgba(15, 23, 42, .08); }
.gd-pane__h .gd-link { margin-left: auto; }
.gd-pane__h .gd-link + .gd-ib, .gd-pane__h .gd-link[hidden] + .gd-ib { margin-left: 0; }
.gd-pane__h b + .gd-link[hidden] + .gd-ib { margin-left: auto; }
.gd-inbox .gd-n:first-child { border-top: 0; }
.gd-pane.is-on .gd-pane__p { transform: none; }
.gd-pane__h { flex: none; display: flex; align-items: center; gap: 4px; height: 60px; padding: 0 12px 0 6px; border-bottom: 1px solid #eef1f5; }
.gd-pane__h b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.gd-pane__b { flex: 1; overflow-y: auto; padding: 20px 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) { .gd-pane__p { transition: none; } }

/* 10-28 어르신 카드 머리 — 1줄 [이름 · 상태], 2줄 [기관] (guardian.js card) */
.gd-p__h { align-items: flex-start; }
.gd-p__n { flex: 1; gap: 4px; }
.gd-p__t { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gd-p__t b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18.5px; }
.gd-p__t .gd-st { margin-left: auto; }
.gd-p__o { display: flex; align-items: flex-start; gap: 6px; font-size: 14.5px; line-height: 1.45; color: #334155; word-break: keep-all; overflow-wrap: anywhere; }
.gd-p__o i { flex: none; margin-top: 3px; font-size: 13px; color: #64748b; }
.gd-p__av { margin-top: 2px; }
.gd-kv { grid-template-columns: 104px 1fr; }

/* 10-28 하위 화면 머리 (받은 알림 · 알림 설정) — [← 제목 … 단추] */
.gd-ph { display: flex; align-items: center; gap: 4px; margin: -4px -4px 0; }
.gd-ph h1 { flex: 1; margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.gd-ph .gd-link { margin-left: 0; }
.gd-card--flat { padding: 6px 14px; }

/* 11-02 로그인 전 첫 화면 — 인사 자리의 로그인 안내 카드 [회원가입 | 로그인] (index.php guest) */
.gd-hi--guest { padding: 18px 16px 6px; }
.gd-gate { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 18px 18px; border: 1px solid #ccfbf1; border-radius: 18px; background: linear-gradient(180deg, #f0fdfa, #fff); text-align: center; box-shadow: 0 6px 18px rgba(15,118,110,.08); }
.gd-gate__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px; border-radius: 50%; background: #ccfbf1; color: #0f766e; font-size: 23px; }
.gd-gate b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #0f172a; }
.gd-gate p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.5; color: #334155; word-break: keep-all; }
.gd-gate__b { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.gd-gate__b .gd-btn { flex: 1 1 130px; height: 50px; font-size: 16.5px; }
