/* funds sheets (deposit, deposit-history, withdraw, withdraw-history, fundpw) — owned by the funds page owner.
   Shared rules (.sheet-card, .kv, .input, .chips, .field-msg, .notice, .result, .rows) stay in ../components.css and ../pages.css. */

/* balance card + records link at the top of the deposit / withdraw sheets */
.fd-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fd-bal{min-width:0;display:flex;flex-direction:column;gap:3px}
.fd-bal small{font-size:var(--fs-12);font-weight:600;color:var(--ink-3)}
.fd-head .lnk{flex:none;margin-right:-2px}

/* vertical rhythm between field groups */
.fd-gap{margin-top:16px}
.label.fd-gap{margin-top:18px}
.fd-card{margin-top:16px}
.fd-note{margin-top:14px}
.fd-notes{margin-top:12px}
.fd-lead{font-size:var(--fs-15);line-height:1.6;color:var(--ink-2)}

/* addresses: monospace, wrapped in full (never clipped), with a copy button */
.fd-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;letter-spacing:0;overflow-wrap:anywhere;word-break:break-all}
.fd-addr{display:flex;align-items:center;gap:6px;min-height:var(--field-h);padding:6px 4px 6px 14px;border-radius:var(--r-ctl);background:#fff;
  box-shadow:inset 0 0 0 1px var(--hairline-strong),0 1px 0 rgba(255,255,255,.8)}
.fd-addr .fd-mono{flex:1;min-width:0;font-size:var(--fs-13);font-weight:600;line-height:1.45;color:var(--ink);-webkit-user-select:all;user-select:all}
.fd-addr .fd-copy{border-radius:12px;background:var(--blue-soft);color:var(--blue)}
.fd-input-addr input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;font-size:var(--fs-16);font-weight:400;letter-spacing:0}
.fd-input-addr input::placeholder{font-family:inherit}

/* deposit quick amounts: at phone widths below 360 the three chips share the row instead of scrolling off the edge */
@media (max-width:359px){
  .sheet--deposit .chips.quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;margin-inline:0;padding-inline:0}
  .sheet--deposit .chips.quick .chip{justify-content:center;min-width:0;padding-inline:6px;white-space:nowrap}
}

/* result after a deposit order that still waits for the chain or for a manual credit */
.fd-result--wait .badge{color:#fff;background:linear-gradient(140deg,#5AA2FF,#1565F2);box-shadow:0 12px 26px -12px rgba(21,95,240,.7)}

/* history sheets */
.fd-hist-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-4px 0 2px}
.fd-hist-top .fine{min-width:0}
.fd-rec{align-items:flex-start}
.fd-rec .itile{margin-top:2px}
.fd-rec .row-title{font-variant-numeric:tabular-nums}
.fd-rec .row-sub .fd-mono{font-size:var(--fs-12)}
.fd-rec .row-end{padding-top:2px}
.fd-skel .mod{padding:8px 0;background:none;border:0;box-shadow:none}
.fd-guest{padding-top:4px}
