/* Fixed-asset funds use the same Porcelain tokens as discovery and assets. */
.funds-workspace { color:var(--ink); }
.funds-heading,.funds-pagination { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.funds-heading { margin:4px 0 24px; }
.funds-eyebrow { color:var(--blue); font-size:12px; font-weight:600; letter-spacing:.1em; }
.funds-heading h2 { margin:5px 0 6px; font-size:24px; letter-spacing:-.6px; }
.funds-heading p { margin:0; color:var(--muted); font-size:14px; }
.funds-heading .small-label { margin-left:8px; }
.funds-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:20px 0 24px; }
.funds-stat { padding:23px; min-width:0; }
.funds-stat>span { display:block; color:var(--muted); font-size:13px; }
.funds-stat strong { display:block; color:var(--ink); font-size:29px; line-height:1.3; letter-spacing:-.7px; overflow-wrap:anywhere; margin:14px 0 9px; font-variant-numeric:tabular-nums; }
.funds-stat small { display:inline-block; font-size:12px; font-weight:500; letter-spacing:0; color:var(--muted); }
.funds-stat p,.funds-policy,.funds-reserve p,.funds-requests>p,.funds-proof p,.funds-faucet p { font-size:14px; line-height:1.7; color:var(--muted); }
.funds-stat p { margin:0; }
.funds-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; margin-bottom:24px; }
.funds-form,.funds-reserve,.funds-requests,.funds-proof,.funds-empty,.funds-faucet { padding:26px; min-width:0; }
.funds-tabs { display:flex; gap:4px; padding:4px; border-radius:10px; background:var(--bg); margin-bottom:24px; }
.funds-tabs button { flex:1; min-width:0; min-height:40px; padding:9px 10px; border:0; border-radius:7px; color:var(--muted); background:transparent; font:inherit; font-size:14px; }
.funds-tabs button:hover { color:var(--blue); background:var(--blue-soft); }
.funds-tabs button.active { background:var(--paper); color:var(--blue); box-shadow:0 1px 5px #2422390a; font-weight:600; }
.funds-form h2,.funds-reserve h2,.funds-faucet h2 { font-size:18px; letter-spacing:-.3px; margin:0 0 22px; }
.funds-form label { display:block; font-size:14px; color:var(--muted); margin:15px 0 8px; }
.funds-amount { display:flex; align-items:center; gap:10px; padding:17px; background:var(--bg); border:1px solid var(--line); border-radius:10px; }
.funds-amount:focus-within { border-color:var(--blue); outline:3px solid #ae94df; outline-offset:3px; }
.funds-amount input { min-width:0; width:100%; border:0; outline:0; background:transparent; color:var(--ink); font:inherit; font-size:34px; letter-spacing:-.7px; }
.funds-amount input:focus-visible { outline:none; }
.funds-amount span { font-size:14px; color:var(--muted); }
.funds-address { width:100%; min-width:0; border:1px solid var(--line); border-radius:8px; padding:12px; color:var(--ink); background:var(--paper); font:inherit; font-size:15px; box-sizing:border-box; }
.funds-reserve dl { margin:0 0 22px; }
.funds-reserve dl div,.funds-request dl div { display:flex; justify-content:space-between; gap:16px; margin:0; padding:14px 0; font-size:14px; border-bottom:1px solid var(--line); }
.funds-reserve dt,.funds-request dt { color:var(--muted); }
.funds-reserve dd,.funds-request dd { min-width:0; margin:0; text-align:right; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.funds-reserve dl div:last-child dd { color:var(--blue); font-weight:600; }
.funds-request { padding:24px 0; border-top:1px solid var(--line); }
.funds-request strong { font-size:15px; font-weight:600; }
.funds-request small { display:block; overflow-wrap:anywhere; color:var(--muted); margin:8px 0; font-size:13px; }
.funds-request dl { margin:15px 0; }
.funds-request-actions { display:flex; flex-wrap:wrap; gap:10px; }
.funds-requests { margin-bottom:24px; }
.funds-requests .section-head { gap:12px; flex-wrap:wrap; }
.funds-requests .section-head>span { color:var(--muted); font-size:13px; }
.funds-proof summary { cursor:pointer; color:var(--ink); font-size:14px; font-weight:600; }
.funds-proof p { overflow-wrap:anywhere; }
.funds-empty { max-width:600px; margin:40px auto; text-align:center; }
.funds-empty h2 { margin:12px 0; font-size:22px; letter-spacing:-.4px; }
.funds-empty p { color:var(--muted); margin-bottom:22px; }
.funds-pagination { justify-content:flex-end; padding-top:12px; border-top:1px solid var(--line); }
.funds-columns .primary-button { margin-top:12px; }
.funds-request .outline-button { font-size:13px; padding:10px 14px; }
.funds-faucet { position:relative; border-color:#e3d8f5; background:var(--blue-soft); }
.funds-faucet h2 { color:var(--blue); margin-bottom:8px; }
.funds-faucet p { margin:8px 0 16px; }
.funds-recipient-warning { border:1px solid #e9c9a9; background:#fff5e8; color:#7b3f14; padding:14px; border-radius:8px; font-size:15px; line-height:1.6; overflow-wrap:anywhere; }
@media(max-width:1100px) { .funds-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
  .funds-columns { grid-template-columns:1fr; gap:16px; margin-bottom:16px; }
  .funds-heading { align-items:flex-start; margin-bottom:20px; }
  .funds-heading h2 { font-size:22px; }
  .funds-heading p { font-size:13px; }
  .funds-heading>.text-button { flex:none; font-size:13px; }
  .funds-stats { gap:11px; margin:16px 0; }
  .funds-stat { padding:17px; }
  .funds-stat strong { font-size:24px; }
  .funds-stat p { font-size:13px; }
  .funds-form,.funds-reserve,.funds-requests,.funds-proof,.funds-faucet { padding:20px; }
  .funds-requests { margin-bottom:16px; }
  .funds-request-actions button { min-height:42px; }
}
@media(max-width:440px) {
  .funds-heading { gap:9px; }
  .funds-heading .small-label { display:block; width:max-content; margin:6px 0 0; }
  .funds-stat { padding:15px; }
  .funds-stat strong { font-size:22px; }
  .funds-form,.funds-reserve,.funds-requests,.funds-proof,.funds-faucet { padding:18px; }
  .funds-tabs button { padding:8px 4px; font-size:13px; }
  .funds-amount input { font-size:30px; }
  .funds-reserve dl div,.funds-request dl div { gap:10px; }
  .funds-reserve dt,.funds-request dt { max-width:55%; }
}
