/* SOFTM-MEMBERS START 날짜:20261120 : grammarly의 민트·카드·비교 구조를 기존 지도와 공용 화면에 적용 */
:root{--hc-primary:#15c39a;--hc-dark:#0e6e57;--hc-ink:#1a1a1a;--hc-muted:#6b6b70;--hc-line:#e4e6e6;--hc-surface:#f7f8f8;--hc-shadow:0 8px 24px #152b2410}
/* SOFTM-GUARDIAN 날짜:20261120 : 대상자 입력과 보호자 안내를 기존 카드·모바일 여백 안에 정렬 */
.hc-care-needs{display:grid;gap:12px;margin:0}.hc-form input[type=checkbox]{flex-shrink:0}#careRecipient,#profileForm{scroll-margin-top:84px}.analysis-recipient{margin:0 0 24px;padding:22px;background:#f7f8f8;border:1px solid #e4e6e6;border-radius:16px}.analysis-recipient h2{font-size:20px;margin:0 0 10px}.analysis-recipient p{font-size:14px;line-height:1.7}.analysis-recipient button,.analysis-recipient a{font:inherit;font-size:14px}.analysis-recipient .hc-actions{gap:10px}.analysis-recipient.active{border-color:#15c39a}
body.hc-page .hannun-pwa-install,body.analysis-page .hannun-pwa-install{position:static;display:flex;width:max-content;margin:24px 20px 24px auto} /* SOFTM-FORM-INSTALL 날짜:20261121 : 회원·기관·기록 화면의 입력과 저장 버튼을 가리지 않도록 설치 버튼을 문서 흐름에 배치 */
@media print{#guardianContact,#analysisGuardianContact{display:none!important}} /* SOFTM-GUARDIAN 날짜:20261120 : 질문표 인쇄에 보호자 연락처를 자동 포함하지 않음 */
/* SOFTM-MEMBERS 날짜:20261120 : 설치 버튼이 지도 하단 담기·더보기 버튼과 겹치지 않도록 위쪽 여백 확보 */
@media(max-width:1000px){body.stitch-desktop.hc-integrated .hannun-pwa-install{bottom:calc(148px + var(--care-list-ad-space,0px) + env(safe-area-inset-bottom));z-index:180}}
.hc-page{margin:0;background:#fff;color:var(--hc-ink);font-family:Pretendard,sans-serif;line-height:1.65;padding-top:72px;padding-bottom:48px}
.hc-page *, .hc-header *, .hc-nav *{box-sizing:border-box}
.hc-page [hidden]{display:none!important}
.hc-header{height:64px;position:fixed;inset:0 0 auto;z-index:185;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 max(24px,calc((100vw - 1280px)/2));background:#fffffff5;border-bottom:1px solid var(--hc-line);backdrop-filter:blur(16px);font-family:Pretendard,sans-serif}
.hc-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--hc-ink);font-size:18px;font-weight:800;white-space:nowrap}.hc-mark{display:grid;place-items:center;background:#e1f8f2;color:#0e9276;border-radius:13px;width:38px;height:38px}.hc-mark svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7}
.hc-nav{position:fixed;left:50%;transform:translateX(-50%);top:0;height:64px;z-index:190;display:flex;gap:10px;align-items:stretch;font-family:Pretendard,sans-serif}.hc-nav a{display:flex;align-items:center;justify-content:center;gap:6px;min-width:92px;padding:0 14px;font-size:15px;font-weight:650;color:var(--hc-muted);text-decoration:none;border-bottom:2px solid transparent;white-space:nowrap}.hc-nav a[aria-current=page]{color:var(--hc-dark);border-color:var(--hc-primary)}.hc-nav svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7}.hc-account-link{font-weight:650;text-decoration:none;color:var(--hc-dark);padding:10px 18px;border:1px solid #a8e7d8;border-radius:28px;font-size:14px;white-space:nowrap}
.hc-main{width:min(1216px,calc(100% - 48px));margin:32px auto}.hc-main.narrow{max-width:1088px}.hc-kicker{font-weight:700;font-size:14px;color:var(--hc-dark);margin:0 0 6px}.hc-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.hc-intro h1{font-size:32px;letter-spacing:-1px;line-height:1.3;margin:0 0 10px}.hc-intro p{color:var(--hc-muted);margin:0}.hc-intro>div{min-width:0}
.hc-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(280px,1fr);gap:24px}.hc-stack{display:grid;gap:20px;align-content:start}.hc-card{background:var(--hc-surface);border:1px solid var(--hc-line);border-radius:16px;padding:26px;box-shadow:var(--hc-shadow);min-width:0}.hc-card.white{background:#fff}.hc-card h2{font-size:21px;line-height:1.4;margin:0 0 12px}.hc-card h3{font-size:17px;line-height:1.5;margin:0 0 8px}.hc-card p{margin:6px 0 16px;color:var(--hc-muted)}.hc-card.dark{background:#153e34;color:white;border-color:#153e34}.hc-card.dark p{color:#c9e4da}.hc-card.dark strong{font-size:30px;line-height:1.5}.hc-card hr{border:0;border-top:1px solid var(--hc-line);margin:24px 0}
.hc-btn,.hc-page button,.hc-page .hc-action{font:inherit;font-weight:650;font-size:15px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 22px;min-height:46px;background:var(--hc-primary);color:#073c2d;border:1px solid var(--hc-primary);border-radius:30px;text-decoration:none;line-height:1.45}.hc-page button:hover,.hc-btn:hover{background:#10ad88}.hc-page button:disabled{opacity:.5;cursor:not-allowed}.hc-page .secondary,.hc-btn.secondary{background:transparent;color:var(--hc-dark);border-color:#19b590}.hc-page .danger{background:#fff1f1;border-color:#e6b6b6;color:#9f2727}.hc-page .quiet{background:#fff;border-color:var(--hc-line);color:var(--hc-ink)}.hc-page a{color:var(--hc-dark)}.hc-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hc-actions.end{justify-content:flex-end}.hc-form{display:grid;gap:20px}.hc-form label{display:grid;gap:8px;font-weight:650;font-size:15px}.hc-form input:not([type=checkbox]):not([type=radio]),.hc-form select,.hc-form textarea,.hc-input{font:inherit;font-weight:400;color:var(--hc-ink);width:100%;padding:12px 14px;min-height:48px;border:1px solid var(--hc-line);border-radius:12px;background:white;box-sizing:border-box}.hc-form label.check{display:flex;align-items:start;gap:10px;font-weight:400}.hc-form textarea{min-height:110px;resize:vertical}.hc-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hc-muted,.hc-help{color:var(--hc-muted);font-size:14px}.hc-help{font-weight:400}.hc-note{padding:16px;border:1px solid var(--hc-line);border-radius:12px;background:white}.hc-status{color:var(--hc-dark);padding:12px 0;min-height:36px;margin:0}.hc-status[data-error=true]{color:#b12e34}.hc-status:empty{display:none}.hc-pill{display:inline-flex;align-items:center;border-radius:24px;background:#e0f6ef;color:var(--hc-dark);padding:6px 12px;font-size:12px;font-weight:750}.hc-pill.warning{background:#fff1d4;color:#845600}.hc-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.hc-tabs a{padding:8px 20px;border:1px solid var(--hc-line);border-radius:30px;text-decoration:none;background:white}.hc-tabs a[aria-current=page]{background:#e0f6ef;border-color:var(--hc-primary);font-weight:700}
.hc-steps{counter-reset:steps;list-style:none;padding:0;margin:0;display:grid;gap:18px}.hc-steps li{display:flex;gap:12px;align-items:start}.hc-steps li:before{counter-increment:steps;content:counter(steps,decimal-leading-zero);color:var(--hc-dark);font-weight:800;font-size:13px;min-width:28px;line-height:28px}.hc-steps small{display:block;color:var(--hc-muted);font-size:13px}.hc-recovery{word-break:break-all;font-size:16px;background:#e0f6ef;padding:16px;border-radius:12px;user-select:all}.hc-empty{text-align:center;padding:48px 24px;color:var(--hc-muted)}.hc-list{display:grid;gap:16px}.hc-row{display:flex;justify-content:space-between;gap:18px;align-items:center}.hc-row h3{margin:0}.hc-row .hc-muted{margin:4px 0}.hc-facility-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:14px;background:#dbf3eb;color:var(--hc-dark);flex-shrink:0}.hc-facility-icon svg{width:28px;stroke:currentColor;fill:none;stroke-width:1.5}.hc-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.hc-stat strong{display:block;font-size:30px;margin:12px 0 2px}.hc-stat small{color:var(--hc-muted)}.hc-table-wrap{overflow-x:auto;border:1px solid var(--hc-line);border-radius:12px;background:#fff}.hc-table{border-collapse:collapse;width:100%;font-size:14px}.hc-table th,.hc-table td{text-align:left;padding:16px;border-bottom:1px solid var(--hc-line);vertical-align:top}.hc-table th{background:#edf1f0}.hc-table tr:last-child td{border:0}.hc-question{padding:18px;border:1px solid var(--hc-line);border-radius:14px;background:white;display:grid;gap:12px}.hc-question label.check{font-weight:600}.hc-question textarea{min-height:76px}.hc-footer{width:min(1216px,calc(100% - 48px));margin:40px auto 0;color:var(--hc-muted);font-size:13px;display:flex;gap:16px;flex-wrap:wrap}.hc-dialog{border:1px solid var(--hc-line);border-radius:20px;padding:26px;width:min(560px,calc(100% - 32px));color:var(--hc-ink);max-height:85dvh;overflow:auto}.hc-dialog::backdrop{background:#0f272460}.hc-dialog h2{margin-top:0}.hc-link-list{list-style:none;margin:0;padding:0}.hc-link-list li+li{border-top:1px solid var(--hc-line)}.hc-link-list a{display:block;padding:16px 0;text-decoration:none}.hc-page :focus-visible,.hc-nav :focus-visible{outline:3px solid #0e8a6d;outline-offset:3px}
/* 기존 지도 좌표·카드·레이어를 유지하고 헤더의 탐색 메뉴만 교체합니다. */
body.hc-integrated .hc-nav a{font-family:Pretendard,sans-serif}body.hc-integrated .hc-map-account{position:fixed;right:74px;top:10px;z-index:191;background:white}body.hc-integrated .analysis-top{visibility:hidden;height:64px}body.hc-integrated .analysis-main{margin-top:18px}body.hc-integrated .analysis-primary{background:var(--hc-primary);color:#073c2d;border-color:var(--hc-primary)}body.hc-integrated .analysis-condition-card,body.hc-integrated .analysis-condition-summary,body.hc-integrated .analysis-card{border-radius:16px;background:var(--hc-surface);border-color:var(--hc-line)}
@media(max-width:1100px){.hc-header{padding:0 20px}.hc-nav a{min-width:76px;padding:0 9px}.hc-nav svg{display:none}.hc-brand{font-size:16px}body.hc-integrated .hc-map-account{right:68px;padding:8px 12px;top:12px}}
@media(max-width:1000px){.hc-page{padding-top:58px;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.hc-header{height:56px;padding:0 16px}.hc-brand{font-size:17px}.hc-mark{width:34px;height:34px}.hc-account-link{font-size:13px;padding:8px 14px}.hc-nav{top:auto;bottom:0;left:0;right:0;transform:none;height:calc(62px + env(safe-area-inset-bottom));padding:3px 6px calc(3px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:#fffffff7;border-top:1px solid var(--hc-line);backdrop-filter:blur(16px);z-index:200}.hc-nav a{min-width:0;font-size:11px;padding:3px 2px;border:0;flex-direction:column;gap:2px;border-radius:10px}.hc-nav svg{display:block;width:20px;height:20px}.hc-nav a[aria-current=page]{background:#e1f8f2}.hc-main{width:calc(100% - 28px);margin:24px auto}.hc-intro{display:block;margin-bottom:20px}.hc-intro .hc-actions{margin-top:16px}.hc-intro h1{font-size:26px}.hc-grid{grid-template-columns:1fr;gap:16px}.hc-card{padding:20px}.hc-two{grid-template-columns:1fr;gap:16px}.hc-stats{grid-template-columns:repeat(2,1fr);gap:10px}.hc-stat{padding:16px}.hc-stat strong{font-size:26px}.hc-row{align-items:start;flex-wrap:wrap}.hc-row .hc-actions{width:100%}.hc-row .hc-actions>*{flex:1;padding:10px}.hc-page button,.hc-btn{min-height:48px}.hc-footer{width:calc(100% - 32px);margin:24px auto}.hc-table th,.hc-table td{padding:12px;min-width:100px}.hc-tabs{gap:6px}.hc-tabs a{padding:6px 12px;font-size:13px}body.hc-integrated{--care-mobile-tab-space:calc(62px + env(safe-area-inset-bottom))}body.hc-integrated .hc-map-account{top:6px;right:64px;padding:9px 12px}body.hc-integrated .analysis-main{padding-bottom:82px}body.hc-integrated .analysis-compare-tray{bottom:calc(68px + env(safe-area-inset-bottom))}}
@media print{.hc-header,.hc-nav,.hc-footer,.hc-actions,.hc-account-link,.hc-no-print{display:none!important}.hc-page{padding:0}.hc-main{width:100%;margin:0}.hc-grid{display:block}.hc-card{box-shadow:none;break-inside:avoid;margin-bottom:16px}textarea{border:0!important;resize:none}}
/* SOFTM-MEMBERS END */

/* SOFTM-MEMBER-NAV START 날짜:20261120 : 기존 유형·지도 모드와 새 서비스 메뉴가 겹치지 않도록 같은 헤더에 배치 */
body.stitch-desktop.hc-integrated .care-type-header{left:210px;right:auto;width:max-content;max-width:212px;padding-inline:0} /* SOFTM-TYPE-SELECTOR 날짜:20261121 : 현재 유형명 전체를 표시하면서 상단 탐색과 실제 버튼 영역을 분리 */
body.stitch-desktop.hc-integrated .care-type-menu{display:none!important}
/* SOFTM-TYPE-SELECTOR START 날짜:20261121 : 작은 원형 아이콘 대신 현재 값과 펼침 화살표를 읽을 수 있는 선택 버튼 */
body.stitch-desktop.hc-integrated .care-type-toggle{display:flex!important;align-items:center;justify-content:space-between;gap:12px;max-width:100%;min-height:44px;padding:8px 12px;border-radius:12px;background:#f3fbf8;color:#0e6e57;border:1px solid #a8d9c9;font-size:14px;font-weight:700;line-height:1.35;text-align:left;box-shadow:0 2px 5px #153e3408}
body.stitch-desktop.hc-integrated .care-type-toggle:hover,body.stitch-desktop.hc-integrated .care-type-toggle[aria-expanded=true]{background:#e1f8f2;border-color:#23876b}
.care-type-value{min-width:0;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.care-type-chevron{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.care-type-toggle[aria-expanded=true] .care-type-chevron{transform:rotate(180deg)}
@media(min-width:1001px) and (max-width:1250px){body.stitch-desktop.hc-integrated .care-type-header{max-width:114px}body.stitch-desktop.hc-integrated .care-type-toggle{font-size:13px;padding:6px 8px;gap:6px}}
/* SOFTM-TYPE-SELECTOR END */
body.stitch-desktop.hc-integrated .care-mode-toggle{right:128px!important}
body.stitch-desktop.hc-integrated .hc-map-account{right:20px}
body.hc-portal{padding-top:64px;padding-bottom:30px}
body.hc-portal .portal-header{position:static;min-height:0;padding:12px 24px;border:0;justify-content:flex-end}
body.hc-portal .portal-brand{display:none}
body.hc-portal .portal-hero{background:#153e34}
body.hc-portal .primary-button{background:#15c39a;border-color:#15c39a;color:#073c2d;border-radius:28px}
body.hc-portal .secondary-button{border-radius:28px;border-color:#19b590;color:#0e6e57}
@media(max-width:1000px){
 body.stitch-desktop.hc-integrated .care-type-header{left:196px;max-width:212px;padding:0} /* SOFTM-TYPE-SELECTOR 날짜:20261121 : 태블릿에서도 선택한 기관 이름을 그대로 표시 */
 body.stitch-desktop.hc-integrated .hc-map-account{right:10px}
 body.stitch-desktop.hc-integrated .care-mode-toggle{top:auto!important;right:12px!important;bottom:calc(74px + var(--care-list-ad-space,0px) + env(safe-area-inset-bottom))!important;z-index:155}
 body.stitch-desktop.hc-integrated .care-workspace-tabs{visibility:hidden;pointer-events:none}
 body.stitch-desktop.hc-integrated[data-care-mode]{--care-mobile-tab-space:calc(62px + env(safe-area-inset-bottom))}
 body.hc-portal{padding-top:56px;padding-bottom:calc(80px + env(safe-area-inset-bottom))}
 body.hc-portal .form-actions{bottom:calc(62px + env(safe-area-inset-bottom))}
}
/* SOFTM-TYPE-SELECTOR START 날짜:20261121 : 모바일 목록의 기존 별도 유형 행을 활용해 긴 이름과 브랜드를 함께 유지 */
@media(max-width:1000px){body.stitch-desktop.hc-integrated[data-care-mode=list] .care-type-header{max-width:none}}
@media(max-width:370px){body.stitch-desktop.hc-integrated .stitch-brand strong{font-size:15px}body.stitch-desktop.hc-integrated .hc-map-account{font-size:12px;padding-inline:9px}}
/* SOFTM-TYPE-SELECTOR END */
body.stitch-desktop.hc-integrated.care-type-open :is(.hc-nav,.hc-map-account){visibility:hidden}
body.stitch-desktop.hc-integrated.care-mobile-filters-open :is(.hc-nav,.hc-map-account){visibility:hidden} /* SOFTM-FILTER-OVERLAY 날짜:20261121 : 상세필터 위에 로그인 원형 버튼과 하단 메뉴가 겹쳐 입력을 가리지 않도록 닫힐 때까지 숨김 */
/* SOFTM-MEMBER-NAV END */

/* SOFTM-MEMBER-COMPARE START 날짜:20261120 : 비교 엔진 내부 안내는 표 아래에 배치해 세 기관을 나란히 표시 */
.hc-page .care-compare-layout{grid-template-columns:minmax(0,1fr)}
.hc-page .care-compare-matrix{grid-template-columns:138px repeat(var(--care-compare-count),minmax(150px,1fr));min-width:calc(138px + var(--care-compare-count)*150px)}
.hc-page .care-compare-guide{box-shadow:none;padding:20px}
.hc-page .care-compare-guide-icon,.hc-page .care-compare-guide>ul{display:none}
.hc-page .care-compare-guide h3{margin-top:0;font-size:17px}
.hc-page .care-compare-policy{border:0;padding-bottom:0}
.hc-page[data-page=care-facility] .care-compare-matrix{grid-template-columns:145px minmax(0,1fr);min-width:0}
@media(max-width:1000px){
 body.stitch-desktop.hc-integrated.care-map-page.care-map-focus.care-mobile-focus-active[data-care-mode=map]{--care-focus-bottom:calc(62px + var(--care-list-ad-space,0px) + env(safe-area-inset-bottom))} /* SOFTM-SAVED-NAV 날짜:20261121 : 담은 기관의 비교·경로 버튼과 목록 시트가 공용 하단 메뉴 아래로 숨지 않도록 높이를 함께 예약 */
 body.stitch-desktop.hc-integrated.care-mobile-focus-active.care-focus-saved :is(.hc-map-account,.hannun-pwa-install){display:none} /* SOFTM-SAVED-NAV 날짜:20261121 : 전체 화면 담은 목록에서 기관명과 삭제 버튼 위에 보조 버튼이 겹치지 않도록 숨김 */
 body.stitch-desktop.hc-integrated.care-detail-active :is(.hc-map-account,.hc-nav,.hannun-pwa-install){visibility:hidden} /* SOFTM-DETAIL-NAV 날짜:20261121 : 기관 상세의 닫기·이전·다음 버튼을 공용 로그인·하단 메뉴가 가리지 않도록 상세를 닫을 때까지 숨김 */
 body.stitch-desktop.hc-integrated.care-mobile-focus-active .hc-map-account{top:230px;right:12px;display:flex;align-items:center;justify-content:center;width:48px;height:48px;box-sizing:border-box;border-radius:50%;padding:0;font-size:12px;box-shadow:0 3px 15px #153e3420}
 body.stitch-desktop.hc-integrated .care-mobile-focus-dock{bottom:calc(74px + var(--care-list-ad-space,0px) + env(safe-area-inset-bottom))!important}
 body.stitch-desktop.hc-integrated.care-mobile-focus-active .care-region-research{bottom:calc(144px + var(--care-list-ad-space,0px) + env(safe-area-inset-bottom))!important}
 .hc-page .care-compare-matrix{grid-template-columns:116px repeat(var(--care-compare-count),minmax(150px,1fr));min-width:calc(116px + var(--care-compare-count)*150px)}
}
@media print{.hc-page .care-compare-main{overflow:visible}.hc-page .care-compare-matrix{grid-template-columns:125px repeat(var(--care-compare-count),minmax(0,1fr));min-width:0}.hc-page .care-compare-picker{display:none}.hc-page .care-compare-value,.hc-page .care-compare-label,.hc-page .care-compare-facility{padding:10px}}
/* SOFTM-MEMBER-COMPARE END */

/* SOFTM-FORM-CHOICE START 날짜:20261121 : 라디오·체크박스가 텍스트 입력 폭으로 늘어나거나 선택 문구를 밀어내지 않도록 분리 */
.hc-form input:is([type=checkbox],[type=radio]){flex:0 0 18px;width:18px;height:18px;min-width:18px;min-height:18px;padding:0;margin:3px 0 0;accent-color:var(--hc-primary)}
.hc-form fieldset{min-inline-size:0;margin:0}
.hc-form label.check{min-width:0;line-height:1.6}
.hc-form label.check>span{min-width:0}
.hc-form .hc-member-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}
.hc-member-types legend{padding:0 6px;font-size:14px;font-weight:650}
.hc-form label.hc-member-choice{align-items:flex-start;gap:12px;min-height:84px;padding:16px;border:1px solid var(--hc-line);border-radius:12px;background:white;cursor:pointer}
.hc-member-choice strong,.hc-member-choice small{display:block}
.hc-member-choice strong{font-weight:700;color:var(--hc-ink)}
.hc-member-choice small{margin-top:3px;font-size:13px;color:var(--hc-muted);font-weight:400}
.hc-form label.hc-member-choice:has(input:checked){background:#eaf9f3;border-color:#15a985}
.hc-form label.hc-member-choice:focus-within{outline:2px solid #0e8a6d;outline-offset:3px}
@media(max-width:560px){.hc-form .hc-member-types{grid-template-columns:1fr;padding:12px;gap:10px}.hc-form label.hc-member-choice{min-height:78px;padding:12px 14px}}
/* SOFTM-FORM-CHOICE END */

/* SOFTM-BRAND-CONSISTENCY START 날짜:20261121 : 지도와 맞춤·회원·기관·상담의 공용 헤더 아이콘을 같은 원본과 크기로 유지 */
.hc-brand-icon{display:block;width:36px;height:36px;flex:none;object-fit:contain}
/* SOFTM-BRAND-CONSISTENCY END */
