/* BALANSIR — оформление сайта по макету FinCore\balansir_unified_prototype.html (_LayoutBz).
   Блок 1 — стили макета без изменений; блок 2 (bz-extra.css) — дополнения для страниц сайта: формы пополнения и возврата,
   выбор языка, лендинг. Цвета — только палитры макета */
:root{--nav:#171e26;--nav2:#202b35;--base:#f5f1ea;--paper:#fffdfa;--stroke:#e7e2d9;--txt:#1a1d20;--muted:#65717c;--gold:#bb934a;--gold-light:#f3e5c6;--green:#237a46;--green-bg:#e8f6e9;--blue:#1763bc;--blue-bg:#eaf2fd;--amber:#9f6d1b;--amber-bg:#fff3dc;--red:#af4541;--red-bg:#fbedeb;--shadow:0 7px 28px rgba(42,36,25,.045)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--txt);background:var(--base);font:14px/1.48 Inter,'Segoe UI',Arial,sans-serif}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7ca9e5;outline-offset:3px}.ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.ic.sm{width:16px;height:16px}.ic.lg{width:27px;height:27px}.ic.xl{width:36px;height:36px}
#app{min-height:100vh}.topbar{height:72px;background:var(--nav);color:#f7f5f0;display:flex;align-items:center;gap:30px;padding:0 31px;position:sticky;top:0;z-index:20;border-bottom:1px solid #35404c}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.mark{height:37px;width:37px;background:linear-gradient(135deg,#ebd095,#c1984c);border-radius:9px;display:grid;place-items:center;color:#1b232a}.mark svg{height:31px;width:31px}.brandname{font-size:21px;font-weight:850;letter-spacing:1px}.brandtag{font-size:12px;color:#d0c8bc;border-left:1px solid #4a5662;padding-left:16px;margin-left:4px}.publicmenu{display:flex;align-items:center;gap:28px;margin:auto;font-size:13px}.publicmenu button,.toplink{border:0;background:transparent;color:#e1e3e4;white-space:nowrap;padding:9px 0}.publicmenu button:hover,.toplink:hover{color:#e6c987}.topright{display:flex;align-items:center;gap:17px}.idpill{border:0;background:linear-gradient(115deg,#ae853d,#ecd087);border-radius:28px;color:#1d1911;display:flex;align-items:center;gap:8px;padding:10px 15px;font-weight:800;font-size:13px;white-space:nowrap}.flag{display:flex;align-items:center;justify-content:center;width:29px;height:20px;border-radius:3px;overflow:hidden;border:1px solid #737d86;flex-direction:column}.flag i{width:100%;height:33.333%;display:block;background:#fff}.flag i:nth-child(2){background:#2154b7}.flag i:nth-child(3){background:#c9353e}.langmark{border:1px solid #59636f;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;color:#e3e5e8}.layout{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:calc(100vh - 72px)}.sidebar{background:linear-gradient(155deg,#1d2833,#17212b);color:#f5f5f6;padding:30px 13px;min-height:100%;box-shadow:2px 0 8px #00000012}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:0 11px 27px}.sidebar-brand .mark{background:#fbf6ee}.sidebar-brand strong{letter-spacing:.7px;font-size:16px;display:block}.sidebar-brand small{font-size:12px;color:#d4d9df;display:block}.userblock{display:flex;align-items:center;gap:11px;margin:0 10px 21px;padding:6px 0 20px;border-bottom:1px solid #404b56}.userblock .avatar{width:43px;height:43px;background:#3c4854;border-radius:50%;display:grid;place-items:center}.userblock strong{font-size:13px}.userblock small{display:block;margin-top:4px;border-radius:20px;background:#947840;color:white;width:max-content;font-size:11px;padding:1px 9px}.sideitem{display:flex;align-items:center;gap:13px;color:#f0f2f3;border-radius:8px;padding:12px 12px;margin-bottom:4px;min-height:48px;width:100%;background:transparent;border:none;text-align:left;font-size:13.5px}.sideitem .ic{width:21px;height:21px}.sideitem.active{background:linear-gradient(100deg,#b68d43,#e5c47d);color:white;font-weight:780}.sideitem:not(.active):hover{background:#34414e}.sideitem span{flex:1}.sidehr{border:0;border-top:1px solid #404b56;margin:18px 10px 12px}.sidefoot{color:#95a1ad;font-size:11px;margin:24px 12px 0;line-height:1.6}.workspace{min-width:0;width:100%;padding:29px 31px 55px;max-width:1590px;margin:0 auto}.pagehead{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:23px}.pagehead h1{font-size:31px;letter-spacing:-.85px;line-height:1.12;margin:0 0 8px;font-weight:820}.pagehead p{color:#55616c;margin:0;font-size:14px}.demo{display:inline-flex;align-items:center;gap:7px;background:#f7eddb;border:1px solid #e9d5ad;border-radius:99px;padding:7px 12px;font-size:11px;color:#87672b;white-space:nowrap}.card{background:var(--paper);border:1px solid var(--stroke);border-radius:16px;box-shadow:var(--shadow)}.cardpad{padding:21px 23px}.card h2{font-size:19px;letter-spacing:-.35px;margin:0 0 12px;line-height:1.3}.card h3{font-size:16px;margin:0 0 10px}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.subhead{font-size:12px;text-transform:uppercase;letter-spacing:.75px;font-weight:790;color:#73808b}.sectiongap{margin-top:18px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.metric{padding:20px 19px;min-height:140px;display:flex;gap:14px;align-items:flex-start}.metric.blue{background:linear-gradient(115deg,#f2f7ff,#fffdfa)}.metric.green{background:linear-gradient(115deg,#f0faee,#fffdfa)}.metric-icon{width:56px;height:56px;border-radius:50%;background:#f9f1e4;color:#bc8e31;display:grid;place-items:center;flex:none}.metric.blue .metric-icon{background:#e5f0ff;color:#1765c2}.metric.green .metric-icon{background:#e4f7e8;color:#218746}.metric h3{font-size:13px;margin:2px 0 10px;line-height:1.35}.metric strong{font-size:26px;letter-spacing:-.8px;white-space:nowrap;display:block;line-height:1.13}.metric.green strong{color:#166b37}.metric p{font-size:12px;color:#596772;margin:9px 0 0}.mainrow{display:grid;grid-template-columns:minmax(0,1.82fr) minmax(270px,.95fr);gap:16px;margin-top:18px}.stack{display:flex;flex-direction:column;gap:16px}.between{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;padding:12px 17px;border:1px solid #d7d6d2;background:#fffdfa;color:#25292d;font-weight:700;min-height:43px;text-align:center}.btn.gold{background:linear-gradient(115deg,#b2873d,#dec078);color:white;border-color:#b28d49}.btn:hover{filter:brightness(.974)}.btn.link{background:transparent;border:0;color:#1765b3;padding:8px 0;font-size:13px}.btn.smallbtn{min-height:35px;padding:8px 12px;font-size:12px}.btn.ghost{background:#f6f2eb}.btn.wide{width:100%}.btn.greenbtn{background:#eaf7ea;color:#19713b;border-color:#cce6d3}.pill{display:inline-flex;align-items:center;gap:7px;background:#f0f0ef;padding:5px 10px;border-radius:40px;font-size:12px;font-weight:700;white-space:nowrap}.pill::before{content:'';width:8px;height:8px;border-radius:50%;background:#8f9499}.pill.ok{background:var(--green-bg);color:#25723f}.pill.ok::before{background:#389e5a}.pill.warn{background:var(--amber-bg);color:#9b6815}.pill.warn::before{background:#dda424}.pill.fail{background:var(--red-bg);color:var(--red)}.pill.fail::before{background:var(--red)}.tablewrap{width:100%;overflow:auto}.datatable{border-collapse:collapse;width:100%;font-size:13px;min-width:615px}.datatable th{background:#f3f1ed;color:#55616b;text-align:left;padding:12px 13px;font-size:12px;font-weight:700;white-space:nowrap}.datatable th:first-child{border-radius:8px 0 0 8px}.datatable th:last-child{border-radius:0 8px 8px 0}.datatable td{padding:13px;border-bottom:1px solid #efede8;white-space:nowrap}.datatable tr:last-child td{border-bottom:0}.datatable tbody tr:hover{background:#fbf7ee}.datatable tbody tr.clickrow{cursor:pointer}.datatable tbody tr.selected{background:#fcf3df}.num{font-variant-numeric:tabular-nums}.bold{font-weight:760}.anchor{color:#1666b5;font-weight:720;text-decoration:underline;text-underline-offset:3px}.anchor:hover{color:#0b447d}.tasks{display:flex;flex-direction:column;gap:8px}.task{display:flex;align-items:flex-start;gap:11px;padding:11px;border:1px solid #ebe8e1;border-radius:10px}.task .ic{color:#a8823c}.quickgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.quick{padding:16px 12px;display:flex;align-items:center;gap:11px;border:1px solid #e8e1d6;background:#fffdfa;text-align:left;border-radius:12px;font-weight:700}.quick:hover{background:#faf3e7}.quick .ic{color:#b38943;width:24px;height:24px}.statusline{display:flex;align-items:center;gap:10px;margin:10px 0;color:#3d5b45;font-weight:670}.statusline .ic{color:#218347}.balancebar{height:30px;background:#e8f4ea;display:flex;overflow:hidden;border-radius:20px;margin:18px 0 9px}.balancebar .used{background:linear-gradient(90deg,#b68d42,#d8b368);display:flex;align-items:center;justify-content:center;color:white;font-weight:850}.balancebar .free{background:linear-gradient(90deg,#3d9a62,#248649);display:flex;align-items:center;justify-content:center;color:white;font-weight:850}.balancebarlabel{display:flex;justify-content:space-between;font-size:13px;font-weight:680;gap:12px}.reserveactions{display:flex;gap:14px;margin-top:26px}.reserveactions .btn{flex:1;font-size:15px}.hint{background:#fbf7ef;border-color:#eee4d3;padding:20px 22px;color:#544b3d}.hint h3{margin:0 0 9px}.hint p{margin:0;color:#696250;font-size:13px}.hint .ic{color:#b78a3a}.panelbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px;flex-wrap:wrap}.panelbar h2{margin:0}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:17px}.tab{background:#fffdfa;border:1px solid #e3ddd3;border-radius:10px;padding:10px 19px;font-weight:750;color:#47515b}.tab.active{color:white;background:linear-gradient(115deg,#b48940,#ddbe7b);border-color:#c39d56}.detailrow{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid #efede7}.detailrow:last-child{border-bottom:0}.detailrow .value{font-weight:700;text-align:right}.detailrow .key{color:#5e6a73}.detailbadge{border-radius:12px;background:#f8f1e3;padding:14px;margin-top:16px;color:#755d31;font-size:12px}.stepper{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0}.step{background:#f6f5f1;border:1px solid #ebe6db;border-radius:13px;padding:13px 10px;display:flex;align-items:center;gap:10px;font-size:12px;min-height:72px}.step .bubble{height:31px;width:31px;flex:none;border-radius:50%;background:#eee7d6;color:#846e44;display:grid;place-items:center;font-weight:850}.step.done{background:#f0f8ee}.step.done .bubble{background:#67a66c;color:white}.step.current{border-color:#cda75f;background:#fff8e7}.step.current .bubble{background:#c4a05c;color:white}.kyc-panel{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.85fr);gap:16px}.field{display:flex;flex-direction:column;gap:6px}.field label{color:#53616e;font-weight:740;font-size:12px}.field input,.field select,.field textarea{border:1px solid #dcd9d3;border-radius:9px;background:#fff;padding:11px 12px;min-height:42px;min-width:0;color:#243039}.field textarea{min-height:94px;resize:vertical}.field input:focus,.field textarea:focus{border-color:#ba934b}.fieldrow{display:flex;align-items:end;gap:11px;flex-wrap:wrap}.fieldrow .field{flex:1;min-width:130px}.kyc-methods{display:grid;grid-template-columns:1fr 1fr;gap:18px}.method{padding:24px;min-height:300px;display:flex;flex-direction:column}.methodhead{display:flex;gap:15px;align-items:flex-start}.methodhead h2{font-size:23px;margin:2px 0 8px}.methodhead p{font-size:14px;color:#5a6872;margin:0}.method .iconbox{width:60px;height:60px;border-radius:14px;display:grid;place-items:center;background:#faf1e4;color:#ac822e;flex:none}.method .iconbox.bluebox{background:#eaf3fc;color:#1765bc}.method ul{margin:18px 0 20px;padding-left:25px;color:#4f5a64;font-size:13px}.method li{margin:8px 0}.method .btn{margin-top:auto}.webmoney-name{font-weight:850;color:#1369ba}.previewbox{border:1px dashed #d5c5a6;background:#f9f4ea;border-radius:15px;min-height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:#99752f;text-align:center;padding:18px}.successhero{border-radius:16px;border:1px solid #d3e8d2;background:linear-gradient(105deg,#ebf9ea,#fbfffa);padding:26px;display:flex;align-items:center;gap:17px}.successhero .bigok{width:57px;height:57px;background:#53a460;border-radius:50%;color:white;display:grid;place-items:center}.successhero h2{font-size:23px;margin:0 0 5px;color:#176b34}.successhero p{color:#476552;margin:0}.checklist{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkitem{padding:13px;border:1px solid #ebe7e0;border-radius:10px;display:flex;gap:9px;align-items:center;font-weight:670;font-size:13px}.checkitem .ic{color:#369a5c}.switch{height:22px;width:41px;border:0;border-radius:20px;background:#c8c8c8;padding:3px;display:flex;align-items:center;justify-content:flex-start}.switch.on{background:#38945d;justify-content:flex-end}.switch::after{content:'';display:block;width:16px;height:16px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002}.settingline{padding:16px 0;border-bottom:1px solid #eee9e1;display:flex;align-items:center;justify-content:space-between;gap:12px}.settingline:last-child{border-bottom:0}.settingline small{display:block;color:var(--muted);margin-top:5px}.reportgrid{display:grid;grid-template-columns: minmax(0,1fr) 290px;gap:17px}.reporttotals{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid #e6e2da;background:#faf9f5}.reporttotals>div{padding:17px 18px;border-right:1px solid #e6e2da}.reporttotals>div:last-child{border-right:0}.reporttotals strong{display:block;font-size:19px;margin-top:5px}.reporttotals small{color:#68727b}.summarytable{width:100%;border-collapse:collapse}.summarytable td{padding:16px 4px;border-bottom:1px solid #ece9e3}.summarytable td:last-child{text-align:right;font-weight:790}.summarytable tr:last-child{background:#eef9ed}.summarytable tr:last-child td:last-child{color:#196e37;font-size:20px}.empty{padding:34px;color:#737d84;text-align:center}.landing{max-width:1120px;margin:auto;padding:45px 27px 80px}.landing section{scroll-margin-top:90px}.landing-hero{border-radius:19px;background:linear-gradient(120deg,#202a34,#35414b);color:white;padding:55px 53px}.landing-hero h1{font-size:48px;letter-spacing:-1.2px;margin:0 0 16px}.landing-hero p{color:#d2d8dd;max-width:640px;font-size:17px}.landing-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}.landing-card{padding:25px}.landing-section{margin-top:39px}.landing-section h2{font-size:27px}.banner{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:22px}.toast{position:fixed;bottom:20px;right:22px;background:#26323b;color:#fff;padding:13px 17px;border-radius:11px;box-shadow:0 12px 40px #0004;z-index:45;max-width:450px}.overlay{position:fixed;inset:0;background:#0a111ab8;z-index:35;display:flex;align-items:center;justify-content:center;padding:17px}.dialog{width:min(560px,100%);background:#fffdfa;border-radius:18px;padding:26px;border:1px solid #e4d9c8;box-shadow:0 20px 65px #0004;max-height:92vh;overflow:auto}.dialog h2{margin:0 0 9px;font-size:25px}.dialog p{color:#5b6570}.dialogactions{display:flex;justify-content:flex-end;gap:10px;margin-top:21px}.notice{background:#f3f6fa;border:1px solid #dbe4ea;color:#4e6479;padding:12px 14px;border-radius:10px;font-size:12px}.footer{color:#77818a;font-size:11px;margin-top:30px;display:flex;justify-content:space-between;gap:15px}.progressline{height:12px;background:#f0e5d0;border-radius:9px;overflow:hidden;margin:13px 0}.progressline div{height:100%;background:#55a16d}.split{display:flex;align-items:center;justify-content:space-between;gap:20px}.webmoney-mark{display:flex;align-items:center;gap:8px}.wm-icon{width:41px;height:41px;border-radius:50%;background:#1270ca;display:grid;place-items:center;color:white;font-size:23px;font-weight:800}
@media(max-width:1370px){.publicmenu{gap:15px}.brandtag{display:none}.workspace{padding:22px}.metric{padding:16px 13px}.metric strong{font-size:23px}.topbar{gap:19px;padding:0 21px}}@media(max-width:1100px){.publicmenu{gap:11px;font-size:12px}.layout{grid-template-columns:235px minmax(0,1fr)}.metrics{gap:9px}.metric .metric-icon{width:42px;height:42px}.metric strong{font-size:21px}.mainrow,.reportgrid{grid-template-columns:1fr}.mainrow>.stack{display:grid;grid-template-columns:1fr 1fr}.brandname{font-size:18px}.workspace{padding:20px}.brandtag{display:none}}@media(max-width:850px){.publicmenu{display:none}.layout{grid-template-columns:63px minmax(0,1fr)}.sidebar{padding:18px 5px}.sidebar-brand .brandname,.sidebar-brand small,.userblock strong,.userblock small,.sideitem span,.sidefoot{display:none}.sidebar-brand{justify-content:center;padding:0 0 24px}.userblock{margin:0 0 15px;justify-content:center}.sideitem{justify-content:center;padding:12px 0}.mainrow>.stack{display:flex}.metrics{grid-template-columns:1fr}.metric{min-height:110px}.workspace{padding:17px}.pagehead h1{font-size:27px}.kyc-methods{grid-template-columns:1fr}.kyc-panel{grid-template-columns:1fr}.topbar{padding:0 14px}}@media(max-width:600px){.topbar{height:65px}.brandname{font-size:16px}.mark{width:31px;height:31px}.topright{gap:9px}.toplink,.langmark,.flag{display:none}.idpill{padding:9px;font-size:11px}.layout{min-height:calc(100vh - 65px);grid-template-columns:52px minmax(0,1fr)}.workspace{padding:16px 11px}.sidebar{padding:15px 4px}.sideitem .ic{width:20px;height:20px}.sidebar-brand .mark{width:31px;height:31px}.userblock .avatar{width:34px;height:34px}.pagehead{flex-direction:column}.demo{font-size:10px}.cardpad{padding:17px 15px}.metric strong{font-size:25px}.reserveactions{flex-direction:column}.stepper{grid-template-columns:1fr 1fr}.reporttotals{grid-template-columns:1fr}.reporttotals>div{border-bottom:1px solid #e8e1d5;border-right:0}.quickgrid{grid-template-columns:1fr}.checklist{grid-template-columns:1fr}.landing{padding:15px}.landing-hero{padding:26px}.landing-hero h1{font-size:35px}.landing-cards{grid-template-columns:1fr}.successhero{align-items:flex-start;padding:17px}.successhero h2{font-size:20px}}
@media print{.topbar,.sidebar,.demo,.tabs,.btn,.footer,.fieldrow,.toast,.overlay{display:none!important}.layout{display:block}.workspace{padding:0;max-width:none}.card{box-shadow:none;border:1px solid #ddd;break-inside:avoid}.pagehead{margin-bottom:12px}body{background:white;color:black}.reportgrid{display:block}.reportgrid>aside{display:none}.cardpad{padding:10px}}
