/* v77: 단계 진행형 + 색상 1안(네이비 신뢰형) */
:root{--gs-pri:#0f2a4a;--gs-acc:#2b5ea7;--gs-ok:#1d7a4a;--gs-warn:#b45309;--gs-bad:#c0392b;--gs-bg:#f4f6f9;--gs-line:#dde3eb;--gs-ink:#1b2533;--gs-mut:#5d6b7e}
body.has-steps{background:var(--gs-bg);padding-bottom:64px}
body.has-steps .topbar{background:var(--gs-pri)}
/* 위쪽 메뉴의 자동권리분석·투자분석은 단계바가 대신함 */
body.has-steps .workspace-tabs #view-rights,body.has-steps .workspace-tabs #view-calculator{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.godon-steps{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--gs-line);box-shadow:0 2px 6px rgba(15,42,74,.05)}
.godon-steps ol{display:flex;list-style:none;margin:0 auto;padding:10px 24px;max-width:1880px;gap:0}
.godon-steps li{flex:1;display:flex;align-items:center;min-width:0}
.godon-steps button{display:flex;align-items:center;gap:10px;border:0;background:none;padding:6px 10px;border-radius:10px;cursor:pointer;font:inherit;text-align:left;min-width:0}
.godon-steps button:hover{background:#f1f5fa}
.gs-n{flex:0 0 32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;background:#eef2f7;color:var(--gs-mut);border:2px solid #dbe3ec}
.gs-t{display:flex;flex-direction:column;min-width:0}.gs-t b{font-size:14.5px;color:var(--gs-ink);white-space:nowrap}.gs-t small{font-size:12px;color:var(--gs-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gs-line{flex:1;height:2px;background:#dbe3ec;margin:0 8px;min-width:16px}
.godon-steps li.done .gs-n{background:#e6f4ec;color:var(--gs-ok);border-color:#bfe2cd}.godon-steps li.done .gs-line{background:#9fd3b5}
.godon-steps li.part .gs-n{background:#fff4e5;color:var(--gs-warn);border-color:#f3d6a6}
.godon-steps li.on .gs-n{background:var(--gs-pri);color:#fff;border-color:var(--gs-pri);box-shadow:0 0 0 4px rgba(15,42,74,.12)}.godon-steps li.on .gs-t b{color:var(--gs-pri);font-size:15.5px}
/* 아래 이전/다음 */
.godon-step-foot{position:fixed;left:0;right:0;bottom:0;z-index:40;background:rgba(255,255,255,.96);border-top:1px solid var(--gs-line);backdrop-filter:blur(4px)}
.gsf-in{max-width:1880px;margin:0 auto;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.gsf-mid{font-size:13px;color:var(--gs-mut)}
.gsf-prev,.gsf-next{font:inherit;font-size:14px;font-weight:700;border-radius:8px;padding:9px 18px;cursor:pointer}
.gsf-prev{background:#fff;color:var(--gs-pri);border:1px solid #c9d5e3}.gsf-next{background:var(--gs-pri);color:#fff;border:1px solid var(--gs-pri)}
.gsf-next:hover{background:#163a63}
/* 권리분석 단계에서만 '권리분석/임차인분석' 하위 탭 표시, 나머지 단계는 단계바가 대신 */
body.has-steps .rights07-tabs{display:none}
body.has-steps[data-step=rights] .rights07-tabs{display:flex}
body.has-steps[data-step=rights] .rights07-tabs>button:not(#desk-tab-rights):not(#desk-tab-tenants){display:none}
/* 색상 1안: 카드 제목의 진한 남색 띠 → 흰 제목 + 얇은 선 */
body.has-steps .desk-panel-heading{background:#fff!important;color:var(--gs-pri)!important;border-bottom:1px solid var(--gs-line)}
body.has-steps .desk-panel-heading *{color:var(--gs-pri)!important}
body.has-steps .desk-panel-heading svg{color:var(--gs-acc)!important}
body.has-steps .card{border-color:var(--gs-line)}
/* 금액 읽기 도움 */
.gs-read{display:block;font-size:12px;color:var(--gs-acc);font-weight:600;margin-top:4px;text-align:right}
@media(max-width:900px){.gs-t small{display:none}.godon-steps ol{padding:8px 10px;overflow-x:auto}.gs-t b{font-size:13px}.gs-line{min-width:8px;margin:0 4px}}
@media(max-width:600px){.gs-t{display:none}.godon-steps li.on .gs-t{display:flex}}
@media print{.godon-steps,.godon-step-foot{display:none}}

.gs-mob{display:none}
.gs-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:16px 20px;border:1px solid #c9d8ea;border-left:5px solid var(--gs-pri);border-radius:10px;background:#f3f7fc}
.gs-hero[hidden]{display:none}.gs-hero b{font-size:17px;color:var(--gs-pri)}.gs-hero p{margin:4px 0 0;font-size:13.5px;color:var(--gs-mut)}
@media(max-width:600px){.godon-steps li.on .gs-t{display:none}.gs-mob{display:block;text-align:center;font-size:13px;color:var(--gs-mut);padding:0 0 8px}.gs-mob b{color:var(--gs-pri)}
.gsf-mid{display:none}.gsf-prev,.gsf-next{white-space:nowrap;padding:9px 12px;font-size:13px}.gs-hero{flex-direction:column;align-items:stretch}}
