/* Existing v2 estimate parts, with a three-column area comparison and two tabs. */
.cost-v3 {font-variant-numeric:tabular-nums;color:#1E1712;min-width:0;--cost-yellow:#FFC23D;--cost-orange:#F26B1D;--cost-deep:#C4470A;--cost-ink:#1E1712}
.cost-v3 .cost-unit {text-align:right;margin:8px 0 12px}
.cost-v3 .cost-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:3px solid var(--cost-ink);margin:0 0 16px}
.cost-v3 .cost-tabs button {appearance:none;min-height:68px;width:100%;border:0;border-radius:0;padding:10px 6px;background:#fff;color:var(--cost-ink);font:800 20px/1.3 Pretendard,sans-serif;cursor:pointer;box-shadow:none}
.cost-v3 .cost-tabs button+button {border-left:3px solid var(--cost-ink)}
.cost-v3 .cost-tabs button[aria-selected="true"] {background:var(--cost-yellow)}
.cost-v3 .cost-tabs button:hover {background:var(--cost-orange)}
.cost-v3 .cost-tabs button:focus-visible {outline:3px solid var(--cost-deep);outline-offset:-6px}
.cost-v3 .cost-tabs small {display:block;margin-top:3px;font-size:13px;font-weight:700}
.cost-v3 .cost-panel {margin:0;padding:0;border:0;min-width:0;background:none}
.cost-v3 .cost-panel+.cost-panel {margin-top:24px}
.cost-v3 .cost-panel[hidden],.cost-v3 [hidden] {display:none!important}
.cost-v3 .cost-table,#startup-cost .cost-v3 .cost-table {width:100%;table-layout:fixed;border-collapse:collapse;margin:0;border:0;border-radius:0;background:#fff;color:var(--cost-ink);font:500 16px/1.5 Pretendard,sans-serif}
.cost-v3 .cost-panel-title {text-align:left;padding:0 0 8px;font-size:16px;font-weight:800;color:var(--cost-ink)}
.cost-v3 .v2-table-head,#startup-cost .cost-v3 .v2-table-head {display:table-header-group;background:var(--cost-yellow);font-size:16px;color:var(--cost-ink)}
.cost-v3 .c-item-list,#startup-cost .cost-v3 .c-item-list {display:table-row-group;margin:0;padding:0;list-style:none}
.cost-v3 th,.cost-v3 td,#startup-cost .cost-v3 th,#startup-cost .cost-v3 td {padding:12px 10px;border:0;border-bottom:1px solid var(--cost-ink);text-align:center;vertical-align:middle;word-break:keep-all;overflow-wrap:anywhere;color:var(--cost-ink)}
.cost-v3 th:first-child,#startup-cost .cost-v3 th:first-child {text-align:left;font-size:15px;font-weight:800}
.cost-v3 th small {display:block;font-size:14px;font-weight:500}
.cost-v3 td strong,#startup-cost .cost-v3 td strong {display:block;font:800 18px/1.5 Pretendard,sans-serif;letter-spacing:-.03em;white-space:normal}
.cost-v3 td s,#startup-cost .cost-v3 td s {display:block;font-size:14px;color:var(--cost-ink);text-decoration:line-through;text-decoration-thickness:1px}
.cost-v3 td s.dr-cost-not-waived,#startup-cost .cost-v3 td s.dr-cost-not-waived {text-decoration:none;font-size:18px;font-weight:800}
.cost-v3 .cost-benefit-band td {background:var(--cost-orange);font-weight:800;text-align:left}
.cost-v3 .c-sums,#startup-cost .cost-v3 .c-sums {display:table-footer-group;background:var(--cost-orange);color:var(--cost-ink);margin:0;border:0;padding:0}
.cost-v3 .c-sums td,.cost-v3 .c-sums th {border:0}
.cost-v3 .c-sums td strong,#startup-cost .cost-v3 .c-sums td strong {font-size:23px;font-weight:900}
.cost-v3 .note,#startup-cost .cost-v3 .note {color:var(--cost-ink);font-size:14px;font-weight:500;line-height:1.8;margin:14px 0 0}
.cost-v3 .cost-loan strong {color:var(--cost-deep);font-weight:800}
/* Hidden calculators stay inert even when legacy layout CSS sets display. */
#s6-profit[hidden] {display:none!important}
@media(max-width:768px) {
 .cost-v3 .cost-tabs button {font-size:18px}
 .cost-v3 th,.cost-v3 td,#startup-cost .cost-v3 th,#startup-cost .cost-v3 td {padding:12px 5px}
 .cost-v3 th:first-child,#startup-cost .cost-v3 th:first-child {font-size:14px}
 .cost-v3 td strong,#startup-cost .cost-v3 td strong {font-size:16px}
 .cost-v3 th small {font-size:12px}
 .cost-v3 .c-sums td strong,#startup-cost .cost-v3 .c-sums td strong {font-size:19px}
}
.cost-v3 .cost-table th {width:auto}
.cost-v3 .cost-table thead th {text-align:center}
.cost-v3 .cost-table thead th:first-child {text-align:left}
.cost-v3 th small {color:var(--cost-ink);margin-top:2px}
#startup-cost .c-waiver s.dr-cost-not-waived {display:block;text-decoration:none}
#startup-cost .c-waiver strong[hidden],#c-waiver-title[hidden] {display:none!important}
.cost-v3 .cost-table,.cost-v3 td strong,#startup-cost .cost-v3 td strong {font-variant-numeric:tabular-nums}
/* 숫자 칸: 취소선 금액과 0원·본사 지원이 같은 가운데 줄에 */
.cost-v3 td s,.cost-v3 td strong,#startup-cost .cost-v3 td s,#startup-cost .cost-v3 td strong {text-align:center;margin-left:auto;margin-right:auto}
/* 이사님 11-09: '본사 최대 1억 원 무이자 대출' 문장 글자 2배(14px→28px), 두 탭 공통 */
.cost-v3 .cost-loan,#startup-cost .cost-v3 .cost-loan {font-size:28px;line-height:1.4;font-weight:700;margin-top:18px}
.cost-v3 .cost-loan strong {font-weight:900}
.cost-v3 .cost-loan .loan-line {display:inline-block}
@media(max-width:768px) {.cost-v3 .cost-loan,#startup-cost .cost-v3 .cost-loan {font-size:28px;line-height:1.35}}
@media(max-width:340px) {.cost-v3 .cost-loan,#startup-cost .cost-v3 .cost-loan {font-size:25px}}
/* 머리줄 30평·50평 글자 15px(다른 v2 규칙의 13px 덮어씀) */
.cost-v3 .cost-table thead th,#startup-cost .cost-v3 .cost-table thead th {font-size:15px;font-weight:800}
/* 업무 223 (11-09 이사님 '버튼이 뜬금없다'): 계산기를 숨기면서 계산기 아래 상담 버튼만 구역 밖에 남았던 것을 표 아래로 옮김.
   단위 줄은 탭 아래, 표 제목과 같은 줄 오른쪽에 붙임. */
.cost-v3 .cost-unit,#startup-cost .cost-v3 .cost-unit {height:24px;margin:0 0 -24px;line-height:24px;font-size:14px;text-align:right;position:relative;z-index:1;pointer-events:none}
.cost-v3 .cost-panel-title {line-height:24px}
.cost-v3 .cost-cta,#startup-cost .cost-v3 .cost-cta {margin:22px 0 0;padding:0}
.cost-v3 .cost-cta .btn {display:inline-flex;align-items:center;justify-content:center;min-width:280px;min-height:56px;margin:0}
@media(max-width:768px) {.cost-v3 .cost-cta .btn {display:flex;width:100%;min-width:0}}
/* PC: '직접 확인하고' 구역 왼쪽 선을 비용 구역(1240px 폭)과 맞춤 — 28px 어긋나 있었음 */
@media(min-width:769px) {#s7 .wrap.process-layout {width:min(1240px,calc(100% - 64px));max-width:1240px;padding-left:0;padding-right:0;padding-top:64px}}
/* ===== 업무 223 (11-09 이사님 'D로 작업'): 견적서 표 =====
   얇은 먹색 선, 항목 왼쪽·금액 오른쪽, 묶음 제목 줄(본사 혜택/매장 만드는 돈/본사 지원), 색 면 없이 합계만 굵게, 포인트는 진주황 한 색.
   30·50평이 같은 칸(0원·본사 지원·0원부터)은 한 칸으로 합침. 탭(노랑)은 그대로. */
#startup-cost .cost-v3 .cost-table,.cost-v3 .cost-table {background:transparent;font:500 16px/1.5 Pretendard,sans-serif}
#startup-cost .cost-v3 .v2-table-head,.cost-v3 .v2-table-head {background:transparent}
#startup-cost .cost-v3 .cost-table thead th,.cost-v3 .cost-table thead th {padding:10px 8px;border-top:1px solid #1E1712;border-bottom:1px solid #1E1712;font-size:14px;font-weight:700;text-align:right;color:#1E1712;background:transparent}
#startup-cost .cost-v3 .cost-table thead th:first-child,.cost-v3 .cost-table thead th:first-child {text-align:left}
#startup-cost .cost-v3 .cost-table tbody th,#startup-cost .cost-v3 .cost-table tbody td,.cost-v3 .cost-table tbody th,.cost-v3 .cost-table tbody td {border-bottom:1px solid #D2CCC4;padding:16px 8px;vertical-align:middle}
#startup-cost .cost-v3 .cost-table tbody th,.cost-v3 .cost-table tbody th {text-align:left;font-size:16px;font-weight:600}
#startup-cost .cost-v3 .cost-table tbody td,.cost-v3 .cost-table tbody td {text-align:right}
#startup-cost .cost-v3 .cost-table td strong,.cost-v3 .cost-table td strong {display:inline;font:700 20px/1.35 Pretendard,sans-serif;letter-spacing:-.02em;text-align:right;margin:0}
#startup-cost .cost-v3 .cost-table td s,.cost-v3 .cost-table td s {display:inline;margin:0 10px 0 0;font-size:14px;font-weight:500;color:#6A6460;text-decoration-thickness:1px;text-align:right}
/* 묶음 제목 줄 */
#startup-cost .cost-v3 .cost-table .cost-group th,.cost-v3 .cost-table .cost-group th {padding:22px 8px 8px;border-bottom:0;background:transparent;font-size:14px;font-weight:800;text-align:left;color:#1E1712}
.cost-v3 .cost-group-note {font-weight:500}
/* 0원 세 줄: 한 묶음으로 가볍게 */
#startup-cost .cost-v3 .cost-table .cost-fee th,#startup-cost .cost-v3 .cost-table .cost-fee td,.cost-v3 .cost-table .cost-fee th,.cost-v3 .cost-table .cost-fee td {padding-top:8px;padding-bottom:8px;font-size:15px;font-weight:500}
#startup-cost .cost-v3 .cost-table .cost-fee strong,.cost-v3 .cost-table .cost-fee strong {font-size:17px;color:#C4470A}
#startup-cost .cost-v3 .cost-table .cost-fee s,.cost-v3 .cost-table .cost-fee s {font-size:13px}
/* 매장 만드는 돈: 보통 */
#startup-cost .cost-v3 .cost-table .cost-paid th,#startup-cost .cost-v3 .cost-table .cost-paid td,.cost-v3 .cost-table .cost-paid th,.cost-v3 .cost-table .cost-paid td {padding-top:18px;padding-bottom:18px}
.cost-v3 .cost-table .cost-paid th small {display:block;margin-top:2px;font-size:13px;font-weight:500;color:#5A534C}
#startup-cost .cost-v3 .cost-table .cost-paid td s,.cost-v3 .cost-table .cost-paid td s {display:block;margin:0 0 2px;font-size:14px}
#startup-cost .cost-v3 .cost-table .cost-paid td s+strong,.cost-v3 .cost-table .cost-paid td s+strong {display:block;font-size:15px;font-weight:700}
#startup-cost .cost-v3 .cost-table .cost-sign strong,.cost-v3 .cost-table .cost-sign strong {font-size:17px}
/* 합계: 색 면 없이 가장 무겁게 */
#startup-cost .cost-v3 .c-sums,.cost-v3 .c-sums {background:transparent}
#startup-cost .cost-v3 .c-sums th,#startup-cost .cost-v3 .c-sums td,.cost-v3 .c-sums th,.cost-v3 .c-sums td {border-top:2px solid #1E1712!important;border-bottom:1px solid #1E1712!important;padding:20px 8px;background:transparent}
#startup-cost .cost-v3 .c-sums th,.cost-v3 .c-sums th {text-align:left;font-size:18px;font-weight:800}
#startup-cost .cost-v3 .c-sums td,.cost-v3 .c-sums td {text-align:right}
#startup-cost .cost-v3 .c-sums td strong,.cost-v3 .c-sums td strong {font-size:26px;font-weight:900;color:#C4470A;white-space:nowrap;letter-spacing:-.03em}
/* 표 아래 매장 사진 한 장 */
.cost-v3 .cost-photo {margin:20px 0 0}
.cost-v3 .cost-photo img {display:block;width:100%;height:auto;aspect-ratio:1002/675;object-fit:cover}
.cost-v3 .cost-photo figcaption {margin-top:8px;font-size:14px;line-height:1.5;color:#1E1712}
@media(max-width:768px) {
 #startup-cost .cost-v3 .cost-table tbody th,#startup-cost .cost-v3 .cost-table tbody td,.cost-v3 .cost-table tbody th,.cost-v3 .cost-table tbody td {padding-left:4px;padding-right:4px}
 #startup-cost .cost-v3 .cost-table td strong,.cost-v3 .cost-table td strong {font-size:18px}
 #startup-cost .cost-v3 .cost-table .cost-fee strong,.cost-v3 .cost-table .cost-fee strong {font-size:16px}
 #startup-cost .cost-v3 .c-sums td strong,.cost-v3 .c-sums td strong {font-size:21px}
 #startup-cost .cost-v3 .cost-table tbody th,.cost-v3 .cost-table tbody th {font-size:15px}
}
/* PC: 표 아래 사진은 오른쪽 외관 사진 아래로(같은 사진, PC 전용 칸). 외관 사진은 남은 높이를 채우고, 물레방아 홀은 원래 비율.
   휴대폰: 표 바로 아래 사진(표 안 칸). */
.cost-side {display:contents}
.cost-photo-side {display:none}
@media(min-width:769px) {
 #startup-cost .cost-v3 .cost-photo-main {display:none}
 #startup-cost .cost-side {grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:22px;align-self:stretch;min-width:0}
 #startup-cost .cost-side .cost-front {grid-column:auto;grid-row:auto;flex:1;align-self:auto}
 #startup-cost .cost-side .cost-photo-side {display:block;margin:0}
 .cost-photo-side img {display:block;width:100%;height:auto;aspect-ratio:1002/675;object-fit:cover}
 .cost-photo-side figcaption {margin-top:8px;font-size:14px;line-height:1.6;color:#1E1712}
}
.cost-v3 .cost-panel[hidden]+.cost-panel {margin-top:0}
@media(max-width:360px) {#startup-cost .cost-v3 .c-sums td strong,.cost-v3 .c-sums td strong {font-size:18px} #startup-cost .cost-v3 .cost-table td strong,.cost-v3 .cost-table td strong {font-size:16px}}
/* font 단축 속성이 숫자 폭 맞춤을 지우지 않게 */
#startup-cost .cost-v3 .cost-table,#startup-cost .cost-v3 .cost-table td strong,#startup-cost .cost-v3 .cost-table td s,.cost-v3 .cost-table,.cost-v3 .cost-table td strong,.cost-v3 .cost-table td s {font-variant-numeric:tabular-nums}
