/* layouts/sidebar-v2.css — 새 메뉴(정식) 옷 (2026-10-08, 짝: sidebar-v2.php · sidebar-v2.js)
 *   test01(home/menu-test/)에서 사장님과 다듬은 꼴 그대로. 요양원 화면(/daycare-)은 이 메뉴가 정식, 시험 화면(test01 · /home/test/ · /staff-management/test/)도 이 옷 한 벌을 입는다.
 *   미색 판 · 메뉴 줄 = 아이콘 칸(42) + 이름 · 설명 · 고른 줄 청록 · 머리 = 단색 CI + «케어하자» · 업무 갈래 셋(마스터만).
 *   PC 282 · 접으면 78(자리 그대로 · 글자만 흐려짐, html.sb2-mini) · 폰 302 밀려 나오는 판 */
:root {
	--sb2-bg: #f9f8f4;
	--sb2-ink: #2b2a26;
	--sb2-sub: #7a776d;
	--sb2-hover: #efede5;
	--sb2-line: #e8e5dc;
	--sb2-w: 260px;   /* 10-08 사장님 «PC 288px» → 같은 날 «PC · 모바일 6px 줄이자» 282 → 10-10 «v2 메뉴 너비 4px 줄이자» 278 → 10-12 «너비 12px 줄이자» 266 → 11-02 «270» → 같은 날 «관리자 포함 260» (세 사이트 같이) */
}
/* 본문 자리 — 옛 사이드바 자리(--sb-w, layouts/sidebar.css .app-layout)를 이 판 폭으로. html:root 라 뒤에 실리는 sidebar.css 의 :root(244px)보다 앞선다 */
html:root { --sb-w: var(--sb2-w); --mobile-bar-h: 58px; }
html.sb2-mini:root { --sb2-w: 78px; }   /* 10-08 사장님 «접었을 때 68px» → 아이콘 칸 42 로 78(칸이 왼쪽 18 그대로 판 가운데 — 접어도 아이콘이 움직이지 않는다) */
.app-layout { transition: margin-left .28s cubic-bezier(.4, 0, .2, 1); }
html.sb2-still .app-layout, html.sb2-still .sb2 * { transition: none !important; }   /* 첫 그림 — 접은 판을 여는 순간 움직이지 않게(sidebar-v2.php 머리 스크립트) */

/* 화면 쪽 글로벌 옷(a · button 글꼴 · 밑줄)이 메뉴에 묻지 않게 */
.sb2 { font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif; color: #1f2937; letter-spacing: -.2px; line-height: normal; -webkit-font-smoothing: antialiased; }
.sb2 *, .sb2 *::before, .sb2 *::after { box-sizing: border-box; }
.sb2 :is(a, button) { font-family: inherit; letter-spacing: inherit; line-height: inherit; }
.sb2 a, .sb2 a:hover { color: inherit; text-decoration: none; }

/* ── 판 ── */
.sb2-sb { position: fixed; top: 0; left: 0; bottom: 0; z-index: 1000; width: var(--sb2-w); height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: var(--sb2-bg); border-right: 1px solid var(--sb2-line); color: var(--sb2-ink); transition: width .28s cubic-bezier(.4, 0, .2, 1); }
.sb2-top { display: flex; align-items: center; flex-shrink: 0; height: 58px; padding: 0 12px 0 18px; overflow: hidden; }   /* 왼쪽 18 = 메뉴 아이콘 칸과 같은 줄 · 높이 58 = 폰 위 줄(--mobile-bar-h)과 같게(10-08 사장님 «PC 도 58px») */
.sb2-logo { display: none; font-weight: 800; font-size: 22px; letter-spacing: 2px;   /* 폰 위 줄 글자 — 10-09 사장님 «햄버거 오른쪽 케어하자 텍스트 삭제» 로 숨김 */ color: #1f1e1b; white-space: nowrap; }
.sb2-ic { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #57554d; font-size: 21px; cursor: pointer; }
.sb2-ic:hover { background: var(--sb2-hover); color: var(--sb2-ink); }
/* 접기 단추 = 단색 CI + «케어하자»(10-08 사장님 «자연스럽게 케어하자 텍스트 — 누르면 접히면서 텍스트는 사라지게, 효과가 중요»).
   CI 칸은 메뉴 아이콘 칸과 같은 42 · 같은 자리라 접어도 제자리, 글자만 흐려지며 왼쪽으로 살짝 빠진다(아래 «접은 판») */
.sb2-brand { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0; border: 0; background: transparent; color: #1e3a36; cursor: pointer; text-align: left; }
.sb2-brand__ci { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; transition: background .15s; }
.sb2-brand:hover .sb2-brand__ci { background: var(--sb2-hover); }
.sb2-brand__t { font-size: 20px; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; }
.sb2-ci { display: block; width: 24px; height: 24px; background: url(/img/logo2.png) center / contain no-repeat; }   /* 10-09 사장님 «색상 있는 CI 로» — 한 색 마스크 → 로고 그림 그대로 */
.sb2-mode { margin-left: 8px; flex-shrink: 0; max-width: 120px; overflow: hidden; display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: #efede6; border: 1px solid var(--sb2-line); }
.sb2-mode button { width: 30px; height: 26px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #8a877c; font-size: 13px; cursor: pointer; }
.sb2-mode button.is-on { background: #fff; color: var(--sb2-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
/* 10-08 [업무 메뉴][AI] — 켜진 쪽만 흰 알약. AI 를 켜면(html.sb2-ai) 메뉴 목록 대신 AI 목록 */
.sb2-mode button { font-size: 14px; }
.sb2-mode button[data-sb2-mode="menu"] { background: #fff; color: var(--sb2-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.sb2-mode button[data-sb2-mode="ai"]:not(:disabled):hover { color: var(--sb2-ink); }
.sb2-mode button:disabled { opacity: .45; cursor: default; }
/* 11-02 [AI] 단추 = 아이콘 대신 글자 «AI»(사장님) — 아이콘과 같은 무게로 보이게 굵고 좁게 */
.sb2-mode__ai { display: inline-block; font-family: "Pretendard", "Inter", system-ui, sans-serif; font-size: 12.5px; font-weight: 900; line-height: 1; letter-spacing: -.2px; }
@media screen and (max-width: 1024px), print and (max-width: 768px) { .sb2-mbar .sb2-mode__ai { font-size: 15px; } }
/* 11-02 사장님 «클로드 쪽이 더 고급 — 알약 패딩 차이» = 바깥 = 흰 바탕 · 얇은 테두리 · 안쪽 여백 2px / 켜진 단추 = 그림자 없이 연한 칠 · 꺼진 단추 = 진한 회색 */
.sb2-mode { gap: 1px; padding: 2px; border-radius: 9px; background: #efede6; border-color: #e6e3da; }   /* 11-02 꺼진 쪽 = 회색 바탕 · 켜진 쪽 = 흰 칸(사장님 «반대로») */
.sb2-mode button { width: 32px; height: 28px; border-radius: 7px; font-size: 15px; color: #a8a59b; transition: background .12s, color .12s; }
.sb2-mode button:not(:disabled):hover { color: var(--sb2-ink); }
.sb2-mode button.is-on, .sb2-mode button[data-sb2-mode="menu"] { background: #fff; color: var(--sb2-ink); box-shadow: 0 0 0 1px #e3e0d6, 0 1px 2px rgba(0, 0, 0, .05); }
html.sb2-ai .sb2[data-ai] .sb2-mode button[data-sb2-mode="menu"] { background: transparent; color: #a8a59b; box-shadow: none; }   /* 11-02 꺼진 쪽 = 연한 회색(사장님) */
html.sb2-ai .sb2[data-ai] .sb2-mode button[data-sb2-mode="ai"] { background: #fff; color: #0f766e; box-shadow: 0 0 0 1px #e3e0d6, 0 1px 2px rgba(0, 0, 0, .05); }
@media screen and (max-width: 1024px), print and (max-width: 768px) { .sb2-mbar .sb2-mode__ai { font-size: 16px; } }
.sb2-mode__ai { font-size: 14px; }   /* 11-02 사장님 «단추 크기는 오히려 다 크게» — PC 32×28(사장님) · 폰 46×36 */
html.sb2-ai .sb2[data-ai] .sb2-list:not(.sb2-list--ai) { display: none !important; }
html.sb2-ai .sb2[data-ai] .sb2-list--ai { display: flex !important; }
.sb2-list--ai .sb2-row__i { color: #0f766e; }
/* 10-08 AI 목록 — 최근 대화(메뉴 줄과 같은 꼴 · 날짜 무리 머리 · 지우기는 줄에 올리면) */
.sb2-sec { padding: 14px 12px 5px; font-size: 13.5px; font-weight: 700; color: #57554d; }
.sb2-threads { display: flex; flex-direction: column; gap: 2px; }
.sb2-row__t b { overflow: hidden; text-overflow: ellipsis; }
.sb2-row--th .sb2-row__i { font-size: 17px; }
/* 지우기 — 줄에 올리면 오른쪽 끝에 떠오른다(자리를 차지하지 않아 제목이 끝까지 보인다) */
.sb2-th__del { position: absolute; right: 8px; top: 50%; margin-top: -17px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #eef3f2; color: #57554d; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .12s, background .12s, color .12s; }
.sb2-row--th.is-on .sb2-th__del { background: #e3f3ef; }
.sb2-row--th:hover .sb2-th__del, .sb2-row--th:focus-within .sb2-th__del { opacity: 1; pointer-events: auto; }
.sb2-th__del:hover { background: #fff; color: #dc2626; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
@media (hover: none) { .sb2-th__del { position: static; margin: 0; flex-shrink: 0; background: none; opacity: .8; pointer-events: auto; } }   /* 폰 — 올릴 수 없으니 늘 보인다 */
.sb2-th-msg { margin: 0; padding: 12px; font-size: 13.5px; line-height: 1.55; color: #57554d; white-space: normal; }
.sb2-find { padding: 2px 4px 6px; }
.sb2-find[hidden] { display: none; }
.sb2-find input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #d9d5c9; border-radius: 10px; background: #fff; font: inherit; font-size: 15px; color: var(--sb2-ink); outline: none; }
.sb2-find input:focus { border-color: #1f9a84; box-shadow: 0 0 0 3px rgba(31, 154, 132, .15); }
.sb2 button.sb2-row { font: inherit; color: inherit; }
.sb2-row[data-sb2-find][aria-expanded="true"] { background: var(--sb2-hover); }
html.sb2-mini .sb2-sec, html.sb2-mini .sb2-threads, html.sb2-mini .sb2-find { display: none; }   /* 접은 판 — 아이콘 줄(새 대화 · 찾기)만 */

.sb2-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; padding: 6px 8px 4px;   /* 창이 낮으면 메뉴만 스크롤, 내 정보는 늘 아래 */ display: flex; flex-direction: column; gap: 2px; }
/* 메뉴 줄 — 10-08 사장님 «아이콘 칸 · 이름 + 설명 한 줄 꼴이 더 깔끔». 이어서 «아이콘 · 제목 · 설명 더 크게, 설명은 검정에 가깝게» → 칸 42 · 아이콘 19 · 이름 16.5 · 설명 13.5 */
.sb2-row { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 11px; background: transparent; text-align: left; cursor: pointer; white-space: nowrap; }
.sb2-row:hover { background: #eef3f2; }
.sb2-row.is-on { background: #e3f3ef; }
.sb2-row__i { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid #e8edf0; color: #1e3a36; font-size: 19px; }
.sb2-row.is-on .sb2-row__i { background: #1f9a84; border-color: #1f9a84; color: #fff; }
.sb2-row__t { flex: 1; min-width: 0; overflow: hidden; display: flex; flex-direction: column; }
.sb2-row__t b { font-size: 16.5px; font-weight: 700; color: #0f172a; }
.sb2-row__t small { margin-top: 3px; font-size: 13.5px; color: #1e293b;   /* 10-08 «고령층 — 조금 더 검정에 가깝게» */ overflow: hidden; text-overflow: ellipsis; }
.sb2-list { display: flex; flex-direction: column; gap: 2px; }
.sb2-list[hidden] { display: none; }
/* 10-21 요양원 «구분선 아래 접기» — 손 = sidebar-v2.js [data-sb2-fold]. 접히면 .sb2-row--fold 를 숨긴다(찾는 중 .sb2-q 엔 모두 보임).
   접힌 줄에 배지(급여제공 · 기관평가)가 있으면 구분선 끝에 빨간 점 */
.sb2-hr { flex-shrink: 0; height: 1px; margin: 7px 12px; background: #d5dde1; }   /* 10-21 그냥 구분선(이달의 관리 | 요양보호사) */
.sb2.sb2-q .sb2-hr { display: none; }
.sb2-sep { display: flex; align-items: center; gap: 8px; width: 100%; margin: 6px 0; padding: 8px 12px; border: 0; border-radius: 10px; background: none; font: inherit; color: #475569; cursor: pointer; white-space: nowrap; }
.sb2-sep:hover { background: #eef3f2; color: #0f172a; }
.sb2-sep__l { flex: 1; min-width: 12px; height: 1px; background: #d5dde1; }
.sb2-sep__t { font-size: 13.5px; font-weight: 700; }
.sb2-sep i { font-size: 12px; transition: transform .2s ease; }
.sb2-sep[aria-expanded="true"] i { transform: rotate(180deg); }
.sb2-sep__dot { display: none; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.sb2-list.is-folded:has(> .sb2-row--fold .sb2-badge:not([hidden])) .sb2-sep__dot { display: block; }
.sb2-list.is-folded > .sb2-row--fold { display: none; }
.sb2.sb2-q .sb2-list.is-folded > .sb2-row--fold { display: flex; }
.sb2.sb2-q .sb2-sep { display: none; }
html.sb2-mini .sb2-sep { padding: 8px 6px; }
html.sb2-mini .sb2-sep__t { display: none; }
/* 숫자 배지 — 메뉴 줄에선 아이콘 칸 오른쪽 위(10-12 사장님 «메뉴가 열린 상태에도 카운트 배지를 아이콘 위치로» — 접은 판과 같은 자리.
   10-08 엔 펼치면 오른쪽 끝이었다). 아래 «내 정보» 펼침 창 줄은 그대로 오른쪽 끝(.sb2-pop__r) */
.sb2-badge { flex-shrink: 0; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: #ef4444; color: #fff; font-style: normal; font-size: 12.5px; font-weight: 800; transition: opacity .22s ease .1s; }
.sb2-badge[hidden] { display: none; }
.sb2-row > .sb2-badge { position: absolute; top: 4px; right: calc(100% - 58px);   /* 오른쪽 끝을 아이콘 칸 모서리(줄 여백 10 + 칸 42 + 6)에 — 숫자가 길어지면 아이콘 쪽으로 늘어 제목 글자를 안 덮는다 */ min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; box-shadow: 0 0 0 2px var(--sb2-bg); }

/* 펼침 창(내 정보) */
.sb2-pop { position: absolute; z-index: 60; min-width: 220px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--sb2-line); box-shadow: 0 12px 32px -8px rgba(40, 35, 20, .22); }
.sb2-pop[hidden] { display: none; }
.sb2-pop--me { left: 8px; right: 8px; bottom: calc(100% + 6px); }
.sb2-pop__r { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px; border-radius: 8px; font-size: 14.5px; color: var(--sb2-ink); }
.sb2-pop__r i { width: 24px; font-size: 21px; text-align: center; color: #5f5c52; }
.sb2-pop__r:hover, .sb2-pop__r.is-on { background: var(--sb2-hover); }
.sb2-pop__r .sb2-badge { margin-left: auto; position: static; }
.sb2-pop hr { border: 0; border-top: 1px solid var(--sb2-line); margin: 5px 4px; }

/* 아래 내 정보 */
.sb2-me { position: relative; margin-top: auto; padding: 8px; border-top: 1px solid var(--sb2-line); }
.sb2-me__b { display: flex; align-items: center; gap: 10px; width: 100%; overflow: hidden; white-space: nowrap;   /* 10-08 접으면 이름이 한 글자씩 줄바꿈돼 높이가 늘던 것 */ padding: 8px 8px 8px 14px;   /* 왼쪽 14 — 접어도 동그라미가 제자리(판 가운데) */ border: 0; border-radius: 10px; background: transparent; cursor: pointer; text-align: left; }
.sb2-me__b:hover, .sb2-me__b[aria-expanded="true"] { background: var(--sb2-hover); }
.sb2-av { position: relative; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #2b2a26; color: #f9f8f4; font-size: 14px; font-weight: 700; }
.sb2-av__dot { position: absolute; top: -1px; right: -1px; width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 2px var(--sb2-bg); }   /* 읽지 않은 1:1 문의 답 */
.sb2-me__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sb2-me__t b { font-size: 14px; font-weight: 600; color: var(--sb2-ink); }
.sb2-me__t small { font-size: 12px; color: var(--sb2-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb2-me__c { font-size: 12px; color: var(--sb2-sub); }

/* ── 접은 판(아이콘 줄) — 10-08 «효과가 중요»: 자리를 옮기지 않는다. 폭만 줄고(.28s) 글자들은 먼저 흐려지며 왼쪽으로 빠진다.
   펼칠 때는 폭이 먼저 열리고 글자가 조금 늦게(.1s) 떠오른다 — 같은 속성의 «들어갈 때 · 나올 때» 빠르기를 둘로 나눔 ── */
.sb2-brand__t, .sb2-row__t, .sb2-me__t, .sb2-me__c { transition: opacity .22s ease .1s, transform .28s cubic-bezier(.4, 0, .2, 1); }
.sb2-mode { transition: max-width .28s cubic-bezier(.4, 0, .2, 1), opacity .22s ease .1s, margin .28s ease, padding .28s ease, border-width .28s ease; }
html.sb2-mini .sb2-brand__t, html.sb2-mini .sb2-row__t, html.sb2-mini .sb2-me__t, html.sb2-mini .sb2-me__c { opacity: 0; transform: translateX(-8px); pointer-events: none; transition: opacity .12s ease, transform .22s ease; }
html.sb2-mini .sb2-mode { max-width: 0; margin-left: 0; padding-left: 0; padding-right: 0; border-width: 0; opacity: 0; pointer-events: none;
	transition: max-width .28s cubic-bezier(.4, 0, .2, 1), opacity .12s ease, margin .28s ease, padding .28s ease, border-width .28s ease; }
html.sb2-mini .sb2-pop--me { left: 8px; right: auto; }
@media (prefers-reduced-motion: reduce) { .app-layout, .sb2-sb, .sb2-brand__t, .sb2-row__t, .sb2-me__t, .sb2-me__c, .sb2-mode { transition: none !important; } }

.sb2-mbar { display: none; }
.sb2-dim { display: none; }
.sb2-top__m, .sb2-msearch { display: none; }   /* 판 머리 찾기 · 닫기 + 찾기 칸 — 폰만(10-09) */
.sb2 .sb2-off { display: none !important; }   /* 찾기에 안 걸린 메뉴 줄 */

/* ── 폰 — 왼쪽에서 밀려 나오는 판 ── */
@media screen and (max-width: 1024px), print and (max-width: 768px) {
	html:root { --sb2-w: min(302px, 86vw); }   /* 10-08 사장님 «모바일 308px» → «6px 줄이자» 302 — 폰은 접지 않는다(sidebar-v2.js) */
	.sb2-sb { z-index: 1004; transform: translateX(-102%); transition: transform .26s ease, box-shadow .26s ease; }
	.sb2.is-open .sb2-sb { transform: none; box-shadow: 8px 0 30px -12px rgba(0, 0, 0, .25); }   /* 그림자는 열렸을 때만 — 닫힌 판의 그림자가 화면 왼쪽 끝에 비치던 것 */
	.sb2-dim { position: fixed; inset: 0; z-index: 1003; background: rgba(30, 28, 22, .35); opacity: 0; pointer-events: none; transition: opacity .2s; display: block; }
	.sb2.is-open .sb2-dim { opacity: 1; pointer-events: auto; }
	.sb2-mbar { position: fixed; left: 0; right: 0; top: 0; z-index: 1001;   /* 옛 폰 위 줄(.sb-mobile-bar)과 같은 층 — 그 위에 뜨는 판들(daycare-base.css 1002 등)이 그대로 위 */
		display: flex; align-items: center; gap: 8px; height: var(--mobile-bar-h); padding: 0 10px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid #f0eee8; }
	.sb2-row { padding: 12px 10px; }
	.sb2-row > .sb2-badge { top: 6px; }   /* 줄 위 여백 12 — 아이콘 칸 모서리에 같은 만큼 걸치게 */
	/* 폰 위 줄 오른쪽 — PC 머리와 같은 [업무 메뉴][AI] 묶음(10-08). 손가락에 맞게 조금 크게 */
	.sb2-mbar .sb2-mode { margin-left: auto; max-width: none; padding: 2px; }
	.sb2-mbar .sb2-mode button { width: 46px; height: 36px; font-size: 17px; border-radius: 8px; }   /* 11-02 크게 */
	/* 10-09 사장님 «GPT 메뉴처럼 그냥 헤더쪽 덮어주게 — 로고랑 검색 X 버튼» (10-08 «위 줄 밑에서부터 · 판 머리 숨김» 을 뒤집음).
	   판은 화면 맨 위부터(위 줄을 덮는다) · 판 머리 = CI · 케어하자 | 찾기 · 닫기. [업무 메뉴][채팅] 묶음은 위 줄에만 둔다.
	   닫기 = 판 머리 ✕ · 어두운 곳 · CI · 메뉴 고르기 · 뒤로가기(Esc) */
	.sb2-sb > .sb2-top { gap: 2px; padding: 0 8px 0 14px; }
	.sb2-sb > .sb2-top .sb2-mode { display: none; }
	.sb2-top__m { display: grid; width: 42px; height: 42px; font-size: 20px; border-radius: 10px; }
	.sb2-msearch:not([hidden]) { display: block; position: relative; flex-shrink: 0; margin: 0 12px 4px; }
	.sb2-msearch i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 15px; color: var(--sb2-sub); pointer-events: none; }
	.sb2-msearch input { width: 100%; height: 44px; padding: 0 12px 0 38px; border: 1px solid #d9d5c9; border-radius: 12px; background: #fff; font: inherit; font-size: 16px;   /* 16 아래면 아이폰이 화면을 키운다 */ color: var(--sb2-ink); outline: none; -webkit-appearance: none; appearance: none; }
	.sb2-msearch input:focus { border-color: #1f9a84; box-shadow: 0 0 0 3px rgba(31, 154, 132, .15); }
	.sb2-nav { padding-top: 4px; }
	.sb2-mbar [data-sb2-open] .sb2-ic__x, .sb2.is-open .sb2-mbar [data-sb2-open] .sb2-ic__m { display: none; }
	.sb2.is-open .sb2-mbar [data-sb2-open] .sb2-ic__x { display: inline-block; }
}
@media print { .sb2 { display: none !important; } }

/* 10-09 폰 위 줄 카메라(요양원 수급자 QR 스캔) — 햄버거 바로 오른쪽, PC 위 줄은 없으니 폰만 */
.sb2-mbar .sb2-cam { font-size: 19px; }

/* 10-22 사장님 «방문요양이나 요양원이나 (밑줄 탭) 헤더가 있다면 모두 최소 너비 100px» — 화면 맨 위 글자 탭 + 청록 밑줄 탭 한 곳에서.
   PC(769px↑)만 — 폰은 탭이 많으면 넘치니 지금 그대로. 글자는 칸 가운데. 새 머리 탭을 만들면 여기 한 줄 더한다.
   html body 를 앞에 붙인 것은 화면 CSS(#stwDetailHead .stw-tab { min-width: 0 } 등)보다 세게 하려고 */
@media screen and (min-width: 1025px), print and (min-width: 769px) {
	html body #stwDetailHead .stw-tab,                       /* 직원 관리 상세(두 사이트) */
	html body .rcp-tab,                                       /* 방문요양 수급자 관리 상세 */
	html body .dcr-tab,                                       /* 요양원 수급자 관리 상세 */
	html body .bp-tab,                                        /* 방문요양 급여제공계획 */
	html body .ca-wrap > .ca-tabs .ca-tab,                    /* 인지활동 */
	html body .cps-tabs--top .cps-tab,                        /* 본인부담금 결산 */
	html body .fac-subtabs--top .fac-subtab,                  /* 급여 및 회계 */
	html body .ev-page > .doc-tabs-wrap .doc-tab,             /* 기관평가(두 사이트) */
	html body .fc-page > .doc-tabs-wrap .doc-tab,             /* 요양원 기관시설 관리 */
	html body .pp-page > .doc-tabs-wrap .doc-tab,             /* 요양원 급여제공계획 */
	html body .ip-page .doc-tab,                              /* 요양원 점검 관리 */
	html body.mp-top #mpSideNav .mp-side-nav__item,           /* 방문요양 마이페이지 */
	html body.mp-dc #mpSideNav .mp-side-nav__item,            /* 요양원 마이페이지 */
	html body .dcct__tab,                                     /* 요양원 급여제공 머리 */
	html body .dcct + .rc-split #dnTabs .dn-tab,              /* 요양원 급여제공 상세 */
	html body .dj-tabs__tab,                                  /* 요양원 직종 메뉴 */
	html body .dhv2-tab,                                      /* 요양원 홈 */
	html body .dpv2 .dps-ptab,                                /* 요양원 일정 계획 */
	html body .dcp-wrap > .dcp-tabs .dcp-tab {                /* 요양원 본인부담금 */
		min-width: 100px; justify-content: center; text-align: center;
	}
	/* 11-03 사장님 «마이페이지 탭 최소 너비 조금 줄이자» — 위 100px 에 좌우 여백 14px 씩이 더해져 실제 128px 이었다 → 여백을 100 안에 넣어 실제 100px(글이 길면 그만큼) */
	html body.mp-top #mpSideNav .mp-side-nav__item,
	html body.mp-dc #mpSideNav .mp-side-nav__item { box-sizing: border-box; padding-left: 12px; padding-right: 12px; }
}
/* 10-24 동그라미 프로필 = 안 읽은 알림 수(sidebar-v2.php sb2_alert_unread · 마이페이지 alerts.js 가 읽으면 고친다) */
.sb2-av__n { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; background: #ef4444; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px var(--sb2-bg); }
.sb2-av__n[hidden], .sb2-av__dot[hidden] { display: none; }

/* ── 10-27 펼침 줄(주야간 홈 — 기관장) = sidebar-v2.php sb2_grp · 손 sidebar-v2.js [data-sb2-grp].
   사장님 «직종 메뉴는 홈에 통합 · 홈 끝에 아래 화살표 모양 디자인 잘 · 홈 누르면 기관장은 아래로 쭉 열리게».
   머리 줄 끝 = 동그라미 ▾ (열리면 청록 · 뒤집힘) · 아래 줄 = 왼쪽 선 하나에 매달린 작은 줄 · 열고 닫기는 높이 0fr ↔ 1fr ── */
.sb2-grp { display: flex; flex-direction: column; gap: 2px; }
.sb2-grp__chev { flex-shrink: 0; width: 30px; height: 30px; margin-left: 4px; border-radius: 50%; display: grid; place-items: center;
	background: #fff; border: 1px solid #d5e2de; color: #1e3a36; font-size: 12.5px;
	transition: transform .28s cubic-bezier(.4, 0, .2, 1), background .15s, border-color .15s, color .15s, opacity .22s ease .1s; }
.sb2-grp__chev i { transition: transform .28s cubic-bezier(.4, 0, .2, 1); }
.sb2-row--grp:hover .sb2-grp__chev { border-color: #1f9a84; color: #1f9a84; }
.sb2-grp.is-open > .sb2-row--grp .sb2-grp__chev { background: #1f9a84; border-color: #1f9a84; color: #fff; box-shadow: 0 2px 6px -2px rgba(31, 154, 132, .55); }
.sb2-grp.is-open > .sb2-row--grp .sb2-grp__chev i { transform: rotate(180deg); }
.sb2-row--grp:focus-visible { outline: 2px solid #1f9a84; outline-offset: -2px; }
.sb2-sub { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .28s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .28s; }
.sb2-grp.is-open > .sb2-sub { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .28s cubic-bezier(.4, 0, .2, 1), visibility 0s; }
.sb2-sub__in { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 2px; margin-left: 30px; padding-left: 8px; border-left: 2px solid #d5e2de; }
.sb2-row--sub { padding: 7px 8px; gap: 10px; }
.sb2-row--sub .sb2-row__i { width: 36px; height: 36px; border-radius: 10px; font-size: 16.5px; }
.sb2-row--sub .sb2-row__t b { font-size: 15.5px; }
.sb2-row--sub .sb2-row__t small { margin-top: 2px; font-size: 13px; }
.sb2-row--sub > .sb2-badge { right: calc(100% - 50px); }
/* 찾는 중엔 펼친 채로(아래 줄도 거른다) · 접은 판(아이콘 줄)은 선 · 들여쓰기 · ▾ 없이 */
.sb2.sb2-q .sb2-sub { grid-template-rows: 1fr; visibility: visible; }
.sb2.sb2-q .sb2-grp__chev { display: none; }
html.sb2-mini .sb2-grp__chev { opacity: 0; pointer-events: none; transition: opacity .12s ease; }
html.sb2-mini .sb2-sub__in { margin-left: 0; padding-left: 0; border-left: 0; }
html.sb2-mini .sb2-row--sub { padding: 10px; }
@media screen and (max-width: 1024px), print and (max-width: 768px) { .sb2-row--sub { padding: 9px 8px; } }
@media (prefers-reduced-motion: reduce) { .sb2-sub, .sb2-grp__chev, .sb2-grp__chev i { transition: none !important; } }

/* 11-12 무료 플랜 — 플랜 밖 메뉴 줄 끝 자물쇠(줄은 그대로 눌린다 → 올인원 안내 창) */
.sb2-lock { flex: none; margin-left: auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #ede9fe; color: #6d28d9; font-size: 11px; font-style: normal; }
.sb2-row--lock .sb2-row__i { opacity: .75; }
