@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2") format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2") format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2") format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2") format("woff2")}

:root{
  --purple:#8a6730;
  --purple-2:#c9a45c;
  --purple-soft:#f6efe2;
  --purple-line:#c9a45c;
  --gold:#c9a45c;
  --gold-deep:#141005;
  --text:#1c1914;
  --muted:#6f675c;
  --muted-2:#948b7e;
  --line:#ebe4d6;
  --line-soft:#f3eee6;
  --bg:#f7f4ee;
  --surface:#fff;
  --surface-2:#f6f1e8;
  --surface-3:#f3eee4;
  --hover:#f6f0e6;
  --ink:#1c1914;
  --ink-2:#3d3830;
  --ink-3:#5c564c;
  --field:#fff;
  --field-border:#e2d8c6;
  --pager:#efe6d6;
  --header-h:64px;
  --side-w:248px;
  --btn:linear-gradient(135deg,#e4c98d 0%,#c9a45c 52%,#a9803e 100%);
}
html.dark{
  color-scheme:dark;
  --purple:#e4c98d;
  --purple-2:#c9a45c;
  --purple-soft:rgba(201,164,92,.16);
  --purple-line:rgba(201,164,92,.45);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.62);
  --muted-2:rgba(255,255,255,.42);
  --line:rgba(255,255,255,.08);
  --line-soft:rgba(255,255,255,.06);
  --bg:#0a0a09;
  --surface:#141412;
  --surface-2:#1b1b18;
  --surface-3:#232320;
  --hover:rgba(201,164,92,.1);
  --ink:#f4f0e6;
  --ink-2:rgba(255,255,255,.82);
  --ink-3:rgba(255,255,255,.62);
  --field:#12110f;
  --field-border:rgba(255,255,255,.14);
  --pager:rgba(201,164,92,.22);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif;font-size:14px}
h1,h2,h3,.brand-name{font-family:Unbounded,Inter,system-ui,sans-serif}
input,select,textarea{background:var(--field);color:var(--text);border-color:var(--field-border)}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
img{max-width:100%;display:block}

.topbar{
  position:fixed;top:0;left:0;right:0;z-index:50;height:var(--header-h);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 16px 0 20px;background:var(--surface);border-bottom:1px solid var(--line);
}
.topbar-left,.wallets,.top-tools{display:flex;align-items:center}
.topbar-left{gap:14px;min-width:0}
.wallets{gap:16px;margin-left:auto;color:var(--ink-2);font-size:13px;font-weight:500}
.top-tools{gap:16px;margin-left:16px;color:var(--ink-2);font-size:13px;font-weight:500}
.burger{width:40px;height:40px;color:var(--ink);cursor:pointer;background:var(--surface-3);border:1px solid var(--line);border-radius:12px;padding:0;display:none;align-items:center;justify-content:center;flex:0 0 auto}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand .logo{height:40px;width:auto;object-fit:contain}
.brand .logo-gold{display:none}
html.dark .brand .logo-dark{display:none}
html.dark .brand .logo-gold{display:block}
.brand-name{font-weight:800;font-size:13px;letter-spacing:.08em;color:var(--purple);line-height:1}
.brand-name small{display:block;margin-top:3px;font-family:Inter,system-ui,sans-serif;font-size:9px;letter-spacing:.28em;font-weight:700;color:var(--muted)}
.wallet{display:flex;align-items:center;gap:6px;min-width:0}
.wallet .ic{width:18px;height:18px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:11px}
.wallet .ic.usd,.wallet .ic.hold{background:#f5a623}
.wallet .ic.eur,.wallet .ic.avail{background:#22c55e}
.wallet .ic.hold,.wallet .ic.avail{border-radius:50%;font-size:8px}
.chip{display:flex;align-items:center;gap:6px}
.seg-switch{display:inline-flex;align-items:center;height:34px;padding:3px;gap:2px;border:1px solid var(--line);border-radius:999px;background:var(--surface-2);color:var(--ink-3);line-height:0}
.seg-switch .seg{width:28px;height:28px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;opacity:.42}
.seg-switch .seg.on{opacity:1;background:var(--surface);color:var(--purple);box-shadow:0 1px 3px rgba(20,16,5,.14)}
html.dark .seg-switch .seg.on{background:#2a261c;color:#e4c98d}
.seg-switch svg{display:block}
.seg-switch .flag{border-radius:2px}
.who{display:flex;flex-direction:column;text-align:left;line-height:1.2;border-radius:10px}
.who:hover b{color:var(--purple)}
.side-user{display:none}
.who b{display:block;font-size:13px;font-weight:600}
.who span{display:block;font-size:12px;color:var(--muted)}

.layout{padding-top:var(--header-h);min-height:100vh;display:flex}
.side{
  position:fixed;top:var(--header-h);left:0;bottom:0;width:var(--side-w);
  border-right:1px solid var(--line);background:var(--surface);padding:16px 12px 12px;
  display:flex;flex-direction:column;overflow:auto;
}
.nav{display:flex;flex-direction:column;gap:2px}
.nav a{
  display:flex;align-items:center;gap:12px;height:40px;padding:0 12px;border-radius:10px;
  color:var(--ink-2);font-weight:500;font-size:14px;
}
.nav a svg{flex:0 0 22px;width:22px;height:22px;color:var(--ink-3)}
.nav a:hover{background:var(--hover)}
.nav a.active{background:var(--purple-soft);color:var(--purple);font-weight:600}
.nav a.active svg{color:var(--purple)}

.main{margin-left:var(--side-w);flex:1;padding:22px 28px 40px;min-width:0}
h1.page{margin:0 0 18px;font-size:28px;font-weight:700;letter-spacing:-.02em}

.stats-head{display:flex;align-items:center;justify-content:space-between;margin:8px 0 18px}
.stats-head h2{margin:0;font-size:18px;font-weight:700}
.stats-tools{display:flex;align-items:center;gap:14px;color:var(--muted)}
.pills{display:flex;gap:6px}
.pills a,.pills span{
  display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:28px;padding:0 8px;
  border-radius:6px;font-size:13px;font-weight:600;color:var(--muted);
}
.pills .on{background:var(--purple-soft);color:var(--purple)}

.grid-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px 24px;margin-bottom:8px}
.stat{padding:8px 4px 4px}
.stat .k{font-size:13px;color:var(--ink-3)}
.stat .sub{font-size:12px;color:var(--muted-2);margin-top:2px}
.stat .v{font-size:28px;font-weight:700;margin:8px 0 6px;letter-spacing:-.03em}
.spark{height:54px;position:relative}
.spark svg{width:100%;height:54px;display:block}
.spark .axis{position:absolute;right:0;top:0;font-size:11px;color:var(--muted-2)}

.split{display:grid;grid-template-columns:1fr 320px;gap:28px;margin-top:18px;border-top:1px solid var(--line);padding-top:18px}
h2.sec{margin:0 0 14px;font-size:18px;font-weight:700}
.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:16px}
.tabs a{padding:0 0 10px;color:var(--muted);font-weight:600;font-size:14px;position:relative}
.tabs a.on{color:var(--purple)}
.tabs a.on:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--purple)}

.offer-row{display:grid;grid-template-columns:52px 1fr 220px 140px;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line-soft)}
.offer-row img.logo{width:52px;height:52px;border-radius:8px;object-fit:cover;background:var(--surface-3);border:1px solid var(--line)}
.offer-row .name{color:var(--purple);font-weight:600}
.offer-row .pay{font-size:13px;color:var(--ink-2)}
.offer-row .pay i{font-style:normal;color:var(--muted-2)}
.offer-row .geo{font-size:13px;color:var(--ink-2)}

.news-item{display:grid;grid-template-columns:48px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid var(--line-soft)}
.news-item img{width:48px;height:48px;border-radius:8px;object-fit:cover;background:#111}
.news-item .d{font-size:12px;color:var(--muted-2)}
.news-item .t{font-size:13px;font-weight:600;margin-top:2px;line-height:1.35}

.toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 16px}
.search{height:36px;border:1px solid var(--field-border);border-radius:8px;padding:0 12px 0 34px;min-width:220px;background:var(--field) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239ca3af' stroke-width='2'><circle cx='7' cy='7' r='5'/><path d='M11 11l3 3'/></svg>") 10px 50% no-repeat;color:var(--text)}
.select{height:36px;border:1px solid var(--field-border);border-radius:8px;padding:0 28px 0 12px;background:var(--field);color:var(--ink-2)}
.chk{display:flex;align-items:center;gap:6px;color:var(--ink-2);font-size:13px}

.table{width:100%;border-collapse:separate;border-spacing:0}
.table th{text-align:left;font-size:13px;font-weight:600;color:var(--muted);background:var(--surface-2);padding:12px 14px}
.table th:first-child{border-radius:8px 0 0 8px}
.table th:last-child{border-radius:0 8px 8px 0}
.table td{padding:16px 14px;border-bottom:1px solid var(--line-soft);vertical-align:middle}
.table .off{display:flex;align-items:center;gap:12px}
.table .off img{width:48px;height:48px;border-radius:8px;object-fit:cover;background:var(--surface-3)}
.btn-req{
  background:var(--btn);color:var(--gold-deep);border:0;border-radius:10px;height:34px;padding:0 16px;font-weight:700;cursor:pointer;
}
a.btn-req{display:inline-flex;align-items:center;text-decoration:none}
.btn-req:disabled{opacity:.45;cursor:default}
.btn-req.ok{background:#16a34a}
.offer-id{font-weight:700;font-variant-numeric:tabular-nums}
.offer-ph,.table .off img,.offer-photo{width:48px;height:48px;border-radius:8px;object-fit:cover;background:var(--surface-3);display:block}
.offer-ph{border:1px solid var(--line)}
.table.offer-list{min-width:720px}
.table.offer-list .pay{font-weight:600;white-space:nowrap}

.pager{display:flex;align-items:center;gap:6px;margin:8px 0 14px}
.pager a,.pager span:not(.results){
  min-width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:var(--surface-3);font-weight:600;font-size:13px;
}
.pager .on{background:var(--pager)}
.results{margin-left:auto;color:var(--muted);font-size:13px}

.cards{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:22px}
.card{border:1px solid var(--line);border-radius:12px;padding:16px 18px}
.card .k{color:var(--muted);font-size:13px}
.card .v{font-size:26px;font-weight:700;margin-top:8px}
.muted{color:var(--muted)}
.empty{color:var(--muted-2);padding:28px 8px;text-align:center}

.login-wrap{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;background:var(--bg);padding:max(24px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom))}
.login{
  width:min(420px,100%);background:var(--surface);border-radius:22px;padding:32px 28px 28px;border:1px solid var(--line);box-shadow:0 24px 60px -36px rgba(169,128,62,.55);
}
.login img.logo{height:72px;width:auto;margin:0 auto 8px}
.login h1{margin:8px 0 6px;font-size:22px;text-align:center}
.login p{margin:0 0 18px;color:var(--muted);text-align:center}
.login label{display:block;font-size:12px;font-weight:600;margin:0 0 6px;color:var(--ink-3)}
.login input{
  width:100%;height:46px;border:1px solid var(--field-border);border-radius:12px;padding:0 12px;margin-bottom:12px;background:var(--field);color:var(--text);font-size:16px;
}
.login button{
  width:100%;height:48px;border:0;border-radius:14px;background:var(--btn);color:var(--gold-deep);font-weight:700;cursor:pointer;margin-top:6px;
}
.err{background:#fef2f2;color:#b91c1c;border-radius:8px;padding:8px 10px;margin-bottom:12px;font-size:13px}
.switch{margin-top:14px;font-size:13px;color:#6b7280;text-align:center}
.switch a{color:var(--purple);font-weight:600}
.login-wrap .lang-switch{display:flex;width:max-content;margin:16px auto 0}

.form-row{display:flex;gap:10px;margin-bottom:10px}
.form-row input,.form-row select,.form-row textarea{
  flex:1;height:38px;border:1px solid var(--field-border);border-radius:8px;padding:8px 10px;background:var(--field);color:var(--text);
}
.form-row textarea{height:80px}
.btn{height:36px;border:0;border-radius:10px;padding:0 14px;font-weight:700;cursor:pointer;background:var(--btn);color:var(--gold-deep)}
.btn:disabled{opacity:.4;cursor:default}
.btn.ghost{background:var(--surface-3);color:var(--ink)}
a.btn{display:inline-flex;align-items:center;text-decoration:none}

.news-list{display:flex;flex-direction:column}
.news-card{display:grid;grid-template-columns:72px 1fr;gap:14px;padding:16px 0;border-bottom:1px solid var(--line-soft)}
.news-card img{width:72px;height:72px;border-radius:10px;object-fit:cover;background:#111}
.news-card .d{color:var(--muted-2);font-size:13px}
.news-card h3{margin:4px 0;font-size:16px}
.news-card p{margin:0;color:var(--ink-3)}

.badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:600;background:var(--surface-3);color:var(--ink-3)}
.badge.ok{background:#dcfce7;color:#166534}
.badge.wait{background:#fef3c7;color:#92400e}
.badge.bad{background:#fee2e2;color:#991b1b}
.tag{display:inline-block;margin-left:6px;font-size:11px;font-weight:700;color:var(--purple);background:var(--purple-soft);border-radius:4px;padding:1px 6px;vertical-align:middle}
.tag.top{color:#b45309;background:#fef3c7}
.lock{display:inline-flex;align-items:center;margin-left:8px;vertical-align:middle}
.req-form{display:flex;align-items:center}
.track{margin-top:8px;max-width:320px}
.track code{display:block;font-size:10px;color:var(--muted);word-break:break-all;background:var(--surface-2);padding:6px 8px;border-radius:6px}
.keybox{display:block;margin-top:8px;font-family:ui-monospace,Menlo,monospace;font-size:13px;background:var(--surface-2);padding:8px 10px;border-radius:8px;word-break:break-all}
.cut-form input{width:88px;height:32px;border:1px solid var(--field-border);border-radius:8px;padding:0 8px}
.amt{width:120px;height:36px;border:1px solid var(--field-border);border-radius:8px;padding:0 10px}
.chip-link{height:32px;padding:0 10px;border-radius:8px;background:var(--surface-3);font-size:13px;font-weight:600;color:var(--ink-3);display:inline-flex;align-items:center}
.chip-link.on{background:var(--purple-soft);color:var(--purple)}
.view-all{display:inline-block;margin-top:12px;color:var(--purple);font-weight:600;font-size:13px}
.pay-add{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.pay-add .select{min-width:0;flex:1}
.inline{display:flex;gap:6px;margin:0}
.logout{font-size:12px;color:var(--muted);font-weight:600;white-space:nowrap}
.prof-ok{margin:0 0 14px;padding:10px 12px;border-radius:12px;background:var(--purple-soft);color:var(--purple);font-weight:600}
.prof-err{margin:0 0 8px}
.prof-row{display:grid;grid-template-columns:minmax(150px,240px) minmax(0,1fr) auto;gap:8px 16px;align-items:start;padding:16px 0;border-bottom:1px solid var(--line-soft)}
.prof-label{grid-column:1;grid-row:1;font-weight:600;padding-top:8px}
.prof-value,.prof-edit{grid-column:2;grid-row:1}
.icon-pen,.prof-row > span{grid-column:3;grid-row:1}
.prof-hint{display:block;margin-top:4px;font-size:12px;font-weight:500;color:var(--muted)}
.prof-value{padding-top:8px;min-width:0;overflow-wrap:anywhere}
.prof-value .muted{display:block}
.prof-edit{display:none;flex-wrap:wrap;gap:8px;align-items:center}
.prof-row.editing .prof-edit{display:flex}
.prof-row.editing .prof-value,.prof-row.editing .icon-pen,.prof-row.editing .prof-add{display:none}
.prof-edit input,.prof-edit select,.prof-select{height:42px;border:1px solid var(--field-border);border-radius:12px;padding:0 12px;background:var(--field);color:var(--text)}
.prof-edit input{flex:1 1 180px;min-width:0}
.prof-edit select,.prof-select{min-width:min(100%,280px);max-width:100%}
.prof-select{width:min(100%,520px)}
.icon-pen,.prof-add{border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer}
.icon-pen{width:36px;height:36px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}
.icon-pen:hover,.prof-add:hover{background:var(--hover);color:var(--purple)}
.prof-add{border-style:dashed;border-radius:10px;padding:8px 12px;font-weight:600}
.prof-rec{display:inline-flex;align-items:center;height:22px;margin-left:8px;padding:0 8px;border-radius:999px;background:#dcfce7;color:#166534;font-size:11px;font-weight:700;vertical-align:middle}
.prof-switch{position:relative;display:inline-flex;align-items:center;gap:10px;padding-top:6px;font-weight:600}
.prof-switch input{position:absolute;opacity:0;width:44px;height:26px;margin:0;cursor:pointer}
.prof-switch i{width:44px;height:26px;border-radius:999px;background:var(--surface-3);border:1px solid var(--line);position:relative;flex:0 0 auto;pointer-events:none}
.prof-switch i:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003;transition:transform .15s}
.prof-switch input:checked + i{background:var(--btn);border-color:transparent}
.prof-switch input:checked + i:after{transform:translateX(18px)}
.prof-keys{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding-top:4px}
.prof-key{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0}
.prof-actions{display:flex;gap:8px;flex-wrap:wrap}
.table-wrap{overflow:auto;-webkit-overflow-scrolling:touch;max-width:100%}
.table-wrap .table{min-width:1100px}
.table-wrap .table.offer-list{min-width:720px}
.table-wrap th{white-space:nowrap}
.table-wrap td:first-child{white-space:nowrap}

@media (max-width:1100px){
  .burger{display:inline-flex}
  .grid-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .stat{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px 12px 8px}
  .stat .k{font-size:12px;line-height:1.35}
  .stat .v{font-size:24px;overflow-wrap:anywhere}
  .split{grid-template-columns:1fr;gap:22px}
  .cards{grid-template-columns:1fr 1fr}
  .offer-row{grid-template-columns:48px minmax(0,1fr);gap:6px 12px;align-items:start}
  .offer-row > div{min-width:0}
  .offer-row .name{overflow-wrap:anywhere}
  .offer-row .pay,.offer-row .geo{grid-column:2}
  .side{
    transform:translateX(-105%);transition:transform .22s ease;z-index:40;
    width:min(86vw,320px);
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  .nav a{height:48px;font-size:15px}
  .side-user{display:flex;flex-direction:column;gap:2px;margin:0 4px 12px;padding:12px 14px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}
  .side-user b{font-weight:700}
  .side-user span{color:var(--muted);font-size:12px}
  body.nav-open .side{transform:none;box-shadow:12px 0 40px #0008}
  body.nav-open{overflow:hidden}
  body.nav-open::before{content:"";position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:35}
  .main{margin-left:0;padding:16px 14px calc(32px + env(safe-area-inset-bottom))}
  .topbar{
    height:auto;min-height:56px;
    padding-top:env(safe-area-inset-top);
    padding-left:max(10px,env(safe-area-inset-left));
    padding-right:max(10px,env(safe-area-inset-right));
  }
  .chip,.who,.brand-name{display:none}
  .wallets{gap:10px}
  .top-tools{gap:6px;margin-left:8px}
  .wallet{font-size:12px}
  .seg-switch{height:36px}
  .seg-switch .seg{width:30px;height:30px}
  .logout{display:inline-flex;align-items:center;height:36px;padding:0 10px;border-radius:10px;border:1px solid var(--line);background:var(--surface-2)}
  .stats-head{flex-direction:column;align-items:flex-start;gap:10px}
  .stats-tools,.pills{width:100%}
  .pills{flex-wrap:wrap}
  .pills a,.pills span{min-height:36px;padding:0 10px}
  .tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;gap:16px}
  .tabs a{white-space:nowrap;flex:0 0 auto}
  .toolbar{align-items:stretch}
  .toolbar .search{min-width:0;width:100%;height:44px}
  .toolbar form{display:flex;flex-wrap:wrap;gap:8px;width:100%}
  .toolbar form .select,.toolbar > .select,form.toolbar > .select,form.toolbar > .btn{width:100%;max-width:100%;height:44px}
  .pager{flex-wrap:wrap;row-gap:8px}
  .pager .results,.toolbar .results{margin-left:0;flex-basis:100%;background:transparent;height:auto;min-width:0;font-weight:500;justify-content:flex-start}
  .table-wrap{overscroll-behavior-x:contain}
  .table-wrap{
    border:1px solid var(--line);border-radius:14px;background:var(--surface);
  }
  .table-wrap th:first-child,.table-wrap td:first-child{position:sticky;left:0;z-index:1}
  .table-wrap thead th:first-child{background:var(--surface-2);z-index:2}
  .table-wrap tbody td:first-child{background:var(--surface)}
  .news-card{grid-template-columns:64px minmax(0,1fr);gap:12px}
  .news-card h3,.news-item .t{overflow-wrap:anywhere}
  .form-row{flex-direction:column}
  .form-row input,.form-row select,.form-row textarea{width:100%;flex:none}
  .pay-add{flex-direction:column;align-items:stretch}
  .pay-add .select,.pay-add .btn,.pay-add input{width:100%}
  .card .v{font-size:22px;overflow-wrap:anywhere}
  h1.page{font-size:22px;overflow-wrap:anywhere}
  h2.sec{overflow-wrap:anywhere}
}
@media (max-width:760px){
  :root{--header-h:calc(108px + env(safe-area-inset-top))}
  .topbar{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"left tools" "money money";
    column-gap:8px;row-gap:8px;
    align-items:center;
    padding-bottom:10px;
  }
  .topbar-left{grid-area:left}
  .wallets{
    grid-area:money;margin-left:0;
    display:grid;grid-template-columns:1fr 1fr;gap:8px;
  }
  .wallet{
    justify-content:center;min-height:36px;padding:6px 8px;
    background:var(--surface-2);border:1px solid var(--line);border-radius:999px;
    font-variant-numeric:tabular-nums;
  }
  .top-tools{grid-area:tools;margin-left:0}
  .brand .logo{height:34px}
  .cards{grid-template-columns:1fr}
  input,select,textarea{font-size:16px}
}
@media (max-width:760px){
  .prof-row{grid-template-columns:minmax(0,1fr) auto}
  .prof-label{grid-column:1 / -1;grid-row:1;padding-top:0}
  .prof-value,.prof-edit{grid-column:1;grid-row:2}
  .icon-pen,.prof-row > span{grid-column:2;grid-row:2}
  .prof-edit input,.prof-edit select,.prof-select{width:100%;flex-basis:100%}
}
@media (max-width:720px){
  .table-wrap:has(table.offer-list),.table-wrap:has(table.stack){overflow:visible;border:0;background:transparent}
  .table-wrap .table.offer-list,.table-wrap .table.stack{min-width:0;width:100%}
  table.offer-list thead,table.stack thead{display:none}
  table.offer-list,table.offer-list tbody,table.stack,table.stack tbody{display:block;width:100%}
  table.offer-list tbody,table.stack tbody{display:flex;flex-direction:column;gap:12px}
  table.offer-list tr,table.stack tr{
    display:block;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface);
  }
  table.offer-list tr{
    display:grid;
    grid-template-columns:56px minmax(0,1fr);
    grid-template-areas:"photo id" "photo name" "photo pay" "photo geo" "act act";
    gap:2px 12px;align-items:center;
  }
  table.offer-list td,table.stack td{display:block;padding:0;border:0;min-width:0;white-space:normal;position:static;background:transparent}
  table.offer-list td:nth-child(1){grid-area:id}
  table.offer-list td:nth-child(2){grid-area:photo}
  table.offer-list td:nth-child(3){grid-area:name;font-weight:700;overflow-wrap:anywhere}
  table.offer-list td:nth-child(4){grid-area:geo;color:var(--muted)}
  table.offer-list td:nth-child(5){grid-area:pay;color:var(--purple);font-weight:700}
  table.offer-list td:nth-child(6){grid-area:act;padding-top:8px}
  table.offer-list .offer-photo,table.offer-list .offer-ph{width:56px;height:56px}
  table.offer-list .req-form{display:block}
  table.offer-list .btn-req{width:100%;min-height:44px;height:auto;padding:10px 12px;display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:normal;line-height:1.2}
  table.stack td{padding:8px 0;border-bottom:1px solid var(--line-soft)}
  table.stack td:last-child{border-bottom:0;padding-bottom:0}
  table.stack td::before{content:attr(data-label);display:block;margin-bottom:4px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
  table.stack td[colspan]::before{content:none}
  table.stack .inline{flex-wrap:wrap}
  table.stack .inline .amt{flex:1 1 120px;width:auto;min-width:0;height:44px}
  table.stack .inline .btn{flex:1 1 auto;height:44px}
}
@media (max-width:380px){
  .top-tools{gap:4px}
  .logout{padding:0 8px;font-size:11px}
  .brand .logo{height:30px}
}
html.dark .btn-req{background:var(--btn);color:var(--gold-deep)}
