@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
/* 새 모양 A 밝게(대표 11-13 "박스 디자인이 너무 옛날 방식… 트렌디하게" → 시안 docs/design/fresh-1113 에서 "A 밝게로").
   규칙: 선 두른 상자 없음 · 면 밝기 한 단계로 구분 · 큰 모서리 · 그림자/그라데이션 없음 · 코치 답은 상자 없이 바탕 위 글 · 움직임은 반응일 때만.
   theme-bridge.css 뒤에 얹는다. 이 파일과 index.html 의 link 한 줄을 빼면 바로 앞 모습으로 돌아간다. 글·단계는 건드리지 않는다. */
html:root:root,html:root:root body,html:root:root body.beta{
  --bg:#ffffff;--paper:#ffffff;--panel:#ffffff;--ink:#111111;--muted:#555555;--ink-soft:#555555;--line:#d4d4d4;
  --accent:#111111;--accent-ink:#ffffff;--on-accent:#ffffff;--bubble:#f1f1f1;--lemon:#f1f1f1;--tint:#f1f1f1;
  --fr-tone:#f1f1f1;--fr-tone2:#e2e2e2;--fr-hue:#111111;--fr-ease:cubic-bezier(.2,.8,.2,1);
  --fr-font:'Pretendard Variable',Pretendard,'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif;--jua:var(--fr-font)}
html:root:root body{background:var(--bg);color:var(--ink);font-family:var(--fr-font);-webkit-font-smoothing:antialiased}
html:root:root body :is(h1,h2,h3,h4,.ps-label,.mst,b.t,.bwho b,.lc-title),html:root:root .sh-bar :is(.sh-brand,.sh-who){font-family:var(--fr-font)!important;font-weight:800!important;letter-spacing:-.02em}
html:root:root body :is(button,input,textarea,select){font-family:var(--fr-font)}
html:root:root body ::selection{background:#111111;color:#fff}
html:root:root body :focus-visible{outline:2px solid var(--fr-hue);outline-offset:2px}

/* 첫 화면 띠: 밤 그림이 새 바탕색으로 밝아진다 */
@media (min-height:560px){html:root:root.sh-chat:not(.sh3) body.explore.fresh::before{
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 40%,rgba(255,255,255,.8) 80%,#ffffff 100%),url(/img/defense/fleet.jpg) 38% 100%/auto 330% no-repeat}}
html:root:root body .empty.landing h1{font-size:26px;line-height:1.3}
html:root:root body .empty.landing p{color:var(--muted)}

/* 말: 코치 답은 상자 없이, 손님 말만 말풍선 */
html:root:root body .thread>.msg.bot{background:none;border:0;box-shadow:none;border-radius:0;padding:0 0 2px}
html:root:root body .thread>.msg.bot.gc{border-left:0}
html:root:root body .msg.bot p{font-size:16px;line-height:1.6;letter-spacing:-.005em}
html:root:root body .msg.user>div{background:var(--fr-tone);border:0;border-radius:20px 20px 6px 20px;padding:10px 14px;color:var(--ink)}
html:root:root body .bwho small{color:var(--muted)}
html:root:root body .thread>.msg.bot:last-child .bwho img{border:0;box-shadow:none}
html:root:root body .bswitch{background:var(--fr-tone);color:var(--muted);border:0;border-radius:999px}
html:root:root body .msg.bot a{color:#111111}

/* 단추: 알약 모양, 선 없음 */
html:root:root body :is(.ctools,.chips,.bquick,.pchips) button,html:root:root body .ctools a,html:root:root body :is(#qchip,#pchip,.fbchip){
  min-height:44px;padding:0 16px;border:0!important;border-radius:999px!important;background:var(--panel);color:var(--ink)!important;font-weight:600;font-size:15px;box-shadow:none;
  transition:transform .12s var(--fr-ease),background .2s}
html:root:root body .ctools a,html:root:root body .msg.bot .ctools a{display:inline-flex;align-items:center;text-decoration:none}
html:root:root body .ctools{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
html:root:root body :is(.ctools,.chips,.bquick,.pchips) button:is(.on,[aria-pressed=true]){background:var(--accent);color:var(--accent-ink)!important}
html:root:root body .empty .xchips button{border:0!important;border-radius:18px!important;background:var(--panel);min-height:54px;padding:0 18px;font-weight:600;transition:transform .12s var(--fr-ease)}
html:root:root body .rate button{border:0;background:var(--panel);border-radius:999px}
html:root:root body .rate button.on{background:var(--accent);color:#fff;opacity:1}
html:root:root body :is(.ctools,.chips,.bquick,.pchips,.xchips,.rate) button:active,html:root:root body #ctool :is(.row,.job) :is(button,a):active,html:root:root body #send:active{transform:scale(.95)}

/* 도구 카드: 선·그림자 없음, 흰 면, 큰 모서리 */
html:root:root body #ctool{border:0;box-shadow:none;border-radius:24px;padding:20px;background:var(--panel)}
html:root:root body #ctool h2{font-size:19px;line-height:1.3;margin:0 0 8px}
html:root:root body #ctool p{font-size:15px}
html:root:root body #ctool .meter{color:var(--muted);font-size:13px}
html:root:root body #ctool label{font-size:13px;font-weight:600;color:var(--muted);margin:12px 0 5px}
html:root:root body #ctool label.check{font-size:15px;color:var(--ink);font-weight:500;margin:0}
html:root:root body #ctool :is(input:not([type=checkbox]):not([type=radio]),textarea,select){min-height:50px;border:0;border-radius:14px;background:var(--fr-tone);padding:10px 14px;font-weight:600;
  transition:background .2s,box-shadow .2s}
html:root:root body #ctool :is(input,textarea)::placeholder{color:var(--muted);font-weight:500}
html:root:root body #ctool :is(input:not([type=checkbox]):not([type=radio]),textarea,select):focus{outline:0;background:var(--fr-tone2);box-shadow:0 0 0 2px var(--fr-hue)}
html:root:root body #ctool input[type=checkbox]{accent-color:#111111;width:20px;height:20px}
html:root:root body #ctool .row{gap:8px;margin-top:16px}
html:root:root body #ctool :is(.row,.job) :is(button,a){min-height:46px;padding:0 18px;border:0;border-radius:999px;background:var(--fr-tone);color:var(--ink);font-weight:600;transition:transform .12s var(--fr-ease),background .2s}
html:root:root body #ctool .row .go{background:var(--accent);color:var(--accent-ink);font-weight:700}
html:root:root body #ctool .row button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink)}
html:root:root body #ctool :is(.job,td,details.jobgroup>summary){border-color:var(--line)}
html:root:root body #ctool .err{color:#c2372b}

/* 다른 카드들: 선 대신 흰 면 */
html:root:root body.beta :is(.card,.sheet .card,.mapcard,.brandcard,.plancard,.onlinecard,.intakecard,.scamcard,.lcard,.mt){border:0;border-radius:20px;background:var(--panel);box-shadow:none}
html:root:root body .lcard .lc-q{border-radius:12px}
html:root:root body.beta :is(.mapask,.bask,.planedit){border-radius:999px;background:var(--accent);color:var(--accent-ink)}
html:root:root body.beta .maprad{border:0;background:var(--fr-tone);border-radius:999px;overflow:hidden}
html:root:root body.beta .maprad button{border:0}

/* 입력 줄 */
html:root:root body.beta footer{background:var(--bg);border-top:0}
html:root:root body.beta.fresh footer{background:transparent}
html:root:root body #input{border:0;border-radius:24px;background:var(--panel);padding-left:18px;padding-right:18px;box-shadow:none}
html:root:root body #input:focus{outline:0;box-shadow:0 0 0 2px #111111} /* 11-16: 초점 테두리 대비 2.4→3 넘게(색만 진하게. color-mix 는 옛 브라우저에서 테두리가 아예 사라져 고정값) */
html:root:root body #send{border-radius:999px;background:var(--accent);color:var(--accent-ink);box-shadow:none;transition:transform .12s var(--fr-ease),opacity .2s}
html:root:root body #pbtn{border:0;border-radius:50%;background:var(--panel)}

/* 움직임: 반응일 때만. '움직임 줄이기'를 켠 폰에서는 끈다 */
@keyframes fr-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes fr-in{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
@keyframes fr-pop{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
  /* 새로 생긴 말에만(.fr-new 는 index.html render 가 붙인다). 대화 전체를 다시 그려도 지난 말은 움직이지 않는다 */
  html:root:root body .thread>.fr-new{animation:fr-rise .42s var(--fr-ease) both}
  html:root:root body .fr-new .ctools :is(button,a){animation:fr-pop .34s var(--fr-ease) both}
  html:root:root body .fr-new .ctools :is(button,a):nth-child(2){animation-delay:.05s}html:root:root body .fr-new .ctools :is(button,a):nth-child(3){animation-delay:.1s}
  html:root:root body .fr-new .ctools :is(button,a):nth-child(4){animation-delay:.15s}html:root:root body .fr-new .ctools :is(button,a):nth-child(5){animation-delay:.2s}
  html:root:root body .fr-new .ctools :is(button,a):nth-child(n+6){animation-delay:.25s}
  html:root:root body #ctool:not([hidden]){animation:fr-rise .38s var(--fr-ease) both}
  html:root:root body #ctool>*{animation:fr-in .32s var(--fr-ease) both}
  html:root:root body #ctool>*:nth-child(2){animation-delay:.04s}html:root:root body #ctool>*:nth-child(n+3){animation-delay:.08s}
  html:root:root body .empty .xchips button{animation:fr-rise .4s var(--fr-ease) both}
  html:root:root body .empty .xchips button:nth-child(2){animation-delay:.07s}html:root:root body .empty .xchips button:nth-child(3){animation-delay:.14s}
  html:root:root body .empty .xchips button:nth-child(n+4){animation-delay:.2s}
}

/* 손질 */
html:root:root body .bwho b{color:var(--ink)}
html:root:root body #pbtn{width:50px;height:50px;min-height:0;padding:0;flex:none;align-self:flex-end}
/* 도구 카드가 열려 있는 동안에는 걸어 다니는 코치가 단추를 가리지 않게 숨긴다(카드를 닫으면 돌아온다) */
html:root:root:has(#ctool:not([hidden])) #ca-stage :is(.ca-scene,.ca-fold){opacity:0;pointer-events:none;transition:opacity .2s}

/* 채팅 속 매물 진단 카드(rent.js): 같은 규칙 */
html:root:root body .rentcard{border:0;border-radius:20px;background:var(--panel);padding:18px;box-shadow:none}
html:root:root body .rentcard :is(textarea,input:not([type=checkbox]):not([type=radio]),select){border:0;border-radius:14px;background:var(--fr-tone);min-height:48px;padding:10px 14px;font-weight:600;transition:background .2s,box-shadow .2s}
html:root:root body .rentcard :is(textarea,input,select):focus{outline:0;background:var(--fr-tone2);box-shadow:0 0 0 2px var(--fr-hue)}
html:root:root body .rentcard :is(textarea,input)::placeholder{color:var(--muted);font-weight:500}
html:root:root body .rentcard .rgobtn{border:0;border-radius:999px;background:var(--accent);color:var(--accent-ink);font-weight:700;transition:transform .12s var(--fr-ease)}
html:root:root body .rentcard :is(.rgobtn,.share-btn):active{transform:scale(.95)}
html:root:root body .rentcard .share-btn{border:0;border-radius:999px;background:var(--fr-tone);color:var(--ink);font-weight:600}
html:root:root body .rentcard .rwarn{border:0;border-radius:14px;background:var(--fr-tone)}
html:root:root body .rentcard .rsec{border-top:0;margin-top:14px;padding-top:0}
html:root:root body .rentcard .rline{border-color:var(--line)}
html:root:root body .rentcard label{color:var(--muted);font-weight:600}

/* 걸어 다니는 코치가 말할 때의 말풍선(coach-alive.css): 굵은 테두리·그림자 대신 흰 면. 글자가 가장자리에 붙지 않게 안쪽 여백 */
html:root:root body .thread>.msg.bot:last-child{transition:padding .3s var(--fr-ease)}
html:root:root.ca-speak body .thread>.msg.bot:last-child{background:none!important;box-shadow:none!important;border-radius:0!important;padding:0 0 2px} /* 대표 11-28 "글자 나올 때 갑자기 흰색이 나오고 마지막에 배경색으로 변하는 거 별로, 흰색으로 바꾸지 마": 말하는 중에도 종이색 그대로 */
html:root:root.ca-one body .thread>.msg.bot:last-child::after{display:none}
html:root:root.ca-settle body .thread>.msg.bot:last-child{animation:none!important} /* 말이 끝날 때 흰 면에서 종이색으로 바뀌던 움직임(coach-alive.css ca-settle)도 끈다 */

/* "?" 안에 접어 둔 기준·출처(덕배 details.dk-q): 동그란 ? 단추, 누르면 연한 면에 펼침 */
html:root:root body details.dk-q{margin:8px 0 2px}
html:root:root body details.dk-q>summary{list-style:none;display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--fr-tone);color:var(--muted);font-weight:800;font-size:14px;cursor:pointer;transition:transform .12s var(--fr-ease),background .2s}
html:root:root body details.dk-q>summary::-webkit-details-marker{display:none}
html:root:root body details.dk-q>summary:active{transform:scale(.9)}
html:root:root body details.dk-q[open]>summary{background:var(--accent);color:var(--accent-ink)}
html:root:root body details.dk-q>:not(summary){margin:8px 0 0;padding:10px 12px;border-radius:14px;background:var(--fr-tone);color:var(--muted);font-size:14px;line-height:1.55}
html:root:root body #ctool details.dk-q>:not(summary){background:var(--bg)}
@media (prefers-reduced-motion:no-preference){html:root:root body details.dk-q[open]>:not(summary){animation:fr-rise .3s var(--fr-ease) both}}

/* ── 더 다듬기(대표 11-13 덕배 화면 "좀 더 이쁘게, 세련되지 못했어"): 도구 카드와 코치 단추 ──
   카드: 닫기는 오른쪽 위 작은 ×, 뒤로는 왼쪽 위 ‹, 주 단추는 아래 꽉 찬 폭. 칸은 낮고 옅게(굵은 회색 덩어리 대신 가는 테두리), 맨 위에 진행 막대(.prog>i, 도구가 넣으면).
   단추 줄: 둥둥 뜬 알약 대신 두 줄로 맞춘 조용한 칸(오른쪽에 ›). */
html:root:root body #ctool{position:relative;padding:22px 20px 20px;scrollbar-width:thin;scrollbar-color:var(--fr-tone2) transparent}
html:root:root body #ctool::-webkit-scrollbar{width:4px}html:root:root body #ctool::-webkit-scrollbar-thumb{background:var(--fr-tone2);border-radius:4px}
html:root:root body #ctool>h2:first-of-type{font-size:20px;letter-spacing:-.03em;margin:0 0 14px;padding-right:44px}
html:root:root body #ctool:has(.row [data-back])>h2:first-of-type{padding-left:40px}
html:root:root body #ctool label{font-size:13px;margin:14px 0 6px}
html:root:root body #ctool :is(input:not([type=checkbox]):not([type=radio]),textarea,select){min-height:46px;border-radius:12px;background:#f7f7f7;box-shadow:inset 0 0 0 1px #e2e2e2;padding:9px 14px;font-size:16px}
html:root:root body #ctool :is(input:not([type=checkbox]):not([type=radio]),textarea,select):focus{background:#fff;box-shadow:inset 0 0 0 2px var(--fr-hue)}
html:root:root body #ctool>p{margin:14px 0 6px}
html:root:root body #ctool>p:not(.meter):not(.err)+.row{margin-top:8px}
/* 고르기 줄(여러 개 중 하나): 작고 고른 간격 */
html:root:root body #ctool .row:not(:has(.go,[data-close])) button{min-height:40px;padding:0 14px;font-size:14px;background:#f7f7f7;box-shadow:inset 0 0 0 1px #e2e2e2}
html:root:root body #ctool .row:not(:has(.go,[data-close])) button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);box-shadow:none}
/* 움직이는 줄: 주 단추는 꽉 찬 폭, 닫기 ×·뒤로 ‹ 는 카드 위 모서리 */
html:root:root body #ctool .row:has(.go,[data-close]){margin-top:20px}
html:root:root body #ctool .row .go{flex:1 1 100%;order:-1;justify-content:center;min-height:52px;font-size:16px}
html:root:root body #ctool .row :is([data-close],[data-back]){position:absolute;top:16px;width:34px;height:34px;min-height:0;padding:0;font-size:0;justify-content:center;border-radius:50%;background:var(--bg);color:var(--muted)}
html:root:root body #ctool .row [data-close]{right:16px}html:root:root body #ctool .row [data-back]{left:16px}
html:root:root body #ctool .row [data-close]::before{content:'';width:12px;height:12px;background:currentColor;clip-path:polygon(8% 0,50% 42%,92% 0,100% 8%,58% 50%,100% 92%,92% 100%,50% 58%,8% 100%,0 92%,42% 50%,0 8%)}
html:root:root body #ctool .row [data-back]::before{content:'';width:9px;height:9px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translate(1px,-1px)}
html:root:root body #ctool .row :is([data-close],[data-back]):active{transform:scale(.9);background:var(--fr-tone)}
/* 진행 막대: 도구가 카드 맨 앞에 <div class="prog"><i style="width:37%"></i></div> 를 넣으면 보인다 */
html:root:root body #ctool>.prog{height:4px;border-radius:4px;background:var(--fr-tone);margin:-6px 44px 16px 0;overflow:hidden;animation:none}
html:root:root body #ctool>.prog>i{display:block;height:100%;border-radius:4px;background:var(--fr-hue);transition:width .5s var(--fr-ease)}

/* 코치 단추: 두 줄로 맞춘 조용한 칸 */
html:root:root body .ctools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
html:root:root body .ctools :is(button,a){display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;padding:8px 12px 8px 16px;border-radius:16px!important;text-align:left;line-height:1.3;white-space:normal;word-break:keep-all;font-size:15px;font-weight:600}
html:root:root body .ctools :is(button,a)::after{content:'';flex:none;width:7px;height:7px;border-right:2px solid var(--fr-tone2);border-top:2px solid var(--fr-tone2);transform:rotate(45deg);margin-right:4px}
html:root:root body .ctools :is(button,a):is(.on,[aria-pressed=true])::after{border-color:rgba(255,255,255,.5)}
html:root:root body .ctools>:last-child:nth-child(odd){grid-column:1/-1}
/* 움직이는 줄은 들어올 때 움직이지 않는다: 움직임(transform)이 걸리면 ×·‹ 가 카드 모서리가 아니라 이 줄에 붙는다 */
html:root:root body #ctool>.row:has(.go,[data-close]){animation:none}

/* 진행 막대가 있을 때(덕배 5119c6bd): 막대를 ‹ 와 × 사이 같은 줄에 두고, 제목은 그 아래에서 칸 이름과 같은 왼쪽 선에 맞춘다(겹침 고침) */
html:root:root body #ctool>.prog{margin:9px 46px 22px 0}
html:root:root body #ctool:has(.row [data-back])>.prog{margin-left:46px}
html:root:root body #ctool:has(>.prog)>h2:first-of-type{padding-left:0;padding-right:0}
/* 칸 이름 옆 ? : 혼자 한 줄을 차지하지 않게 이름 옆에 붙이고, 열면 아래로 펼친다 */
html:root:root body #ctool label:has(+details.dk-q){display:inline-block;margin-right:6px;vertical-align:middle}
html:root:root body #ctool label+details.dk-q:not([open]){display:inline-block;vertical-align:middle;margin:10px 0 4px}
html:root:root body #ctool label+details.dk-q>summary{width:22px;height:22px;font-size:12px}
/* '더 넣으면 정확해져요' 접힘 줄 */
html:root:root body #ctool details.dk-more{margin-top:10px}
html:root:root body #ctool details.dk-more>summary{list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:40px;color:var(--muted);font-size:14px;font-weight:600;cursor:pointer}
html:root:root body #ctool details.dk-more>summary::-webkit-details-marker{display:none}
html:root:root body #ctool details.dk-more>summary::before{content:'＋';font-weight:400;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
html:root:root body #ctool details.dk-more[open]>summary::before{transform:rotate(45deg)}
/* 덕배 방 재확인(7f28c18b) 반영: 진행 막대가 있으면 뒤로가 있어도 제목을 들여쓰지 않음, ? 는 열어도 이름 옆에 남고 설명만 아래로, '더 넣으면'은 열면 − */
html:root:root body #ctool:has(>.prog):has(.row [data-back])>h2:first-of-type{padding-left:0;padding-right:0}
html:root:root body #ctool label+details.dk-q,html:root:root body #ctool label+details.dk-q[open]{display:inline;margin:0}
html:root:root body #ctool label+details.dk-q>summary{vertical-align:middle;margin:10px 0 4px}
html:root:root body #ctool label+details.dk-q>:not(summary){display:block;width:100%;box-sizing:border-box;margin:4px 0 8px}
html:root:root body #ctool details.dk-more[open]>summary::before{content:'−';transform:none}

/* 도구 카드 안에서 아무 꾸밈도 못 받은 단추의 기본 모양(대표 11-13 강산 지시문 연습 "글자 왜 이러냐, 디자인이 이상하냐": .row 밖 단추가 브라우저 기본 모양·글꼴로 나옴).
   :where 로 우선순위를 가장 낮게 둔다 — 도구가 따로 꾸민 단추는 그대로, 빠진 것만 이 모양을 받는다. */
:where(#ctool) button{font:inherit;font-size:14px;font-weight:600;color:#111111;min-height:40px;padding:0 14px;border:0;border-radius:999px;background:#f7f7f7;box-shadow:inset 0 0 0 1px #e2e2e2;cursor:pointer;-webkit-tap-highlight-color:transparent}
:where(#ctool) button[aria-pressed=true],:where(#ctool) button.on{background:#111111;color:#fff;box-shadow:none}
:where(#ctool) button:disabled{opacity:.45;cursor:default}

/* × 가 첫 줄 글과 겹치던 것(11-13 전체 훑기: 첫 요소가 제목이 아닌 카드 8개). 카드 오른쪽 위에 자리를 비워 두어 어떤 첫 줄이든 × 를 피해 흐르게 하고,
   뒤로 ‹ 는 왼쪽 위 대신 × 바로 왼쪽에 둔다(왼쪽 위에서 제목·첫 줄과 겹치지 않게). */
html:root:root body #ctool::before{content:'';float:right;width:40px;height:32px}
html:root:root body #ctool:has(.row [data-back])::before{width:82px}
html:root:root body #ctool .row [data-back]{left:auto;right:58px}
html:root:root body #ctool>h2:first-of-type,html:root:root body #ctool:has(.row [data-back])>h2:first-of-type,html:root:root body #ctool:has(>.prog):has(.row [data-back])>h2:first-of-type{padding-left:0;padding-right:0}
html:root:root body #ctool>.prog,html:root:root body #ctool:has(.row [data-back])>.prog{margin:9px 0 22px 0;overflow:hidden}

/* 아래에서 올라오는 창(.sheet .card: 자리 보기 등, 대표 11-13 "이거 이상한데? 디자인 구려"): 흰 창 위에서 흰 알약이 글자만 남아 보이고 아래 단추는 네모였다.
   고르기 단추는 옅은 칸, 고른 것은 남색. 칸은 도구 카드와 같은 옅은 칸. 아래 단추 줄은 알약(마지막이 주 단추). */
html:root:root body .sheet .card{border-radius:24px 24px 0 0;padding-top:22px}
@media (min-width:640px){html:root:root body .sheet .card{border-radius:24px}}
html:root:root body .sheet .card h2{font-size:20px;letter-spacing:-.03em;margin-bottom:10px}
html:root:root body .sheet .card label{display:block;font-size:13px;font-weight:600;color:var(--muted);margin:14px 0 6px}
html:root:root body .sheet .card :is(input:not([type=checkbox]):not([type=radio]),textarea,select){width:100%;box-sizing:border-box;min-height:46px;border:0;border-radius:12px;background:#f7f7f7;box-shadow:inset 0 0 0 1px #e2e2e2;padding:9px 14px;font-size:16px;font-weight:600;color:var(--ink)}
html:root:root body .sheet .card :is(input,textarea)::placeholder{color:var(--muted);font-weight:500}
html:root:root body .sheet .card :is(input:not([type=checkbox]):not([type=radio]),textarea,select):focus{outline:0;background:#fff;box-shadow:inset 0 0 0 2px var(--fr-hue)}
html:root:root body .sheet .card .pchips{display:flex;flex-wrap:wrap;gap:8px}
html:root:root body .sheet .card .pchips button{min-height:44px;padding:0 14px;font-size:14px;background:#f7f7f7;box-shadow:inset 0 0 0 1px #e2e2e2}
html:root:root body .sheet .card .pchips button:is(.on,[aria-pressed=true]){background:var(--accent);color:var(--accent-ink)!important;box-shadow:none}
html:root:root body .sheet .card .acts{border-top:0;gap:8px;padding-top:14px}
html:root:root body .sheet .card .acts>*{border:0;border-radius:999px;min-height:52px;font-weight:700;transition:transform .12s var(--fr-ease)}
html:root:root body .sheet .card .acts>:not(:last-child){background:#f6f6f6;color:var(--ink);font-weight:600}
html:root:root body .sheet .card .acts>:last-child{background:var(--accent);color:var(--accent-ink)}
html:root:root body .sheet .card .acts>:only-child{background:#f6f6f6;color:var(--ink)}
html:root:root body .sheet .card .acts>*:active{transform:scale(.96)}

/* 직원 검수(11-10~12) 반영: 평가 줄 앞 한 줄과 간격(👍👎 가 코치 질문의 답 단추로 오해되지 않게), '의견 고마워요' 글자가 흐리던 것, 낱말 가운데서 줄이 끊기던 것 */
html:root:root body .msg.bot>.rate{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:18px}
html:root:root body .rate .rq{font-size:13px;color:var(--muted);margin-right:2px}
html:root:root body .rate span{font-size:13px;color:var(--muted);opacity:1}
html:root:root body .thread,html:root:root body #ctool,html:root:root body .sheet .card{word-break:keep-all;overflow-wrap:anywhere}
/* 코치 이름은 코치마다 다른 색(두둑은 누런색) 대신 글자색 하나로(혜택 방 화면 훑기 11-13) */
html:root:root body .msg.bot .bwho b{color:var(--ink)!important}

/* 강산 방 화면 훑기(11-13, 캡처 docs/evidence/2026-11-13/fresh-sweep/gangsan) 반영 */
/* 카드 안에 따로 스크롤이 생겨 아래 단추가 잘리던 것: 카드는 내용만큼 길어지고 화면이 스크롤된다 */
html:root:root body #ctool{max-height:none;overflow:visible}
/* 단추 줄이 들쭉날쭉하던 것: 주 단추 옆·아래의 다른 단추들도 줄을 나눠 꽉 채운다. 예/아니오처럼 둘뿐이면 반반 */
html:root:root body #ctool .row:has(>.go)>:not(.go):not([data-close]):not([data-back]):not(.share-pane){flex:1 1 8em;justify-content:center;text-align:center;min-height:46px}
html:root:root body #ctool .row:has(>.go):not(:has([data-close],[data-back]))>:first-child:nth-last-child(2):not(.share-pane),html:root:root body #ctool .row:has(>.go):not(:has([data-close],[data-back]))>:first-child:nth-last-child(2)~*:not(.share-pane){flex:1 1 0;order:0;min-height:52px}
/* '같이 볼 사람에게 보내기' 단추가 검은 테두리 네모이던 것 */
html:root:root body .share-btn{border:0;border-radius:999px;background:var(--fr-tone);color:var(--ink);font-weight:600;transition:transform .12s var(--fr-ease)}
html:root:root body .share-btn:active{transform:scale(.96)}
/* 코치 단추: 한 칸만 두 줄이 돼도 같은 줄의 칸 높이를 맞춘다 */
html:root:root body .ctools{align-items:stretch}
/* 작은 글이 꺾여 마지막 낱말 하나만 남던 것 */
html:root:root body #ctool :is(.meter,p,h2),html:root:root body .msg.bot p{text-wrap:pretty}

/* 새 기능방 화면 훑기(11-13, 캡처 docs/evidence/2026-11-13/fresh-sweep) 반영: 오복·정수·뚝심 화면에 남은 옛 모양 */
html:root:root body .rentcard textarea{resize:none}
html:root:root body :is(.rentcard,.diagcard,.mapcard,.scamcard){word-break:keep-all;overflow-wrap:anywhere}
/* 펼침 줄의 브라우저 기본 삼각형 → 오른쪽 꺾쇠 */
html:root:root body :is(.thread,#ctool) details:not(.dk-q):not(.dk-more):not(.qwhy)>summary{list-style:none;cursor:pointer}
html:root:root body :is(.thread,#ctool) details:not(.dk-q):not(.dk-more):not(.qwhy)>summary::-webkit-details-marker{display:none}
html:root:root body :is(.thread,#ctool) details:not(.dk-q):not(.dk-more):not(.qwhy)>summary::after{content:'';display:inline-block;width:7px;height:7px;margin-left:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg) translateY(-3px);transition:transform .2s}
html:root:root body :is(.thread,#ctool) details[open]:not(.dk-q):not(.dk-more):not(.qwhy)>summary::after{transform:rotate(-135deg) translateY(-2px)}
html:root:root body .rhead2 details.qwhy:not([open]){display:inline-block;vertical-align:middle}
/* 화면 오른쪽의 굵은 회색 스크롤 막대 → 가늘게 */
html:root:root body main#scroll{scrollbar-width:thin;scrollbar-color:var(--fr-tone2) transparent}
html:root:root body main#scroll::-webkit-scrollbar{width:4px}html:root:root body main#scroll::-webkit-scrollbar-thumb{background:var(--fr-tone2);border-radius:4px}
/* 매물 진단 카드(탭 6개): 네모 테두리·격자 탭 → 흰 면과 알약 탭 */
html:root:root body .diagcard{border:0;border-radius:20px;background:var(--panel);box-shadow:none}
html:root:root body .diagcard .dtabs{display:flex;flex-wrap:wrap;gap:6px;border:0}
html:root:root body .diagcard .dtabs button{border:0;border-radius:999px;background:var(--fr-tone);color:var(--ink);min-height:38px;padding:0 14px;font-weight:600;font-size:14px}
html:root:root body .diagcard .dtabs button.on{background:var(--accent);color:var(--accent-ink)}
html:root:root body .diagcard button:not(.share-btn):not(.on){border:0;border-radius:999px;background:var(--fr-tone);color:var(--ink)}
html:root:root body .diagcard :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border:0;border-radius:12px;background:#f7f7f7;box-shadow:inset 0 0 0 1px #e2e2e2;min-height:44px;padding:8px 12px}
/* 상권 지도·부업 목록의 네모 고르기 칸 → 알약, 고른 것은 남색 */
html:root:root body.beta .mapcard .mapcats button,html:root:root body #ctool .sjtabs button{border:0;border-radius:999px;background:var(--fr-tone);color:var(--ink);min-height:38px;padding:0 14px;font-weight:600;font-size:14px;box-shadow:none}
html:root:root body.beta .mapcard .mapcats button.on,html:root:root body #ctool .sjtabs button:is(.on,[aria-pressed=true]){background:var(--accent);color:var(--accent-ink);border:0}
html:root:root body #ctool details.sj summary span.g{border:0;border-radius:999px;background:var(--fr-tone);color:var(--muted);padding:2px 8px}
/* 사기 확인 결과: 빨간 네모 테두리 상자 → 옅은 붉은 면, 전화 단추 알약 */
html:root:root body .scamcard{border:0;border-radius:20px}
html:root:root body .scamcard .r-block.help{border:0;border-radius:16px;background:#fdeceb}
html:root:root body .scamcard .help-call a.btn{border:0;border-radius:999px;font-weight:700}
html:root:root body .scamcard .help-call a.btn:not(:first-child){background:#fff;color:var(--ink)}
html:root:root body .scamcard h2.r-title:focus{outline:0}

/* 덕배 → 다른 코치로 넘어온 내용 한 줄(public/deokbae.js #dkCarry, 11-14 덕배 방 요청): 선 없는 밝은 면 + 둥근 단추(주 단추 하나) */
html:root:root body .dk-carry{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 12px 4px;padding:12px 14px;border:0;border-radius:16px;background:var(--fr-tone);color:var(--ink);font-size:13.5px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
html:root:root body .dk-carry span{flex:1 1 100%;white-space:normal;color:var(--ink)}
html:root:root body .dk-carry button{min-height:36px;padding:6px 14px;border:0;border-radius:999px;background:var(--panel);color:var(--ink);font-size:13.5px;font-weight:700;cursor:pointer}
html:root:root body .dk-carry button[data-use]{background:var(--ink);color:#fff}
html:root:root body .dk-carry button:active{transform:scale(.97)}
/* 11-16 글씨 200%(폭 240px 이하): 사진 단추가 한 줄을 통째로 차지해 첫 화면 보내기·처리방침 줄이 화면 밑으로 밀리고(app-privacy-line F4), 대화 중 입력칸이 세로 한 글자 폭으로 찌그러지던 것(C1) → 입력칸을 윗줄 전체로, 사진·보내기를 아랫줄에 나란히 */
@media (max-width:240px){html:root:root :is(body.beta:not(.explore),body.beta.explore:not(.fresh)) #form{flex-wrap:wrap}html:root:root :is(body.beta:not(.explore),body.beta.explore:not(.fresh)) #form textarea{order:1;flex:1 0 100%;width:100%;min-width:0}html:root:root :is(body.beta:not(.explore),body.beta.explore:not(.fresh)) #form #pbtn{order:2;flex:0 0 48px;width:48px;height:48px}html:root:root :is(body.beta:not(.explore),body.beta.explore:not(.fresh)) #form #send{order:3;flex:1 1 0;width:auto;min-width:0}} /* /start 첫 화면(.explore.fresh)은 뺀다: 215x466 에서 보내기가 화면 밖으로 밀림(의심 검토), 거긴 index.html:282 규칙 그대로 */
/* 고른 조합(대표 11-18): 대화 첫 화면의 질문 단추와 입력 칸이 흰 바탕에서 보이게 */
html:root:root body .empty :is(.chips,.xchips) button{box-shadow:inset 0 0 0 1.5px #111111}
html:root:root body .empty .chips button{padding:12px 18px;line-height:1.45}
html:root:root body #form :is(#input,#pbtn):not(:focus){box-shadow:inset 0 0 0 1.5px #d4d4d4}
html:root:root body .msg.bot a{text-decoration:underline;text-underline-offset:3px}
