/* 우리집 살림 — 박패스·박스쿨·박단어와 같은 디자인 토큰의 모바일 퍼스트 가족 자산관리 */
:root{
  --ink:#152642;--muted:#74829a;--bg:#f5f7fc;--surface:#fff;--line:#e7ebf3;
  --blue:#4167f5;--blue-deep:#2448de;--light:#edf1ff;--success:#12a48f;
  --red:#e45c68;--purple:#7457bd;--orange:#e8873c;--gold:#d99a2b;
  --radius:20px;--shadow:0 8px 28px rgba(26,48,97,.06);
  font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","Helvetica Neue",Arial,"Liberation Sans","FreeSans","Noto Sans KR","DejaVu Sans",sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#e9edf5}
body{font-size:14px;line-height:1.5;color:var(--ink);-webkit-tap-highlight-color:transparent;word-break:keep-all}
button,input,select,textarea{font:inherit;color:inherit}
button{border:0;cursor:pointer;background:none;text-align:left}
h1,h2,h3,h4,p{margin:0}
a{color:inherit}
.phone{max-width:460px;margin:auto;min-height:100svh;background:var(--bg);position:relative;box-shadow:0 0 70px rgba(28,50,80,.10)}
.page{padding:0 20px calc(98px + env(safe-area-inset-bottom));min-height:100svh}

/* ── 상단 바 ───────────────────────────── */
.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 0 14px}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.logo{width:39px;height:39px;border-radius:13px;background:linear-gradient(145deg,#516eff,#714fd6);color:#fff;display:grid;place-items:center;font-size:18px;font-weight:900;box-shadow:0 5px 12px #3552d02f;flex:none;letter-spacing:-.04em}
.brandname{font-size:18px;font-weight:900;letter-spacing:-.045em;line-height:1.2}
.brandsub{font-size:11px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topactions{display:flex;align-items:center;gap:7px;flex:none}
.iconbtn{width:38px;height:38px;border-radius:12px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:#5d6f8d;box-shadow:var(--shadow)}
.iconbtn svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.syncpill{display:inline-flex;align-items:center;gap:5px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 10px;font-size:10.5px;font-weight:800;color:#5b6c8b;box-shadow:var(--shadow);white-space:nowrap}
.syncpill i{width:6px;height:6px;border-radius:50%;background:#aab4c6;display:block}
.syncpill.on i{background:var(--success)}
.syncpill.warn i{background:var(--orange)}
.syncpill.err i{background:var(--red)}

/* ── 공통 글자 ─────────────────────────── */
.small{font-size:12px}.muted{color:var(--muted)}.strong{font-weight:800}
.num{font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.red{color:var(--red)}.green{color:var(--success)}.blue{color:var(--blue)}.gold{color:var(--gold)}
.nowrap{white-space:nowrap}
.intro{padding:2px 0 16px}
.intro h1{font-size:24px;font-weight:850;letter-spacing:-.06em;line-height:1.3}
.intro p{color:var(--muted);font-size:12.5px;margin-top:6px;line-height:1.55}
.rowline{display:flex;justify-content:space-between;align-items:baseline;gap:8px}

/* ── 히어로 ───────────────────────────── */
.hero{background:linear-gradient(127deg,#192b5a 0%,#334eaa 62%,#655ee0 100%);color:#fff;border-radius:24px;padding:20px 20px 19px;position:relative;overflow:hidden;box-shadow:0 12px 22px #24398b25}
.hero:after{content:"";position:absolute;width:190px;height:190px;border:1px solid #ffffff29;border-radius:50%;right:-70px;top:-72px;box-shadow:0 0 0 40px #ffffff07,0 0 0 84px #ffffff05;pointer-events:none}
.hero>*{position:relative;z-index:1}
.hero-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.hero-kicker{font-size:11.5px;font-weight:800;color:#cfd9ff}
.hero-amount{font-size:30px;font-weight:900;letter-spacing:-.06em;line-height:1.15;margin:7px 0 4px;font-variant-numeric:tabular-nums}
.hero-amount em{font-size:14px;font-style:normal;font-weight:800;color:#d8e0ff;margin-left:3px;letter-spacing:-.02em}
.hero .sub{color:#c9d4fb;font-size:11.5px;line-height:1.5}
.hero .cta{margin-top:15px;background:#fff;color:#253d8b;border-radius:13px;padding:12px 14px;font-weight:800;font-size:12.5px;display:flex;justify-content:space-between;align-items:center;width:100%;box-shadow:0 6px 14px #0f1e4a33;gap:8px}
.hero .cta:active{transform:scale(.995)}
.hero .cta b{font-size:13.5px;letter-spacing:-.03em}
.ringwrap{width:74px;text-align:center;flex:none}
.ring{width:74px;height:74px;border-radius:50%;background:conic-gradient(#9ce9da calc(var(--p,0) * 1%), #ffffff2e 0);display:grid;place-items:center;position:relative;margin:0 auto}
.ring:after{content:"";position:absolute;inset:7px;border-radius:50%;background:#2c4695}
.ring b{position:relative;z-index:1;font-size:15px;font-weight:850;letter-spacing:-.03em}
.ringcap{display:block;font-size:10px;color:#c9d4fb;margin-top:5px;font-weight:700}

/* ── 지표 ─────────────────────────────── */
.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}
.metric{background:#fff;border:1px solid var(--line);border-radius:17px;padding:12px 11px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:2px;text-align:left}
.metric span{color:var(--muted);font-size:11px;font-weight:700}
.metric b{font-size:18px;letter-spacing:-.05em;font-weight:850;line-height:1.28;font-variant-numeric:tabular-nums}
.metric b em{font-size:10.5px;font-weight:700;color:#a0aabd;font-style:normal;margin-left:1px}

/* ── 하단 내비게이션 ──────────────────── */
.bottomnav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;max-width:460px;width:100%;display:grid;grid-template-columns:repeat(4,1fr);height:calc(70px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;z-index:12;border-top:1px solid var(--line);box-shadow:0 -6px 25px #1b2f5710}
.navbtn{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px;color:#94a0b3;font-weight:750;font-size:10px;min-height:44px;letter-spacing:-.02em}
.navbtn.active{color:var(--blue)}
.navico{width:22px;height:22px;display:flex;align-items:center;justify-content:center}
.navico svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.navbtn.active .navico svg{stroke-width:2.2}

/* ── 섹션·카드 ────────────────────────── */
.sectionbar{display:flex;justify-content:space-between;align-items:baseline;margin:24px 0 10px;gap:8px}
.sectionbar h2{font-size:16.5px;letter-spacing:-.045em;font-weight:850}
.sectionbar .link{font-size:12px;color:var(--blue);font-weight:800;white-space:nowrap;min-height:24px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:15px 15px 16px;box-shadow:var(--shadow);margin-bottom:10px}
.card.tight{padding:13px 14px}
.card h3{font-size:14px;font-weight:850;letter-spacing:-.035em}
.cardhead{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:10px}
.cardhead .right{text-align:right;flex:none}
.notebox{background:#f7f9fd;border:1px solid #e9eef7;border-radius:13px;padding:11px 12px;color:#5c6d8c;font-size:11.5px;line-height:1.6;margin-top:10px}
.notebox b{color:#3e5378}
.banner{display:flex;gap:9px;align-items:flex-start;background:#fff6e6;border:1px solid #f3e2c2;border-radius:14px;padding:11px 12px;font-size:11.5px;color:#8a6420;line-height:1.55;margin-bottom:12px}
.banner b{display:block;font-size:12px;color:#7a5715}
.banner button{flex:none;font-size:11px;font-weight:800;color:#8a6420;text-decoration:underline;min-height:24px}

/* ── 진행 바 ──────────────────────────── */
.progress{height:8px;background:#e6ebf5;border-radius:20px;overflow:hidden}
.progress>i{display:block;background:linear-gradient(90deg,#4269fb,#a18bf9);height:100%;border-radius:20px;transition:width .25s}
.progress.thin{height:6px}
.progress.green>i{background:linear-gradient(90deg,#12a48f,#4fc9b5)}
.progress.gold>i{background:linear-gradient(90deg,#d99a2b,#f0bf5f)}
.progress.red>i{background:linear-gradient(90deg,#e45c68,#f09098)}
.progress.purple>i{background:linear-gradient(90deg,#7457bd,#a58ee8)}
.stackbar{display:flex;height:12px;border-radius:20px;overflow:hidden;background:#eef1f8;gap:2px}
.stackbar i{display:block;height:100%;transition:width .25s}

/* ── 구성원 ───────────────────────────── */
.legend{display:flex;flex-direction:column;gap:2px;margin-top:11px}
.legendrow{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:12.5px}
.legendrow .dot{width:9px;height:9px;border-radius:50%;flex:none}
.legendrow .nm{font-weight:800;letter-spacing:-.03em}
.legendrow .rel{font-size:10.5px;color:var(--muted);font-weight:700}
.legendrow .amt{margin-left:auto;font-weight:850;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.legendrow .pct{width:40px;text-align:right;color:var(--muted);font-size:11px;font-weight:750;font-variant-numeric:tabular-nums}
.memtabs{display:flex;gap:7px;overflow-x:auto;padding:2px 0 10px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.memtabs::-webkit-scrollbar{display:none}
.memtab{flex:none;display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 13px;font-size:12.5px;font-weight:800;color:#5e6f8e;min-height:38px;letter-spacing:-.02em}
.memtab .dot{width:7px;height:7px;border-radius:50%;background:#c3ccdb}
.memtab.active{background:#1c3163;border-color:#1c3163;color:#fff;box-shadow:0 6px 14px #1c316329}
.memtab.active .dot{background:#9ce9da}
.membercard{display:flex;align-items:center;gap:11px}
.avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-weight:900;font-size:16px;flex:none;letter-spacing:-.04em}

/* ── 계좌 목록 ────────────────────────── */
.acct{display:flex;align-items:center;gap:10px;padding:11px 0;border-top:1px solid #f0f3f9;width:100%}
.acct:first-of-type{border-top:0}
.acct .ico{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;font-size:13px;font-weight:900;flex:none;background:#eef2ff;color:#3c5fd8;letter-spacing:-.05em}
.acct .body{flex:1;min-width:0}
.acct .body b{display:block;font-size:13.5px;font-weight:800;letter-spacing:-.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct .body small{display:block;color:var(--muted);font-size:11px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct .amt{font-weight:850;font-size:14px;font-variant-numeric:tabular-nums;letter-spacing:-.03em;text-align:right;white-space:nowrap}
.acct .amt small{display:block;font-size:10.5px;color:var(--muted);font-weight:700;margin-top:2px}
.acctbutton{width:100%;border-radius:12px}
.acctbutton:active{background:#f8fafd}
.tag{display:inline-block;background:#f0f4ff;color:#4566e0;border-radius:8px;padding:3px 7px;font-size:10px;font-weight:800;white-space:nowrap;line-height:1.35}
.tag.gray{background:#f2f5fa;color:#71809a}
.tag.green{background:#e4f8f4;color:#087d73}
.tag.orange{background:#fff1e6;color:#b86a2d}
.tag.purple{background:#f3edff;color:#6a4fb4}
.tag.red{background:#fdecee;color:#b8394a}
.tag.gold{background:#fdf3e2;color:#9a6714}
.empty{padding:26px 6px;text-align:center;color:var(--muted);font-size:12.5px;line-height:1.7}

/* ── 버튼 ─────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#fff;border:1px solid var(--line);color:#33496f;border-radius:13px;padding:12px 14px;font-size:13px;font-weight:800;min-height:44px;letter-spacing:-.02em}
.btn:active{transform:scale(.995)}
.btn.primary{background:linear-gradient(135deg,#4269fb,#5a4fd6);border-color:#3f5ee0;color:#fff;box-shadow:0 7px 16px #3552d02e}
.btn.navy{background:#1c3163;border-color:#1c3163;color:#fff}
.btn.ghost{background:#f7f9fd}
.btn.danger{background:#fdecee;border-color:#f7d6da;color:#b8394a}
.btn.block{display:flex;width:100%}
.btn.sm{padding:8px 11px;min-height:36px;font-size:11.5px;border-radius:11px}
.btnrow{display:flex;gap:8px;margin-top:11px}
.btnrow .btn{flex:1}
.btnrow.wrap{flex-wrap:wrap}
.btnrow.wrap .btn{flex:1 1 auto}

/* ── 폼 ───────────────────────────────── */
.field{display:block;margin-bottom:12px}
.field>span{display:block;font-size:11.5px;font-weight:800;color:#5c6d8c;margin-bottom:6px;letter-spacing:-.01em}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);background:#fafbfe;border-radius:12px;padding:12px 13px;font-size:14px;font-weight:700;min-height:46px;letter-spacing:-.02em;outline:none}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#9fb2f4;background:#fff;box-shadow:0 0 0 3px #eaf0ff}
.field input::placeholder{color:#b3bccd;font-weight:600}
.field small{display:block;color:var(--muted);font-size:10.5px;margin-top:5px;line-height:1.5}
.field.row{display:flex;gap:8px}
.field.row>*{flex:1;min-width:0}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.chipset{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.chip{background:#f4f7fc;border:1px solid var(--line);border-radius:999px;padding:8px 11px;font-size:11.5px;font-weight:800;color:#5c6d8c;min-height:36px;display:inline-flex;align-items:center;gap:4px}
.chip.active{background:#eef2ff;border-color:#c9d6ff;color:#2f53cf}
input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:26px;background:transparent}
input[type=range]::-webkit-slider-runnable-track{height:7px;border-radius:20px;background:#e6ebf5}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;border-radius:50%;background:#fff;border:2px solid #4269fb;box-shadow:0 2px 7px #2c46953a;margin-top:-9px}
input[type=range]::-moz-range-track{height:7px;border-radius:20px;background:#e6ebf5}
input[type=range]::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:#fff;border:2px solid #4269fb}

/* ── 시트(바텀시트) ───────────────────── */
.sheet-backdrop{position:fixed;inset:0;background:#101d3c66;z-index:40;backdrop-filter:blur(1px)}
.sheet{position:fixed;left:50%;transform:translate(-50%,102%);bottom:0;width:100%;max-width:460px;max-height:92svh;background:#fff;border-radius:24px 24px 0 0;z-index:41;transition:transform .26s ease;box-shadow:0 -12px 40px #101d3c2b;display:flex;flex-direction:column}
.sheet.open{transform:translate(-50%,0)}
.sheet-inner{padding:8px 20px calc(20px + env(safe-area-inset-bottom));overflow-y:auto;-webkit-overflow-scrolling:touch}
.sheet-grip{width:40px;height:4px;border-radius:99px;background:#dfe5ef;margin:8px auto 12px}
.sheet h2{font-size:18px;font-weight:900;letter-spacing:-.05em;margin-bottom:4px}
.sheet .sub{color:var(--muted);font-size:11.5px;line-height:1.55;margin-bottom:14px}
.sheet-foot{display:flex;gap:8px;margin-top:16px}
.sheet-foot .btn{flex:1}
.sheet-foot.sticky{position:sticky;bottom:0;background:#fff;padding:10px 0 4px;margin-top:10px;box-shadow:0 -10px 18px #ffffffee}
.sheet-close{position:absolute;right:14px;top:14px;width:32px;height:32px;border-radius:10px;background:#f4f7fc;color:#71809a;display:grid;place-items:center;font-size:16px;z-index:2}
.sheet-list{max-height:34svh;overflow:auto;border:1px solid var(--line);border-radius:13px}
.csvrow{display:grid;grid-template-columns:1fr 86px;gap:8px;align-items:center;padding:9px 10px;border-top:1px solid #f0f3f9;font-size:11.5px}
.csvrow:first-child{border-top:0}
.csvrow .n{font-weight:750;color:#2c3f61;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.csvrow .m{color:var(--muted);font-size:10px;font-weight:700;margin-top:1px}
.csvrow select{border:1px solid var(--line);border-radius:9px;padding:6px 4px;font-size:10.5px;font-weight:800;background:#fafbfe;min-height:34px;width:100%}
.csvrow.income .n{color:#0a7a6c}
.sumgrid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0 12px}
.sumcell{background:#f7f9fd;border:1px solid #e9eef7;border-radius:12px;padding:9px 11px}
.sumcell span{display:block;font-size:10.5px;color:var(--muted);font-weight:750}
.sumcell b{display:block;font-size:14px;font-weight:850;letter-spacing:-.04em;margin-top:2px;font-variant-numeric:tabular-nums}
.sumcell b small{font-size:10px;font-weight:750;color:#93a0b5;margin-left:3px}

/* ── 토스트 ───────────────────────────── */
.toast{position:fixed;left:50%;transform:translate(-50%,14px);bottom:calc(88px + env(safe-area-inset-bottom));max-width:calc(100% - 40px);background:#152642;color:#fff;border-radius:13px;padding:11px 15px;font-size:12.5px;font-weight:750;z-index:60;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;box-shadow:0 10px 26px #101d3c40;line-height:1.5}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ── 온보딩 ───────────────────────────── */
.onboard-hero{background:linear-gradient(127deg,#192b5a 0%,#334eaa 62%,#655ee0 100%);color:#fff;border-radius:24px;padding:26px 20px 24px;position:relative;overflow:hidden;box-shadow:0 12px 22px #24398b25;margin-top:6px}
.onboard-hero h1{font-size:25px;font-weight:900;letter-spacing:-.06em;line-height:1.32}
.onboard-hero p{color:#c9d4fb;font-size:12.5px;line-height:1.6;margin-top:8px}
.onboard-hero .family{display:flex;gap:6px;margin-top:16px}
.onboard-hero .family span{background:#ffffff1f;border:1px solid #ffffff2e;border-radius:999px;padding:6px 10px;font-size:11.5px;font-weight:800}
.opt{display:flex;gap:12px;align-items:center;width:100%;background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px 14px;box-shadow:var(--shadow);margin-bottom:9px}
.opt .ico{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:19px;flex:none;background:#eef2ff}
.opt .body{flex:1;min-width:0}
.opt .body b{display:block;font-size:14px;font-weight:850;letter-spacing:-.03em}
.opt .body small{display:block;color:var(--muted);font-size:11.5px;margin-top:3px;line-height:1.5}
.opt .arrow{color:#b3bccd;font-size:20px;flex:none}

/* ── 기타 ─────────────────────────────── */
.kv{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:8px 0;border-top:1px solid #f0f3f9;font-size:12.5px}
.kv:first-child{border-top:0}
.kv .k{color:#5c6d8c;font-weight:750;min-width:0}
.kv .v{font-weight:850;font-variant-numeric:tabular-nums;letter-spacing:-.03em;white-space:nowrap}
.kv.total{padding-top:11px;margin-top:2px;border-top:1.5px dashed #e2e8f2}
.kv.total .v{font-size:15px}
.goaleta{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #f0f3f9}
.goaleta:first-child{border-top:0}
.goaleta>div{min-width:0}
.goaleta b{display:block;font-size:13px;font-weight:850;letter-spacing:-.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.goaleta span{display:block;font-size:10.5px;color:var(--muted);font-weight:700;margin-top:2px}
.goaleta .r{text-align:right;flex:none}
.goaleta .r b{font-size:12.5px;color:#3450b5}
.donut{width:118px;height:118px;border-radius:50%;flex:none;position:relative;background:conic-gradient(#e6ebf5 0 100%)}
.donut:after{content:"";position:absolute;inset:19px;background:#fff;border-radius:50%}
.donut .ctr{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1;text-align:center;line-height:1.2;gap:1px}
.donut .ctr b{display:block;font-size:16px;font-weight:900;letter-spacing:-.04em}
.donut .ctr span{display:block;font-size:9.5px;color:var(--muted);font-weight:750;margin-top:2px}
.simcard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 13px;box-shadow:var(--shadow)}
.simcard span{display:block;font-size:11px;color:var(--muted);font-weight:750}
.simcard b{display:block;font-size:17px;font-weight:900;letter-spacing:-.05em;margin-top:3px;font-variant-numeric:tabular-nums}
.simcard small{display:block;font-size:10.5px;color:#93a0b5;font-weight:700;margin-top:2px}
.horizon{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:2px}
.goalcard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px;box-shadow:var(--shadow);margin-bottom:9px}
.goalcard .top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:9px}
.goalcard h4{font-size:13.5px;font-weight:850;letter-spacing:-.035em}
.goalcard .tgt{font-size:11px;color:var(--muted);font-weight:750;margin-top:2px}
.goalcard .pct{font-size:16px;font-weight:900;color:#3450b5;letter-spacing:-.05em;flex:none;font-variant-numeric:tabular-nums}
.goalcard .foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;font-size:10.5px;color:var(--muted);font-weight:750}
.doyak{background:linear-gradient(160deg,#f8faff,#f2f5ff);border:1px solid #e4eafb;border-radius:18px;padding:14px;margin-bottom:9px}
.doyak .top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.doyak .who{display:flex;align-items:center;gap:7px;font-weight:850;font-size:13px;letter-spacing:-.03em}
.doyak .who .dot{width:8px;height:8px;border-radius:50%}
.doyak .dday{font-size:10.5px;font-weight:850;color:#3450b5;background:#e8edff;border-radius:8px;padding:4px 8px;white-space:nowrap}
.doyak .nums{display:flex;justify-content:space-between;gap:8px;margin-top:9px;font-size:11px;color:#5c6d8c;font-weight:750}
.doyak .nums b{display:block;font-size:13.5px;color:#152642;font-weight:850;margin-top:1px;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.giftcard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px;box-shadow:var(--shadow);margin-bottom:9px}
.giftcard .top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.giftcard .who{display:flex;align-items:center;gap:7px;font-weight:850;font-size:13px}
.giftcard .who .dot{width:8px;height:8px;border-radius:50%}
.giftcard .nums{display:flex;justify-content:space-between;font-size:10.5px;color:var(--muted);font-weight:750;margin-top:7px}
.giftcard .nums b{color:#152642;font-weight:850;font-size:11.5px;letter-spacing:-.02em}
.footnote{color:#93a0b5;font-size:10.5px;line-height:1.6;margin-top:9px}
.settings-group{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;box-shadow:var(--shadow);margin-bottom:10px}
.settings-group h3{font-size:13.5px;font-weight:850;letter-spacing:-.035em;margin-bottom:4px}
.settings-group .desc{color:var(--muted);font-size:11px;line-height:1.55;margin-bottom:10px}
.badge{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:800;padding:5px 8px;border-radius:8px;background:#f2f5fa;color:#71809a}
.badge.on{background:#e4f8f4;color:#087d73}
.badge.err{background:#fdecee;color:#b8394a}
.badge.warn{background:#fff6e6;color:#8a6420}
.authline{display:flex;align-items:center;gap:8px;font-size:11.5px;color:#5c6d8c;font-weight:750;margin:9px 0;flex-wrap:wrap}
.filerow{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.hr{height:1px;background:#eef1f7;margin:13px 0}
@media(min-width:461px){.phone{margin:24px auto;border-radius:34px;overflow:hidden;min-height:calc(100svh - 48px)}
  .bottomnav{bottom:24px;border-radius:0 0 34px 34px}.toast{bottom:112px}}
@media(max-width:390px){
  .page{padding-left:16px;padding-right:16px}
  .hero-amount{font-size:27px}
  .hero h2{font-size:20px}
  .metric b{font-size:16.5px}
  .bottomnav{font-size:9.5px}
  .ringwrap{transform:scale(.94);transform-origin:top right}
}
