/* 보당당 v2 「클로저형」 (2026-10-26). 정본 기획/설계사SaaS_20261025/P_디자인시스템_클로저형_20261026.md
   원리: 옅은 회색 바탕 + 테두리·그림자 없는 흰 카드(모서리 28) + Pretendard 800 제목 + 초록 하나 + 3D 아이콘 + 떠 있는 하단 탭.
   색 5개(--brand --deep --soft --bg --tint)는 build.mjs 가 brand.json 「색안」에서 넣는다. 여기 값은 안전한 기본값.
   쪽 안 <style>의 한 단계 선택자(.box 같은)는 아래 「body .box」 두 단계 선택자가 이긴다. 쪽 파일을 안 고치고 새 모양이 되게 한 장치. */
/* 10/29 사장님 색 결정: 크림 바탕 #F6F0E4 + 먹색 글씨 #2B2A27 + 단추는 당당이 스카프 초록 #0A7352 (경쟁사 보험킹의 흰 바탕+진초록과 갈리게). 이전 회색판 #F4F5F7·#111214 는 git 10/28 기록 */
:root{
  --brand:#0A7352;--deep:#10261F;--soft:#E5EFE0;--bg:#F6F0E4;--tint:#8FD3B6;
  --ink:#2B2A27;--body:#3E3A34;--sub:#6E685E;--mute:#9C958A;
  --line:#E9E0CE;--field:#F1EADB;--white:#FFFDF8;
  --t-blue:#E8EEF3;--t-rose:#F8E6DF;--t-yellow:#F8EBCB;
  --amber:#A8660F;--amber-bg:#FBF0D9;--danger:#B42318;--danger-bg:#FDECEA;
  --r:28px;--r2:20px;--r3:16px;
  --g:20px;
  --head:"Pretendard Variable",Pretendard,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --text:"Pretendard Variable",Pretendard,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:var(--text);font-weight:400;font-size:17px;line-height:1.6;color:var(--ink);background:var(--bg);word-break:keep-all;overflow-wrap:break-word;padding-bottom:104px;-webkit-font-smoothing:antialiased}
a{color:inherit}
p,li,dd{text-wrap:pretty}
h1,h2,h3,h4{font-family:var(--head);font-weight:800;letter-spacing:-.03em;text-wrap:balance}
b,strong{font-weight:700}
img{max-width:100%}
:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.blank{display:inline-block;padding:0 6px;border:1px dashed #98A2B3;border-radius:4px;color:var(--sub);font-size:1em;line-height:1.5;white-space:nowrap}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nw{white-space:nowrap}

/* 위: 로고 + (PC) 글자 메뉴 + 둥근 메뉴 단추 */
.top{height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 var(--g);background:transparent;border-bottom:0}
.logo{display:inline-flex;align-items:center;min-height:48px;color:var(--ink)}
.logo-svg{display:block;height:34px;width:auto}
.topnav{display:none}
.ham{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;border-radius:50%;background:transparent;margin-right:-8px}
.ham i{display:block;width:22px;height:2.5px;border-radius:2px;background:var(--ink)}

/* 단추 */
.btn{display:inline-flex;align-items:center;justify-content:center;height:58px;padding:0 24px;border:0;border-radius:18px;background:var(--brand);color:#fff;font-family:var(--text);font-size:18px;font-weight:700;letter-spacing:-.01em;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn.soft{background:var(--soft);color:var(--brand)}
.btn.ghost{background:var(--white);color:var(--ink)}
.btn.wide{display:flex;width:100%}
.btn.off{display:flex;width:100%;margin-top:16px;background:#E5E8EB;color:var(--mute);border:0;cursor:default}

/* 카드·줄·칩 (새 부품) */
.card{background:var(--white);border-radius:var(--r);padding:22px 20px}
.card+.card{margin-top:12px}
.rw{display:flex;align-items:center;gap:14px;padding:16px 0;border-top:1px solid var(--line)}
.rw:first-child{border-top:0}
.chip{display:inline-flex;align-items:center;padding:2px 8px;border-radius:8px;background:var(--soft);color:var(--brand);font-size:13px;font-weight:700;line-height:1.5;white-space:nowrap;vertical-align:middle}
.chip.am{background:var(--amber-bg);color:var(--amber)}
.sect{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}
.sect h2{font-size:24px;line-height:1.35}
.sect a{font-size:15px;font-weight:600;color:var(--sub);text-decoration:none;white-space:nowrap}
.sect a::after{content:" ›"}
.feature{display:grid;grid-template-columns:1fr 72px;align-items:center;gap:16px;margin:12px 0 0;padding:22px 22px;border-radius:var(--r);background:var(--soft);text-decoration:none;color:var(--ink)}
.feature.blue{background:var(--t-blue)}
.feature .lb{display:block;font-size:13px;font-weight:800;color:var(--brand)}
.feature b{display:block;margin-top:4px;font-size:22px;font-weight:800;line-height:1.3;letter-spacing:-.025em}
.feature small{display:block;margin-top:6px;font-size:15px;line-height:1.45;color:var(--sub)}
.feature img{width:72px;height:72px}

/* 첫 화면 (홈, 중고차) */
.hero{position:relative;background:transparent;padding:20px var(--g) 8px;overflow:hidden}
.hero3d{position:absolute;top:6px;right:var(--g);width:92px;height:92px}
.hero3d~h1,.hero3d~.lead,.hero3d~p{padding-right:104px}
.eyebrow{font-size:15px;font-weight:700;color:var(--brand);margin-bottom:10px}
.hero h1{font-size:32px;line-height:1.3}
.hero h1 em{font-style:normal;color:var(--brand)}
.lead{margin-top:12px;font-size:17px;line-height:1.55;color:var(--sub)}
.cta2{display:flex;gap:8px;margin-top:24px}
.doors{display:grid;gap:10px;margin-top:24px}
.door{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:14px;padding:16px 18px 16px 16px;border-radius:24px;background:var(--white);text-decoration:none;color:var(--ink);box-shadow:none}
.door img{width:60px;height:60px}
.door b{display:block;font-family:var(--head);font-weight:750;font-size:18px;line-height:1.35;letter-spacing:-.02em}
.door small{display:block;margin-top:3px;font-size:15px;line-height:1.45;color:var(--sub)}
.door.main{background:var(--white);color:var(--ink)}
.door.main small{color:var(--sub)}

/* 폰 틀 속 결과 화면 (중고차 첫 화면). 그대로 둠 */
.phone{position:relative;width:274px;margin:36px auto 0;padding:6px;border-radius:44px;background:#FBFCFB;border:1px solid #C9CFCC;box-shadow:inset 0 0 0 1px #fff,0 30px 50px -30px rgba(16,30,24,.35),0 2px 6px rgba(16,30,24,.06)}
.phone::before,.phone::after{content:"";position:absolute;width:3px;border-radius:2px;background:#C9CFCC}
.phone::before{left:-4px;top:104px;height:52px}
.phone::after{right:-4px;top:128px;height:72px}
.ph-screen{position:relative;border-radius:38px;overflow:hidden;background:var(--white);box-shadow:0 0 0 1px #E6E9E7;padding-bottom:4px}
.ph-status{position:relative;display:flex;justify-content:flex-end;align-items:center;gap:5px;height:36px;padding:0 24px}
.ph-status::after{content:"";position:absolute;left:50%;top:10px;width:62px;height:18px;margin-left:-31px;border-radius:10px;background:#15181B}
.ph-sig{display:flex;align-items:flex-end;gap:1.5px;height:8px}
.ph-sig i{display:block;width:2.5px;background:var(--ink);border-radius:1px}
.ph-sig i:nth-child(1){height:3px}.ph-sig i:nth-child(2){height:5.5px}.ph-sig i:nth-child(3){height:8px}
.ph-bat{display:block;width:17px;height:8px;border:1.2px solid var(--ink);border-radius:2.5px;position:relative}
.ph-bat::after{content:"";position:absolute;left:1px;top:1px;width:10px;height:3.6px;border-radius:1px;background:var(--ink)}
.ph-bar{position:relative;display:flex;align-items:center;justify-content:center;height:40px;padding:0 16px}
.ph-back{position:absolute;left:20px;top:50%;width:8px;height:8px;border-left:1.8px solid var(--ink);border-bottom:1.8px solid var(--ink);transform:translateY(-50%) rotate(45deg)}
.ph-mark{display:block}
.ph-ex{position:absolute;right:16px;top:50%;transform:translateY(-50%);padding:0 7px;border-radius:5px;background:#EEF0EF;color:var(--sub);font-size:12px;line-height:19px}
.ph-sum{display:flex;align-items:baseline;gap:6px;padding:14px 18px 8px;font-family:var(--head);font-weight:800;font-size:16px;letter-spacing:-.02em}
.ph-sum b{font-family:var(--head);font-weight:800;font-size:16px;color:var(--brand)}
.ph-tab{margin:0 14px;padding:4px 12px 6px;border-radius:14px;background:var(--bg)}
.ph-r{display:grid;grid-template-columns:50px 1fr 1fr;gap:0 8px;align-items:baseline;padding:9px 0;border-top:1px solid #E1E5E3}
.ph-r:first-child{border-top:0}
.ph-h{padding:8px 0 4px;font-size:12px;line-height:1.4;color:var(--sub)}
.ph-k{font-size:12px;line-height:1.4;color:var(--sub)}
.ph-v{font-family:var(--head);font-weight:500;font-size:13px;line-height:1.35;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink)}
.ph-v.ph-d{font-weight:800;color:var(--brand)}
.ph-r:nth-child(2) .ph-v{font-size:14px}
.ph-send{margin:10px 14px 0;padding:10px 12px 11px;border-radius:14px;box-shadow:inset 0 0 0 1px var(--line);background:#fff}
.ph-sh{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ph-sh span:first-child{font-family:var(--head);font-weight:800;font-size:12px;letter-spacing:-.02em;color:var(--ink)}
.ph-copy{display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:999px;background:var(--brand);color:#fff;font-size:12px;line-height:1}
.ph-send p{margin-top:6px;font-size:12px;line-height:1.55;color:var(--body)}
.ph-home{display:block;width:92px;height:4px;margin:4px auto 4px;border-radius:2px;background:#15181B}

/* 서비스 목록: 분류마다 흰 카드 하나, 줄마다 3D 아이콘 */
.menu{padding:28px var(--g) 32px;background:transparent}
.menu h2,.price h2,.faq h2{font-size:24px;line-height:1.35;margin-bottom:12px}
.svc{list-style:none}
.svc li{border-top:1px solid var(--line)}
.svc li:first-child{border-top:0}
.svc li:last-child{border-bottom:0}
.svc-row{display:grid;grid-template-columns:52px 1fr auto;gap:14px;align-items:center;min-height:78px;padding:6px 0;text-decoration:none;color:var(--ink)}
.tile{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:0;background:transparent}
.tile img{display:block;width:52px;height:52px}
.svc-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.svc-n{font-family:var(--head);font-weight:750;font-size:18px;line-height:1.35;letter-spacing:-.02em}
.st{font-size:15px;line-height:1.4;color:var(--sub)}
.st.on{color:var(--brand)}
.st .kd{display:inline-block;min-width:46px;margin-right:4px;padding:0 6px;border-radius:6px;background:var(--field);color:var(--sub);font-size:12px;font-weight:700;line-height:20px;text-align:center;vertical-align:1px}
/* 꺾쇠(span.go)는 목록 줄·문 카드 안에서만. 도구 쪽이 단추에 .go(간격용)를 쓰므로 맨 .go 선택자는 쓰지 않는다 */
.svc-row .go,.door .go{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:0;background:transparent}
.svc-row .go::after,.door .go::after{content:"";width:9px;height:9px;margin-left:-4px;border-top:2px solid var(--mute);border-right:2px solid var(--mute);transform:rotate(45deg)}
.notify{display:inline-flex;align-items:center;height:52px;padding:0 18px;border:0;border-radius:999px;background:var(--white);font-family:var(--text);font-size:17px;font-weight:600;color:var(--ink);cursor:pointer;white-space:nowrap}
.notify-msg{min-height:0;margin-top:8px;font-size:17px;color:var(--sub)}
.cats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 4px}
.cats a{display:inline-flex;align-items:center;height:40px;padding:0 15px;border-radius:999px;background:var(--white);color:var(--ink);font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap}
.cat{scroll-margin-top:72px;margin-top:30px;padding:0;border-radius:0;background:transparent}
.cat h3{display:flex;align-items:center;gap:10px;margin:0;padding:0 2px 12px;font-family:var(--head);font-size:22px;line-height:1.35;letter-spacing:-.03em}
.cat h3 span{display:none}
.cat h3 .hubgo{margin-left:auto;font-family:var(--text);font-weight:700;font-size:15px;color:var(--body);text-decoration:none;white-space:nowrap}
.cat .svc{padding:4px 20px;border-radius:var(--r);background:var(--white)}
.cats+.cat{margin-top:18px}
body.home .cat .svc li:nth-child(n+4){display:none}
.cat h3 .hubgo::after{content:" ›"}

/* 진한 구역 → 둥근 진한 카드 */
.deep{margin:12px var(--g) 0;border-radius:var(--r);background:var(--deep);color:#fff;padding:28px 22px 26px}
.deep h2{font-size:24px;line-height:1.3;margin-bottom:22px;color:#fff}
.chat{border-radius:22px;background:#fff;color:var(--ink);overflow:hidden}
.chat-bar{position:relative;display:flex;align-items:center;justify-content:center;height:48px;border-bottom:1px solid var(--line)}
.chat-who{font-family:var(--head);font-weight:700;font-size:15px}
.chat-body{display:flex;flex-direction:column;gap:10px;padding:18px 16px 22px;background:#F6F7F6}
.bub{max-width:80%;padding:11px 14px;font-size:15px;line-height:1.5;border-radius:18px}
.bub.me{align-self:flex-end;background:var(--brand);color:#fff;border-bottom-right-radius:6px}
.bub.you{align-self:flex-start;background:#fff;border-bottom-left-radius:6px}
.flow{list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:22px;font-size:16px;color:rgba(255,255,255,.86)}
.flow li{display:inline-flex;align-items:center;gap:12px}
.flow li+li::before{content:"";width:22px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 22 12%27%3E%3Cpath d=%27M1 6h18M14 1.5 19.5 6 14 10.5%27 fill=%27none%27 stroke=%27%23ffffff%27 stroke-opacity=%27.6%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center/22px 12px no-repeat}
.flow li:first-child{color:var(--tint)}

/* 가격 (중고차) */
.price{padding:36px var(--g) 8px}
.free{display:flex;justify-content:space-between;align-items:baseline;margin-top:8px;padding:18px 20px;border-radius:var(--r2);background:var(--soft)}
.free span{font-size:17px;color:var(--ink)}
.free b{font-family:var(--head);font-weight:800;font-size:24px;color:var(--brand);letter-spacing:-.02em}
.plans{margin-top:12px;padding:4px 20px;border-radius:var(--r);background:var(--white)}
.plans div{display:flex;justify-content:space-between;align-items:baseline;padding:16px 0;border-top:1px solid var(--line)}
.plans div:first-child{border-top:0}
.plans dt{font-size:17px;color:var(--body)}
.plans dd{font-family:var(--head);font-weight:800;font-size:24px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}

/* 자주 묻는 질문: 흰 카드 한 장에 줄로 */
.faq{padding:36px var(--g) 8px}
.faq details{background:var(--white);padding:0 20px;border-top:1px solid var(--line)}
.faq details:first-of-type{border-top:0;border-radius:var(--r) var(--r) 0 0}
.faq details:last-of-type{border-bottom:0;border-radius:0 0 var(--r) var(--r)}
summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:14px 0;font-size:17px;font-weight:700}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:22px;color:var(--mute)}
details[open]>summary::after{content:"\2212"}
details p{padding:0 0 18px;font-size:16px;line-height:1.65;color:var(--body)}
.end{padding:20px var(--g) 40px}

/* 발 */
footer{padding:28px var(--g) 40px;font-size:13px;line-height:1.7;color:var(--sub);background:transparent;border-top:0}
footer .links{display:flex;flex-wrap:wrap;gap:0 16px;margin-bottom:4px;font-size:14px}
footer .links a{display:inline-flex;align-items:center;min-height:44px;color:var(--sub);text-decoration:none}
footer .links.hubs{margin-bottom:6px;padding-bottom:6px;border-bottom:1px solid #E5E8EB}
footer .legal{margin-top:10px}
/* 10/31 「설계사가 보낸 글」 법 문구(src/band.js): 위 띠 안이 아니라 쪽 맨 아래(main 끝) 회색 작은 글 한 줄. 띠를 닫아도 남는다. 연락처 모드의 협회 등록번호·심의필·유효기간 줄(.ab-reg)도 같은 곳, 법 문구 바로 위. 행간은 body 의 1.6 을 그대로 쓴다(행간 선언을 늘리지 않으려고). */
.ab-legal{margin:28px var(--g) 0;font-size:13px;color:var(--sub);text-wrap:pretty}
.ab-reg span{white-space:nowrap}
.ab-reg+.ab-legal{margin-top:4px}
footer .credit{margin-top:6px;font-size:12px}

/* 떠 있는 하단 탭 (폰). 손님용 선물 카드 쪽엔 build.mjs 가 뺀다 */
.tabbar{position:fixed;left:50%;bottom:max(14px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:50;display:flex;width:min(calc(100% - 40px),400px);padding:6px;border-radius:999px;background:var(--white);box-shadow:0 8px 24px rgba(25,31,40,.14),0 1px 2px rgba(25,31,40,.06)}
.tabbar a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:54px;border-radius:999px;font-size:11px;font-weight:700;color:var(--mute);text-decoration:none}
.tabbar a.on{background:#EDE4D2;color:var(--ink)}
.tabbar svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ===== 쪽 머리·글·서류 (k07 계열) ===== */
.pagehead{padding:20px var(--g) 8px}
.pagehead h1{font-size:30px;line-height:1.3}
.pagehead p{margin-top:10px;color:var(--sub)}
.crumb{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;color:var(--sub);text-decoration:none}
.crumb::before{content:"";width:7px;height:7px;margin-right:8px;border-left:1.5px solid var(--sub);border-bottom:1.5px solid var(--sub);transform:rotate(45deg)}
section.block{margin:12px var(--g) 0;padding:24px 20px;border-radius:var(--r);background:var(--white)}
section.paper{background:var(--white)}
section.block h2,form.up h2{font-size:22px;line-height:1.4;margin-bottom:14px}
h3.sub{font-size:17px;line-height:1.5;margin:24px 0 8px}
ol.steps{list-style:none}
ol.steps li{display:grid;grid-template-columns:28px 1fr;gap:0 8px;padding:14px 0;border-top:1px solid var(--line)}
ol.steps li:first-child{border-top:0}
ol.steps li:last-child{border-bottom:0}
ol.steps .n{font-family:var(--head);font-size:20px;font-weight:800;color:var(--brand);line-height:1.4}
ol.steps b{display:block;font-family:var(--head);font-weight:700;font-size:17px;line-height:1.5}
ol.steps span{display:block;font-size:16px;color:var(--body);margin-top:2px}
.list{list-style:none;margin-bottom:24px}
.list li{padding:12px 0;border-top:1px solid var(--line);font-size:16px}
.list li:first-child{border-top:0}
.list li:last-child{border-bottom:0}
.note{margin-top:14px;font-size:15px;line-height:1.6;color:var(--sub)}
form.up{margin:12px var(--g) 0;padding:8px 20px 24px;border-radius:var(--r);background:var(--white)}
fieldset{border:0;margin:8px 0 0;padding:0;min-width:0}
legend{float:left;width:100%;padding:20px 0 6px;margin-top:8px;border-top:1px solid var(--line);font-family:var(--head);font-size:17px;font-weight:700}
legend+*{clear:both}
.need{font-family:var(--text);font-size:13px;font-weight:600;color:var(--brand);margin-left:6px}
.hint{font-size:15px;color:var(--sub);margin:6px 0 10px;line-height:1.55}
.file::file-selector-button{height:40px;margin-right:12px;padding:0 14px;border:0;border-radius:12px;background:var(--soft);color:var(--brand);font-family:inherit;font-size:15px;font-weight:700;cursor:pointer}
.file{display:block;width:100%;min-height:56px;padding:12px;border:1.5px dashed #C9CFD6;border-radius:var(--r3);background:var(--field);font-size:16px;font-family:inherit;color:var(--ink)}
.field{display:block;margin:12px 0 6px;font-size:15px;font-weight:600}
input[type=email],input[type=text],input[type=number],input[type=tel],select,textarea{display:block;width:100%;height:56px;padding:0 16px;border:0;border-radius:var(--r3);font-size:17px;font-family:inherit;color:var(--ink);background:var(--field)}
textarea{height:auto;padding:14px 16px;line-height:1.55}
.chk{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;padding:12px 0;font-size:16px;line-height:1.55;min-height:48px}
.chk input{width:24px;height:24px;margin-top:2px;accent-color:var(--brand)}
.radios label{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:center;min-height:48px;font-size:16px}
.radios input{width:22px;height:22px;accent-color:var(--brand)}
.formnote{margin-top:14px;padding:14px 16px;background:var(--soft);border-radius:var(--r3);font-size:15px;line-height:1.55}
.mark{font-size:13px;font-weight:700;color:var(--brand);background:var(--soft);border:0;border-radius:6px;padding:0 8px;line-height:22px;white-space:nowrap}
.rep{margin:12px var(--g) 0;padding:8px 20px 24px;border-radius:var(--r);background:var(--white)}
.rep h2{font-size:22px;line-height:1.4;margin:28px 0 12px}
.rep h3{font-size:18px;line-height:1.5;margin:20px 0 6px}
.rep p,.rep li{font-size:17px;line-height:1.65;color:var(--body)}
.rep p{margin-bottom:10px}
.rep ul,.rep ol{padding-left:20px;margin:0 0 10px}
.rep li{margin-bottom:6px}
.rep .banner{margin:12px 0 20px;padding:14px 16px;background:var(--deep);color:#fff;border-radius:var(--r3);font-size:16px;line-height:1.55}
.rep .metaline{font-size:15px;color:var(--sub)}
.rep .rows{margin:8px 0 12px}
.rep .row{padding:12px 0;border-top:1px solid var(--line)}
.rep .row .t{display:flex;justify-content:space-between;gap:10px;align-items:center;font-family:var(--head);font-weight:700;font-size:16px;color:var(--ink)}
.rep .row .t .mark{font-family:var(--text)}
.rep .row .t .mark.same{color:var(--sub);background:var(--field)}
.rep .row dl{display:grid;grid-template-columns:52px 1fr;gap:2px 8px;margin-top:4px;font-size:16px}
.rep .row dt{font-size:14px;color:var(--sub);padding-top:2px}
.rep .row dd{color:var(--body)}
.rep .row dd b{color:var(--ink);background:linear-gradient(transparent 62%,var(--soft) 62%)}
.rep .item{padding:14px 0;border-top:1px solid var(--line)}
.rep .item:first-of-type{border-top:0}
.rep .item h3{margin:0 0 6px}
.rep .item ul{margin-bottom:0}
.rep .kvtab{margin:8px 0 12px}
.rep .kvtab div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:17px}
.rep .kvtab div:first-child{border-top:0}
.rep .kvtab dt{color:var(--sub)}
.rep .kvtab dd{font-family:var(--head);font-weight:700;text-align:right;color:var(--ink)}
.rep .copybox{border:0;border-radius:var(--r2);background:var(--field);padding:16px;font-size:17px;line-height:1.7;color:var(--ink)}
.rep .copybox p{font-size:17px;line-height:1.7;margin:0 0 8px;color:var(--ink)}
.rep .boxfoot{margin-top:24px;padding:16px;border:0;border-radius:var(--r2);background:var(--field)}
.rep .boxfoot p{font-size:16px;margin-bottom:6px}
.rep .btn{display:flex;width:100%}
.doc{margin:12px var(--g) 0;padding:8px 20px 24px;border-radius:var(--r);background:var(--white)}
.doc h2{font-size:22px;margin:30px 0 10px}
.doc h3{font-size:18px;margin:20px 0 4px}
.doc p,.doc li{font-size:17px;line-height:1.7;color:var(--body);margin-bottom:8px}
.doc ol,.doc ul{padding-left:22px;margin-bottom:8px}
.doc .dt{margin:10px 0 14px;border:0;border-radius:var(--r2);overflow:hidden;background:var(--field)}
.doc .dt dl{display:grid;grid-template-columns:96px 1fr;gap:0}
.doc .dt dt,.doc .dt dd{padding:10px 12px;border-top:1px solid #fff;font-size:16px;line-height:1.55}
.doc .dt dt{color:var(--sub)}
.doc .dt dt:first-of-type,.doc .dt dd:first-of-type{border-top:0}
.doc .toc{list-style:none;padding:0;margin:12px 0 0}
.doc .toc li{margin:0;border-top:1px solid var(--line)}
.doc .toc li:first-child{border-top:0}
.doc .toc a{display:flex;align-items:center;min-height:48px;text-decoration:none;font-size:17px;font-weight:600}
.doc .when{font-size:15px;color:var(--sub)}

/* ===== 모음·안내·도구·출생연도 쪽 공통 (쪽 안 <style> 보다 한 단계 높은 선택자) ===== */
.hub .top,.guide .top,.gift .top,.tool .top{background:transparent;border-bottom:0}
.lhero{position:relative;padding:16px var(--g) 20px;background:transparent}
.lhero h1{font-size:30px;line-height:1.3}
.lhero .lead{margin-top:8px}
.hub .lhero .lead{max-width:640px}
.hub .count{margin-top:8px;font-size:15px;color:var(--sub)}
.hub .menu{padding-top:4px;padding-bottom:40px}
.tools{padding-top:4px}
.tools h2{margin-bottom:6px}
.svc-t .st{white-space:normal}
.nf{padding:40px var(--g) 56px;background:transparent}
.nf h1{font-size:30px;line-height:1.3}
.nf .cta2{margin-top:24px;flex-wrap:wrap}
.nf .cta2 .btn{flex:1 1 0;min-width:140px}
body .ghero h1,body .thero h1,body .ahero h1{font-size:30px;line-height:1.3;letter-spacing:-.03em}
body .ghero,body .thero,body .ahero{padding-top:12px}
body .ghero .lead,body .thero .lead,body .ahero .lead{color:var(--sub)}
body.guide .gbody{margin:4px var(--g) 0;padding:24px 20px 20px;border-radius:var(--r);background:var(--white)}
body.guide .gbody h2{font-size:22px}
body.guide .gbody h2:not(:first-child){margin:36px -20px 16px;padding:28px 20px 0;border-top:12px solid var(--bg)}
body .box,body .res,body .abox,body .anext,body .friend,body .how,body .gcard{border-radius:var(--r);box-shadow:none}
body .box,body .res,body .abox{padding:22px 20px 24px}
body .anext{padding:22px 20px}
body .res .big{font-weight:800}
body .abox .big{font-weight:800}
body .law{border-radius:var(--r2)}
body .friend{border-radius:var(--r2)}
body .how{margin:0 0 12px;padding:18px 20px;border-radius:var(--r);background:var(--white)}
body section.how{margin:12px var(--g) 0;padding:24px 20px 22px}
body .gcard{background:var(--white);color:var(--ink)}
body .gcard b{font-weight:800}
body .gcard span{color:var(--sub)}
body .gcard em{padding:12px 20px;border-radius:14px;background:var(--brand);color:#fff;font-weight:800}
body select,body input[type=text],body input[type=number],body input[type=email],body input[type=tel],body select.sel,body input.amt,body select.yr,body .bd select{height:56px;border:0;border-radius:var(--r3);background:var(--field);padding:0 14px;font-size:18px}
body .tl span{border-radius:var(--r3);background:var(--field);font-weight:600}
body .tl input:checked+span{background:var(--soft);color:var(--brand);box-shadow:inset 0 0 0 2px var(--brand)}
body .q{border:0;background:var(--white);border-radius:var(--r2)}
body .q.on{background:var(--soft);box-shadow:inset 0 0 0 2px var(--brand)}
body .ynav a,body .ygrid a{border-radius:var(--r3);font-weight:600}
body .from{box-shadow:none}
body.gift .cta2 .btn.soft{height:48px;background:transparent;color:var(--body);font-weight:600}
body .more{border-top:0}
body .more summary{font-weight:700}
body .fld legend,body .fld label.lb{font-weight:700}
fieldset:first-child>legend,body .fld:first-child legend{border-top:0;margin-top:0;padding-top:4px}
.related{padding:28px var(--g) 8px}
.related h2{font-size:22px;line-height:1.4}
.related ul{list-style:none;margin-top:12px;padding:4px 18px;border-radius:var(--r);background:var(--white)}
.related li{border-top:1px solid var(--line)}
.related li:first-child{border-top:0}
.related li:last-child{border-bottom:0}
.related a{display:flex;align-items:center;gap:10px;min-height:60px;padding:8px 0;font-size:17px;font-weight:600;line-height:1.4;text-decoration:none;color:var(--ink)}
.related .kd{flex:none;min-width:50px;padding:2px 8px;border-radius:7px;background:var(--field);color:var(--sub);font-size:12px;font-weight:700;text-align:center}
.related .hubgo{display:inline-flex;align-items:center;min-height:48px;margin-top:6px;color:var(--sub);font-weight:600;text-decoration:none}
.related .hubgo::after{content:" ›";margin-left:4px}
.cats.hubs{margin-top:24px}

/* 쪽 안 <style>에 남은 테두리·그림자·옛 회색 상자를 한 번에 (10/26 전수 조사: case·mini·fig·calc·tcard·rcard·kbox·card2·mk·gt·sl 등) */
body .case,body .say,body .how .f,body .rules li,body .list3 li,body .drawer label,body .st div,body .chips span,body .mini{border:0;background:var(--field);border-radius:var(--r2)}
body .mini .din{border:0;background:var(--white);border-radius:var(--r3)}
body .q{background:var(--field)}
body .fig.shot img,body .exshot,body .sl{border:0;border-radius:var(--r2)}
body .calc,body .tcard,body .rcard,body .kbox,body .card2,body .mk,body .dcard{box-shadow:none;border:0;border-radius:var(--r)}
body .tcard select,body .q input[type=text],body .mk input[type=text],body .cn,body .addf input,body textarea.msg{border:0;background:var(--field);border-radius:var(--r3)}
body .del{border:0;background:#FDECEC}
body input[type=date],body .box select,body .box input:not([type=radio]):not([type=checkbox]),body .tcard select,body .tcard input:not([type=radio]):not([type=checkbox]){border:0;background-color:var(--field);border-radius:var(--r3)}
body .sl.on,body .gt.on{outline:2px solid var(--brand);outline-offset:-2px;border:0}

/* 10/26 사장님: 첫 화면은 제목·한 줄·입력 카드만. 긴 설명(방법·근거·표·주의)은 details.learn 에 접어 두고 결과가 나오면 쪽 스크립트가 open 을 붙인다 */
details.learn{margin:12px var(--g) 0;padding:0 20px;border-radius:var(--r);background:var(--white)}
details.learn>summary{min-height:62px;padding:16px 0;font-size:17px;font-weight:700;color:var(--ink)}
details.learn>summary::after{content:"+";font-size:22px;color:var(--mute)}
details.learn[open]>summary::after{content:"\2212"}
details.learn>.in{padding:0 0 22px}
details.learn h2,details.learn h3{font-size:18px;line-height:1.4;margin:22px 0 8px}
details.learn>.in>h2:first-child,details.learn>.in>h3:first-child,details.learn>.in>section:first-child>h2{margin-top:4px}
details.learn p,details.learn li,details.learn td,details.learn th{font-size:16px;line-height:1.65;color:var(--body)}
details.learn p{margin:0 0 10px}
details.learn section,details.learn .how,details.learn .src,details.learn .note,details.learn .box{margin:0;padding:0;background:transparent;border-radius:0;box-shadow:none}
details.learn .how+.how,details.learn section+section{margin-top:18px}
details.learn table{width:100%;border-collapse:collapse;margin:8px 0 12px}
details.learn th,details.learn td{padding:10px 8px 10px 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
details.learn th{color:var(--sub);font-weight:600}
.lead.one{max-width:none}
.under{margin:12px 6px 0;font-size:15px;line-height:1.5;color:var(--sub);text-align:center}

@media (min-width:600px) and (max-width:959px){
  body{max-width:480px;margin:0 auto}
}
@media (max-width:359px){.cta2{flex-direction:column}.cta2 .btn{width:100%}.hero h1{font-size:28px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* PC: 따로 만들지 않고 여백(--g)만 키운다. 홈·모음 1040px, 글·도구 720px. 하단 탭 대신 머리 글자 메뉴 */
@media (min-width:960px){
  body{max-width:none;margin:0;border:0;padding-bottom:40px}
  :root{--g:max(40px,calc((100vw - 1040px)/2))}
  body.guide,body.tool,body:has(.doc){--g:max(40px,calc((100vw - 720px)/2))}
  .top{height:76px;padding-left:max(40px,calc((100vw - 1040px)/2));padding-right:max(40px,calc((100vw - 1040px)/2))}
  .topnav{display:flex;gap:4px;margin-left:auto;margin-right:12px}
  .topnav a{display:inline-flex;align-items:center;height:44px;padding:0 14px;border-radius:999px;font-size:16px;font-weight:600;color:var(--sub);text-decoration:none}
  .topnav a:hover{background:var(--white);color:var(--ink)}
  .tabbar{display:none}
  .hero h1{font-size:44px}
  .lhero h1,.pagehead h1,body .ghero h1,body .thero h1,body .ahero h1{font-size:38px}
  .doors{grid-template-columns:repeat(3,1fr);max-width:none}
  body.home .menu,body.hub .menu{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;align-items:start}
  body.home .menu>:not(.cat),body.hub .menu>:not(.cat){grid-column:1/-1}
  .hero3d{width:168px;height:168px;top:0}
  .hero3d~h1,.hero3d~.lead,.hero3d~p{padding-right:200px}
  .gcard{max-width:560px}
}

/* 10/27 계산기 쪽 맨 아래 「다른 계산」 격자 (build.mjs calcGridBlock). 제목은 카드 밖 23px, 칸은 흰 바탕·모서리 28·테두리 0·그림자 0, 아이콘 40px + 이름 한 줄(넘치면 말줄임).
   폰 2열, PC 3열. 이름 칸은 minmax(0,1fr)+min-width:0 이라 긴 이름이 칸을 밀어 넘치지 않는다. */
body .calc-more{padding:32px var(--g) 12px}
body .calc-more h2{margin:0 2px 14px;font-size:22px;line-height:1.35;letter-spacing:-.03em}
body .calc-grid{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0}
body .calc-grid li{min-width:0;margin:0;padding:0;border:0}
body .calc-grid a{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:14px;min-width:0;min-height:112px;padding:18px 14px 16px 16px;border:0;border-radius:var(--r);background:var(--white);box-shadow:none;color:var(--ink);text-decoration:none;-webkit-tap-highlight-color:transparent}
body .calc-grid a:active{background:var(--field)}
body .calc-grid img{display:block;flex:none;width:44px;height:44px}
body .calc-grid span{display:block;width:100%;min-width:0;font-family:var(--head);font-size:16px;font-weight:700;line-height:1.4;letter-spacing:-.02em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (hover:hover){body .calc-grid a:hover{background:#FBFBFC}}
@media (min-width:960px){body .calc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ===== 10/27 보내기 (지오스포츠 사례: 받을 사람을 글이 지목하고, 결과 바로 아래 단추 하나). 정본 기획/참고/지오스포츠_공유설계_20261027.md. 시험: 도구/시험_공유설계.cjs
   ① 글 끝 「이 글, 이런 분께 보내 주세요」(.sendto, build.mjs 가 안내 글 72편에 자동) ② 몇 번 남았을까 결과 아래 보내기(.fsend)와 결과 카드 안 비교 줄(.cmp). 초록 하나, 테두리·그림자 없음, 글자 17px 이상. */
.sendto{margin:28px 0 0;padding:22px 20px 20px;border-radius:var(--r2);background:var(--field)}
.sendto-q{font-family:var(--head);font-weight:800;font-size:20px;line-height:1.35;letter-spacing:-.03em;color:var(--ink)}
.sendto-who{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;padding:0;list-style:none}
.sendto-who li{margin:0;padding:8px 14px;border-radius:999px;background:var(--white);font-size:17px;line-height:1.4;color:var(--ink)}
.sendto .btn.wide{margin-top:16px;color:#fff}
.sendto-msg{margin-top:8px;font-size:17px;line-height:1.5;color:var(--brand)}
.sendto-msg:empty{margin:0}
.fsend{margin-top:16px;padding:20px 18px 18px;border-radius:var(--r);background:var(--white)}
.fsend .flab{font-size:17px;font-weight:700;color:var(--ink)}
.fsend .fk{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}
.fsend .fk label{position:relative;cursor:pointer}
.fsend .fk input{position:absolute;opacity:0;width:1px;height:1px}
.fsend .fk span{display:flex;align-items:center;min-height:48px;padding:6px 16px;border-radius:999px;background:var(--field);font-size:17px;font-weight:500;line-height:1.3;color:var(--ink)}
.fsend .fk input:checked+span{background:var(--soft);color:var(--brand);font-weight:700;box-shadow:inset 0 0 0 2px var(--brand)}
.fsend .fk input:focus-visible+span{outline:3px solid var(--brand);outline-offset:2px}
.fsend .fmsg{margin-top:8px;font-size:17px;line-height:1.5;color:var(--brand)}
.fsend .fmsg:empty{margin:0}
.fsend .fnote{margin-top:10px;font-size:17px;line-height:1.55;color:var(--sub);text-align:center}
.res .cmp{margin-top:10px;padding:12px 14px;border-radius:14px;background:var(--soft);font-size:18px;line-height:1.5;color:var(--ink)}
.res .cmp b{font-family:var(--head);font-weight:700}
.res .cmp em{font-style:normal;font-weight:700;color:var(--brand);white-space:nowrap}
.res .cmp-sm{margin-top:6px;font-size:17px;line-height:1.5;color:var(--sub)}

/* ===== 10/27 움직임 (사장님 「살짝살짝」). 손님 쪽 쪽만: build.mjs 가 <html class="mo"> 를 붙인 쪽. 앱(/pro/)·선물 카드·노하우·사장님 숫자 쪽은 html.mo 가 없어 아래 규칙이 하나도 안 걸린다.
   원칙: 움직이는 건 translate·scale·rotate·opacity·색·그림자뿐(레이아웃 속성 금지, 쪽이 밀리지 않는다 CLS 0). 쪽 안에 이미 있는 transform 을 안 덮으려고 개별 속성(translate·scale·rotate)을 쓴다. 모두 0.36초 안.
   공용 스크립트 src/motion.js(나타나기·펼침·숫자 올라가기)와 한 짝. 움직임 줄이기 설정이면 전부 끈다. 정지 상태의 「그림자 0」 규칙은 그대로, 그림자는 PC에서 마우스를 올린 때만. ===== */
:root{--ease:cubic-bezier(.2,.8,.2,1);--t-fast:150ms;--t-base:240ms;--t-slow:360ms}

/* 1) 눌림·전환: 단추, 탭, 칩, 카드 링크, 접힘 제목, 목록 줄 */
html.mo :is(.btn,.notify,.cats a,.hubgo,.crumb,.topnav a,.ham,.pcase,.door,.feature,.gcard,.calc-grid a,.ynav a,.ygrid a,.svc-row,summary,button,.tl span){
  transition:translate var(--t-base) var(--ease),scale var(--t-fast) var(--ease),opacity var(--t-fast) var(--ease),background-color var(--t-base) var(--ease),color var(--t-base) var(--ease),box-shadow var(--t-base) var(--ease)}
html.mo :is(.btn,.notify,.cats a,.door,.feature,.gcard,.calc-grid a,.ynav a,.ygrid a,summary,button:not(:disabled)):active{scale:.98}
html.mo .tl label:active span{scale:.98}
html.mo :is(.btn,.notify,.cats a,.door,.feature,.gcard,.calc-grid a,.svc-row,.logo,.ham,.tabbar a){-webkit-tap-highlight-color:transparent}
html.mo .svc-row:active{opacity:.6}
html.mo :is(.logo,.hubgo):active{opacity:.6}
html.mo .ham:active{scale:.92}
html.mo .tabbar a:active{scale:.92}
html.mo .tabbar a{transition:scale var(--t-fast) var(--ease)}
html.mo .svc-row .tile img,html.mo .svc-row .go,html.mo .door .go{transition:translate var(--t-base) var(--ease)}

/* 입력칸: 눌러 글 쓰는 칸이 초록 테두리로 부드럽게 바뀐다(바깥 테두리 색만 전환) */
html.mo :is(input,select,textarea){outline:3px solid transparent;outline-offset:2px;transition:outline-color var(--t-fast) var(--ease),background-color var(--t-base) var(--ease),box-shadow var(--t-base) var(--ease)}
html.mo :is(input,select,textarea):focus-visible{outline-color:var(--brand)}

/* 본문 글 링크: 밑줄 간격 전환 */
html.mo main a:not([class]){text-underline-offset:3px;transition:text-underline-offset var(--t-fast) var(--ease),text-decoration-color var(--t-fast) var(--ease),color var(--t-fast) var(--ease)}

/* PC(마우스 있는 기기)에서만: 카드·목록 줄이 살짝 떠오름 */
@media (hover:hover) and (pointer:fine){
  html.mo :is(.door,.feature,.gcard,.calc-grid a):hover{translate:0 -2px;box-shadow:0 8px 22px rgba(25,31,40,.07)}
  html.mo .btn:not(.off):hover{translate:0 -1px;box-shadow:0 6px 16px rgba(25,31,40,.10)}
  html.mo .svc-row:hover .tile img{translate:0 -2px}
  html.mo .svc-row:hover .go,html.mo .door:hover .go{translate:3px 0}
  html.mo .svc-row:hover .svc-n{color:var(--brand)}
  html.mo .svc-n{transition:color var(--t-base) var(--ease)}
  html.mo .cats a:hover{background-color:var(--soft)}
  html.mo .tabs button:not([aria-selected=true]):hover{background-color:var(--field)}
  html.mo main a:not([class]):hover{text-underline-offset:5px}
}

/* 2) 쪽 이동: 교차 문서 화면 전환(안 되는 브라우저는 그냥 바뀜). 켜는 쪽은 손님 쪽 머리에 build.mjs 가 넣는 @view-transition. 머리·하단 탭은 제자리, 아래 내용만 0.2초 페이드+8px 떠오름, 활성 탭 알약은 미끄러짐 */
html.mo .top{view-transition-name:vt-top}
html.mo .tabbar{view-transition-name:vt-tabbar}
html.mo .tabbar a{position:relative;isolation:isolate}
html.mo .tabbar a.on{background:transparent;view-transition-name:vt-tabon}
html.mo .tabbar a.on::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:999px;background:#EDE4D2;animation:mo-pill var(--t-base) var(--ease)}
@keyframes mo-pill{from{translate:var(--dx,0) 0}}
::view-transition-group(*){animation-duration:var(--t-base);animation-timing-function:var(--ease)}
::view-transition-old(root){animation:mo-vt-out 200ms var(--ease) both}
::view-transition-new(root){animation:mo-vt-in 200ms var(--ease) both}
@keyframes mo-vt-out{to{opacity:0}}
@keyframes mo-vt-in{from{opacity:0;transform:translateY(8px)}}

/* 3) 나타나기: 첫 화면(제목·한 줄·첫 카드)은 CSS 만으로 0.24초에 떠오름(지연 0·40·80ms). 화면 전환 중(html.vt)에는 전환이 대신하므로 건너뜀.
   스크롤 아래 칸은 motion.js 가 .reveal 을 붙이고 들어올 때 .in 을 붙인다. 숨기는 건 motion.js 가 .js 를 붙인 뒤에만(스크립트가 안 돌면 전부 보임). */
@keyframes mo-in{from{opacity:0;translate:0 10px}}
@keyframes mo-rise{from{opacity:0;translate:0 12px}}
html.mo:not(.vt) main>section:first-of-type>:nth-child(-n+6){animation:mo-in var(--t-base) var(--ease) backwards}
html.mo:not(.vt) main>section:first-of-type>:nth-child(2){animation-delay:40ms}
html.mo:not(.vt) main>section:first-of-type>:nth-child(n+3){animation-delay:80ms}
html.mo:not(.vt) :is(.gbody,.menu)>:nth-child(-n+2){animation:mo-in var(--t-base) var(--ease) 80ms backwards}
html.mo.js .reveal:not(.in){opacity:0;translate:0 12px}
html.mo .reveal.in{animation:mo-rise var(--t-base) var(--ease) var(--d,0ms) backwards}

/* 4) 접힘: 아이콘 + 가 x 로 돌아감(열림 높이는 motion.js 가 편다). 결과 큰 숫자: 올라가는 동안 글자 폭이 흔들리지 않게 */
html.mo :is(.faq details,.tfaq details,details.learn)>summary::after{transition:rotate var(--t-base) var(--ease)}
html.mo :is(.faq details,.tfaq details,details.learn)[open]>summary::after{content:"+";rotate:45deg}
html.mo :is(.res,.resbox,.abox) .big{font-variant-numeric:tabular-nums}
html.mo [data-cu]{position:relative;color:transparent}
html.mo [data-cu]>.cu-ov{position:absolute;left:0;top:0;text-align:inherit;pointer-events:none}

/* 움직임 줄이기 설정, 인쇄: 전부 끈다 */
@media (prefers-reduced-motion:reduce){
  html.mo *,html.mo *::before,html.mo *::after{animation:none!important;transition:none!important}
  html.mo .reveal{opacity:1!important;translate:none!important}
}
@media print{html.mo .reveal{opacity:1!important;translate:none!important;animation:none!important}}

/* ===== 10/28 거북이 캐릭터 배치 =====
   그림은 src/img/char/NN.webp(360 폭, 가로세로 비율이 그림마다 달라 세로로 길다). 높이만 정하고 width:auto(태그의 width·height 는 원본 크기라 비율만 알려 주고 찌그러뜨리지 않는다).
   첫 화면·모음 쪽 큰 그림(.hero-char)은 오른쪽에 띄운다(float). 글이 그림 옆에서만 좁아지고 그림 아래부터는 전체 폭을 쓴다(긴 소개 글이 끝까지 좁은 줄이 되지 않게).
   크기: 첫 화면·모음 120(PC 168), 사이트 소개 120, 404 160, 발 56, 「다른 계산」 64, 글 보내기 72. 녹색·갈색 바탕 위에서는 .char-ring 흰 원을 먼저 깐다. */
.hero-char{float:right;display:block;width:auto;height:120px;margin:0 0 6px 10px;pointer-events:none;-webkit-user-select:none;user-select:none}
.hero:has(>.hero-char),.lhero:has(>.hero-char),.pagehead:has(>.hero-char){display:flow-root}
.hero-char~.doors,.hero-char~.cta2{clear:right}
.nf-char{display:block;width:auto;height:160px;margin:0 auto 20px;pointer-events:none}
.foot-char{display:block;width:auto;height:56px;margin:0 0 10px;pointer-events:none}
body .calc-more .cm-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 2px 12px}
body .calc-more .cm-head h2{margin:0 0 4px}
body .calc-more .cm-char{display:block;flex:none;width:auto;height:64px;pointer-events:none}
.sendto-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sendto-head .sendto-q{flex:1;min-width:0}
.sendto-char{display:block;flex:none;width:auto;height:72px;margin:-4px 0 0;pointer-events:none}
.char-ring{display:grid;place-items:center;flex:none;width:176px;height:176px;margin:4px auto;border-radius:50%;background:#fff}
.char-ring img{display:block;width:auto;height:136px;pointer-events:none}
@media (min-width:960px){
  .hero-char{height:144px;margin-left:24px}
  .hero>.hero-char{height:168px}
  .nf-char{margin-left:0}
}
@media (max-height:700px){
  .char-ring{width:140px;height:140px}
  .char-ring img{height:108px}
}

/* ===== 10/28 홈 v3: 자동 슬라이드 배너(.bslide) + 홈 목록(.hgrid · .hm-*) =====
   배너: 카드 4장이 가로로 붙어 있고 scroll-snap 으로 한 장씩 멈춘다. 폰 높이 150·PC 180, 왼쪽 큰 글 2줄 + 작은 글 1줄 + 알약 단추, 오른쪽 거북이.
   바탕은 토큰의 연한 색 4가지(--soft · --t-blue · --t-yellow · --white)만. 카드 어디를 눌러도 단추 주소로 가도록 단추의 ::after 로 카드 전체를 덮는다. 움직임은 JS(scrollTo)뿐, CSS 전환 없음. */
.bslide{margin:16px 0 0;padding:0 var(--g)}
.bslide>*{max-width:1100px;margin-left:auto;margin-right:auto}
.bs-track{position:relative;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.bs-track::-webkit-scrollbar{display:none}
.bs-card{position:relative;flex:0 0 100%;scroll-snap-align:start;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;height:150px;padding:12px 12px 12px 20px;border-radius:var(--r);overflow:hidden;color:var(--ink)}
.bs-card.soft{background:var(--soft)}
.bs-card.blue{background:var(--t-blue)}
.bs-card.cream{background:var(--t-yellow)}
.bs-card.white{background:var(--white)}
.bs-t{font-family:var(--head);font-weight:800;font-size:20px;line-height:1.3;letter-spacing:-.03em;color:var(--ink)}
.bs-s{margin-top:2px;font-size:15px;line-height:1.5;color:var(--sub)}
.bs-btn{position:static;display:inline-flex;align-items:center;height:34px;margin-top:8px;padding:0 16px;border-radius:999px;background:var(--brand);color:#fff;font-size:15px;font-weight:700;text-decoration:none;white-space:nowrap}
.bs-btn::after{content:"";position:absolute;inset:0}
.bs-img{display:block;width:auto;height:124px;pointer-events:none;-webkit-user-select:none;user-select:none}
.bs-dots{display:flex;justify-content:center;margin-top:4px}
.bs-dots button{position:relative;width:28px;height:28px;border:0;background:transparent;cursor:pointer}
.bs-dots button::before{content:"";position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:var(--mute);opacity:.45}
.bs-dots button[aria-current]::before{width:20px;margin-left:-10px;border-radius:4px;background:var(--brand);opacity:1}
@media (min-width:400px){.bs-t{font-size:22px}}
@media (min-width:960px){
  .bs-card{height:180px;padding:20px 28px 20px 36px;gap:16px}
  .bs-t{font-size:24px}
  .bs-s{font-size:16px}
  .bs-btn{height:40px;margin-top:12px;padding:0 20px;font-size:16px}
  .bs-img{height:140px}
}
.hm-h{margin:30px 2px 12px;font-size:22px;line-height:1.4;letter-spacing:-.03em}
.cats+.hm-h{margin-top:22px}
.hgrid{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hgrid a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:116px;padding:16px 8px;border-radius:24px;background:var(--white);color:var(--ink);font-family:var(--head);font-weight:750;font-size:16px;line-height:1.4;letter-spacing:-.02em;text-align:center;text-decoration:none}
.hgrid img{display:block;width:52px;height:52px}
.hm-rec{padding:4px 20px;border-radius:var(--r);background:var(--white)}
.hm-more{display:grid;gap:10px;margin-top:20px}
@media (min-width:600px){.hm-more{grid-template-columns:1fr 1fr}}
@media (min-width:960px){.hgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* 10/30 허브 쪽 h2(검색노출_전체지도 B: h1 다음 바로 h3 였음) */
.hub-h2{font-family:var(--head);font-size:20px;line-height:1.35;letter-spacing:-.03em;margin:0 0 14px;padding:0 2px}

/* 10/30 화면 날짜(처음 낸 날·마지막 고친 날)와 꼬리 공정 4줄 */
.dates{margin:-6px 0 14px;font-size:14px;line-height:1.5;opacity:.7}
.dates time{white-space:nowrap}
footer .legal.how{margin:10px 0 0;padding-left:18px}
footer .legal.how li{margin:2px 0}

/* 10/30 수첩 입구 카드 「열리는 양장 + 띠지」(.po, 설계사 쪽 「보당당 수첩 열기」). 사장님이 4안(열리는 양장)과 6안(띠지)을 하나로 정함.
   층(뒤에서 앞): .po-pg 속지(가로줄 크림 쪽, 오른쪽 가장자리에 쪽 겹침 두 줄) -> .po-char 당당이(20 돋보기) -> .po-cv 표지(짙은 초록, 책등 띠, 제목) -> .po-band 띠지 -> a.proopen 투명 링크.
   표지는 transform-origin 왼쪽 가운데에서 rotateY(var(--ang)) 로 열린다. 원근은 부모 .po 의 perspective 로 주고 소실점은 카드 한가운데.
   정지 --ang:-32deg(오른쪽에 속지 약 40px 보임) -> 올림·누름·키보드 초점 --ang:-56deg. 움직이는 건 표지 transform 하나(0.4초). 움직임 줄이기면 전환도 올림 변화도 끈다.
   띠지(.po-band)는 표지의 자식이 아니라 .po 에 붙은 형제라서 표지가 열려도 제자리(책 띠지처럼 아래쪽 고정). 표지(카드 너비)보다 양옆 6px 넓고 그림자 1단, 높이 56 = 16px 두 줄까지.
   띠지 오른쪽 끝의 초록 알약 「열기 ›」 는 ::after(눈에 보이는 짝일 뿐, 진짜 링크는 카드 전체를 덮는 투명 a.proopen). 띠지 글은 src/agent/index.html 의 스크립트가 수첩 자료로 바꾼다.
   띠지 글 16px: 자료가 있을 때 「오늘 연락 드릴 분 3명 · 고객 12명」 한 줄(폭 320 이면 두 줄), 없을 때 두 마디(「가입 없이 7일 무료 ·」 「폰과 PC 같은 수첩」)를 마디 사이에서만 줄바꿈(마디 안 띄어쓰기는 &nbsp;).
   책갈피 끈은 띠지와 겹쳐서 이 안에는 없다. 진짜 링크는 위로 튀어나온 당당이까지 덮는 투명 a.proopen(글자는 화면에서만 숨김, 읽기 도구는 「보당당 수첩 열기」). 시험 도구/시험_입장장면.cjs 가 a 한 줄 모양을 지켜서 이 구조로 했다.
   높이 168(+위로 튀어나온 당당이). 요소 6개(속지·당당이·표지·제목·띠지·링크). */
body .po{--cv:#0A6A4D;--ang:-32deg;position:relative;clear:right;display:block;height:168px;margin:50px 0 28px;border-radius:6px 24px 24px 6px;perspective:2400px;-webkit-tap-highlight-color:transparent}
body .po .po-pg{position:absolute;inset:0;border-radius:4px 22px 22px 4px;
  background:repeating-linear-gradient(to bottom,transparent 0 27px,rgba(190,175,140,.42) 27px 28px) 0 18px/100% calc(100% - 36px) no-repeat,var(--white);
  box-shadow:3px 2px 0 -1px #E3D8BE,6px 4px 0 -2px #D3C7AA,0 10px 18px -12px rgba(16,38,31,.5)}
body .po .po-char{position:absolute;z-index:1;right:-12px;top:-36px;display:block;width:auto;height:116px;pointer-events:none;-webkit-user-select:none;user-select:none}
body .po .po-cv{position:absolute;inset:0;z-index:2;display:block;border-radius:6px 24px 24px 6px;color:var(--white);
  background:linear-gradient(90deg,rgba(0,0,0,.16) 0 10px,rgba(255,253,248,.2) 10px 11px,transparent 11px),var(--cv);
  box-shadow:8px 8px 14px -10px rgba(16,38,31,.6);
  transform-origin:0 50%;transform:rotateY(var(--ang));transition:transform .4s cubic-bezier(.2,.8,.2,1)}
body .po .po-t{position:absolute;left:30px;top:26px;display:block;font-family:var(--head);font-weight:800;font-size:28px;line-height:1.3;letter-spacing:-.03em;white-space:nowrap;color:var(--white)}
body .po .po-band{position:absolute;left:-6px;right:-6px;bottom:20px;z-index:3;display:flex;align-items:center;height:56px;padding:0 96px 0 24px;border-radius:4px;background:#FBF4E3;color:var(--ink);
  font-size:16px;font-weight:700;line-height:1.35;letter-spacing:-.02em;text-wrap:balance;box-shadow:0 5px 10px -4px rgba(16,38,31,.45)}
body .po .po-band::after{content:"열기 ›";position:absolute;right:12px;top:50%;translate:0 -50%;display:flex;align-items:center;height:36px;padding:0 15px;border-radius:999px;background:var(--brand);color:#fff;font-size:16px;font-weight:800;letter-spacing:-.01em;white-space:nowrap}
body .po a.proopen{position:absolute;inset:-50px -6px -12px -6px;z-index:4;display:block;width:auto;height:auto;margin:0;padding:0;border-radius:inherit;background:transparent;color:transparent;font-size:0;line-height:0;overflow:hidden;white-space:nowrap}
body .po:has(a.proopen:focus-visible){outline:3px solid var(--brand);outline-offset:9px;--ang:-56deg}
body .po a.proopen:focus-visible{outline:none}
body .po:has(a.proopen:active){--ang:-56deg}
html.mo body .po a.proopen:hover{translate:none;box-shadow:none}
html.mo body .po a.proopen:active{scale:1}
@media (hover:hover) and (pointer:fine){body .po:hover{--ang:-56deg}}
@media (min-width:600px){body .po{max-width:520px}}
@media (max-width:359px){body .po .po-band{padding-right:88px}body .po .po-band::after{padding:0 12px;right:10px}}
/* 10/30 밤 사장님 「전혀 열리지 않아」: 윈도 「애니메이션 효과」가 꺼진 PC 는 움직임 줄이기로 잡혀 표지가 아예 안 열렸음. 줄이기에서도 열리긴 하되 짧게(0.15초)만 움직인다 */
@media (prefers-reduced-motion:reduce){body .po .po-cv{transition:transform .15s linear!important}}
