/* 스페이스 안 기능 화면 공통 틀(2026-11-26 SPACE-IN-SIDEBAR): 가운데 칸 안에서 스크롤하고, 머리는 다른 스페이스 화면처럼. */
.space-feature{flex:1;min-width:0;width:100%;height:100%;overflow:auto;box-sizing:border-box}
/* 공통 틀(2026-11-27 GROWTH-UX-CONSISTENCY 결정 6): 다섯 기능과 ‘성장과 목표’ 화면이 같은 최대 폭(960px)·왼쪽 정렬·여백·머리를 쓴다.
   기능별 hr.css의 main(가운데 정렬, 24px 여백)보다 앞서도록 범위 클래스를 두 번 쓴다. */
.space-feature.space-feature>main{max-width:960px;margin:0;padding:20px 28px 64px;box-sizing:border-box}
.space-feature-head{display:flex;gap:14px;align-items:flex-start;border-bottom:1px solid var(--border);padding-bottom:14px}
.space-feature-head>div{flex:1;min-width:0}
.space-feature .space-feature-head h1{margin:2px 0 4px;font-size:24px}
/* 새로 만들기는 탭이 아니라 머리 오른쪽의 채운 단추 하나(결정 5). */
.space-feature-head .space-feature-create{flex:none;min-height:44px;white-space:nowrap}
.space-feature-head .space-feature-create[hidden],.space-feature-head .space-feature-create[aria-current=true]{display:none} /* 이미 만들기 화면이면 숨김 */
@media(max-width:700px){.space-feature.space-feature>main{padding:12px 14px 40px}.space-feature-head{flex-wrap:wrap}.space-feature-head .space-feature-create{order:3;width:100%}}
.space-feature-head p{margin:0}
.space-feature-eyebrow{font-size:13px;color:var(--accent);font-weight:600;margin:0}
/* 기능이 꺼져 있거나 이용권이 없을 때의 안내(2026-11-27 GROWTH-UX-CONSISTENCY 결정 2·4, feature-off.js). */
.space-feature .feature-off{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:12px 0 16px;padding:18px 20px;border:1px dashed var(--border);border-radius:12px}
.space-feature .feature-off strong{font-size:16px}
.space-feature .feature-off p{margin:0;color:var(--muted)}
.space-feature .feature-off button{min-height:44px}
/* 조직목표는 본문 칸이 이미 카드라 안내 테두리를 겹치지 않는다. */
.space-feature-goals .feature-off{margin:0;padding:0;border:0}
/* 탭은 보기만 바꾼다: 밑줄형으로 채운·테두리 단추와 구분한다(2026-11-27 결정 5·6). 좁은 화면에서도 한 줄로 두고 가로로 밀어 본다(결정 9).
   기능별 CSS의 #tabs·nav 규칙(ID 포함)보다 앞서도록 :is(#tabs,#areas)와 범위 클래스를 겹쳐 쓴다. 인쇄에서는 기존처럼 숨는다. */
@media screen{
 .space-feature.space-feature :is(#tabs,#areas){display:flex;flex-wrap:nowrap;gap:2px;margin:12px 0 16px;padding:0;border-bottom:1px solid var(--border);overflow-x:auto;scrollbar-width:none}
 .space-feature.space-feature :is(#tabs,#areas)::-webkit-scrollbar{display:none}
 .space-feature.space-feature :is(#tabs,#areas)[hidden],.space-feature.space-feature :is(#tabs,#areas) button[hidden]{display:none}
 .space-feature.space-feature :is(#tabs,#areas) button{flex:0 0 auto;min-width:0;min-height:44px;margin:0 0 -1px;padding:10px 14px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--muted);font-weight:600;white-space:nowrap}
 .space-feature.space-feature :is(#tabs,#areas) button[aria-current=true]{color:var(--text);border-bottom-color:var(--accent);background:transparent}
 .space-feature.space-feature :is(#tabs,#areas) button:not([aria-current=true]):hover{color:var(--text);background:var(--hover,var(--selected))}
 /* 비어 있는 상태 줄이 머리와 탭 사이에 빈칸을 만들지 않게(읽기 도구 알림 영역은 그대로 둔다). */
 .space-feature.space-feature #status:empty{margin:0;min-height:0}
}
/* 스페이스 안에서는 <html>에 플래너 브랜드 클래스(brand-biz)가 붙어 day-theme.css의 플래너용 입력칸 규칙(.srow input 등, 옅은 테두리)이
   HR 화면·‘내 플래너에 등록’ 확인 창에도 걸린다. 독립 HR 페이지와 같게 입력칸 테두리는 --input-border를 쓴다(대비 3:1 이상). */
html .hr-planner-dialog.hr-planner-dialog :is(input:not([type=checkbox]):not([type=radio]),select,textarea),
html .space-feature.space-feature :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:var(--input-border,var(--control-border))}
/* 인쇄: 독립 HR 페이지처럼 기능 화면을 보여 주는 스페이스 페이지는 어두운 테마여도 흰 종이에 짙은 글자로 인쇄한다. */
@media print{html:root body:has(.space-feature){background:white;color:#35332e}}
/* 좁은 화면에서 입력칸 글자는 16px 이상(iOS 자동 확대 방지, 독립 HR 페이지와 같게). */
@media(max-width:600px){html .hr-planner-dialog.hr-planner-dialog :is(input,select,textarea),html .space-feature.space-feature :is(input,select,textarea){font-size:16px}}
