/* Scoped Fuji multi-vault Budget Authority interface; no global shell or radio changes. */
#budget-ops[hidden]{display:none!important}
#budget-ops{scroll-margin-top:122px}
#budget-ops .budget-headline{display:flex;gap:22px;align-items:end;justify-content:space-between;flex-wrap:wrap}
#budget-ops .budget-headline h2{max-width:750px}
#budget-ops .budget-status{padding:13px 17px;margin:18px 0;border:1px solid rgba(121,235,184,.22);background:rgba(12,30,29,.65);border-radius:13px;color:#c5f3d8;font-size:.8rem;line-height:1.6}
#budget-ops .budget-status[data-error="true"]{color:#ffc0c9;border-color:rgba(252,117,142,.35);background:rgba(56,17,30,.5)}
#budget-ops .budget-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
#budget-ops .budget-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
#budget-ops .budget-stat-grid .glass-card{padding:18px}
#budget-ops .budget-stat-grid small{color:#8395a9;font-size:.65rem;display:block;margin-bottom:8px}
#budget-ops .budget-stat-grid strong{display:block;font-size:.95rem;overflow-wrap:anywhere}
#budget-ops .budget-panel-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:14px}
#budget-ops .budget-panel{padding:24px;min-width:0}
#budget-ops h3{font-size:1rem;margin:0 0 12px}
#budget-ops .budget-wallet-copy{font-size:.72rem;color:#98b0c4;margin:0 0 13px}
#budget-ops .budget-field{display:block;font-size:.71rem;color:#b4c5d8;margin:15px 0 0}
#budget-ops .budget-field input,#budget-ops .budget-field textarea{display:block;margin-top:6px;width:100%;box-sizing:border-box;background:rgba(2,10,21,.72);border:1px solid rgba(154,192,230,.22);border-radius:10px;padding:11px 13px;color:#f1f7ff;font:inherit}
#budget-ops .budget-field textarea{min-height:75px;resize:vertical}
#budget-ops .budget-field input:focus,#budget-ops .budget-field textarea:focus{outline:2px solid rgba(105,230,205,.7);outline-offset:1px}
#budget-ops .budget-helper{font-size:.71rem;color:#8ca0b6;line-height:1.6}
#budget-ops .budget-request-card{margin-bottom:12px;padding:20px;min-width:0}
#budget-ops .budget-request-head{display:flex;justify-content:space-between;align-items:start;gap:12px}
#budget-ops .budget-state{font-size:.64rem;color:#e9d6a2;border:1px solid rgba(230,204,139,.26);padding:6px 9px;border-radius:20px}
#budget-ops .budget-state.complete{color:#9bf1bd;border-color:rgba(130,241,180,.26)}
#budget-ops .budget-request-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0}
#budget-ops .budget-request-meta>div{background:rgba(250,250,255,.035);padding:10px;border-radius:10px}
#budget-ops .budget-request-meta small{display:block;color:#8491a7;font-size:.58rem}
#budget-ops .budget-request-meta strong{display:block;margin-top:3px;font-size:.78rem}
#budget-ops .budget-request-card p{overflow-wrap:anywhere;color:#8ba0b8;font-size:.71rem;line-height:1.6}
#budget-ops .budget-request-card p b{color:#bdd0df}
#budget-ops .budget-request-card a{color:#92d8e8}
#budget-ops .budget-request-card code{font-size:.64rem;overflow-wrap:anywhere}
#budget-ops .budget-request-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
#budget-ops .budget-request-actions .button{min-height:36px}
#budget-ops .budget-empty{font-size:.82rem;color:#8ca0b7}
#budget-ops .button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1050px){#budget-ops .budget-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#budget-ops .budget-panel-grid{grid-template-columns:1fr}}
@media(max-width:600px){#budget-ops .budget-stat-grid{grid-template-columns:1fr}#budget-ops .budget-panel{padding:17px}#budget-ops .budget-request-meta{grid-template-columns:1fr}}

#budget-ops .budget-review-packet{padding:17px;border:1px solid rgba(128,219,208,.25);border-radius:13px;margin-top:16px;background:rgba(15,37,38,.36)}
#budget-ops .budget-review-packet textarea{width:100%;background:rgba(1,9,16,.65);color:#d8eff2;border:1px solid rgba(255,255,255,.13);border-radius:10px;box-sizing:border-box;padding:10px;font:12px/1.5 ui-monospace,monospace;resize:vertical}
#budget-ops #budget-last-receipt{font-size:.73rem;color:#9af0c9;text-decoration:underline}

/* Pass 35: five-vault selector, independent balances, Safe routing disclosure */
#budget-ops .budget-vault-selector{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:20px 0 14px}
#budget-ops .budget-vault-card{appearance:none;min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:10px;text-align:left;cursor:pointer;padding:16px 14px;border:1px solid rgba(166,193,226,.22);background:linear-gradient(155deg,rgba(17,27,44,.82),rgba(10,18,31,.78));border-radius:15px;color:#e3eef8;transition:border-color .16s,background .16s}
#budget-ops .budget-vault-card:hover{border-color:rgba(129,238,223,.52)}
#budget-ops .budget-vault-card:focus-visible{outline:2px solid #79dce6;outline-offset:3px}
#budget-ops .budget-vault-card.is-selected{border-color:rgba(121,239,205,.87);box-shadow:inset 0 0 0 1px rgba(121,239,205,.12);background:linear-gradient(165deg,rgba(19,51,54,.86),rgba(10,22,36,.82))}
#budget-ops .budget-vault-card:disabled{opacity:.65;cursor:wait}
#budget-ops .budget-vault-card-head{display:flex;gap:5px;flex-direction:column}
#budget-ops .budget-vault-card-head strong{font-size:.8rem;line-height:1.3}
#budget-ops .budget-vault-card-head small{font-size:.62rem;color:#9db5c9}
#budget-ops .budget-vault-amount{font-size:.91rem;font-weight:850;overflow-wrap:anywhere}
#budget-ops .budget-vault-meta,#budget-ops .budget-vault-route{font-size:.63rem;line-height:1.45;color:#97adbf;overflow-wrap:anywhere}
#budget-ops .budget-vault-route{color:#a5d3c8;margin-top:auto}
#budget-ops .budget-selected-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.7fr);gap:18px;align-items:center;padding:18px 20px;margin:0 0 14px}
#budget-ops .budget-selected-heading h3{font-size:1.15rem;margin:3px 0 8px}
#budget-ops .budget-selected-heading a{display:inline-block;max-width:100%;font-size:.67rem;color:#9dd6e2;overflow-wrap:anywhere}
#budget-ops .budget-selected-heading .budget-helper{margin:0 0 10px}
#budget-ops .budget-routing{font-size:.73rem;color:#c5d3df;line-height:1.65;border-left:2px solid rgba(130,223,207,.42);padding:10px 0 10px 14px;margin:0;overflow-wrap:anywhere}
@media(max-width:1150px){#budget-ops .budget-vault-selector{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:730px){#budget-ops .budget-vault-selector{grid-template-columns:repeat(2,minmax(0,1fr))}#budget-ops .budget-selected-heading{grid-template-columns:1fr}}
@media(max-width:420px){#budget-ops .budget-vault-selector{grid-template-columns:1fr}#budget-ops .budget-vault-card{gap:5px}}
