/* Korea Refund — 도구 색 네 개 + 이 도구에만 있는 모양. 뼈대는 공용 myosu.css
 * 색: --c #1e40af(흰 글자 대비 8.7), --c-deep #1e3a8a(--c-soft 위 대비 8.9) */
:root { --c: #1e40af; --c-deep: #1e3a8a; --c-soft: #e0e7ff; --bg: #f5f7fc;
  --ok: #166534; --ok-bg: #dcfce7; --warn: #8a4b00; --warn-bg: #fff1d6; --no: #9f1239; --no-bg: #ffe4e6; }

.hero { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; text-align: left; padding: 0; }
.hero h1 { margin: 0; font-size: 23px; line-height: 1.3; letter-spacing: -.04em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--c-deep); }
.hero svg { flex: none; }

/* 즉시환급 한도 막대 */
.limit { margin-top: 14px; }
.limit .lt { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.limit .lt b { font-size: 15px; }
.limit .lh { font-size: 13px; font-weight: 700; color: var(--c-deep); background: var(--c-soft); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.limit .big { margin: 6px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.limit .big small { font-size: 15px; font-weight: 700; color: var(--muted); }
.limit .bar { height: 12px; margin: 10px 0 0; border-radius: 999px; background: #e7eaf3; overflow: hidden; }
.limit .bar i { display: block; height: 100%; border-radius: 999px; background: var(--c); }
.limit .sub { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }

/* 첫 화면 줄 버튼 */
.row-btn { display: flex; align-items: center; gap: 10px; width: 100%; margin: 10px 0 0; padding: 14px 16px; border: 0; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); text-align: left; color: var(--ink); }
.row-btn > span:first-child { flex: 1; min-width: 0; }
.row-btn b { display: block; font-size: 16px; }
.row-btn small { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.go { flex: none; font-size: 22px; font-weight: 800; color: var(--c-deep); }

/* 믿을 이유 한 줄 */
.trust { display: flex; gap: 10px; align-items: flex-start; width: 100%; margin: 18px 0 0; padding: 12px 14px; border: 0; border-radius: 16px; background: var(--c-soft); color: var(--c-deep); text-align: left; font-size: 14px; font-weight: 700; line-height: 1.45; }
.trust .tk { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.trust small { display: block; margin-top: 2px; font-weight: 600; color: var(--c-deep); font-size: 13px; }

/* 근거 창 */
.rules { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rules li b { display: block; font-size: 15px; }
.rules li span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.rules li small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.fine-p { margin: 12px 2px 0; font-size: 13px; color: var(--muted); }

/* 입력 */
.fld { display: block; margin: 14px 0 0; }
.fld > span { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); margin: 0 0 6px 2px; }
.fld input { width: 100%; height: 52px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 18px; color: var(--ink); }
.fld input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--c); }
#f-amount { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fld-h { margin: 18px 2px 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.fld-n { margin: 6px 2px 0; font-size: 13px; color: var(--muted); }
.opt { display: flex; gap: 10px; align-items: flex-start; width: 100%; margin: 8px 0 0; padding: 12px 14px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; color: var(--ink); }
.opt.on { box-shadow: inset 0 0 0 2px var(--c); background: #f4f6ff; }
.opt .ck { flex: none; font-size: 20px; line-height: 1.2; color: var(--c-deep); }
.opt b { display: block; font-size: 16px; }
.opt small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.verdict { margin: 14px 0 0; min-height: 48px; }
.v { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 15px; font-weight: 700; line-height: 1.45; }
.v.ok { background: var(--ok-bg); color: var(--ok); }
.v.warn { background: var(--warn-bg); color: var(--warn); }
.v.no { background: var(--no-bg); color: var(--no); }
.v-amt { margin: 0 2px 6px; font-size: 15px; font-weight: 800; color: var(--c-deep); font-variant-numeric: tabular-nums; }
.v-hint { margin: 0; padding: 10px 12px; border-radius: 12px; background: #eef1f7; color: var(--ink-2); font-size: 14px; }
.v-sub { margin: 6px 2px 0; font-size: 13.5px; color: var(--ink-2); }

/* 내 영수증 */
.wide { width: 100%; }
.sec-title { margin: 22px 2px 4px; font-size: 17px; font-weight: 800; }
.sec-title span { color: var(--c-deep); }
.sec-sub { margin: 0 2px 8px; font-size: 13.5px; color: var(--ink-2); }
.rcs { display: grid; gap: 8px; }
.rc { display: block; width: 100%; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.rc.new { box-shadow: inset 0 0 0 2px var(--c), var(--shadow); }
.rc-main { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 0; background: none; text-align: left; color: var(--ink); }
.rc .rl { flex: 1; min-width: 0; }
.rc b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }
.rc small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; overflow-wrap: anywhere; }
.rc small.mo { font-size: 14px; font-weight: 800; color: var(--c-deep); }
.rc small.v { display: inline-block; margin-top: 6px; padding: 3px 8px; font-size: 12.5px; border-radius: 8px; }
.got-btn { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 44px; padding: 0 14px; border: 0; border-top: 1px solid var(--line); background: #f7f9fd; color: var(--c-deep); font-size: 15px; font-weight: 700; text-align: left; }
.got-btn[aria-pressed="true"] { color: var(--ok); }
.got-btn span { font-size: 19px; }
.rc .dl.late { color: var(--no); font-weight: 700; }
.empty { text-align: center; margin: 24px 0 0; color: var(--ink-2); }
.empty p { margin: 8px auto 0; max-width: 22em; }
.linkcard { margin-top: 22px; }
.linkcard b { display: block; font-size: 16px; }
.linkcard span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.dtl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 4px 0 12px; font-size: 15px; }
.dtl dt { color: var(--muted); font-weight: 700; }
.dtl dd { margin: 0; overflow-wrap: anywhere; }

/* 떠나는 날 */
.check { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check li { background: var(--surface); border-radius: 16px; padding: 12px 14px 12px 44px; box-shadow: var(--shadow); position: relative; }
.check li::before { content: "✓"; position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-soft); color: var(--c-deep); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.check li.c-late { box-shadow: inset 0 0 0 2px var(--no); }
.check li.c-late::before { content: "!"; background: var(--no-bg); color: var(--no); }
.check li.c-bag::before { content: "🧳"; background: none; font-size: 18px; }
.check b { display: block; font-size: 15.5px; }
.check span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }

/* 돌려받을 돈 (결론 카드) — 2026-12-03 */
.money .count b { font-size: 40px; }
.money .sub { overflow-wrap: anywhere; }
.maybe { display: block; width: 100%; margin: 10px 0 0; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--warn-bg); color: var(--warn); font-size: 14px; font-weight: 700; text-align: left; }
.sub-acts { display: flex; gap: 8px; margin-top: 8px; }
.sub-acts .secondary { flex: 1 1 0; min-width: 0; margin: 0; padding: 0 8px; font-size: 15px; }
.center { text-align: center; }

/* 사진 읽기 */
.read-card { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 0; padding: 12px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.read-card img { flex: none; width: 72px; height: 96px; object-fit: cover; border-radius: 10px; background: #eef1f7; }
.read-card > div { flex: 1; min-width: 0; }
.read-st { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 15px; font-weight: 700; color: var(--c-deep); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--c-soft); border-top-color: var(--c); animation: kr-spin .8s linear infinite; flex: none; }
@keyframes kr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }
.read-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* 떠나는 날 순서 */
.steps { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.steps .no { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.steps b { display: block; font-size: 15.5px; }
.steps small { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.check li.c-check { box-shadow: inset 0 0 0 2px var(--warn); }
.check li.c-check::before { content: "!"; background: var(--warn-bg); color: var(--warn); }
.check li .tiny { margin-top: 8px; }
.past-list { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); max-height: 40vh; overflow: auto; }

/* 고향 통화로 대략 (2026-12-03) */
.fx { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 4px 0 2px; }
.fx-btn { border: 0; background: var(--c-soft); color: var(--c-deep); font-size: 15px; font-weight: 800; padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.fx-src { font-size: 12px; color: var(--muted); text-decoration: underline; }
