/* RUSTOFILYA: только новые элементы баланса и финансовых страниц. */
.rf-coin { display:inline-block; width:22px; height:22px; flex:0 0 auto; object-fit:contain; vertical-align:middle; }
.header.portal-header .portal-user-cluster { display:inline-flex; align-items:center; gap:8px; min-width:0; }
.header.portal-header .portal-header-actions .portal-wallet-link {
 display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; max-width:210px;
 padding:8px 11px; border:1px solid rgba(255,117,71,.25); border-radius:11px;
 background:linear-gradient(125deg,rgba(255,117,71,.09),rgba(255,117,71,.025));
 color:#f4d6c4; font:700 12px/1.4 Arial,Helvetica,sans-serif; text-decoration:none;
 font-variant-numeric:tabular-nums; transition:border-color .2s,background .2s;
}
.header.portal-header .portal-wallet-link .rf-coin { width:24px; height:24px; }
.header.portal-header .portal-wallet-value { display:block; min-width:0; max-width:16ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.header.portal-header .portal-header-actions .portal-account-label { display:block; min-width:0; max-width:125px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.header.portal-header .portal-user-cluster .portal-profile-link { min-width:0; }
.header.portal-header .portal-wallet-link:focus-visible { outline:2px solid #ff936e; outline-offset:4px; }
.rf-wallet-amount { display:inline-flex; align-items:center; gap:10px; color:#f4f2ee; font-variant-numeric:tabular-nums; }
.rf-dashboard.rf-admin-workspace h2.rf-wallet-amount { margin:14px 0; font-size:clamp(25px,4vw,38px); line-height:1.3; letter-spacing:-.7px; overflow-wrap:anywhere; }
.rf-wallet-amount .rf-coin { width:34px; height:34px; }
.rf-dashboard.rf-admin-workspace .wf-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.rf-dashboard.rf-admin-workspace .wf-stat { padding:23px; min-width:0; }
.rf-dashboard.rf-admin-workspace .wf-stat strong { display:flex; align-items:center; gap:8px; margin:14px 0; font-size:clamp(22px,2.7vw,32px); line-height:1.3; color:#ffd0b5; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.rf-dashboard.rf-admin-workspace .wf-filter-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.rf-dashboard.rf-admin-workspace .wf-filter-grid label { min-width:0; }
.rf-dashboard.rf-admin-workspace .wf-filter-grid input,
.rf-dashboard.rf-admin-workspace .wf-filter-grid select { box-sizing:border-box; }
.rf-dashboard.rf-admin-workspace .wf-filter-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:17px; }
.rf-dashboard.rf-admin-workspace .wf-form { display:grid; gap:18px; max-width:800px; }
.rf-dashboard.rf-admin-workspace .wf-form input,
.rf-dashboard.rf-admin-workspace .wf-form textarea,
.rf-dashboard.rf-admin-workspace .wf-form select { box-sizing:border-box; }
.rf-dashboard.rf-admin-workspace .wf-form .aw-check { display:flex; align-items:flex-start; }
.rf-dashboard.rf-admin-workspace .wf-form .aw-check input { width:17px; height:17px; }
.rf-dashboard.rf-admin-workspace .wf-confirm-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; margin:20px 0; }
.rf-dashboard.rf-admin-workspace .wf-confirm-grid div { min-width:0; padding:15px; border:1px solid rgba(255,255,255,.09); border-radius:10px; background:rgba(0,0,0,.1); }
.rf-dashboard.rf-admin-workspace .wf-confirm-grid dt { color:#96979f; font-size:11px; margin-bottom:8px; }
.rf-dashboard.rf-admin-workspace .wf-confirm-grid dd { margin:0; font-size:16px; overflow-wrap:anywhere; }
.rf-dashboard.rf-admin-workspace .wf-table { min-width:1050px; }
.rf-dashboard.rf-admin-workspace .wf-table th { white-space:nowrap; }
.rf-dashboard.rf-admin-workspace .wf-table td { font-variant-numeric:tabular-nums; }
.rf-dashboard.rf-admin-workspace .wf-table .wf-plus { color:#a7d8b8; white-space:nowrap; }
.rf-dashboard.rf-admin-workspace .wf-table .wf-minus { color:#f0aaaa; white-space:nowrap; }
.rf-dashboard.rf-admin-workspace .wf-history-reason { min-width:180px; max-width:340px; white-space:pre-wrap; }
.rf-dashboard.rf-admin-workspace .wf-error { border-color:rgba(235,119,119,.35); background:rgba(235,119,119,.055); color:#efb4b4; }
.rf-dashboard.rf-admin-workspace .wf-settings-history { white-space:pre-wrap; overflow-wrap:anywhere; max-width:350px; font:11px/1.8 monospace; }
.rf-dashboard.rf-account .rf-account-wallet { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:22px; padding:26px; border-color:rgba(255,117,71,.21); background:radial-gradient(ellipse at 100% 0,rgba(255,117,71,.09),transparent 70%),#191b20; }
.rf-dashboard.rf-account .rf-account-wallet h2 { margin:8px 0; font-size:30px; letter-spacing:-.8px; }
.rf-dashboard.rf-account .rf-account-wallet .rf-wallet-amount .rf-coin { width:32px; height:32px; }
.rf-dashboard.rf-account .rf-account-wallet p { color:#96979f; font-size:12px; line-height:1.8; }
@media(hover:hover) { .header.portal-header .portal-header-actions .portal-wallet-link:hover { border-color:rgba(255,117,71,.55); background:rgba(255,117,71,.1); } }
@media(max-width:1000px) { .rf-dashboard.rf-admin-workspace .wf-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) {
 .header.portal-header .portal-header-actions { width:100%; margin-left:0; gap:8px; }
 .header.portal-header .portal-user-cluster { margin-left:auto; }
 .header.portal-header .portal-header-actions .portal-account-label { max-width:100px; }
 .rf-dashboard.rf-admin-workspace .wf-stats { grid-template-columns:1fr; }
}
@media(max-width:500px) {
 .header.portal-header .portal-header-actions .portal-wallet-link { gap:5px; min-height:39px; padding:7px 8px; border-radius:9px; font-size:11px; }
 .header.portal-header .portal-wallet-link .rf-coin { width:21px; height:21px; }
 .header.portal-header .portal-wallet-value { max-width:10ch; }
 .header.portal-header .portal-header-actions .portal-account-label { max-width:75px; }
 .header.portal-header .portal-user-cluster { gap:6px; }
 .rf-dashboard.rf-admin-workspace .wf-filter-grid,
 .rf-dashboard.rf-admin-workspace .wf-confirm-grid { grid-template-columns:1fr; }
 .rf-dashboard.rf-admin-workspace .wf-filter-actions .aw-button { flex:1; }
 .rf-dashboard.rf-account .rf-account-wallet { padding:23px; }
 .rf-dashboard.rf-account .rf-account-wallet .rf-action { width:100%; }
}
@media(prefers-reduced-motion:reduce) { .header.portal-header .portal-wallet-link { transition:none !important; } }

.rf-wallet-amount > span { color:inherit; }
