
*{box-sizing:border-box}html,body{margin:0;height:100%}
body{background:#F6F7F9;color:#14181F;font:400 15px/1.4 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-text-size-adjust:100%}
.wrap{max-width:480px;margin:0 auto;min-height:100%;display:flex;flex-direction:column}
.head{padding:20px 20px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.hr{display:flex;align-items:center;gap:8px}.panic{min-height:40px;padding:0 14px;border-radius:999px;border:2px solid #C0392B;background:#fff;color:#A32020;font:700 14px inherit;font-family:inherit}.panic.on{border-color:#1C8A5A;color:#0B5A3E}
.downbar{margin:0 20px 12px;padding:12px 14px;border-radius:12px;background:#C0392B;color:#fff;font-weight:600;font-size:14px}
.tcard{border:2px solid #1C8A5A}.tcard.neg{border-color:#C0392B}.tbig{font-size:30px;font-weight:700}
.choice{min-height:56px;font-size:16px;text-align:left;padding:0 16px}.choice.dng{background:#C0392B;color:#fff;border-color:#C0392B}
h1{font-size:22px;font-weight:700;margin:0}.muted{color:#4B5563}.small{font-size:13px}
.pill{padding:8px 12px;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap}
.pill.ok{background:#DDF3E8;color:#0B5A3E}.pill.warn{background:#FFF4DC;color:#5C4300}.pill.off{background:#E6EAF0;color:#14181F}
.main{flex:1;padding:4px 20px 16px;display:flex;flex-direction:column;gap:12px}
.card{background:#fff;border:1px solid #D9DEE6;border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:6px}
.label{font-size:13px;color:#4B5563;font-weight:500}.big{font-size:40px;font-weight:700;line-height:44px}
.pos{color:#0B5A3E}.neg{color:#8E1B16}.strong{font-size:16px;font-weight:600}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.row{display:flex;align-items:center;justify-content:space-between;gap:8px}.row b{font-size:15px}
.note{background:#EEF3FB;border:1px solid #B7C6DD;border-radius:12px;padding:12px 14px;font-size:13px;color:#14315F}
.note.warn{background:#FFF4DC;border-color:#E0BE74;color:#5C4300}.note.bad{background:#FDECEA;border-color:#E3A7A1;color:#6B1410}
nav{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border-top:1px solid #D9DEE6;padding:6px 8px 14px}
nav button{min-height:52px;border:0;background:none;font:500 12px inherit;font-family:inherit;color:#4B5563}
nav button[aria-current=page]{color:#1A4E9E;font-weight:700}
.login{padding:56px 24px 32px;display:flex;flex-direction:column;gap:24px}
.logo{width:56px;height:56px;border-radius:16px}
label{font-size:14px;font-weight:600;display:block;margin-bottom:6px}
input{width:100%;height:52px;border:1.5px solid #AEB7C4;border-radius:12px;padding:0 14px;font:400 16px inherit;font-family:inherit;background:#fff;color:#14181F}
input.code{font-weight:600;font-size:20px;letter-spacing:6px}
input:focus,button:focus-visible{outline:3px solid #1F5FBF;outline-offset:2px}
.btn{height:54px;width:100%;border-radius:14px;border:0;background:#1A4E9E;color:#fff;font:600 17px inherit;font-family:inherit}
.btn.plain{background:#fff;color:#8E1B16;border:1.5px solid #8E1B16;height:48px;font-size:15px}
.brand{font-size:28px;margin-top:12px}
form{display:flex;flex-direction:column;gap:16px}.center{text-align:center}
.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{height:44px;padding:0 16px;border-radius:999px;border:1.5px solid #AEB7C4;background:#fff;color:#14181F;font:500 14px inherit;font-family:inherit}
.chip[aria-pressed=true]{background:#1A4E9E;border-color:#1A4E9E;color:#fff;font-weight:600}
.stack{display:flex;flex-direction:column;gap:12px}
.numrow{display:grid;grid-template-columns:52px minmax(0,1fr) 52px 84px;gap:8px;align-items:center}.numrow input{text-align:center;font-weight:700}.numrow .btn{height:48px;font-size:18px}
.btn.line{background:#fff;color:#1A4E9E;border:1.5px solid #1F5FBF;height:52px;font-size:16px}.btn:disabled{opacity:.5}
.ov{position:fixed;inset:0;background:rgba(20,24,31,.45);display:flex;align-items:flex-end;justify-content:center;z-index:10}
.sheet{background:#fff;width:100%;max-width:480px;border-radius:20px 20px 0 0;padding:20px 20px 28px;display:flex;flex-direction:column;gap:14px}
.card .label{margin-top:6px}.card .chips{margin-bottom:4px}
.alert.bad{background:#FDECEA;border-color:#E3A7A1}.alert.warn{background:#FFF4DC;border-color:#E0BE74}
.tag.bot{color:#1A4E9E}.tag.account{color:#6B1410}.tag.system{color:#4B5563}
.body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:20px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.srow{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#fff;border:0;border-top:1px solid #E6EAF0;padding:14px 0;font:inherit;color:inherit}.srow:first-of-type{border-top:0}.srow .t{font-weight:600;font-size:16px}.srow .s{font-size:13px;color:#4B5563;margin-top:2px}.srow .go{margin-left:auto;color:#4B5563;font-size:20px}
.badge{font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;background:#FFF4DC;color:#5C4300;white-space:nowrap}.badge.ok{background:#DDF3E8;color:#0B5A3E}
.set{border-top:1px solid #E6EAF0;padding-top:12px;margin-top:4px;display:flex;flex-direction:column;gap:8px}.set:first-of-type{border-top:0;padding-top:0}.set .hd{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.set .hd b{font-size:15px}
.back{background:none;border:0;color:#1A4E9E;font:600 15px inherit;font-family:inherit;padding:8px 0;text-align:left;min-height:44px}
.lv .r{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:4px 0;font-size:14px}.lv .k{color:#4B5563}.lv .big{font-size:24px;font-weight:700}
.lp{font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;white-space:nowrap}.p-ok{background:#DDF3E8;color:#0B5A3E}.p-no{background:#FDE4E4;color:#8A1C1C}.p-wa{background:#FFF4DC;color:#5C4300}.p-ac{background:#E3EDFB;color:#1A4E9E}
.bbar{display:flex;height:10px;border-radius:5px;overflow:hidden;margin:6px 0 2px;background:#E6EAF0}.bbar i{display:block;background:#1C8A5A}.bbar b{display:block;background:#C0392B;flex:1}
.ban{font-size:14px;border-radius:12px;padding:10px 14px;margin:0 0 12px}.ban.lp{display:block;font-size:14px;font-weight:500;padding:10px 14px;border-radius:12px;white-space:normal}.up{color:#0B6B45}.dn{color:#A32020}
.trade{border-top:1px solid #E6EAF0;padding-top:10px;margin-top:6px;display:flex;flex-direction:column;gap:8px}
img.chart{width:100%;height:auto;border:1px solid #D9DEE6;border-radius:12px;background:#fff}
details summary{min-height:44px;display:flex;align-items:center;font-weight:600;color:#1A4E9E;cursor:pointer}
.wk{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:8px;align-items:center;min-height:48px;width:100%;text-align:left;border:0;border-top:1px solid #E6EAF0;background:none;font:400 15px inherit;font-family:inherit;color:#14181F;padding:0}
.lv.tile{gap:4px}.mbig{font-size:21px;font-weight:700}.lgv{color:#1F5FBF;font-weight:600}.lge{color:#C77700;font-weight:600}
.oi{display:grid;grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr);white-space:nowrap;gap:6px;align-items:center;font-size:13px;min-height:22px}.oi .ra{text-align:right}.oi .ce{text-align:center}
.oc{display:flex;align-items:center;justify-content:flex-end;gap:4px}.op{display:flex;align-items:center;gap:4px}.oc i,.op i{display:block;height:9px;min-width:1px;max-width:62%;flex:none}.oc .k,.op .k{font-size:12px}.oc i{background:#1C8A5A;border-radius:3px 0 0 3px}.op i{background:#C0392B;border-radius:0 3px 3px 0}
.os{text-align:center;font-weight:600;border-radius:6px;padding:1px 0}.os.atm{background:#E3EDFB;color:#1A4E9E}
.btn.buy{height:64px;font-size:15px;line-height:19px;background:#fff;border:2px solid}.btn.bce{color:#0B5A3E;border-color:#1C8A5A}.btn.bpe{color:#8E1B16;border-color:#C0392B}
.mrow{grid-template-columns:56px minmax(0,1fr) 56px}.btn.more{color:#1A4E9E;border-color:#B7C6DD}
.wk span{text-align:right;font-weight:600}.wk.total{border-top:2px solid #14181F;font-weight:700}
