.cashflow-view #wallet{display:block}
body.cashflow-view{background:#f5f6fa}
.cashflow-view .asset-rail{display:none}
.cashflow-view .asset-main{max-width:1180px;margin-inline:auto;padding:42px clamp(18px,4vw,44px)}
.cashflow-view .wallet-head{margin-bottom:22px}
.cashflow-view .wallet-head h1{font-size:clamp(25px,3vw,36px);font-weight:700}
.cashflow-nav{
  display:flex;align-items:center;flex-wrap:wrap;gap:0 22px;
  border-bottom:1px solid #ebecf0;margin-bottom:26px;
}
.cashflow-nav a{padding:10px 0 12px;color:#60646e;font-size:14px;font-weight:600}
.cashflow-nav a[aria-current]{color:#16171a;border-bottom:3px solid #f7a600}
.cashflow-nav #cashflow-history{margin-left:auto;color:#9e5e00}
.cashflow-layout{display:grid;align-items:start;grid-template-columns:minmax(0,1fr) minmax(270px,385px);gap:40px}
.cashflow-form{display:grid;gap:20px;min-width:0;padding:25px 28px;background:#fff;border-radius:12px}
.cashflow-tab{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-bottom:15px;border-bottom:1px solid #ebecf0;font-weight:650;
}
.cashflow-tab span{color:#6d717c;font-size:12px;font-weight:500}
.cashflow-field{display:grid;gap:8px;min-width:0}
.cashflow-field label{font-size:14px;font-weight:600}
.cashflow-field input,.cashflow-field select{min-height:46px;width:100%;min-width:0}
.cashflow-field>input,.cashflow-field>select{border-color:transparent;background:#f5f5f7}
.cashflow-field .asset-search input{min-height:38px}
.cashflow-field .button.quiet{justify-self:start;padding-inline:2px;min-height:32px;color:#9e5e00}
.cashflow-field #cashflow-memo-label{margin-top:7px}
.cashflow-asset,.cashflow-amount-control{
  display:flex;align-items:center;gap:8px;min-width:0;border:1px solid transparent;
  border-radius:8px;padding:0 11px;background:#f5f5f7;
}
.cashflow-asset:focus-within,.cashflow-amount-control:focus-within{border-color:#e8a023}
.cashflow-asset .coin{width:27px;height:27px}
.cashflow-asset select,.cashflow-amount-control input{border:0;padding-inline:0;background:transparent;box-shadow:none}
.cashflow-amount-control{padding-right:15px}
.cashflow-amount-control .button{flex:none}
#cashflow-balance{font-size:12px}
.cashflow-aside{display:grid;gap:17px;min-width:0}
.cashflow-terms{border:1px solid #e6e8eb;border-radius:10px;padding:20px;background:#fff}
.cashflow-terms h2{margin:0 0 15px;font-size:17px}
.cashflow-terms p{font-size:13px}
.cashflow-facts{margin:0;display:grid;gap:10px;font-size:13px}
.cashflow-facts>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.cashflow-facts dt{color:#696d78;flex-shrink:0}
.cashflow-facts dd{margin:0;min-width:0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.cashflow-notice{display:grid;gap:10px;padding:12px 14px;background:#fff7e9;border-radius:7px;color:#5e4b35;font-size:13px}
.cashflow-terms .cashflow-notice{margin-top:17px}
.cashflow-notice .button{width:max-content;max-width:100%}
#cashflow-reveal{background:#f7a600;border-color:#f7a600;color:#252117}
[data-kind="deposit"] .cashflow-step{position:relative;padding-left:30px}
[data-kind="deposit"] .cashflow-step::before{
  content:attr(data-step);position:absolute;top:1px;left:0;
  display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#fff0cf;color:#865600;font-size:11px;
}
#cashflow-address-area h2{font-size:14px;margin:0 0 8px;font-weight:600}
.cashflow-address-card{
  display:grid;align-items:center;grid-template-columns:96px minmax(0,1fr);gap:15px;
  border:1px solid #e6e8eb;border-radius:8px;padding:12px;
}
#cashflow-qr svg{display:block;width:96px;height:96px}
.cashflow-address-values{min-width:0;color:#636875;font-size:12px}
.cashflow-copy-line{display:flex;flex-wrap:wrap;align-items:center;gap:3px 8px}
.cashflow-copy-line code{user-select:all;color:#24252a;overflow-wrap:anywhere;font-size:12px}
.cashflow-copy-line .button{min-height:27px;color:#9e5e00;font-size:12px}
.cashflow-recent-row{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:0 5px;padding:11px 0}
.cashflow-recent-row+.cashflow-recent-row{border-top:1px solid #ebecf0}
.cashflow-recent-row small{grid-row:2;min-width:0;color:#6b707a}
.cashflow-recent-row button{grid-row:1 / 3;grid-column:2}
.cashflow-status{display:flex;align-items:center;gap:5px;white-space:nowrap}
.cashflow-status button,.cashflow-recent-row button{min-height:25px;padding:0 5px;color:#9e5e00}
#cashflow-dialog{background:#fff;color:#171719;color-scheme:light;border-color:#eeeef1;padding:0}
#cashflow-dialog .icon-button{color:#5e626d}
#cashflow-dialog .button.secondary{background:#f5f5f7;border-color:#ededef;color:#23242a}
.cashflow-dialog-content{padding:22px;display:grid;gap:18px}
.cashflow-dialog-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.cashflow-dialog-actions a{display:inline-flex;align-items:center}
.asset-actions{flex-wrap:wrap}
@media(max-width:780px){
  .cashflow-layout{grid-template-columns:minmax(0,1fr);gap:24px}
  .cashflow-view .asset-main{padding-top:23px}
}
@media(max-width:440px){
  .cashflow-view .asset-main{padding-inline:14px}
  .cashflow-nav{gap:0 12px;margin-bottom:20px}
  .cashflow-nav a{font-size:12px}
  .cashflow-address-card{grid-template-columns:75px minmax(0,1fr);gap:8px}
  #cashflow-qr svg{width:75px;height:75px}
  .cashflow-dialog-content{padding:15px}
  .cashflow-form{padding:17px 14px}
  .cashflow-facts dt{max-width:48%;flex-shrink:1}
}
