/* 점주시급 (점주생각) v1.3 — 모든 규칙은 .jjs-sim 아래로 한정 */
.jjs-sim {
  --jjs-green: #35764C;
  --jjs-green-2: #2F9E4F;
  --jjs-green-bg: #EEF6F0;
  --jjs-ink: #1d2420;
  --jjs-sub: #5f6b64;
  --jjs-faint: #8a958f;
  --jjs-line: #e3e8e4;
  --jjs-soft: #f5f7f6;
  --jjs-red: #c2412d;
  --jjs-red-bg: #fbe9e5;
  --jjs-amber: #9a6a00;
  --jjs-amber-bg: #fdf3d8;
  /* 돈의 흐름 색: 비용은 차분하게, 남는 돈만 브랜드 초록 */
  --c-material: #a9c9b2;
  --c-labor: #d9b77e;
  --c-rent: #a7b4c6;
  --c-fees: #d7a9a3;
  --c-other: #c9cfcb;
  --c-profit: #2F9E4F;
  --jjs-sticky-top: 0px;
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 96px; /* 사이트 공통 플로팅 버튼에 가리지 않도록 */
  color: var(--jjs-ink);
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
}
.jjs-sim *, .jjs-sim *::before, .jjs-sim *::after { box-sizing: border-box; }
.jjs-sim [hidden] { display: none !important; }
.jjs-sim__loading, .jjs-sim__muted { color: var(--jjs-sub); }
.jjs-sim .jjs-ic { width: 20px; height: 20px; flex: none; }
.jjs-sim__card [id], .jjs-sim section[id] { scroll-margin-top: 72px; }

/* ---------- 첫 화면 ---------- */
.jjs-sim__hero-head { padding: 8px 2px 18px; }
.jjs-sim__eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--jjs-green); background: var(--jjs-green-bg); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.jjs-sim .jjs-sim__title { font-size: 28px; line-height: 1.3; margin: 0 0 8px; font-weight: 800; color: var(--jjs-ink); letter-spacing: -0.02em; }
.jjs-sim__lead { margin: 0 0 12px; color: var(--jjs-sub); }
.jjs-sim__badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--jjs-sub); }
.jjs-sim__badge .jjs-ic { color: var(--jjs-green-2); width: 18px; height: 18px; }
.jjs-sim__badge b { color: var(--jjs-ink); }

.jjs-sim__card {
  background: #fff;
  border: 1px solid var(--jjs-line);
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 12px;
}
.jjs-sim .jjs-sim__card h3 { font-size: 17px; line-height: 1.4; margin: 0 0 12px; font-weight: 800; color: var(--jjs-ink); }
.jjs-sim__card p { margin: 0 0 8px; }
.jjs-sim__card p:last-child { margin-bottom: 0; }
.jjs-sim__search-card { box-shadow: 0 6px 24px rgba(53,118,76,.08); border-color: #d6e6db; }

.jjs-sim__label { display: block; font-weight: 700; margin-bottom: 8px; }
.jjs-sim .jjs-sim__input {
  width: 100%; height: 48px; padding: 0 12px;
  border: 1px solid #cfd8d2; border-radius: 12px;
  font-size: 16px; background: #fff; color: var(--jjs-ink); box-shadow: none; margin: 0;
}
.jjs-sim .jjs-sim__input:focus { outline: 2px solid var(--jjs-green-2); outline-offset: 0; border-color: var(--jjs-green-2); }
.jjs-sim .jjs-sim__input--search { padding-left: 42px; height: 52px; font-size: 17px; }
.jjs-sim__search { position: relative; }
.jjs-sim .jjs-sim__search-ic { position: absolute; left: 13px; top: 16px; color: var(--jjs-faint); }
.jjs-sim .jjs-sim__results {
  position: absolute; left: 0; right: 0; top: 56px; z-index: 30;
  list-style: none; margin: 0; padding: 4px 0;
  background: #fff; border: 1px solid var(--jjs-line); border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.10); max-height: 320px; overflow-y: auto;
}
.jjs-sim__results li { padding: 10px 14px; cursor: pointer; margin: 0; }
.jjs-sim__results li:hover, .jjs-sim__results li:focus { background: var(--jjs-green-bg); outline: none; }
.jjs-sim__results li strong { display: block; }
.jjs-sim__results li span { display: block; font-size: 13px; color: var(--jjs-sub); }
.jjs-sim__results li.jjs-sim__empty { cursor: default; color: var(--jjs-sub); }

.jjs-sim__quick-title { font-size: 13px; color: var(--jjs-sub); margin: 14px 0 8px !important; }
.jjs-sim__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jjs-sim .jjs-sim__chip {
  border: 1px solid #d6e6db; background: #fff; color: var(--jjs-ink);
  border-radius: 999px; padding: 6px 12px; font-size: 14px; line-height: 1.3; cursor: pointer; margin: 0;
}
.jjs-sim .jjs-sim__chip:hover { background: var(--jjs-green-bg); border-color: var(--jjs-green-2); color: var(--jjs-ink); }
.jjs-sim .jjs-sim__chip.is-warn { border-color: #efd9a1; background: #fff; color: var(--jjs-amber); font-weight: 700; font-size: 13px; }

.jjs-sim .jjs-sim__steps-intro { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.jjs-sim__steps-intro li { background: var(--jjs-soft); border-radius: 14px; padding: 14px 10px; text-align: center; margin: 0; }
.jjs-sim__steps-intro .jjs-ic { width: 26px; height: 26px; color: var(--jjs-green); display: block; margin: 0 auto 6px; }
.jjs-sim__steps-intro b { display: block; font-size: 14px; }
.jjs-sim__steps-intro span { display: block; font-size: 12px; color: var(--jjs-sub); line-height: 1.4; margin-top: 2px; }

.jjs-sim__example { position: relative; border: 1px dashed #cfd8d2; border-radius: 16px; padding: 16px; overflow: hidden; }
.jjs-sim__example-inner { filter: blur(1.5px); opacity: .75; }
.jjs-sim__example-tag { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 12px; font-weight: 700; color: var(--jjs-sub); background: #fff; border: 1px solid var(--jjs-line); border-radius: 999px; padding: 2px 10px; }
.jjs-sim__ex-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.jjs-sim__ex-row--3 { grid-template-columns: repeat(3, 1fr); margin: 12px 0 0; }
.jjs-sim__ex-row small { display: block; font-size: 12px; color: var(--jjs-sub); }
.jjs-sim__ex-row strong { font-size: 18px; color: var(--jjs-green); }
.jjs-sim__ex-row--3 strong { font-size: 14px; color: var(--jjs-ink); }

/* ---------- 브랜드 ---------- */
.jjs-sim__brand { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--jjs-line); }
.jjs-sim__brand-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.jjs-sim__brand-name { font-size: 20px; font-weight: 800; line-height: 1.3; }
.jjs-sim__brand-corp { font-size: 13px; color: var(--jjs-sub); }
.jjs-sim__pill { flex: none; font-size: 12px; font-weight: 700; color: var(--jjs-green); background: var(--jjs-green-bg); border-radius: 999px; padding: 3px 10px; }
.jjs-sim .jjs-sim__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 8px; }
.jjs-sim__facts > div { background: var(--jjs-soft); border-radius: 12px; padding: 10px 12px; }
.jjs-sim .jjs-sim__facts dt { font-size: 12px; color: var(--jjs-sub); font-weight: 500; margin: 0; }
.jjs-sim .jjs-sim__facts dd { margin: 2px 0 0; font-size: 16px; font-weight: 800; }

.jjs-sim .jjs-sim__info { margin: 8px 0 0; }
.jjs-sim .jjs-sim__info summary { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--jjs-faint); cursor: pointer; list-style: none; }
.jjs-sim .jjs-sim__info summary::-webkit-details-marker { display: none; }
.jjs-sim .jjs-sim__info .jjs-ic { width: 15px; height: 15px; }
.jjs-sim .jjs-sim__info p { font-size: 12px; color: var(--jjs-sub); background: var(--jjs-soft); border-radius: 10px; padding: 10px 12px; margin: 6px 0 0; }

/* ---------- 4단계 입력 ---------- */
.jjs-sim__stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 10px; }
.jjs-sim .jjs-sim__stepbtn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: 0; padding: 4px 0; margin: 0; cursor: pointer;
  font-size: 12px; font-weight: 600; color: var(--jjs-faint); line-height: 1.3;
}
.jjs-sim .jjs-sim__stepbtn span {
  width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--jjs-soft); color: var(--jjs-faint); font-weight: 800; font-size: 13px;
}
.jjs-sim .jjs-sim__stepbtn.is-on { color: var(--jjs-green); }
.jjs-sim .jjs-sim__stepbtn.is-on span { background: var(--jjs-green); color: #fff; }
.jjs-sim .jjs-sim__stepbtn.is-done span { background: var(--jjs-green-bg); color: var(--jjs-green); }
.jjs-sim .jjs-sim__stepbtn:hover, .jjs-sim .jjs-sim__stepbtn:focus { background: none; color: var(--jjs-green); }
.jjs-sim__progress { height: 4px; background: var(--jjs-soft); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.jjs-sim__progress i { display: block; height: 100%; background: var(--jjs-green-2); transition: width .25s; }
.jjs-sim__stephead { margin-bottom: 14px; }
.jjs-sim__stephead b { display: block; font-size: 18px; font-weight: 800; }
.jjs-sim__stephead span { font-size: 13px; color: var(--jjs-sub); }

.jjs-sim__grid { display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 10px; }
.jjs-sim__field { grid-column: span 6; margin-bottom: 14px; min-width: 0; }
.jjs-sim__field.is-half { grid-column: span 3; }
.jjs-sim__field.is-third { grid-column: span 2; }
.jjs-sim .jjs-sim__field label { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; margin-bottom: 4px; white-space: nowrap; }
.jjs-sim__field small { display: block; font-size: 12px; color: var(--jjs-sub); margin-top: 3px; line-height: 1.4; }
.jjs-sim__mini { font-style: normal; font-size: 11px; font-weight: 700; color: var(--jjs-faint); background: var(--jjs-soft); border-radius: 6px; padding: 0 5px; }
.jjs-sim__mini.is-data { color: var(--jjs-green); background: var(--jjs-green-bg); }
.jjs-sim__unit { position: relative; }
.jjs-sim .jjs-sim__unit .jjs-sim__input { padding-right: 46px; text-align: right; }
.jjs-sim__field.is-third .jjs-sim__unit .jjs-sim__input { padding-right: 34px; padding-left: 8px; }
.jjs-sim__unit span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--jjs-sub); font-size: 13px; pointer-events: none; }
.jjs-sim__slider { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.jjs-sim__slider input[type=range] { flex: 1; accent-color: var(--jjs-green-2); margin: 0; }
.jjs-sim__slider output { font-size: 13px; color: var(--jjs-sub); white-space: nowrap; }
.jjs-sim__slider output b { color: var(--jjs-green); }
.jjs-sim .jjs-sim__check { display: flex !important; gap: 6px; align-items: flex-start; font-size: 12px !important; color: var(--jjs-sub); margin: 8px 0 0 !important; font-weight: 500 !important; white-space: normal !important; }
.jjs-sim__check input { margin-top: 3px; accent-color: var(--jjs-green-2); }

.jjs-sim__nav { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 4px; }
.jjs-sim__nav.is-single { grid-template-columns: 1fr; } /* 1단계: 이전 버튼이 없으니 다음 버튼을 꽉 채움 */
.jjs-sim .jjs-sim__skip { display: block; width: 100%; background: none; border: 0; margin: 10px 0 0; padding: 6px; font-size: 13px; color: var(--jjs-sub); text-decoration: underline; cursor: pointer; }
.jjs-sim .jjs-sim__skip:hover, .jjs-sim .jjs-sim__skip:focus { background: none; color: var(--jjs-green); }

.jjs-sim .jjs-sim__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 50px; padding: 0 18px; margin: 0;
  background: var(--jjs-green); color: #fff; border: 0; border-radius: 12px;
  font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.jjs-sim .jjs-sim__btn:hover, .jjs-sim .jjs-sim__btn:focus { background: var(--jjs-green-2); color: #fff; }
.jjs-sim .jjs-sim__btn--ghost { background: #fff; color: var(--jjs-green); border: 1.5px solid var(--jjs-green); }
.jjs-sim .jjs-sim__btn--ghost:hover, .jjs-sim .jjs-sim__btn--ghost:focus { background: var(--jjs-green-bg); color: var(--jjs-green); }

/* ---------- 결과 ---------- */

.jjs-sim__summary { background: linear-gradient(180deg, #f2f8f4 0%, #fff 60%); border-color: #cfe3d5; }
.jjs-sim .jjs-sim__summary-label { font-size: 13px; color: var(--jjs-sub); margin: 0; }
.jjs-sim .jjs-sim__big { font-size: 40px; line-height: 1.2; font-weight: 800; color: var(--jjs-green); margin: 2px 0 2px; letter-spacing: -0.02em; }
.jjs-sim .jjs-sim__summary-sub { font-size: 13px; color: var(--jjs-sub); margin: 0 0 14px; }
.jjs-sim .is-neg { color: var(--jjs-red) !important; }

.jjs-sim__light { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 12px; background: #fff; border: 1px solid var(--jjs-line); margin-bottom: 12px; }
.jjs-sim__light > i { flex: none; width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; background: var(--jjs-faint); box-shadow: 0 0 0 4px rgba(0,0,0,.05); }
.jjs-sim__light b { display: block; font-size: 15px; }
.jjs-sim__light span { display: block; font-size: 13px; color: var(--jjs-sub); line-height: 1.45; }
.jjs-sim__light.is-good > i { background: var(--jjs-green-2); box-shadow: 0 0 0 4px rgba(47,158,79,.15); }
.jjs-sim__light.is-mid > i { background: #e0a100; box-shadow: 0 0 0 4px rgba(224,161,0,.18); }
.jjs-sim__light.is-bad > i { background: var(--jjs-red); box-shadow: 0 0 0 4px rgba(194,65,45,.15); }
.jjs-sim__light.is-bad { border-color: #f1c9c1; }

.jjs-sim__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.jjs-sim__tile { background: #fff; border: 1px solid var(--jjs-line); border-radius: 12px; padding: 10px 8px; min-width: 0; }
.jjs-sim__tile .jjs-ic { color: var(--jjs-green); width: 18px; height: 18px; display: block; margin-bottom: 4px; }
.jjs-sim__tile small { display: block; font-size: 11px; color: var(--jjs-sub); line-height: 1.3; }
.jjs-sim__tile b { display: block; font-size: 15px; font-weight: 800; line-height: 1.3; margin-top: 2px; word-break: keep-all; }
.jjs-sim__tile span { display: block; font-size: 11px; color: var(--jjs-faint); line-height: 1.3; margin-top: 2px; }
.jjs-sim__tile.is-locked { background: var(--jjs-soft); }
.jjs-sim__tile.is-locked .jjs-ic { color: var(--jjs-faint); }
.jjs-sim__tile.is-locked b { font-size: 12px; color: var(--jjs-faint); font-weight: 700; }

.jjs-sim__missing { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e6d9b5; }
.jjs-sim .jjs-sim__missing p { font-size: 13px; color: var(--jjs-amber); margin: 0 0 8px; }

.jjs-sim .jjs-sim__lead-line { font-size: 16px; margin: 0 0 10px; }
.jjs-sim__lead-line b { font-size: 22px; font-weight: 800; }
.jjs-sim__tag { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; background: #eef0ef; color: var(--jjs-sub); white-space: nowrap; }
.jjs-sim__tag.is-good { background: var(--jjs-green-bg); color: var(--jjs-green); }
.jjs-sim__tag.is-mid { background: var(--jjs-amber-bg); color: var(--jjs-amber); }
.jjs-sim__tag.is-bad { background: var(--jjs-red-bg); color: var(--jjs-red); }

.jjs-sim__gauge, .jjs-sim__line { margin: 18px 0 12px; }
.jjs-sim__gauge-bar, .jjs-sim__line-bar { position: relative; height: 12px; border-radius: 999px; }
.jjs-sim__gauge-bar { background: linear-gradient(90deg, #d6ecdc 0%, #d6ecdc 40%, #eceeed 40%, #eceeed 60%, #fbe6be 60%, #fbe6be 75%, #f6d2ca 75%); }
.jjs-sim__gauge-bar b { position: absolute; top: -5px; width: 2px; height: 22px; background: var(--jjs-sub); transform: translateX(-1px); }
.jjs-sim__gauge-bar i, .jjs-sim__line-bar i { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; transform: translate(-50%, -50%); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.jjs-sim i.is-sales, .jjs-sim .dot.is-sales { background: var(--jjs-green); }
.jjs-sim i.is-area, .jjs-sim .dot.is-area { background: #fff; border-color: var(--jjs-green) !important; }
.jjs-sim__gauge-bar i.is-area { border: 2px solid var(--jjs-green); width: 12px; height: 12px; top: calc(100% + 10px); box-shadow: none; }
.jjs-sim__gauge-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--jjs-faint); margin-top: 8px; }
.jjs-sim__gauge .jjs-sim__gauge-scale { margin-top: 22px; }
.jjs-sim i.is-bep, .jjs-sim .dot.is-bep { background: var(--jjs-red); }
.jjs-sim i.is-mw, .jjs-sim .dot.is-mw { background: #e0a100; }
.jjs-sim i.is-me, .jjs-sim .dot.is-me { background: var(--jjs-green); }
.jjs-sim__line-bar i.is-me { width: 24px; height: 24px; z-index: 2; }

.jjs-sim .jjs-sim__legend, .jjs-sim .jjs-sim__breakdown { list-style: none; margin: 0; padding: 0; }
.jjs-sim__legend li, .jjs-sim__breakdown li {
  display: grid; grid-template-columns: 14px 1fr auto; column-gap: 8px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--jjs-line); margin: 0; font-size: 14px;
}
.jjs-sim__legend li:last-child, .jjs-sim__breakdown li:last-child { border-bottom: 0; }
.jjs-sim__legend li b, .jjs-sim__breakdown li b { text-align: right; font-weight: 800; }
.jjs-sim__legend li span { grid-column: 2 / 4; font-size: 12px; color: var(--jjs-faint); }
.jjs-sim__breakdown li { grid-template-columns: 14px 1fr auto 44px; }
.jjs-sim__breakdown li span { text-align: right; font-size: 13px; color: var(--jjs-sub); }
.jjs-sim__breakdown li.is-total { font-weight: 800; }
.jjs-sim .dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; border: 2px solid transparent; }

.jjs-sim__flow-wrap { position: relative; margin: 4px 0 12px; }
.jjs-sim__flow { display: flex; height: 28px; border-radius: 8px; overflow: hidden; background: var(--jjs-soft); }
.jjs-sim__flow i { display: block; height: 100%; min-width: 2px; border-right: 2px solid #fff; }
.jjs-sim__flow i:last-child { border-right: 0; }
.jjs-sim__flow-mark { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--jjs-red); }
.jjs-sim__flow-mark span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--jjs-red); font-weight: 700; white-space: nowrap; }
.jjs-sim .jjs-sim__more { margin-top: 8px; }
.jjs-sim .jjs-sim__more summary { font-size: 13px; color: var(--jjs-sub); cursor: pointer; }

.jjs-sim .jjs-sim__table { width: 100%; border-collapse: collapse; margin: 8px 0 0; font-size: 13px; border: 0; }
.jjs-sim .jjs-sim__table th, .jjs-sim .jjs-sim__table td { padding: 6px 2px; border: 0; border-bottom: 1px solid var(--jjs-line); text-align: right; background: none; }
.jjs-sim .jjs-sim__table th { text-align: left; font-weight: 500; color: var(--jjs-sub); }

.jjs-sim .jjs-sim__sub-title { font-size: 14px; font-weight: 800; margin: 18px 0 8px; }
.jjs-sim__bars { display: grid; gap: 8px; }
.jjs-sim__bar { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px; font-size: 13px; }
.jjs-sim__bar > div { height: 12px; background: var(--jjs-soft); border-radius: 999px; overflow: hidden; }
.jjs-sim__bar i { display: block; height: 100%; background: #9cc9a9; border-radius: 999px; }
.jjs-sim__bar.is-base i { background: var(--jjs-green-2); }
.jjs-sim__bar i.is-neg { background: var(--jjs-red); }
.jjs-sim__bar strong { font-size: 13px; min-width: 72px; text-align: right; }
.jjs-sim__bar.is-base span, .jjs-sim__bar.is-base strong { font-weight: 800; }

.jjs-sim__two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.jjs-sim__two > div { background: var(--jjs-soft); border-radius: 12px; padding: 10px 12px; }
.jjs-sim__two small { display: block; font-size: 12px; color: var(--jjs-sub); }
.jjs-sim__two b { display: block; font-size: 17px; font-weight: 800; }
.jjs-sim__two span { display: block; font-size: 11px; color: var(--jjs-faint); }
.jjs-sim__months { margin: 4px 0 26px; }
.jjs-sim__months-bar { height: 14px; background: var(--jjs-soft); border-radius: 999px; overflow: hidden; }
.jjs-sim__months-bar i { display: block; height: 100%; background: var(--jjs-green-2); border-radius: 999px; }
.jjs-sim__months-ticks { position: relative; height: 0; }
.jjs-sim__months-ticks span { position: absolute; top: 4px; transform: translateX(-100%); font-size: 11px; color: var(--jjs-faint); padding-left: 2px; border-right: 1px solid #cfd8d2; padding-right: 3px; line-height: 1.2; }

.jjs-sim__sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jjs-sim__sig { position: relative; background: var(--jjs-soft); border-radius: 12px; padding: 12px; min-width: 0; }
.jjs-sim__sig small { display: block; font-size: 12px; color: var(--jjs-sub); line-height: 1.35; }
.jjs-sim__sig b { display: flex; align-items: center; gap: 2px; font-size: 20px; font-weight: 800; margin: 2px 0; }
.jjs-sim__sig span { display: block; font-size: 11px; color: var(--jjs-faint); line-height: 1.35; }
.jjs-sim__sig em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--jjs-amber); background: #fff; border-radius: 999px; padding: 1px 8px; }
.jjs-sim__sig.is-caution { background: var(--jjs-amber-bg); }
.jjs-sim .jjs-sim__arrow { width: 18px; height: 18px; stroke-width: 2.4; }
.jjs-sim .jjs-sim__arrow.is-up { color: var(--jjs-green-2); }
.jjs-sim .jjs-sim__arrow.is-down { color: var(--jjs-red); }

.jjs-sim__locked { text-align: center; background: repeating-linear-gradient(135deg, #fbfcfb, #fbfcfb 10px, #f4f6f5 10px, #f4f6f5 20px); }
.jjs-sim .jjs-sim__lock { width: 30px; height: 30px; color: var(--jjs-green); margin: 4px auto 6px; display: block; }
.jjs-sim .jjs-sim__locked-list { list-style: none; padding: 0; margin: 0 auto 14px; display: inline-grid; gap: 4px; text-align: left; }
.jjs-sim__locked-list li { margin: 0; font-size: 14px; color: var(--jjs-sub); padding-left: 20px; position: relative; }
.jjs-sim__locked-list li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--jjs-green-2); }
.jjs-sim__locked .jjs-sim__muted { font-size: 12px; margin-top: 8px; }

.jjs-sim__warn { color: var(--jjs-red); }
.jjs-sim__actions { display: grid; gap: 8px; margin: 4px 0 12px; }
.jjs-sim .jjs-sim__foot { font-size: 12px; color: var(--jjs-faint); margin: 0; }

@media (min-width: 600px) {
  .jjs-sim__card { padding: 22px 24px; }
  .jjs-sim .jjs-sim__title { font-size: 34px; }
  .jjs-sim .jjs-sim__facts { grid-template-columns: repeat(4, 1fr); }
  .jjs-sim__tile { padding: 12px; }
  .jjs-sim__tile b { font-size: 18px; }
}
  
/* ---------- v1.2 결과: 요약 한 장 + 탭 ---------- */
.jjs-sim__rhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 8px 0 10px; }
.jjs-sim__rhead b { display: block; font-size: 20px; font-weight: 800; line-height: 1.3; }
.jjs-sim__rhead span { display: block; font-size: 12px; color: var(--jjs-sub); }
.jjs-sim .jjs-sim__pillbtn { flex: none; font-size: 13px; font-weight: 700; color: var(--jjs-green); background: #fff; border: 1px solid #cfe3d5; border-radius: 999px; padding: 8px 12px; margin: 0; cursor: pointer; line-height: 1.2; }
.jjs-sim .jjs-sim__pillbtn:hover, .jjs-sim .jjs-sim__pillbtn:focus { background: var(--jjs-green-bg); color: var(--jjs-green); }

.jjs-sim .jjs-sim__summary { background: #fff; border-color: #dce9e0; border-radius: 20px; display: flex; flex-direction: column; gap: 16px; }
.jjs-sim__sum-top { display: flex; align-items: center; gap: 14px; }
.jjs-sim .jjs-sim__donut { flex: none; }
.jjs-sim__sum-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jjs-sim__sum-text small { font-size: 13px; color: var(--jjs-sub); }
.jjs-sim__sum-text strong { font-size: 26px; font-weight: 800; color: var(--jjs-green); line-height: 1.15; letter-spacing: -0.02em; }
.jjs-sim__sum-text > b { font-size: 14px; font-weight: 700; line-height: 1.45; }
.jjs-sim .jjs-sim__light { margin: 0; background: var(--jjs-green-bg); border: 0; padding: 12px 14px; }
.jjs-sim .jjs-sim__light.is-mid { background: var(--jjs-amber-bg); }
.jjs-sim .jjs-sim__light.is-bad { background: var(--jjs-red-bg); }
.jjs-sim .jjs-sim__light.is-neutral { background: var(--jjs-soft); }
.jjs-sim .jjs-sim__light span { color: #4f5a54; font-size: 12px; }
.jjs-sim .jjs-sim__mini-title { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.jjs-sim .jjs-sim__note { font-size: 12px; color: var(--jjs-sub); margin: 6px 0 0; line-height: 1.5; }
.jjs-sim__note b { color: var(--jjs-green); }

.jjs-sim__hbars { display: flex; flex-direction: column; gap: 8px; }
.jjs-sim__hrow { display: grid; grid-template-columns: 72px minmax(0, 1fr) 84px; align-items: center; gap: 8px; margin-bottom: 6px; }
.jjs-sim__hrow > span { font-size: 12px; color: var(--jjs-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jjs-sim__hrow > b { font-size: 13px; font-weight: 500; text-align: right; white-space: nowrap; }
.jjs-sim__hrow.is-strong > span { color: var(--jjs-ink); font-weight: 700; }
.jjs-sim__hrow.is-strong > b { font-weight: 800; }
.jjs-sim__htrack { height: 18px; background: #eef1ef; border-radius: 6px; overflow: hidden; }
.jjs-sim__htrack i { display: block; height: 100%; border-radius: 6px; }
.jjs-sim__wage .jjs-sim__htrack { height: 14px; border-radius: 999px; }
.jjs-sim__wage .jjs-sim__htrack i { border-radius: 999px; }
/* v1.3: 점주 시급을 요약 카드 맨 위 가장 큰 숫자로 */
.jjs-sim__wage-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.jjs-sim__wage-head small { font-size: 13px; color: var(--jjs-sub); }
.jjs-sim__wage-head strong { font-size: 40px; font-weight: 800; color: var(--jjs-green); line-height: 1.15; letter-spacing: -0.02em; }
.jjs-sim__wage-head strong.is-neg { color: var(--jjs-red); }
.jjs-sim__wage-head span { font-size: 13px; color: var(--jjs-sub); }
.jjs-sim__wage-head span b { color: var(--jjs-green); }

.jjs-sim .jjs-sim__tiles { margin-bottom: 12px; }
.jjs-sim .jjs-sim__tile { border-radius: 16px; padding: 12px 10px; }

.jjs-sim__tabs { position: sticky; top: var(--jjs-sticky-top); z-index: 20; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; background: #fff; border: 1px solid var(--jjs-line); border-radius: 16px; padding: 6px; margin-bottom: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.jjs-sim .jjs-sim__tabs button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0; margin: 0; border: 0; border-radius: 12px; background: none; color: var(--jjs-ink); font-size: 13px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.jjs-sim .jjs-sim__tabs button i { width: 10px; height: 10px; border-radius: 3px; }
.jjs-sim .jjs-sim__tabs button.is-on { background: var(--jjs-green); color: #fff; }
.jjs-sim .jjs-sim__tabs button.is-on i { box-shadow: 0 0 0 2px #fff; }
.jjs-sim .jjs-sim__tabs button:hover, .jjs-sim .jjs-sim__tabs button:focus { background: var(--jjs-green-bg); color: var(--jjs-ink); }
.jjs-sim .jjs-sim__tabs button.is-on:hover, .jjs-sim .jjs-sim__tabs button.is-on:focus { background: var(--jjs-green-2); color: #fff; }

.jjs-sim .jjs-sim__kicker { font-size: 13px; color: var(--jjs-sub); margin: 0; }
.jjs-sim .jjs-sim__card h3.jjs-sim__headline { font-size: 20px; line-height: 1.35; margin: 0; }
.jjs-sim__headline em { font-style: normal; color: var(--jjs-green-2); }
.jjs-sim__headline em.is-neg { color: var(--jjs-red); }
.jjs-sim__wf { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.jjs-sim__wf:first-of-type { margin-top: 14px; }
.jjs-sim__wf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; }
.jjs-sim__wf-head span { display: flex; align-items: center; gap: 6px; }
.jjs-sim__wf-head span i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.jjs-sim__wf-head span b { color: #9a3a2b; }
.jjs-sim__wf-head small { font-size: 12px; color: var(--jjs-sub); }
.jjs-sim__wf-track { position: relative; height: 22px; border-radius: 6px; background: var(--jjs-soft); overflow: hidden; }
.jjs-sim__wf-track.is-tall { height: 26px; }
.jjs-sim__wf-track i { position: absolute; top: 0; bottom: 0; left: 0; display: block; }
.jjs-sim__wf-track i.is-sales { background: var(--jjs-green); border-radius: 6px; }
.jjs-sim__wf-track i.is-keep { background: #d9ebdf; }
.jjs-sim__wf-track i.is-cut { border-left: 2px solid #fff; }
.jjs-sim__wf-track i.is-over { background: var(--jjs-red); opacity: .75; }
.jjs-sim__wf-track i.is-profit { background: var(--jjs-green-2); border-radius: 6px; }
.jjs-sim__wf.is-result { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #cfd8d2; }
.jjs-sim__wf.is-result .jjs-sim__wf-head > b, .jjs-sim__wf.is-result .jjs-sim__wf-head span b { color: var(--jjs-green-2); font-size: 15px; }
.jjs-sim__wf-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--jjs-sub); margin-top: 12px; }
.jjs-sim__wf-legend span { display: inline-flex; align-items: center; gap: 5px; }
.jjs-sim__wf-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.jjs-sim__wf-legend i.is-multi { width: 18px; background: linear-gradient(90deg, #a9c9b2 0 33%, #a7b4c6 33% 66%, #d9b77e 66%); }
.jjs-sim__wf-legend i.is-dot { border-radius: 50%; background: var(--jjs-green); }
.jjs-sim__wf-legend i.is-ring { border-radius: 50%; border: 2px solid #66716b; background: #fff; width: 11px; height: 11px; }
.jjs-sim__card > .jjs-sim__wf-legend:first-child { margin: 0 0 4px; }

.jjs-sim__top2 { border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.jjs-sim__top2 small { font-size: 12px; color: #4f5a54; }
.jjs-sim__top2 b { font-size: 18px; font-weight: 800; }
.jjs-sim__top2 span { font-size: 12px; color: #4f5a54; }
.jjs-sim .jjs-sim__two { margin-bottom: 0; }
.jjs-sim .jjs-sim__two--plain > div { background: none; padding: 0; }
.jjs-sim__two--plain small { display: flex !important; align-items: center; gap: 5px; }
.jjs-sim__two--plain small i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.jjs-sim .jjs-sim__gaugesvg { display: block; width: 100%; height: auto; margin-top: 10px; }
.jjs-sim__gauge-read { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: -4px; text-align: center; }
.jjs-sim__gauge-read strong { font-size: 30px; font-weight: 800; color: var(--jjs-green); letter-spacing: -0.02em; line-height: 1.2; }
.jjs-sim__zone { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.jjs-sim__zone.is-good { color: #2a7a43; background: var(--jjs-green-bg); }
.jjs-sim__zone.is-mid { color: #8a5f00; background: var(--jjs-amber-bg); }
.jjs-sim__zone.is-bad { color: #b3392a; background: var(--jjs-red-bg); }
.jjs-sim__slidebox { background: var(--jjs-soft); border-radius: 14px; padding: 14px; margin: 14px 0 6px; }
.jjs-sim__slidebox > div:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.jjs-sim__slidebox label { font-size: 14px; font-weight: 700; }
.jjs-sim__slidebox b { font-size: 15px; color: var(--jjs-green); }
.jjs-sim .jjs-sim__slidebox input[type=range] { width: 100%; accent-color: var(--jjs-green-2); margin: 8px 0 0; height: 28px; }
.jjs-sim .jjs-sim__slidebox .jjs-sim__gauge-scale { margin-top: 2px; }
.jjs-sim .jjs-sim__callout { display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 1.5; background: var(--jjs-soft); border-radius: 12px; padding: 12px; margin: 12px 0 0; }
.jjs-sim__callout .jjs-ic { color: var(--jjs-green); width: 24px; height: 24px; }

.jjs-sim__split { display: flex; height: 28px; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.jjs-sim__split i { display: block; height: 100%; }
.jjs-sim__split i + i { border-left: 2px solid #fff; }
.jjs-sim__cal { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.jjs-sim__cal-row { display: grid; grid-template-columns: 38px repeat(12, minmax(0, 1fr)); gap: 3px; align-items: center; }
.jjs-sim__cal-row span { font-size: 11px; color: var(--jjs-sub); }
.jjs-sim__cal-row i { aspect-ratio: .8; border-radius: 5px; background: #eef1ef; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 10px; font-weight: 700; color: #66716b; }
.jjs-sim__cal-row i.is-pay { background: var(--jjs-green-2); color: #fff; }
.jjs-sim__cal-row i.is-end { background: #1d5c33; color: #fff; }

.jjs-sim__dot { padding: 12px 0; border-bottom: 1px solid #eef1ef; }
.jjs-sim__dot-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.jjs-sim__dot-head b { font-size: 14px; }
.jjs-sim__dot-track { position: relative; height: 20px; }
.jjs-sim__dot-track i { position: absolute; display: block; }
.jjs-sim__dot-track i.is-line { left: 0; right: 0; top: 9px; height: 2px; background: var(--jjs-line); }
.jjs-sim__dot-track i.is-seg { top: 9px; height: 2px; }
.jjs-sim__dot-track i.is-seg.is-good { background: #9fd1ae; }
.jjs-sim__dot-track i.is-seg.is-mid { background: #f0c27a; }
.jjs-sim__dot-track i.is-ring { top: 3px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid #66716b; background: #fff; }
.jjs-sim__dot-track i.is-dot { top: 1px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--jjs-green); border: 3px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.jjs-sim__dot-vals { display: flex; justify-content: space-between; font-size: 12px; color: var(--jjs-sub); margin-top: 6px; }
.jjs-sim__dot-vals b { color: var(--jjs-ink); }
.jjs-sim__storecnt { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 12px; font-size: 14px; }
.jjs-sim__storecnt em { font-style: normal; font-weight: 700; color: #2a7a43; }
.jjs-sim .jjs-sim__actions { grid-template-columns: 1fr 1fr; }
.jjs-sim .jjs-sim__actions .jjs-sim__btn:only-child { grid-column: 1 / -1; }

@media (min-width: 600px) {
  .jjs-sim__sum-text strong { font-size: 30px; }
  .jjs-sim__wage-head strong { font-size: 48px; }
  .jjs-sim__hrow { grid-template-columns: 96px minmax(0, 1fr) 96px; }
}
