/* 철거王 홈 · 사진 견적 스튜디오 디자인 레이어 (2026-10)
   기존 스타일 다음에 불러오며, 모든 규칙은 .cw-home 안에서만 적용된다(협력업체·관리자·약관 화면에는 영향 없음).
   색: 코발트 블루 + 잉크 + 따뜻한 미색. 선은 가늘게, 모서리는 절제해서. */

.cw-home{
  --ink:#11161f;--ink-2:#2a313d;--muted:#59616e;--faint:#8a909a;
  --line:#e4dfd5;--line-strong:#cbc4b6;--paper:#f3f0e9;--bg:#fbfaf6;--card:#fff;
  --blue:#1f4bd2;--blue-deep:#1739a6;--pale:#ebf0fd;--blue-line:#c5d2f6;
  --amber:#8a6420;--amber-bg:#fbf6ea;--danger:#a3262f;--danger-bg:#fdf1f1;
  --radius:12px;--radius-s:8px;--ease:cubic-bezier(.2,.7,.2,1);
  --wrap:1280px;
  background:var(--bg);color:var(--ink);font-size:16px;line-height:1.7;
  word-break:keep-all;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility
}
.cw-home p,.cw-home li,.cw-home dd,.cw-home dt,.cw-home label,.cw-home summary{word-break:keep-all;overflow-wrap:break-word}
.cw-home h1,.cw-home h2,.cw-home h3,.cw-home h4{color:var(--ink);text-wrap:balance}
.cw-home p{text-wrap:pretty}
.cw-home .wrap{width:min(var(--wrap),calc(100% - 96px))}
.cw-home :focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.cw-home ::selection{background:#d4defa}
.cw-home .eyebrow{font-size:13px;font-weight:700;letter-spacing:.02em;color:var(--blue)}
.cw-home .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* ── 버튼 ── */
.cw-home .button{min-height:48px;border-radius:var(--radius-s);font-size:15px;font-weight:700;gap:10px;padding:12px 20px;transition:background-color .18s var(--ease),border-color .18s var(--ease),color .18s var(--ease),transform .18s var(--ease)}
.cw-home .button-dark{background:var(--blue);color:#fff;border-color:var(--blue)}
.cw-home .button-dark:hover{background:var(--blue-deep);border-color:var(--blue-deep)}
.cw-home .button-ink{background:var(--ink);color:#fff;border-color:var(--ink)}
.cw-home .button-ink:hover{background:#000}
.cw-home .button-outline{background:transparent;border-color:var(--line-strong);color:var(--ink)}
.cw-home .button-outline:hover{border-color:var(--ink)}
.cw-home .button:active:not(:disabled){transform:translateY(1px)}
.cw-home .button:disabled,.cw-home .button:disabled:hover{background:#ebe8e1;border-color:#ebe8e1;color:#6b6f76}
.cw-home .text-action{min-height:44px;color:var(--ink-2);font-weight:600}
.cw-home .text-action:hover{color:var(--blue)}
.cw-home .text-action:disabled{background:none;color:var(--faint)}

/* ── 머리글 ── */
:root:has(body.cw-home){scroll-padding-top:88px}
.cw-home .site-header{height:72px;position:sticky;top:0;z-index:30;background:rgba(251,250,246,.92);-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--line)}
.cw-home .header-inner{gap:24px}
.cw-home .brand{font-size:27px;letter-spacing:-.06em;color:var(--ink)}
.cw-home .brand-seal{background:var(--blue);color:#fff;border-radius:5px;width:30px;height:31px;font-size:22px;margin-left:4px}
.cw-home .brand-descriptor{color:var(--muted);border-left-color:var(--line)}
.cw-home .desktop-nav{gap:28px;margin-left:auto}
.cw-home .desktop-nav a{font-size:14px;font-weight:600;color:var(--ink-2)}
.cw-home .desktop-nav a:hover,.cw-home .desktop-nav .active{color:var(--blue)}
.cw-home .desktop-nav .active:after{height:2px}
.cw-home .partner-nav-link{color:var(--muted)!important;font-weight:600!important}
.cw-home .header-inner>.header-cta{min-height:44px;padding:9px 16px;font-size:14px;font-weight:700;border-radius:var(--radius-s);background:var(--ink);color:#fff;border:1px solid var(--ink);margin-left:0;gap:8px;white-space:nowrap}
.cw-home .header-inner>.header-cta:hover{background:var(--blue);border-color:var(--blue)}
.cw-home .menu-toggle span{background:var(--ink)}
.cw-home .mobile-nav{background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 18px 30px rgba(17,22,31,.06);padding:8px 20px 16px}
.cw-home .mobile-nav a{min-height:48px;display:flex;align-items:center;border-bottom:1px solid var(--line);font-weight:600}
.cw-home .mobile-nav a:last-child{border-bottom:0}
/* 햄버거는 1180px 이하에서 보인다(partner-entry.css). 그 폭 전체에서 메뉴를 헤더 바로 아래에 고정하고, 데스크톱 폭에서는 열린 채로 남지 않게 한다. */
.cw-home .mobile-nav{position:fixed;top:72px;inset-inline:0;z-index:40;max-height:calc(100vh - 72px);max-height:calc(100dvh - 72px);overflow:auto;overscroll-behavior:contain}
@media(min-width:1181px){.cw-home .mobile-nav{display:none}}

/* ── 사진 견적 스튜디오 ── */
.cw-home .studio.xp-studio{background:var(--bg);border-bottom:1px solid var(--line);padding:56px 0 88px;position:relative}
.xp-studio-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-areas:"intro work" "summary work";grid-template-rows:auto 1fr;column-gap:clamp(40px,5.5vw,88px);align-items:start}
.xp-intro{grid-area:intro;padding-top:8px}
.xp-work{grid-area:work;min-width:0}
.cw-home .xp-summary{grid-area:summary;position:sticky;top:96px;margin-top:36px}

.cw-home .xp-kicker{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--blue);margin:0 0 22px}
.cw-home .xp-kicker:before{content:"";width:28px;height:2px;background:var(--blue)}
.cw-home .xp-kicker span{margin:0;color:var(--line-strong)}
.cw-home .xp-intro h1{font-size:clamp(42px,4.4vw,64px);line-height:1.16;font-weight:800;letter-spacing:-.055em;margin:0 0 24px}
.cw-home .xp-intro h1 em{font-style:normal;color:var(--blue)}
.cw-home .xp-lede{font-size:17px;line-height:1.8;color:var(--muted);max-width:30em}

.cw-home .estimate-expectation.xp-notice{margin:28px 0 0;padding:16px 0 0;background:none;border:0;border-top:1px solid var(--ink);border-radius:0;max-width:34em}
.xp-notice-line{display:flex;align-items:flex-start;gap:10px}
.cw-home .xp-notice-line strong{font-size:15px;font-weight:700;line-height:1.6;color:var(--ink)}
.xp-notice-mark{flex:none;display:grid;place-items:center;width:20px;height:20px;margin-top:2px;border-radius:50%;background:var(--blue);color:#fff;font:700 12px/1 Georgia,serif}
.xp-notice-more{margin:2px 0 0 30px}
.cw-home .xp-notice-more>summary{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:14px;font-weight:600;color:var(--blue);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.cw-home .xp-notice-more>summary:after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s var(--ease)}
.cw-home .xp-notice-more[open]>summary:after{transform:rotate(-135deg) translate(-2px,0)}
.xp-notice-body{display:grid;gap:8px;padding:2px 0 8px}
.cw-home .xp-notice-body p{font-size:14px;line-height:1.85;color:var(--muted)}
.cw-home .xp-notice-body strong{color:var(--ink);font-weight:700}
.cw-home .estimate-expectation .connection-note{display:flex;gap:9px;align-items:baseline;margin:6px 0 0 30px;padding:0;border:0;background:none;font-size:13px;line-height:1.75;color:var(--muted)}
.cw-home .estimate-expectation .connection-note:before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--line-strong);transform:translateY(-1px)}

/* 장식용 투시 평면도: 6개 촬영 위치 */
.xp-plan{margin:40px 0 0;max-width:440px}
.xp-plan svg{display:block;width:100%;height:auto;overflow:visible}
.xp-plan .p-floor{fill:#f1ede4;stroke:var(--ink);stroke-width:1.1;stroke-linejoin:round}
.xp-plan .p-wall{fill:#fff;stroke:var(--ink);stroke-width:1.1;stroke-linejoin:round}
.xp-plan .p-ceil{fill:none;stroke:var(--faint);stroke-width:.9;stroke-dasharray:4 4}
.xp-plan .p-grid{fill:none;stroke:#d9d3c7;stroke-width:.7}
.xp-plan .p-door{fill:var(--pale);stroke:var(--blue);stroke-width:1.2}
.xp-plan .p-dim{fill:none;stroke:var(--faint);stroke-width:.8}
.xp-plan .p-note{font-size:10.5px;fill:var(--muted);font-family:inherit;letter-spacing:.02em}
.xp-plan .p-ray{fill:none;stroke:var(--blue);stroke-width:1.3}
.xp-plan .p-up{stroke-dasharray:3 4}
.xp-plan .p-cam{fill:var(--ink)}
.xp-plan .p-mk circle{fill:var(--blue);stroke:#fff;stroke-width:2}
.xp-plan .p-mk text{fill:#fff;font:700 10.5px/1 "Noto Sans KR",sans-serif;text-anchor:middle;font-variant-numeric:tabular-nums}
.xp-plan .p-mk-ceil circle{fill:#fff;stroke:var(--blue);stroke-width:1.5}
.xp-plan .p-mk-ceil text{fill:var(--blue)}
.xp-plan figcaption{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:6px;font-size:12.5px;color:var(--muted)}
.xp-plan figcaption b{color:var(--blue);font-weight:700;margin-right:4px;font-variant-numeric:tabular-nums}

/* 진행 단계 */
.cw-home .xp-work .estimate-steps{display:flex;align-items:center;gap:0;margin:0 0 14px;padding:0 4px}
.cw-home .estimate-steps button{min-height:44px;gap:9px;padding:6px 2px;font-size:14px;font-weight:600;color:var(--muted);background:none;border:0;white-space:nowrap}
.cw-home .estimate-steps button>span{width:26px;height:26px;border-radius:50%;border:1px solid var(--line-strong);font-size:11.5px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--muted);background:var(--card);transition:background-color .2s var(--ease),color .2s var(--ease),border-color .2s var(--ease)}
.cw-home .estimate-steps button[aria-current=step]{color:var(--ink)}
.cw-home .estimate-steps button[aria-current=step]>span{background:var(--ink);border-color:var(--ink);color:#fff}
.cw-home .estimate-steps button:disabled{background:none;color:var(--faint);opacity:1}
.cw-home .estimate-steps button:not(:disabled):not([aria-current]):hover{color:var(--blue)}
.cw-home .estimate-steps .step-line{flex:1 1 24px;max-width:64px;min-width:10px;height:1px;background:var(--line-strong);margin:0 12px}

/* 작업 카드 */
.cw-home #estimate-form,.cw-home .estimate-result{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:0 1px 0 rgba(17,22,31,.03),0 24px 48px -32px rgba(17,22,31,.18)}
.cw-home #estimate-form{overflow:clip}
.cw-home .step-panel{padding:36px 40px 32px}
.cw-home .panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 22px;position:static}
.cw-home .step-caption{display:block;font-size:12.5px;font-weight:700;letter-spacing:.04em;color:var(--blue)}
.cw-home .panel-heading h2{font-size:26px;line-height:1.4;font-weight:800;letter-spacing:-.045em;margin:6px 0 6px}
.cw-home .panel-heading p{font-size:15px;line-height:1.75;color:var(--muted);max-width:none}
.cw-home .xp-rule{display:flex;flex-wrap:wrap;gap:0;font-size:14px;font-weight:600;color:var(--ink-2)}
.cw-home .xp-rule span+span:before{content:"·";margin:0 8px;color:var(--faint);font-weight:400}
.cw-home .photo-count{position:static;flex:none;margin-top:2px;padding:6px 12px;border:1px solid var(--line-strong);border-radius:999px;background:var(--card);color:var(--ink);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}

/* 업로드 영역: 화면의 주된 행동 */
.cw-home .upload-zone{position:relative;border:1.5px dashed #9fb2ea;border-radius:14px;background:#f6f8fe;transition:background-color .2s var(--ease),border-color .2s var(--ease)}
.cw-home .upload-zone:hover{border-color:var(--blue);background:#f1f4fd}
.cw-home .upload-zone.drag-over{border-color:var(--blue);border-style:solid;background:var(--pale)}
.cw-home .upload-zone:focus-within{outline:3px solid var(--blue);outline-offset:3px}
.cw-home .upload-zone:has(input:disabled){opacity:.6;cursor:progress}
.cw-home .upload-zone label{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:40px 20px 30px;cursor:pointer}
.cw-home .upload-zone:has(input:disabled) label{cursor:progress}
.cw-home .upload-symbol{width:52px;height:52px;border-radius:14px;background:var(--card);border:1px solid var(--blue-line);box-shadow:none;color:var(--blue);margin:0}
.cw-home .upload-symbol svg{width:25px;height:25px;stroke-width:1.6}
.xp-upload-copy{display:grid;gap:2px}
.cw-home .upload-zone strong{font-size:19px;font-weight:800;letter-spacing:-.035em;line-height:1.5;color:var(--ink)}
.cw-home .upload-types{display:block;font-size:14px;color:var(--muted)}
.cw-home .upload-select{min-height:52px;padding:12px 32px;margin-top:6px;border-radius:var(--radius-s);background:var(--blue);color:#fff;font-size:16px;font-weight:700;transition:background-color .18s var(--ease)}
.cw-home .upload-zone label:hover .upload-select{background:var(--blue-deep)}
.xp-drop-hint{font-size:12.5px;color:var(--faint)}

.cw-home .capture-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 0}
.cw-home .camera-button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px 8px 12px;border:1px solid var(--line-strong);border-radius:var(--radius-s);background:var(--card);color:var(--ink);font-size:14px;font-weight:600;transition:border-color .18s var(--ease)}
.cw-home .camera-button:hover{border-color:var(--ink)}
.cw-home .camera-button:disabled{background:var(--card);color:var(--faint);border-color:var(--line)}
.cw-home .camera-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.cw-home .capture-actions a{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:14px;font-weight:600;color:var(--blue);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}

/* 선택한 사진 */
.cw-home .photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px;margin-top:20px}
.cw-home .photo-thumb{position:relative;margin:0;border:1px solid var(--line);border-radius:10px;background:var(--card);overflow:hidden;animation:xp-in .24s var(--ease) both}
.cw-home .photo-thumb img{display:block;width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;border:0;border-radius:0;background:var(--paper)}
.cw-home .photo-thumb figcaption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cw-home .photo-index{position:absolute;left:8px;top:8px;padding:2px 7px;border-radius:5px;background:rgba(255,255,255,.94);color:var(--ink);font-size:11.5px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.6}
.cw-home .photo-thumb button{position:absolute;top:0;right:0;width:44px;height:44px;padding:0;border:0;border-radius:0;font-size:20px;line-height:1;color:#fff;background:radial-gradient(circle at 50% 50%,rgba(17,22,31,.82) 0 14px,transparent 15px)}
.cw-home .photo-thumb button:hover{background:radial-gradient(circle at 50% 50%,var(--danger) 0 14px,transparent 15px)}
.cw-home .photo-thumb button:disabled{background:radial-gradient(circle at 50% 50%,rgba(17,22,31,.35) 0 14px,transparent 15px);color:#fff}
.cw-home .photo-thumb select{display:block;width:100%;min-height:44px;margin:0;padding:8px 30px 8px 10px;border:0;border-top:1px solid var(--line);border-radius:0;background:var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2311161f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center/11px 8px;-webkit-appearance:none;appearance:none;font-size:14px;font-weight:600;color:var(--ink)}
.cw-home .photo-thumb select:has(option[value=""]:checked){color:var(--blue);background-color:#f6f8fe}
.cw-home .inline-message{font-size:14px;color:var(--ink-2);margin-top:12px}

/* 준비 정도: 실제 장수만 표시 */
.cw-home .photo-readiness{margin-top:20px;padding:16px 18px 14px;border-radius:var(--radius);background:var(--paper)}
.cw-home .photo-readiness>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14.5px}
.cw-home .photo-readiness>div:first-child>span{color:var(--muted);font-weight:600;font-variant-numeric:tabular-nums}
.cw-home .photo-readiness progress{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}
.xp-meter{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;list-style:none;margin:12px 0 0;padding:0}
.xp-meter li{height:6px;border-radius:2px;background:#ddd7cb;transition:background-color .22s var(--ease)}
.xp-meter li.is-filled{background:var(--blue)}
.xp-meter li.is-filled:nth-child(n+7){background:#5f7fe0}
.xp-meter-scale{position:relative;height:20px;margin-top:5px;font-size:11.5px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.cw-home .xp-meter-scale{display:block}
.cw-home .xp-meter-scale span{position:absolute;top:0;white-space:nowrap;color:var(--muted)}
.xp-meter-scale .s-min{right:calc(50% + 4px)}
.xp-meter-scale .s-rec{left:calc(50% + 2px)}
.xp-meter-scale .s-max{right:0}
.cw-home .photo-readiness p{font-size:13px;color:var(--muted);margin-top:4px}

/* 6장 촬영 가이드 */
.cw-home .capture-guide{margin:18px 0 0;padding:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);scroll-margin-top:96px}
.cw-home .capture-guide>summary{display:flex;align-items:center;gap:12px;min-height:56px;padding:6px 2px}
.xp-sum-title{font-size:15.5px;font-weight:700}
.xp-sum-meta{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.xp-sum-icon{position:relative;flex:none;width:28px;height:28px;margin-left:auto;border:1px solid var(--line-strong);border-radius:50%;transition:transform .22s var(--ease),background-color .2s var(--ease)}
.xp-sum-icon:before,.xp-sum-icon:after{content:"";position:absolute;left:50%;top:50%;width:10px;height:1.5px;background:var(--ink);transform:translate(-50%,-50%)}
.xp-sum-icon:after{transform:translate(-50%,-50%) rotate(90deg);transition:transform .22s var(--ease)}
details[open]>summary .xp-sum-icon:after{transform:translate(-50%,-50%) rotate(0)}
summary:hover .xp-sum-icon{border-color:var(--ink)}
.xp-guide-body{padding:2px 0 20px}
.cw-home .xp-guide-lead{font-size:14px;color:var(--muted);margin-bottom:14px}
.cw-home .capture-list.xp-shots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;margin:0;padding:0}
.cw-home .xp-shots li{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"icon icon" "num title" "hint hint";align-items:baseline;gap:2px 8px;padding:14px 14px 12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card);transition:border-color .2s var(--ease),background-color .2s var(--ease)}
.xp-shot-icon{grid-area:icon;display:block;width:44px;height:44px;margin-bottom:8px}
.xp-shot-icon svg{width:100%;height:100%;overflow:visible}
.xp-shot-icon .r{fill:none;stroke:#9d968a;stroke-width:1.4}
.xp-shot-icon .w{fill:none;stroke:var(--blue);stroke-width:3;stroke-linecap:round}
.xp-shot-icon .c{fill:rgba(31,75,210,.14);stroke:none}
.xp-shot-icon .d{fill:var(--ink)}
.xp-shot-icon .g{fill:none;stroke:var(--blue);stroke-width:.9;opacity:.55}
.xp-shot-icon .o{fill:none;stroke:var(--blue);stroke-width:1.4}
.cw-home .xp-shots .shot-number{grid-area:num;display:inline;width:auto;height:auto;background:none;padding:0;border-radius:0;font-size:12px;font-weight:700;color:var(--blue);font-variant-numeric:tabular-nums}
.cw-home .xp-shots strong{grid-area:title;display:block;font-size:14.5px;font-weight:700;line-height:1.45}
.xp-shot-hint{grid-area:hint;font-size:12.5px;line-height:1.55;color:var(--muted)}
.cw-home .xp-shots li:after{content:"";position:absolute;top:12px;right:12px;width:20px;height:20px;border-radius:50%;border:1px solid var(--line-strong);background:var(--card)}
.cw-home .xp-shots li.is-done{border-color:var(--blue-line);background:#f6f8fe}
.cw-home .xp-shots li.is-done:after{border-color:var(--blue);background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/16px no-repeat}
.cw-home p.more-shots{margin-top:14px;font-size:13.5px;line-height:1.8;color:var(--muted)}
.cw-home p.more-shots strong{color:var(--ink);font-weight:700;margin-right:6px}

.cw-home .photo-care,.cw-home .file-help{font-size:13px;line-height:1.75;color:var(--muted);margin:14px 0 0}
.cw-home .file-help{margin-top:2px}
.cw-home .demo-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 0;padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg)}
.cw-home .demo-entry strong{display:block;font-size:14.5px;font-weight:700}
.cw-home .demo-entry div>span{display:block;max-width:none;font-size:13px;line-height:1.7;color:var(--muted);margin-top:2px}
.cw-home .demo-button{flex:none;min-height:44px;padding:8px 14px;border:1px solid var(--blue-line);border-radius:var(--radius-s);background:var(--card);color:var(--blue);font-size:14px;font-weight:700;white-space:nowrap}
.cw-home .demo-button:hover{border-color:var(--blue)}
.cw-home .demo-button:disabled{background:var(--card);color:var(--faint);border-color:var(--line)}
.cw-home .step-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.cw-home .privacy-note{font-size:13px;color:var(--muted);max-width:none}
.cw-home .step-footer .button{min-width:200px;margin:0}

/* ── 공간 정보 단계 ── */
.cw-home .xp-group{padding:24px 0 26px;border-top:1px solid var(--line)}
.cw-home .xp-group-last{padding-bottom:6px}
.cw-home .xp-group-title{display:flex;align-items:center;gap:10px;margin:0 0 18px;font-size:16px;font-weight:800;letter-spacing:-.03em}
.cw-home .xp-group-title span{display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--ink);border-radius:5px;font-size:12px;font-weight:700;letter-spacing:0}
.cw-home .estimate-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 20px}
.cw-home .xp-scope-select{grid-template-columns:1fr 1fr}
.cw-home .estimate-fields label,.cw-home .estimate-memo{display:block;font-size:14.5px;font-weight:700;color:var(--ink)}
.cw-home .estimate-fields small{display:block;font-size:13px;font-weight:400;line-height:1.6;color:var(--muted);margin-top:7px}
.cw-home .optional-tag,.cw-home .estimate-memo>span{font-size:12px;font-weight:600;color:var(--muted);margin-left:6px}
.cw-home select,.cw-home input[type=number],.cw-home input[type=text],.cw-home textarea{min-height:48px;margin-top:8px;padding:11px 14px;border:1px solid var(--line-strong);border-radius:var(--radius-s);background-color:var(--card);color:var(--ink);font-size:16px;transition:border-color .18s var(--ease),box-shadow .18s var(--ease)}
.cw-home select,.cw-home input,.cw-home textarea{font-weight:500}
.cw-home select{-webkit-appearance:none;appearance:none;padding-right:38px;background:var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2311161f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center/12px 8px}
.cw-home select:hover,.cw-home input[type=number]:hover,.cw-home input[type=text]:hover,.cw-home textarea:hover{border-color:#a69e8f}
.cw-home select:focus-visible,.cw-home input:focus-visible,.cw-home textarea:focus-visible{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(31,75,210,.22)}
.cw-home input::placeholder,.cw-home textarea::placeholder{color:#979ca5}
.cw-home .input-help{font-size:13px;line-height:1.75;color:var(--muted);margin-top:8px}

.cw-home .scope-questions{margin:22px 0 0;padding:0;border:0}
.cw-home .scope-questions h3{font-size:15px;font-weight:700;color:var(--ink)}
.cw-home .scope-questions>.input-help{margin-top:4px}
.cw-home .scope-intro-name,.cw-home #scope-intro-name{color:var(--ink)}
.cw-home .scope-group{margin:16px 0 0;padding:16px 0 0;border:0;border-top:1px dashed var(--line);border-radius:0;min-width:0}
.cw-home .scope-group legend{float:left;width:100%;padding:0;margin:0 0 10px;font-size:14.5px;font-weight:700;color:var(--ink)}
.cw-home .scope-group legend+*{clear:both}
.cw-home .scope-group legend span{font-weight:500}
.cw-home .scope-options{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.cw-home .scope-chip span{display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;border:1px solid var(--line-strong);border-radius:999px;background:var(--card);font-size:14px;font-weight:600;line-height:1.35;color:var(--ink);transition:background-color .18s var(--ease),border-color .18s var(--ease),color .18s var(--ease)}
.cw-home .scope-chip:hover span{border-color:var(--ink)}
.cw-home .scope-chip input:checked+span{background:var(--ink);border-color:var(--ink);color:#fff}
.cw-home .scope-chip input:checked+span:before{content:"";width:8px;height:5px;margin-right:8px;border-left:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(-45deg) translateY(-2px)}
.cw-home .scope-chip input:focus-visible+span{outline:3px solid var(--blue);outline-offset:2px}
.cw-home .scope-group>small{font-size:13px;color:var(--muted);margin-top:10px}
.cw-home .scope-text{font-size:14px;font-weight:700;color:var(--ink);margin-top:14px}
.cw-home .scope-text input,.cw-home .scope-text textarea{margin-top:0}
.cw-home .scope-quantities{margin-top:20px;padding:18px 18px 16px;border:0;border-radius:var(--radius);background:var(--paper)}
.cw-home .scope-quantities h4{font-size:14.5px;font-weight:700}
.cw-home .quantity-input span{font-size:14px;color:var(--muted)}
.cw-home .estimate-memo{margin-top:0}
.cw-home .estimate-memo textarea{display:block}
.cw-home .consent-row{display:flex;gap:12px;align-items:flex-start;margin:20px 0 0;padding:16px 18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);cursor:pointer}
.cw-home .consent-row:has(input:checked){border-color:var(--blue-line);background:#f6f8fe}
.cw-home .consent-row input{width:22px;height:22px;margin-top:2px;accent-color:var(--blue)}
.cw-home .consent-row>span{font-size:14px;line-height:1.8;color:var(--muted)}
.cw-home .consent-row strong{color:var(--ink);font-weight:700}
.cw-home .consent-row a{color:var(--blue)}

.cw-home .review-before-submit{margin:24px 0 0;padding:16px 0 0;border:0;border-top:1px solid var(--ink);border-radius:0;background:none}
.cw-home .review-before-submit h3{font-size:13px;font-weight:700;letter-spacing:.02em;color:var(--muted);margin:0 0 4px}
.cw-home .review-before-submit #review-brief{font-size:15.5px;font-weight:700;line-height:1.65;color:var(--ink);margin:0 0 6px}
.cw-home .review-before-submit .xp-fine{font-size:13px;line-height:1.75;color:var(--muted)}
.cw-home .explorer-note{margin:18px 0 0;padding:16px 18px;border:1px solid #ecdcb5;border-left:3px solid #c39a45;border-radius:var(--radius-s);background:var(--amber-bg);color:#5d4718;font-size:14px}
.cw-home .explorer-note strong{font-size:15px}
.cw-home .explorer-note .button{min-height:48px}
.cw-home .estimate-submit-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px}
.cw-home .estimate-submit-row .button{min-height:56px;padding:14px 26px;font-size:16px;min-width:280px}
.cw-home .xp-secondary{display:grid;gap:12px;margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}
.cw-home .email-entry{margin:0;padding:20px 22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg)}
.cw-home .email-entry h3{font-size:18px;font-weight:800;line-height:1.45;margin:4px 0 2px}
.cw-home .email-entry p{font-size:14px;margin:4px 0 14px;color:var(--muted)}
.cw-home .email-entry a{color:var(--blue)}
.cw-home .email-entry .input-help{margin:10px 0 0}
.cw-home #save-preparation{margin-top:0}
.cw-home #preparation-status{margin-top:0}

/* 분석 중 · 오류 */
.cw-home .analyzing{display:flex;align-items:center;gap:16px;padding:20px 40px;border-top:1px solid var(--blue-line);background:var(--pale)}
.cw-home .analyzing strong{font-size:15px}
.cw-home .analyzing p{font-size:13.5px;color:var(--muted)}
.cw-home .analyzing button{min-height:44px;padding:8px 16px;margin-left:auto;border:1px solid var(--blue-line);border-radius:var(--radius-s);background:var(--card);font-size:14px;font-weight:600}
.cw-home .loading-spinner{width:24px;height:24px;border:2px solid var(--blue-line);border-top-color:var(--blue)}
.cw-home .estimate-error{margin:0;padding:18px 40px 18px 37px;border-top:1px solid #efc9cc;border-left:3px solid var(--danger);background:var(--danger-bg);color:var(--danger);font-size:14.5px;font-weight:600;line-height:1.75;scroll-margin-bottom:120px}

/* ── 결과 ── */
.cw-home .estimate-result{padding:36px 40px 32px;scroll-margin-top:96px}
.cw-home .estimate-result:not([hidden]),.cw-home .step-panel:not([hidden]){animation:xp-in .26s var(--ease) both}
.cw-home .result-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.cw-home .result-topline .eyebrow{font-size:12.5px;color:var(--blue)}
.cw-home #result-mode{padding:4px 10px;border:1px solid var(--line-strong);border-radius:999px;font-size:12.5px;font-weight:600;color:var(--ink-2)}
.cw-home #estimate-result-title{font-size:26px;font-weight:800;line-height:1.4;letter-spacing:-.045em;margin:14px 0 8px}
.cw-home .estimate-result .result-summary{font-size:15px;line-height:1.85;color:var(--muted)}
.cw-home .estimate-total{margin-top:22px;padding:24px 26px;border:0;border-radius:var(--radius);background:var(--ink);color:#fff}
.cw-home #estimate-range{display:block;font-size:clamp(30px,3.4vw,44px);font-weight:800;line-height:1.25;letter-spacing:-.04em;color:#fff;font-variant-numeric:tabular-nums}
.cw-home .estimate-result .estimate-total>div{font-size:13.5px;line-height:1.75;color:#c8cdd6;margin-top:10px}
.cw-home #estimate-range-note{display:block;margin-top:6px;font-size:13px;color:#9aa1ad}
.cw-home .demo-warning{margin:16px 0 0;padding:13px 16px;border:1px solid #ecdcb5;border-left:3px solid #c39a45;border-radius:var(--radius-s);background:var(--amber-bg);color:#5d4718;font-size:13.5px}
.cw-home .job-flow-compact{margin-top:16px}
.cw-home .job-flow li{border-color:var(--line);border-radius:10px;background:var(--card)}
.cw-home .job-flow li::before{border-color:var(--line-strong);color:var(--muted)}
.cw-home .job-flow li[aria-current=step]{border-color:var(--blue-line);background:#f6f8fe}
.cw-home .job-flow li[aria-current=step]::before{background:var(--blue);border-color:var(--blue);color:#fff}
.cw-home .estimate-result .service-area-note{margin-top:12px;padding:12px 16px;border-radius:var(--radius-s);background:var(--paper);font-size:14px}
.cw-home .breakdown-table{margin-top:20px;font-size:14px;font-variant-numeric:tabular-nums}
.cw-home .breakdown-table th{padding:10px 8px;background:none;border-bottom:1px solid var(--ink);font-size:12.5px;font-weight:700;color:var(--muted)}
.cw-home .breakdown-table td{padding:13px 8px;border-bottom:1px solid var(--line)}
.cw-home .breakdown-table td:nth-child(2){font-size:13px;color:var(--muted)}
.cw-home .breakdown-table .total-row td{background:none;font-weight:800;border-bottom:0;border-top:1px solid var(--ink)}
.cw-home .scope-result,.cw-home .reference-box,.cw-home .unpriced-box,.cw-home .itemized-box{margin-top:20px;padding:20px 22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--card)}
.cw-home .scope-result h4,.cw-home .reference-box h4,.cw-home .unpriced-box h4,.cw-home .itemized-box h4,.cw-home .analysis-columns h4,.cw-home .excluded-box h4{font-size:16px;font-weight:800;letter-spacing:-.03em}
.cw-home .scope-result dl{display:grid;grid-template-columns:minmax(120px,auto) 1fr;gap:10px 18px;margin:14px 0 0}
.cw-home .scope-result dt{margin:0;padding-top:1px;font-size:13px;font-weight:700;color:var(--ink)}
.cw-home .scope-result dt:before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:2px;background:var(--line-strong);vertical-align:1px}
.cw-home .scope-result dt[data-decision=demolish]:before{background:var(--blue)}
.cw-home .scope-result dt[data-decision=undecided]:before{background:#c39a45}
.cw-home .scope-result dd{margin:0;font-size:14px;color:var(--ink-2)}
.cw-home .reference-box{background:#f6f8fe;border-color:var(--blue-line)}
.cw-home .itemized-box{border-color:var(--blue-line)}
.cw-home .unpriced-box{border:1.5px dashed #d2b77a;background:var(--amber-bg)}
.cw-home .unpriced-box li{font-size:14px;color:var(--ink)}
.cw-home .estimate-result .reference-box p,.cw-home .estimate-result .unpriced-box p,.cw-home .estimate-result .itemized-box p{font-size:13.5px;color:var(--muted)}
.cw-home .analysis-columns{gap:24px;margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.cw-home .estimate-result .analysis-columns li,.cw-home .estimate-result .excluded-box li{font-size:14px;color:var(--muted)}
.cw-home .photo-analysis-details{margin-top:22px;padding:0;border-block:1px solid var(--line)}
.cw-home .photo-analysis-details summary{min-height:52px;align-items:center;font-weight:700}
.cw-home .excluded-box{margin-top:22px;padding:18px 20px;border-radius:var(--radius);background:var(--paper)}
.cw-home .estimate-result .result-disclaimer{margin-top:20px;font-size:13.5px;line-height:1.85;color:var(--muted)}
.cw-home .result-disclaimer strong{color:var(--ink)}
.cw-home .estimate-result-actions{gap:10px;margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.cw-home .estimate-result-actions .button{min-height:52px;font-size:15px;padding:12px 22px}
.cw-home .estimate-result-actions #estimate-consult{flex:1 1 260px}

/* ── 견적 준비 요약(조용하게, 입력이 생기면 또렷하게) ── */
.cw-home .site-summary{position:relative;overflow:visible;padding:20px 22px;border:1px solid var(--line);border-radius:14px;background:transparent;color:var(--ink);transition:border-color .25s var(--ease),background-color .25s var(--ease)}
.cw-home .site-summary:after{content:none}
.cw-home .site-summary.is-filled{border-color:var(--blue-line);background:var(--card)}
.xp-summary-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.cw-home .site-summary .eyebrow{font-size:12.5px;letter-spacing:.02em;color:var(--muted)}
.cw-home .site-summary.is-filled .eyebrow{color:var(--blue)}
.cw-home .site-summary h2{font-size:16px;font-weight:800;margin:0;color:var(--ink)}
.cw-home .site-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;margin:0}
.cw-home .site-summary dl>div{display:block;padding-top:10px;border-top:1px solid var(--line)}
.cw-home .site-summary dt{font-size:12.5px;color:var(--muted);white-space:nowrap}
.cw-home .site-summary dd{margin:2px 0 0;text-align:left;font-size:15px;font-weight:700;color:var(--ink);line-height:1.45}
.cw-home .site-summary dl>div:first-child dd,.cw-home .site-summary dl>div:nth-child(2) dd{font-size:20px;font-weight:800;letter-spacing:-.02em;line-height:1.3}
.cw-home .site-summary dd span{font-size:13px;color:var(--muted);font-weight:600;margin-left:2px}
.cw-home .site-summary dd.is-empty{color:var(--faint);font-weight:600}
.cw-home .site-summary .summary-foot{display:block;margin:16px 0 0;font-size:13px;line-height:1.75;color:var(--muted)}
.cw-home .site-summary #pricing-mode-label{display:block;margin-top:12px;padding:10px 0 0;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}

/* ── 아래 영역 공통 ── */
.cw-home .xp-head{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);grid-template-areas:"eyebrow eyebrow" "title text";gap:14px clamp(32px,5vw,80px);align-items:end;margin-bottom:44px}
.cw-home .xp-head .eyebrow{grid-area:eyebrow}
.cw-home .xp-head h2{grid-area:title;font-size:clamp(28px,3vw,42px);line-height:1.25;font-weight:800;letter-spacing:-.05em;margin:0}
.cw-home .xp-head>p{grid-area:text;font-size:16px;line-height:1.85;color:var(--muted);max-width:36em}
.cw-home .xp-head-compact{margin-bottom:32px}
.cw-home .xp-process,.cw-home .xp-spaces,.cw-home .xp-checklist,.cw-home .xp-verify,.cw-home .xp-faq{padding-top:96px;padding-bottom:96px;border-top:0}
.cw-home .xp-spaces,.cw-home .xp-checklist,.cw-home .xp-verify,.cw-home .xp-faq{border-top:1px solid var(--line)}
.cw-home .xp-checklist{padding-top:72px;padding-bottom:72px}
.cw-home .xp-verify{padding-top:72px;padding-bottom:72px}

/* 3단계 개요 */
.xp-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;list-style:none;margin:0;padding:0;counter-reset:none}
.xp-three li{position:relative;padding:24px 32px 6px 0;border-top:2px solid var(--ink)}
.xp-three li+li{padding-left:32px;border-left:1px solid var(--line)}
.xp-three li:not(:last-child):after{content:"";position:absolute;top:-7px;right:-7px;width:12px;height:12px;border-top:2px solid var(--ink);border-right:2px solid var(--ink);transform:rotate(45deg);background:var(--bg);z-index:1}
.xp-num{display:block;font-size:14px;font-weight:700;color:var(--blue);font-variant-numeric:tabular-nums;letter-spacing:.04em}
.cw-home .xp-three h3{font-size:24px;font-weight:800;letter-spacing:-.045em;margin:10px 0 8px}
.cw-home .xp-three p{font-size:15px;line-height:1.8;color:var(--muted)}

.cw-home .xp-disclosure{display:block;margin-top:44px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.cw-home .xp-disclosure>summary{display:flex;align-items:center;gap:12px;min-height:60px;font-size:16px;font-weight:700}
.xp-disclosure-body{padding:4px 0 28px}
.cw-home .xp-disclosure-body>p{font-size:14.5px;color:var(--muted);margin-bottom:14px}
.cw-home .xp-disclosure .job-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cw-home .xp-disclosure .job-flow li{padding:16px}
.cw-home .xp-disclosure .standards-grid{margin-top:28px;border-top:1px solid var(--line)}
.cw-home .standards-grid article>span{font-size:12.5px;color:var(--blue);letter-spacing:.04em}
.cw-home .standards-grid h3{font-size:19px;margin:10px 0 8px}
.cw-home .standards-grid p{font-size:14.5px}

.cw-home .money-flow-block{margin-top:44px;padding:36px 40px;border-radius:16px;background:var(--paper);gap:18px}
.cw-home .money-flow-block h3{font-size:22px;font-weight:800;letter-spacing:-.045em}
.cw-home .money-reasons{font-size:15px;color:var(--muted);gap:10px}
.cw-home .money-reasons strong{color:var(--ink)}
.cw-home .safe-pay-note{margin-top:2px;padding:12px 16px;border:1px solid var(--blue-line);border-radius:var(--radius-s);background:var(--card);font-size:14.5px}
.cw-home .safe-pay-note strong{color:var(--blue)}

/* 공간 안내: 사진 두 장으로 만든 편집형 안내 */
.cw-home .xp-spaces .project-grid{grid-template-columns:7fr 5fr;gap:clamp(24px,3vw,48px);align-items:start}
.cw-home .xp-spaces .project-card:nth-child(2){margin-top:96px}
.cw-home .project-image{border-radius:var(--radius);aspect-ratio:4/3;background:var(--paper)}
.cw-home .project-image img{transition:transform .5s var(--ease)}
.cw-home .project-card:hover img{transform:scale(1.02)}
.cw-home .project-image-label{left:12px;bottom:12px;padding:4px 10px;border-radius:5px;background:rgba(17,22,31,.82);color:#fff;font-size:12.5px;text-shadow:none}
.cw-home .project-meta{margin-top:18px;font-size:13px;font-weight:700;color:var(--blue)}
.cw-home .project-card h3{font-size:24px;font-weight:800;line-height:1.4;letter-spacing:-.045em;margin:8px 0 8px}
.cw-home .project-card>p{font-size:15px;line-height:1.8;color:var(--muted)}
.cw-home .project-card>.text-action{margin-top:8px;color:var(--ink);text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.cw-home .project-card>.text-action:after{content:"→";text-decoration:none}

/* 견적 전 체크 · 확인 기준 · 자주 묻는 질문: 절제된 행 */
.xp-rows{border-top:1px solid var(--ink)}
.xp-rows details{border-bottom:1px solid var(--line)}
.cw-home .xp-rows summary{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:20px;min-height:64px;padding:10px 0}
.xp-row-tag{font-size:13px;font-weight:700;color:var(--blue)}
.xp-row-title{font-size:17px;font-weight:700;letter-spacing:-.03em}
.cw-home .xp-rows details>p{padding:0 48px 22px 170px;font-size:15px;line-height:1.85;color:var(--muted)}
.cw-home .xp-verify .trust-grid{gap:0;border-top:1px solid var(--ink)}
.cw-home .xp-verify .trust-grid article{padding:24px 28px 8px 0;border-radius:0;background:none}
.cw-home .xp-verify .trust-grid article+article{padding-left:28px;border-left:1px solid var(--line)}
.cw-home .xp-verify .tag{padding:0;border:0;background:none;font-size:12.5px;font-weight:700;color:var(--blue)}
.cw-home .xp-verify .trust-grid h3{font-size:19px;margin:8px 0}
.cw-home .xp-verify .trust-grid p{font-size:14.5px;color:var(--muted)}

.cw-home .faq.xp-faq{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(32px,6vw,96px);align-items:start}
.cw-home .xp-faq .xp-head{display:block;margin:0;position:sticky;top:104px}
.cw-home .xp-faq .xp-head h2{margin-top:12px}
.cw-home .faq-list{border-top:1px solid var(--ink)}
.cw-home .faq-list details{border-bottom:1px solid var(--line)}
.cw-home .faq-list summary{min-height:68px;padding:18px 0;gap:24px;font-size:16.5px;font-weight:600;line-height:1.6;align-items:center}
.cw-home .faq-list summary:hover{color:var(--blue)}
.cw-home .faq-list summary>span{flex:none;display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line-strong);border-radius:50%;font-size:17px;font-weight:400;color:var(--ink);transition:transform .22s var(--ease)}
.cw-home .faq-list details[open] summary>span{transform:rotate(45deg)}
.cw-home .faq-list details>p{padding:0 52px 26px 0;font-size:15px;line-height:1.9;color:var(--muted)}
.cw-home .faq-list details>p strong{display:block;margin-bottom:6px;color:var(--ink)}
.cw-home .faq-priority{border-top:0}
.cw-home .faq-priority summary{color:var(--ink)}

/* 마무리 · 협력업체 · 바닥글 */
.cw-home .closing.xp-closing{padding:88px 0;border:0;background:var(--ink);color:#fff}
.cw-home .xp-closing .closing-inner{align-items:flex-end;gap:40px}
.cw-home .xp-closing .eyebrow{color:#9db3f3}
.cw-home .xp-closing h2{font-size:clamp(30px,3.4vw,46px);font-weight:800;line-height:1.2;letter-spacing:-.05em;margin:14px 0 14px;color:#fff}
.cw-home .xp-closing p{font-size:16px;color:#c8cdd6}
.xp-closing-actions{display:flex;flex-wrap:wrap;gap:10px;flex:none}
.cw-home .xp-closing .button-dark{background:var(--blue);border-color:var(--blue)}
.cw-home .xp-closing .button-dark:hover{background:#2e5ae6;border-color:#2e5ae6}
.cw-home .xp-closing .button-outline{border-color:rgba(255,255,255,.4);color:#fff}
.cw-home .xp-closing .button-outline:hover{border-color:#fff}
.cw-home .partner-join.xp-partner{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:48px auto;padding:24px 28px;border:1px solid var(--line);border-radius:14px;background:transparent}
.cw-home .xp-partner .eyebrow{color:var(--muted)}
.cw-home .xp-partner h2{font-size:19px;font-weight:800;line-height:1.45;letter-spacing:-.04em;margin:4px 0 4px}
.cw-home .xp-partner p{font-size:14px;line-height:1.75;color:var(--muted)}
.cw-home .site-footer{padding-top:32px;border-top:1px solid var(--line)}
.cw-home .site-footer .brand{font-size:24px}
.cw-home .footer-bottom{border-top-color:var(--line);color:var(--muted)}

/* ── 대화상자 ── */
.cw-home dialog{border:1px solid var(--line);border-radius:16px;background:var(--bg);color:var(--ink);box-shadow:0 30px 80px rgba(17,22,31,.28)}
.cw-home dialog[open]{animation:xp-pop .22s var(--ease) both}
.cw-home dialog::backdrop{background:rgba(17,22,31,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.cw-home .dialog-inner{padding:40px 36px 32px}
.cw-home .dialog-inner h2{font-size:26px;font-weight:800;line-height:1.35;letter-spacing:-.05em;margin:12px 0 10px}
.cw-home .dialog-close{top:12px;right:12px;width:44px;height:44px;border-radius:50%;font-size:26px;line-height:1;color:var(--ink)}
.cw-home .dialog-close:hover{background:var(--paper)}
.cw-home .dialog-description{font-size:15px;color:var(--muted)}
.cw-home .contact-details{margin:20px 0;padding:20px;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--card)}
.cw-home .contact-details legend{font-size:16px;font-weight:800;padding:0 6px}
.cw-home .contact-fields label{font-size:14px;color:var(--ink)}
.cw-home .contact-fields label span{color:var(--danger);font-weight:700}
.cw-home .contact-fields input{min-height:48px;border-color:var(--line-strong);border-radius:var(--radius-s)}
.cw-home .contact-fields input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(31,75,210,.22)}
.cw-home .contact-consent{padding:14px;border-radius:var(--radius-s);background:var(--bg);font-size:13.5px}
.cw-home .contact-consent input{accent-color:var(--blue);width:22px;height:22px}
.cw-home .auto-send,.cw-home .mail-fallback{border-color:var(--line);border-radius:var(--radius);background:var(--card)}
.cw-home #inquiry-preview-text,.cw-home #consult-summary{border-radius:var(--radius-s);background:var(--paper);font-size:14px}
.cw-home .inquiry-photo-preview img{border-radius:var(--radius-s)}
.cw-home .mail-recipient button{min-height:44px;border-color:var(--line-strong);border-radius:var(--radius-s)}
.cw-home .form-notice{border-radius:var(--radius-s);background:var(--paper);font-size:13.5px}
.cw-home #consult-form label{font-size:14.5px;font-weight:700}
.cw-home #consult-form input{min-height:48px;border-color:var(--line-strong);border-radius:var(--radius-s)}
.cw-home .result-label{color:var(--blue)}
.cw-home .edit-link{min-height:44px}
.cw-home #project-dialog-image{border-radius:var(--radius)}

/* ── 움직임: 짧고 한 번만. 줄인 움직임 설정이면 styles.css가 모두 끈다 ── */
@keyframes xp-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes xp-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes xp-pop{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
.xp-intro>*{animation:xp-rise .42s var(--ease) both}
.xp-intro>:nth-child(2){animation-delay:.05s}
.xp-intro>:nth-child(3){animation-delay:.1s}
.xp-intro>:nth-child(4){animation-delay:.15s}
.xp-intro>:nth-child(5){animation-delay:.22s}
.xp-work{animation:xp-rise .42s var(--ease) .08s both}
@media(prefers-reduced-motion:reduce){.cw-home *,.cw-home *:before,.cw-home *:after{animation:none;transition:none}}

/* ── 반응형 ── */
@media(max-width:1180px){
  .cw-home .header-inner>.header-cta{margin-left:auto}
}
@media(max-width:1099px){
  .cw-home .wrap{width:calc(100% - 56px)}
  .xp-studio-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "work" "summary";grid-template-rows:auto}
  .xp-intro{max-width:640px;padding-top:0;margin-bottom:36px}
  .cw-home .xp-intro h1{font-size:clamp(38px,6vw,52px)}
  .xp-plan{display:none}
  .cw-home .xp-summary{position:static;margin-top:24px}
  .cw-home .site-summary dl{grid-template-columns:repeat(4,minmax(0,1fr))}
  .cw-home .xp-head{grid-template-columns:1fr;grid-template-areas:"eyebrow" "title" "text"}
  .cw-home .faq.xp-faq{grid-template-columns:1fr}
  .cw-home .xp-faq .xp-head{position:static}
  .cw-home .xp-spaces .project-grid{grid-template-columns:1fr 1fr}
  .cw-home .xp-spaces .project-card:nth-child(2){margin-top:48px}
  .cw-home .money-flow-block{padding:28px}
}
@media(max-width:760px){
  .cw-home{scroll-padding-top:72px;padding-bottom:calc(92px + env(safe-area-inset-bottom))}
  :root:has(body.cw-home){scroll-padding-top:72px;scroll-padding-bottom:100px}
  .cw-home .wrap{width:calc(100% - 32px)}
  .cw-home .site-header{height:60px}
  .cw-home .header-inner{gap:10px}
  .cw-home .brand{font-size:24px}
  .cw-home .brand-seal{width:27px;height:28px;font-size:19px}
  .cw-home .header-inner>.header-cta{min-height:44px;padding:8px 13px;font-size:13.5px}
  .cw-home .menu-toggle{width:44px;min-width:44px;height:44px;align-items:center;margin-right:-10px}
  .cw-home .mobile-nav{top:60px;max-height:calc(100vh - 60px);max-height:calc(100dvh - 60px)}
  .cw-home .studio.xp-studio{padding:22px 0 48px}
  .xp-intro{margin-bottom:22px}
  .cw-home .xp-kicker{font-size:12px;margin-bottom:12px;gap:10px}
  .cw-home .xp-kicker:before{width:20px}
  .cw-home .xp-intro h1{font-size:clamp(30px,8.6vw,36px);line-height:1.2;letter-spacing:-.06em;margin-bottom:12px}
  .cw-home .xp-lede{font-size:15px;line-height:1.7}
  .cw-home .estimate-expectation.xp-notice{margin-top:14px;padding-top:12px}
  .cw-home .xp-notice-line strong{font-size:14px}
  .xp-notice-more{margin-top:0}
  .cw-home .xp-notice-more>summary{min-height:40px;font-size:13.5px;padding:6px 0}
  .cw-home .estimate-expectation .connection-note{font-size:12.5px;margin-top:0}
  .cw-home .xp-work .estimate-steps{margin-bottom:10px;padding:0}
  .cw-home .estimate-steps button{font-size:13px;gap:7px}
  .cw-home .estimate-steps button>span{width:24px;height:24px;font-size:11px}
  .cw-home .estimate-steps .step-line{margin:0 8px}
  .cw-home #estimate-form,.cw-home .estimate-result{border-radius:14px}
  .cw-home .step-panel{padding:20px 18px 22px}
  .cw-home .panel-heading{margin-bottom:14px}
  .cw-home .step-caption{font-size:12px}
  .cw-home .panel-heading h2{font-size:21px;margin:2px 0 4px}
  .cw-home .panel-heading p{font-size:14px}
  .cw-home .xp-rule{font-size:13px}
  .cw-home .xp-rule span+span:before{margin:0 6px}
  .cw-home .photo-count{font-size:12.5px;padding:5px 10px}
  .cw-home .upload-zone label{display:grid;grid-template-columns:auto 1fr;text-align:left;align-items:center;gap:12px 14px;padding:18px 16px}
  .cw-home .upload-symbol{width:46px;height:46px;border-radius:12px}
  .cw-home .upload-zone strong{font-size:16.5px}
  .cw-home .upload-types{font-size:13px}
  .cw-home .upload-select{grid-column:1/-1;width:100%;margin:0;min-height:52px}
  .xp-drop-hint{display:none}
  .cw-home .capture-actions{margin-top:8px}
  .cw-home .camera-button{font-size:13.5px;padding:8px 12px 8px 10px}
  .cw-home .capture-actions a{font-size:13.5px}
  .cw-home .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .cw-home .photo-readiness{padding:14px 14px 12px}
  .cw-home .capture-list.xp-shots{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cw-home .xp-shots li{padding:12px 12px 10px}
  .xp-shot-icon{width:38px;height:38px;margin-bottom:6px}
  .cw-home .xp-shots strong{font-size:14px}
  .cw-home .demo-entry{display:grid;gap:10px;padding:14px 16px}
  .cw-home .demo-button{justify-self:start}
  .cw-home .step-footer{display:grid;gap:12px;margin-top:20px;padding-top:18px}
  .cw-home .step-footer .button{width:100%;min-width:0}
  .cw-home .xp-group{padding:20px 0 22px}
  .cw-home .estimate-fields,.cw-home .xp-scope-select{grid-template-columns:1fr;gap:18px}
  .cw-home .scope-chip span{padding:9px 14px;font-size:14px}
  .cw-home .estimate-submit-row{display:grid;gap:4px}
  .cw-home .estimate-submit-row .button{order:-1;width:100%;min-width:0}
  .cw-home .estimate-submit-row .text-action{justify-self:start}
  .cw-home .analyzing{padding:16px 18px;flex-wrap:wrap}
  .cw-home .analyzing button{margin-left:0}
  .cw-home .estimate-error{padding:16px 18px 16px 15px;font-size:14px}
  .cw-home .estimate-result{padding:24px 18px}
  .cw-home #estimate-result-title{font-size:22px}
  .cw-home .estimate-total{padding:20px 18px}
  .cw-home #estimate-range{font-size:30px}
  .cw-home .scope-result,.cw-home .reference-box,.cw-home .unpriced-box,.cw-home .itemized-box{padding:16px}
  .cw-home .scope-result dl{grid-template-columns:1fr;gap:4px}
  .cw-home .scope-result dd{margin-bottom:8px}
  .cw-home .estimate-result-actions .button{width:100%}
  .cw-home .site-summary{padding:16px 18px}
  .cw-home .site-summary dl{grid-template-columns:1fr 1fr;gap:10px 16px}
  .cw-home .site-summary dl>div:first-child dd,.cw-home .site-summary dl>div:nth-child(2) dd{font-size:18px}
  .cw-home .xp-head{margin-bottom:28px;gap:10px}
  .cw-home .xp-head h2{font-size:27px}
  .cw-home .xp-head>p{font-size:15px}
  .cw-home .xp-process,.cw-home .xp-spaces,.cw-home .xp-faq{padding-top:60px;padding-bottom:60px}
  .cw-home .xp-checklist,.cw-home .xp-verify{padding-top:52px;padding-bottom:52px}
  .xp-three{grid-template-columns:1fr}
  .xp-three li,.xp-three li+li{padding:18px 0 18px 52px;border-left:0;border-top:1px solid var(--line)}
  .xp-three li:first-child{border-top:2px solid var(--ink)}
  .xp-three li:not(:last-child):after{display:none}
  .xp-num{position:absolute;left:0;top:22px}
  .cw-home .xp-three h3{font-size:20px;margin:0 0 4px}
  .cw-home .xp-three p{font-size:14.5px}
  .cw-home .xp-disclosure{margin-top:28px}
  .cw-home .xp-disclosure>summary{font-size:15px}
  .cw-home .xp-disclosure .job-flow{grid-template-columns:1fr 1fr}
  .cw-home .money-flow-block{margin-top:28px;padding:22px 18px}
  .cw-home .money-flow-block h3{font-size:19px}
  .cw-home .money-reasons{font-size:14.5px}
  .cw-home .xp-spaces .project-grid{grid-template-columns:1fr;gap:40px}
  .cw-home .xp-spaces .project-card:nth-child(2){margin-top:0}
  .cw-home .project-card h3{font-size:21px}
  .cw-home .xp-rows summary{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"tag icon" "title icon";gap:2px 14px;padding:14px 0}
  .xp-row-tag{grid-area:tag}
  .xp-row-title{grid-area:title;font-size:16px}
  .cw-home .xp-rows .xp-sum-icon{grid-area:icon}
  .cw-home .xp-rows details>p{padding:0 0 18px;font-size:14.5px}
  .cw-home .xp-verify .trust-grid{grid-template-columns:1fr}
  .cw-home .xp-verify .trust-grid article,.cw-home .xp-verify .trust-grid article+article{padding:18px 0;border-left:0;border-bottom:1px solid var(--line)}
  .cw-home .faq-list summary{font-size:15.5px;min-height:60px;padding:14px 0}
  .cw-home .faq-list details>p{padding-right:0;font-size:14.5px}
  .cw-home .closing.xp-closing{padding:56px 0}
  .cw-home .xp-closing .closing-inner{display:grid;gap:24px}
  .xp-closing-actions{display:grid}
  .cw-home .xp-closing .button{width:100%;margin:0}
  .cw-home .partner-join.xp-partner{display:grid;gap:16px;margin:32px auto;padding:20px}
  .cw-home .xp-partner .button{width:100%;margin:0}
  .cw-home .dialog-inner{padding:44px 20px 24px}
  .cw-home .dialog-inner h2{font-size:23px}
  /* 하단 고정 행동: 상태에 맞는 문구는 estimate.js가 정한다 */
  .cw-home .mobile-dock{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;padding:10px 16px calc(10px + env(safe-area-inset-bottom));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));background:rgba(251,250,246,.96);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);box-shadow:0 -10px 30px rgba(17,22,31,.06)}
  .cw-home .mobile-dock>a{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 14px;border:1px solid var(--line-strong);border-radius:var(--radius-s);font-size:14px;font-weight:700;color:var(--ink)}
  .cw-home .mobile-dock button{min-height:52px;padding:10px 14px;border:0;border-radius:var(--radius-s);background:var(--blue);color:#fff;font-size:16px;font-weight:800;letter-spacing:-.02em;transition:background-color .18s var(--ease)}
  .cw-home .mobile-dock button:disabled{background:#c9c4b9;color:var(--ink)}
}
@media(max-width:360px){
  .cw-home .wrap{width:calc(100% - 24px)}
  .cw-home .header-inner>.header-cta{padding:8px 10px;font-size:12.5px}
  .cw-home .brand-descriptor{display:none}
  .cw-home .xp-intro h1{font-size:29px}
  .cw-home .estimate-steps button{font-size:12px;gap:5px}
  .cw-home .estimate-steps .step-line{margin:0 4px;min-width:6px}
  .cw-home .step-panel{padding:18px 14px 20px}
  .cw-home .capture-actions{flex-wrap:wrap}
  .cw-home .mobile-dock{padding-left:12px;padding-right:12px}
  .cw-home .mobile-dock>a{padding:0 10px;font-size:13px}
}

/* 작은 휴대폰 첫 화면: 사진 선택 버튼이 하단 고정 행동보다 충분히 위에 오도록 */
.cw-home .footer-bottom a,.cw-home .back-top{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:760px){
  .cw-home .xp-kicker{display:none}
  .cw-home .studio.xp-studio{padding-top:14px}
  .xp-intro{margin-bottom:14px}
  .cw-home .xp-intro h1{margin-bottom:8px}
  .cw-home .xp-lede{font-size:14.5px;line-height:1.65}
  .cw-home .estimate-expectation.xp-notice{margin-top:10px;padding-top:8px}
  .cw-home .xp-notice-more>summary{min-height:40px;padding:4px 0}
  .cw-home .xp-work .estimate-steps{margin-bottom:6px}
  .cw-home .panel-heading{position:relative;display:block;margin-bottom:12px}
  .cw-home .photo-count{position:absolute;top:-5px;right:0;margin:0}
  .cw-home .upload-zone label{padding:14px 14px 14px}
}
@media(max-width:360px){
  .cw-home .xp-intro h1{font-size:28px}
  .cw-home .xp-lede{font-size:14px}
  .cw-home .upload-types{font-size:12.5px}
  .cw-home .estimate-expectation .connection-note{font-size:12px}
  .cw-home .studio.xp-studio{padding-top:10px}
}

/* 결과 첫인상: 제목 → 금액 상태(숫자 또는 짧은 상태) → 시연/단가 안내 한 번 → 실제 범위·계산·미산정 → 다음 단계 */
.cw-home .estimate-total .total-label{display:block;margin-bottom:4px;font-size:13px;font-weight:700;letter-spacing:.01em;color:#aab1bd}
.cw-home .estimate-total .total-status:empty,.cw-home .estimate-result .result-summary:empty{display:none}
.cw-home .estimate-total.is-status{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:2px 14px;padding:16px 20px;border:1px solid var(--line-strong);border-left:3px solid var(--ink);background:var(--card);color:var(--ink)}
.cw-home .estimate-total.is-status .total-label{margin:0;font-size:13px;color:var(--muted)}
.cw-home .estimate-total.is-status #estimate-range{font-size:19px;font-weight:800;letter-spacing:-.03em;line-height:1.5;color:var(--ink)}
.cw-home .estimate-result .estimate-total.is-status .total-status{grid-column:1/-1;margin-top:4px;font-size:14px;line-height:1.75;color:var(--muted)}
.cw-home .estimate-result .result-summary{margin-top:16px}
.cw-home .estimate-result .demo-warning+.result-summary{margin-top:14px}
.cw-home .result-next{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.cw-home .result-next h4{font-size:16px;font-weight:800;letter-spacing:-.03em}
.cw-home .result-next>.input-help{margin:4px 0 0}
.cw-home .result-next .job-flow-compact{margin-top:12px}
@media(max-width:760px){
  .cw-home .estimate-total.is-status{grid-template-columns:1fr;padding:14px 16px}
  .cw-home .estimate-total.is-status #estimate-range{font-size:18px}
}
/* 전화·카톡 상담: contact-actions.js가 값이 있을 때만 넣는다 */
/* 상담 버튼이 있으면 촬영 가이드는 메뉴·하단 링크로만 둔다(좁은 폰에서 버튼 줄바꿈 방지) */
@media(max-width:760px){.cw-home .mobile-dock.has-contact{display:flex}.cw-home .mobile-dock.has-contact .xp-dock-guide{display:none}.cw-home .mobile-dock.has-contact>a.dock-contact{padding:0 16px;white-space:nowrap}.cw-home .mobile-dock.has-contact button{flex:1 1 auto;min-width:0}}
.cw-home .mobile-dock>a.dock-call{border-color:var(--blue);color:var(--blue)}
.cw-home .contact-slot{display:grid;gap:10px}
.cw-home .contact-slot .button{width:100%;margin:0;justify-content:center;border:1px solid var(--line-strong);background:#fff;color:var(--ink)}
.cw-home .contact-slot .contact-kakao{background:#fee500;border-color:#fee500;color:#191600}
.cw-home .footer-contact{display:inline-flex;flex-wrap:wrap;gap:4px 14px;font-weight:700;color:var(--ink)}
.cw-home .footer-contact a{display:inline-flex;align-items:center;min-height:44px}
.cw-home .mobile-dock>a.dock-kakao{background:#fee500;border-color:#fee500;color:#191600}
/* 대금 보관: 고객·시공업체 양쪽 이점 */
.cw-home .money-sides{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.cw-home .money-sides h4{margin:0 0 8px;font-size:16px;font-weight:800;letter-spacing:-.03em}
@media(max-width:760px){.cw-home .money-sides{grid-template-columns:1fr;gap:18px}}
/* 대금 흐름: 아이콘 3단계 + 연결선(입금은 실선, 지급은 완료 확인 조건이라 점선) */
.cw-home .money-track{list-style:none;margin:6px 0 4px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.cw-home .money-track li{position:relative;display:grid;justify-items:center;align-content:start;gap:14px;text-align:center;padding:0 10px}
.cw-home .money-track li+li::before{content:"";position:absolute;top:31px;right:calc(50% + 38px);left:calc(-50% + 38px);height:2px;border-radius:2px;background:var(--blue)}
.cw-home .money-track li.release::before{background:repeating-linear-gradient(90deg,var(--blue) 0 7px,transparent 7px 13px)}
.cw-home .money-track .mt-mark{height:62px;display:grid;place-items:center;position:relative;z-index:1}
.cw-home .money-track .mt-dot{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--card);border:1.5px solid var(--line-strong);color:var(--ink)}
.cw-home .money-track .mt-won{font-size:21px;font-weight:800;line-height:1}
.cw-home .money-track svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cw-home .money-track .hold .mt-dot{width:62px;height:62px;background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:0 0 0 7px rgba(17,22,31,.07)}
.cw-home .money-track .hold svg{width:27px;height:27px}
.cw-home .money-track .release .mt-dot{border-color:var(--blue);color:var(--blue);background:var(--pale)}
.cw-home .money-track div{display:grid;gap:3px}
.cw-home .money-track b{font-size:17px;font-weight:800;letter-spacing:-.03em;color:var(--ink)}
.cw-home .money-track div>span{font-size:13.5px;line-height:1.55;color:var(--muted);word-break:keep-all}
.cw-home .money-track .mt-gate{position:absolute;top:31px;left:0;transform:translate(-50%,-50%);z-index:2;padding:3px 10px;border-radius:999px;background:var(--paper);border:1px solid var(--blue-line);color:var(--blue);font-size:12px;font-weight:700;font-style:normal;white-space:nowrap}
@media(max-width:760px){
  .cw-home .money-track{grid-template-columns:1fr;margin:2px 0}
  .cw-home .money-track li{grid-template-columns:52px minmax(0,1fr);justify-items:start;align-items:center;text-align:left;gap:0 16px;padding:0 0 26px}
  .cw-home .money-track li:last-child{padding-bottom:0}
  .cw-home .money-track li+li::before{display:none}
  .cw-home .money-track li:not(:last-child)::after{content:"";position:absolute;left:25px;top:26px;bottom:-26px;width:2px;border-radius:2px;background:var(--blue)}
  .cw-home .money-track li.hold::after{background:repeating-linear-gradient(180deg,var(--blue) 0 7px,transparent 7px 13px)}
  .cw-home .money-track .mt-mark{height:52px;width:52px}
  .cw-home .money-track .hold .mt-dot{width:52px;height:52px;box-shadow:0 0 0 5px rgba(17,22,31,.07)}
  .cw-home .money-track .mt-gate{position:static;transform:none;justify-self:start;margin-bottom:4px}
  .cw-home .money-track b{font-size:16px}
}
