@font-face{font-family:I;src:url(preview/fonts/Inter-Regular.otf);font-weight:400}
@font-face{font-family:I;src:url(preview/fonts/Inter-SemiBold.otf);font-weight:600}
@font-face{font-family:I;src:url(preview/fonts/Inter-Bold.otf);font-weight:700}
*{box-sizing:border-box;margin:0;padding:0}
body{font:15px/1.5 I,system-ui,sans-serif;background:#f3f6ff;color:#0b1560}
button,input,select{font:inherit;color:inherit}
:focus-visible{outline:3px solid #d97900;outline-offset:2px}
h1{font-size:22px;line-height:1.3}h2{font-size:17px;margin-bottom:10px}h3{font-size:15px;margin:14px 0 6px}
.top{background:#06187c;color:#fff;padding:14px 16px;display:flex;align-items:center;gap:12px;justify-content:space-between}
.top b{font-size:17px}
.layout{display:block}
.menu{display:flex;overflow-x:auto;gap:4px;padding:8px;background:#fff;border-bottom:1px solid #dde4f7}
.menu button{border:0;background:none;white-space:nowrap;min-height:44px;padding:0 14px;border-radius:10px;cursor:pointer;text-align:left}
.menu button[aria-current=page]{background:#e2ecff;color:#0743b5;font-weight:700}
main{padding:16px;max-width:1000px;width:100%;min-width:0}
@media(min-width:860px){.layout{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 68px)}.menu{flex-direction:column;border:0;border-right:1px solid #dde4f7;overflow:visible}main{padding:24px 32px}}
.card{background:#fff;border:1px solid #dde4f7;border-radius:14px;padding:16px;margin-bottom:14px}
.grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.saldo{background:#0554ee;color:#fff;border-radius:14px;padding:20px;margin-bottom:12px}.saldo strong{display:block;font-size:34px;line-height:1.25}
.num{font-size:21px;font-weight:700}
.muted{color:#47558c;font-size:13px}.center{text-align:center;padding:40px 16px}
label{display:block;font-weight:600;font-size:14px;margin:10px 0 4px}
input[type=text],input[type=password],input[type=date],input[type=datetime-local],input[type=url],input[type=file],select{width:100%;min-height:44px;border:1px solid #aab6dc;border-radius:10px;padding:8px 12px;background:#fff}
input[type=color]{width:64px;height:44px;border:1px solid #aab6dc;border-radius:10px;padding:3px;background:#fff;cursor:pointer}
.check{display:flex;gap:10px;align-items:center;min-height:44px;margin:0;font-weight:400;cursor:pointer}.check input{width:20px;height:20px;flex:none}
.btn{min-height:44px;padding:0 18px;border-radius:10px;border:1px solid #aab6dc;background:#fff;font-weight:600;cursor:pointer}
.btn.main{background:#0554ee;border-color:#0554ee;color:#fff}.btn.danger{color:#a8000f;border-color:#e3a3a9;background:#fff4f5}
.btn:disabled{opacity:.55;cursor:not-allowed}
.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.item{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #e6ebfa}
.item:last-child{border:0}.item>div:first-child{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
.item .actions{margin:0}
.in{color:#006b3f;font-weight:700}.out{color:#b00014;font-weight:700}
.warn{background:#fff4dc;border:1px solid #e8c36b;border-radius:10px;padding:10px 12px;margin:10px 0}
.error{background:#ffecee;border:1px solid #e3a3a9;color:#8a000c;border-radius:10px;padding:10px 12px;margin:10px 0}
.login{max-width:420px;margin:0 auto}
.avatar{width:88px;height:88px;object-fit:cover;border-radius:50%;background:#dbe7ff}
.design{display:grid;gap:16px}@media(min-width:1180px){main.wide{max-width:1240px}.design{grid-template-columns:1fr 380px;align-items:start}.phonewrap{position:sticky;top:12px}}
.phone{display:block;width:360px;max-width:100%;height:680px;border:8px solid #0b1560;border-radius:30px;background:#fff;margin:10px auto 0}
details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700}
dialog{border:0;border-radius:16px;padding:20px;width:min(480px,calc(100vw - 24px));margin:auto;color:#0b1560;max-height:90vh;overflow:auto}
dialog::backdrop{background:rgba(8,18,70,.5)}dialog img{max-width:100%;display:block}
#msg{position:fixed;left:16px;right:16px;bottom:16px;max-width:460px;margin:auto;background:#0b1560;color:#fff;border-radius:12px;padding:12px 16px;display:none;z-index:10}
.top .btn{color:#06187c}.grid>.card{margin-bottom:0}.grid{margin-bottom:12px}

.top{gap:12px}.top b{min-width:0}.top .btn{white-space:nowrap;flex:none}
