/* G 시안 전용 비대면 진료. 기존 공유 스타일과 상담 기능은 변경하지 않는다. */
.grem-hero-link{margin-top:20px;color:var(--sage);font-size:14px}.grem-hero-link span{margin-left:12px}.grem-section{align-items:start;border-bottom:1px solid var(--line)}.grem-heading h2{font-size:clamp(32px,3.1vw,46px);line-height:1.3}.grem-heading h2 em{font-style:normal;color:var(--sage)}.grem-section .eyebrow{font-size:12px}.grem-lead{font-size:16px;color:var(--muted);line-height:1.85;margin:24px 0 28px}.grem-phone{display:block;width:fit-content;font-size:13px;color:var(--muted);margin-top:19px;text-decoration:underline;text-underline-offset:4px}.grem-demo{font-size:12px;color:var(--muted);line-height:1.8;margin-top:14px}.grem-steps{list-style:none;padding:0;margin:0}.grem-steps li{display:flex;gap:24px;padding:25px 0;border-top:1px solid var(--line)}.grem-steps li>span{font-size:12px;color:var(--sage);padding-top:6px}.grem-steps h3{font-size:23px;line-height:1.4;letter-spacing:-.035em;font-weight:600;margin:0 0 10px}.grem-steps p{font-size:15px;color:var(--muted);line-height:1.8}.grem-notice{padding:23px;background:var(--soft);margin-top:16px}.grem-notice strong{font-size:14px;font-weight:600}.grem-notice p{font-size:13px;line-height:1.85;color:var(--muted);margin:10px 0}.grem-notice .text-link{font-size:12px}body .rbar .grem-floating{background:var(--sage);color:#fff}body .rbar .grem-floating:hover{background:var(--sage-hover);color:#fff}.grem-floating>span{font-size:20px;line-height:19px}.grem-floating b{line-height:1.4}
#grem-dialog{margin:auto;background:#fff;position:fixed;inset:0;width:calc(100% - 32px);max-width:510px;max-height:90dvh;padding:35px;overflow-y:auto;overscroll-behavior:contain;line-height:1.6}#grem-dialog .eyebrow{font-size:12px;margin-bottom:20px}#grem-dialog h2{font-size:28px;line-height:1.3}#grem-dialog h3{font-size:22px;line-height:1.4}#grem-dialog :focus-visible{outline:3px solid #668976;outline-offset:3px}.grem-close{position:absolute;right:13px;top:10px;font-size:28px;line-height:1;width:38px;height:38px;background:transparent;color:var(--ink)}.grem-form-notice{font-size:12px;color:var(--muted);background:var(--soft);line-height:1.8;padding:15px;margin:20px 0}.grem-field{display:block;font-size:14px;font-weight:550;margin-top:19px}.grem-field small{font-size:12px;font-weight:400;color:var(--muted);margin-left:7px}.grem-field input,.grem-field select{display:block;box-sizing:border-box;width:100%;min-height:48px;padding:12px 14px;margin-top:9px;border:1px solid #bcc4b8;background:white;color:var(--ink);font:inherit;font-size:16px;font-weight:400;border-radius:2px}.grem-help{font-size:12px;line-height:1.75;color:var(--muted);margin-top:7px}.grem-ack{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.7;margin:22px 0 10px}.grem-ack input{margin:3px 0 0;flex:none}#grem-dialog .button{width:100%;justify-content:space-between;min-height:54px;line-height:1.4;padding:13px 20px}#grem-complete>p{font-size:14px;line-height:1.8;color:var(--muted);margin:16px 0}.grem-done-mark{display:block;font-size:38px;color:var(--sage);margin:22px 0}.grem-restart{background:transparent;color:var(--muted);margin-top:22px;border-bottom:1px solid var(--line)}
@media(max-width:900px),(max-aspect-ratio:107/100){.rbar .rb-i.grem-floating,.rbar .rb-i.grem-floating:hover{background:var(--sage);color:white}}
@media(max-width:760px){.grem-heading h2{font-size:32px}.grem-heading h2 br:nth-of-type(2){display:none}.grem-heading>.button{width:100%;justify-content:space-between}.grem-lead{font-size:16px;margin:20px 0 25px}.grem-lead br{display:none}.grem-heading{margin-bottom:32px}.grem-steps li{gap:18px;padding:22px 0}.grem-steps h3{font-size:21px}.grem-steps p{font-size:15px}.grem-notice{padding:20px}.grem-hero-link{font-size:13px;margin-top:18px}#grem-dialog{padding:30px 23px}#grem-dialog h2{font-size:25px}.rbar .rb-i{font-size:10px}.grem-floating b{font-size:11px}}

/* 2026-09-14 저녁 되살리며 더함 — 동의문 접기·오류 줄(설문 창과 같은 구성) */
#grem-dialog .grem-privacy{margin:6px 0 14px;font-size:13px;color:var(--ink-60,#555)}
#grem-dialog .grem-privacy summary{cursor:pointer;color:var(--sage,#5b7a5e)}
#grem-dialog .grem-privacy .privacy-body{margin-top:10px;max-height:40vh;overflow:auto;padding-right:6px}
#grem-dialog .grem-error:empty{display:none}
#grem-dialog .grem-error{color:#b3261e}

/* 2026-09-14 밤 — 대문 밖 페이지에는 .button 기본형이 없다. 창 안에서만 대문(hero4-g)과 같은 값으로 채운다 */
#grem-dialog .button{display:inline-flex;align-items:center;gap:35px;background:var(--sage);color:#fff;font:inherit;font-size:15px;font-weight:550;border:0;border-radius:2px;cursor:pointer;text-decoration:none;transition:background .2s}
#grem-dialog .button:hover{background:var(--sage-hover)}
#grem-dialog .button span{font-size:22px;font-weight:350}

/* 2026-09-14 밤 사용자 「전 페이지에 넣고, PC 만 버튼 크기를 키워」 → 「비대면만 크다, 작은 것과 중간으로」:
   PC 분기(901px 이상·가로형)에서 따라오는 바 네 칸을 **모두 같은 크기**로, 원래(59px)와 키운 비대면 칸(100px)의 중간(78~92px)으로 맞춘다.
   이 파일은 전 페이지가 싣는다(remote-care js 가 끼움) — 바 크기 규칙을 한 곳에서 관리하려고 여기 둔다. 모바일 바는 손대지 않는다. */
/* ⚠️ 서브페이지의 바 CSS 는 본문 끝 <style> 에 있어 head 에 끼운 이 파일보다 뒤다 — 같은 우선순위면 진다.
   그래서 `body .rbar …` 로 한 단계 올린다(2026-09-14 밤, 서브페이지에서 안 먹던 원인). */
@media (min-width:901px) and (min-aspect-ratio:107/100){
  body .rbar .rb-i{width:clamp(78px,6vw,92px);padding:15px 8px 14px;gap:7px;border-radius:16px;
    font-size:clamp(12.5px,.98vw,14px);box-shadow:0 3px 14px rgba(49,71,58,.2)}
  body .rbar .rb-i svg{width:24px;height:24px}
  body .rbar .rb-i.grem-floating>span{font-size:27px;line-height:24px}
}
}
