/* 나만의 부자 시계 전용 CSS (2026-10-15). 2패널 계산형(적립식 복리 계산기와 같은 골격) + 아래 상자 셋: 부자 시계 다이얼·이정표 / 자산 성장 차트 / 시계를 앞당기려면. 공용 부품은 assets/v2.css */
.wk-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
.wk-in{padding:16px 18px 18px;min-width:0}
.wk-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.wk-fields .full{grid-column:1 / -1}
.v2-input.wk-pre b{border-left:0;border-right:1px solid var(--soft)}
.wk-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:-4px}
.wk-chips .v2-btn{height:30px;padding:0 10px}
.wk-more summary{cursor:pointer;font-family:var(--sans);font-size:13px;font-weight:700;color:var(--ink)}
.wk-more-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:10px;align-items:start}
.wk-hint{display:block;font-family:var(--sans);font-size:12px;line-height:1.55;color:var(--muted)}
.wk-help{margin:12px 0 0;font-family:var(--sans);font-size:12.5px;line-height:1.6;color:var(--muted)}
.wk-acts{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:14px}
.wk-out{padding:16px 18px 18px;min-width:0;border-left:1px solid var(--soft);display:flex;flex-direction:column}
.wk-out > .v2-label{display:block;margin-bottom:6px}
.wk-out .v2-big{flex-wrap:wrap;row-gap:6px}
.wk-out .v2-big span{white-space:nowrap}
.wk-out .v2-big small{font-family:var(--sans);font-size:14px}
.wk-out .v2-big.is-empty span{font-size:18px;font-weight:600;color:var(--muted);white-space:normal}
.wk-out .v2-big.is-msg span{white-space:normal;font-size:30px;line-height:1.2} /* 이미 닿음·못 닿음 문구는 줄바꿈(360px 넘침, 검토 B2) */
.wk-tick{margin:12px 0 0;padding:8px 10px;border:1px solid var(--soft);border-radius:var(--radius);background:var(--paper);font-family:var(--sans);font-size:12.5px;line-height:1.55;color:var(--muted);font-variant-numeric:tabular-nums}
.wk-tick b{color:var(--ink);font-weight:700}
.wk-tick .wk-hms{font-family:var(--mono);font-size:13.5px;font-weight:700;color:var(--accent);white-space:nowrap}
.wk-warn{margin:8px 0 0;padding-left:8px;border-left:3px solid var(--accent);font-family:var(--sans);font-size:12.5px;line-height:1.55;color:var(--ink)} /* accent 글자는 라이트 4.31:1(검토 R4) → 글자는 ink, 표시는 선 */
.wk-bar{margin:12px 0 0}
.wk-bar i{display:flex;height:8px;background:var(--soft);border-radius:4px;overflow:hidden}
.wk-bar i b{display:block;height:100%;width:0;transition:width 320ms cubic-bezier(.22,1,.36,1)}
.wk-bar .is-now{background:var(--ink);opacity:.55}
.wk-bar .is-add{background:var(--ink);opacity:.22}
.wk-bar .is-gain{background:var(--accent)}
.wk-bar span{display:block;margin-top:6px;font-family:var(--sans);font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.wk-rows{margin-top:14px}
.wk-rows li span em,.wk-need li span em{display:block;font-style:normal;font-size:11.5px;color:var(--muted)}
.wk-rows li b,.wk-need li b{text-align:right;overflow-wrap:anywhere}
.wk-out .v2-formula{white-space:normal;overflow-wrap:anywhere;line-height:1.6}
.wk-caveat{margin:10px 0 0;font-family:var(--sans);font-size:12px;line-height:1.55;color:var(--muted)}
.wk-foot{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:auto;padding-top:12px;border-top:1px solid var(--soft)}
.wk-caveat + .wk-foot{margin-top:14px}
.wk-foot .v2-status{margin-left:auto}
/* 아래 상자 */
.wk-box{padding:14px 18px 18px;border-top:1px solid var(--soft)}
.wk-head{display:flex;justify-content:space-between;align-items:baseline;gap:6px 12px;flex-wrap:wrap;margin-bottom:10px}
.wk-note{margin:10px 0 0;font-family:var(--sans);font-size:12.5px;line-height:1.6;color:var(--muted)}
/* 다이얼: 12시 = 지금, 한 바퀴 = 목표까지. 1/4 구간은 accent 농도 4단계 */
.wk-clockgrid{display:grid;grid-template-columns:minmax(0,250px) minmax(0,1fr);gap:20px;align-items:center}
.wk-dial svg{display:block;width:100%;height:auto}
.wk-ring{fill:none;stroke:var(--soft);stroke-width:14}
.wk-tk{stroke:var(--line);stroke-width:1.2}
.wk-tk.is-q{stroke:var(--muted);stroke-width:2}
.wk-seg{fill:none;stroke:var(--accent);stroke-width:14}
.wk-seg.s0,.wk-ms li.s0 i{opacity:.35}
.wk-seg.s1,.wk-ms li.s1 i{opacity:.57}
.wk-seg.s2,.wk-ms li.s2 i{opacity:.78}
.wk-ql,.wk-top{font-family:var(--sans);font-size:11px;font-weight:700;fill:var(--muted)}
.wk-c1{font-family:var(--sans);font-size:22px;font-weight:800;fill:var(--ink)}
.wk-c2{font-family:var(--sans);font-size:17px;font-weight:700;fill:var(--ink)}
.wk-hand{transform-box:view-box;transform-origin:100px 100px}
.wk-hand circle{fill:var(--ink);stroke:var(--paper);stroke-width:2.5}
.wk-dial.is-anim .wk-seg{animation:wk-seg var(--dur) linear var(--del) both}
.wk-dial.is-anim .wk-hand{animation:wk-turn 1400ms linear both}
@keyframes wk-seg{from{stroke-dashoffset:var(--len)}to{stroke-dashoffset:0}}
@keyframes wk-turn{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.wk-ms{list-style:none;margin:0;padding:0}
.wk-ms li{display:grid;grid-template-columns:10px minmax(0,1fr) auto;column-gap:10px;row-gap:1px;align-items:baseline;padding:9px 0;border-top:1px solid var(--soft);font-family:var(--sans);font-size:13px;font-variant-numeric:tabular-nums}
.wk-ms li:first-child{border-top:0;padding-top:0}
.wk-ms li i{width:10px;height:10px;border-radius:2px;background:var(--accent);align-self:center}
.wk-ms li span{color:var(--ink);min-width:0}
.wk-ms li span b{font-weight:700;margin-right:2px}
.wk-ms .wk-msd{font-weight:700;text-align:right;white-space:nowrap}
.wk-ms li em{grid-column:2 / -1;font-style:normal;font-size:11.5px;color:var(--muted)}
.wk-ms li em:empty{display:none}
/* 성장 차트: 폭은 실제 너비로 그림(글자 크기 유지) */
.wk-legend{display:flex;gap:4px 12px;flex-wrap:wrap;list-style:none;margin:0;padding:0;font-family:var(--sans);font-size:11.5px;color:var(--muted)}
.wk-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px}
.wk-legend .is-paid{background:var(--ink);opacity:.25}
.wk-legend .is-gain{background:var(--accent);opacity:.5}
.wk-legend .is-goal{width:14px;height:0;border-top:2px dashed var(--ink);border-radius:0;vertical-align:3px}
.wk-chart{width:100%;min-width:0}
.wk-chart svg{display:block;max-width:100%;height:auto}
.wk-gl{stroke:var(--soft);stroke-width:1}
.wk-yl,.wk-xl{font-family:var(--sans);font-size:11px;fill:var(--muted);font-variant-numeric:tabular-nums}
.wk-apaid{fill:var(--ink);opacity:.13}
.wk-again{fill:var(--accent);opacity:.3}
.wk-bline{fill:none;stroke:var(--accent);stroke-width:2.2;stroke-linejoin:round}
.wk-gline{fill:none;stroke:var(--ink);stroke-width:1.4;stroke-dasharray:5 4}
.wk-rl{stroke:var(--accent);stroke-width:1;stroke-dasharray:2 3}
.wk-dot{fill:var(--accent);stroke:var(--paper);stroke-width:2}
.wk-rt{font-family:var(--sans);font-size:12px;font-weight:700;fill:var(--ink);paint-order:stroke;stroke:var(--paper);stroke-width:3px;stroke-linejoin:round}
.wk-chart.is-anim .wk-bline{stroke-dasharray:1;animation:wk-draw 1100ms cubic-bezier(.22,1,.36,1) both}
.wk-chart.is-anim .wk-apaid,.wk-chart.is-anim .wk-again{animation:wk-fade 900ms ease 150ms both}
.wk-chart.is-anim .wk-rl,.wk-chart.is-anim .wk-dot,.wk-chart.is-anim .wk-rt{animation:wk-fade 300ms ease 1000ms both}
@keyframes wk-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes wk-fade{from{opacity:0}}
/* 시계를 앞당기려면: 조건 카드 격자 + 기간별 필요 월 적립 */
.wk-levers{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.wk-levers li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;align-items:baseline;padding:10px 12px;border:1px solid var(--soft);border-radius:var(--radius);background:var(--paper);font-family:var(--sans)}
.wk-levers li span{font-size:13px;font-weight:700;color:var(--ink);min-width:0}
.wk-levers li span em{display:block;font-style:normal;font-weight:400;font-size:11.5px;color:var(--muted)}
.wk-levers li b{font-size:15px;font-weight:800;color:var(--ink);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.wk-levers li i{grid-column:1 / -1;font-style:normal;font-size:12px;font-weight:700;color:var(--muted)}
.wk-levers li.is-fast i{color:var(--accent)}
.wk-sublabel{display:block;margin:16px 0 2px}
.wk-need li.is-ok b{color:var(--muted)}
@media (prefers-reduced-motion:reduce){ .wk-bar i b{transition:none} }
@media (max-width:720px){
  .wk-grid{grid-template-columns:minmax(0,1fr)}
  .wk-out{order:-1;border-left:0;border-bottom:1px solid var(--soft)}
  .wk-clockgrid{grid-template-columns:minmax(0,1fr);gap:12px}
  .wk-dial{width:100%;max-width:240px;margin:0 auto}
}
@media (max-width:520px){ .wk-levers{grid-template-columns:minmax(0,1fr)} }
@media (max-width:420px){ .wk-in,.wk-out,.wk-box{padding-left:12px;padding-right:12px} }
@container v2in (max-width:560px){ .wk-fields > .v2-f,.wk-more-in{grid-column:1 / -1} .wk-more-in{grid-template-columns:minmax(0,1fr)} } /* 반쪽 칸에는 1조 원대 금액이 안 들어감 */
