
*{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}
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(4,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}
.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}
.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}
.wk span{text-align:right;font-weight:600}.wk.total{border-top:2px solid #14181F;font-weight:700}
