.treasury-ledger{display:grid;grid-template-columns:1.12fr 1fr;color:var(--ink);background:var(--paper-light) url('/assets/historical/paper-grain.svg');border:1px solid #b69b62;box-shadow:0 0 0 3px #17252c,0 0 0 4px #7b6c4c}
.treasury-giving,.treasury-funding{padding:35px 38px 31px;min-width:0}
.treasury-funding{border-left:1px solid #af946348;background:#dccaa538}
.treasury-eyebrow{display:block;text-transform:uppercase;font-size:9px;letter-spacing:1px;color:#8b6e44;line-height:1.7}
.treasury-ledger h2{font:31px/1.15 var(--serif);color:#503d27;margin-top:12px}
.treasury-ledger p{font-size:12px;line-height:1.9;color:#816a4d;margin-top:13px}
.treasury-payment-tabs{display:inline-flex;flex-wrap:wrap;gap:2px;border-bottom:1px solid #aa906356;margin-top:23px}
.treasury-payment-tabs>button{min-height:37px;padding:7px 10px;font-size:11px;color:#886c48;border-bottom:2px solid transparent;line-height:1.5}
.treasury-payment-tabs>button[aria-pressed=true]{color:#6d2e37;border-color:#7c3841}
.treasury-payment-tabs>button:hover{background:#c7ae7740}
.treasury-checkout{display:flex;align-items:center;justify-content:center;gap:16px;font-size:19px;white-space:normal;text-align:center;max-width:310px;min-height:49px;margin-top:26px;padding:11px 22px;line-height:1.4}
.treasury-payment-tabs+.treasury-checkout{margin-top:17px}
.support-treasury [hidden]{display:none!important}
.treasury-support-form{margin-top:23px;max-width:440px;min-width:0}
.treasury-support-form>h3{font:25px/1.3 var(--serif);color:#503d27;margin:0 0 17px}
.treasury-support-form>fieldset{min-width:0;border:0;padding:0;margin:0}
.treasury-support-form>fieldset>label:not(.treasury-public-choice){display:block;font-size:11px;color:#735b3d;margin:16px 0 7px;line-height:1.7}
.treasury-support-form input:not([type=checkbox]),.treasury-support-form textarea{box-sizing:border-box;display:block;width:100%;border:1px solid #a9946f;background:#fbf4e1b8;color:#4e3b27;font:12px/1.8 var(--sans);padding:9px 11px;border-radius:0;min-width:0}
.treasury-support-form textarea{min-height:87px;resize:vertical}
.treasury-support-form input[aria-invalid=true]{border-color:#943e4a;outline-color:#943e4a}
.treasury-public-choice{display:flex;align-items:flex-start;gap:10px;margin-top:17px;font-size:11px;color:#614b31;line-height:1.8;cursor:pointer}
.treasury-public-choice>input{width:17px;height:17px;min-width:17px;margin:2px 0 0;accent-color:#7b2939}
.treasury-ledger #support-public-help{font-size:10px;line-height:1.8;margin-top:8px}
.treasury-customize-crest{display:flex;align-items:center;gap:10px;margin-top:16px;text-align:left;font-size:11px;color:#74323c;min-height:44px}
.treasury-customize-crest>.patron-crest{width:30px}
.treasury-support-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin-top:20px}
.treasury-support-actions>.wide-primary{font-size:16px;min-height:45px;padding:10px 17px;white-space:normal;text-align:center;line-height:1.5}
.treasury-support-actions>.text-button,.treasury-support-form>.text-button{font-size:11px;color:#765b3f;min-height:40px}
.treasury-support-form>.outline-button{display:inline-flex;gap:10px;align-items:center;white-space:normal;text-align:left;font-size:12px;line-height:1.7;padding:10px 14px;margin-top:13px}
.treasury-support-form>fieldset:disabled{opacity:.65}
.treasury-support-form :disabled{cursor:wait}
.treasury-ledger .treasury-checkout-error{color:#8b283e;font-size:11px;line-height:1.8}
.treasury-checkout-error:empty{display:none}
.treasury-ledger .treasury-automation-unavailable{border-top:1px solid #a9946f60;padding-top:13px;font-size:11px;margin-top:20px}
.treasury-checkout-status{margin-top:24px;padding-top:18px;border-top:1px solid #a9946f60}
.treasury-ledger .treasury-checkout-status>p{font-size:12px;color:#60492e;margin-top:0}
.treasury-checkout-status .outline-button{font-size:11px;min-height:41px;white-space:normal;line-height:1.6;padding:8px 13px}
.treasury-ledger .treasury-payment-note{font-size:10px;margin-top:13px;line-height:1.7}
.treasury-giving>small{display:block;font-size:9px;color:#9b815a;margin-top:5px}
.treasury-ledger .treasury-ledger-foot{grid-column:1/-1;margin:0;border-top:1px solid #af946348;padding:14px 25px;font-size:10px;text-align:center;line-height:1.8;color:#8c744f}
.treasury-funding .treasury-amount{font:36px/1.25 var(--serif);color:#4e3b27;margin-top:24px;overflow-wrap:anywhere}
.treasury-amount>span{font-size:23px;color:#98805a;white-space:nowrap}
.treasury-progress{height:9px;border:1px solid #ad9567;background:#cebd9759;margin-top:20px;overflow:hidden}
.treasury-progress>span{height:100%;display:block;background:#627849;border-right:1px solid #3c5535}
.treasury-progress-meta{display:flex;justify-content:space-between;gap:15px;margin-top:9px;font-size:10px;line-height:1.7;color:#8b744f}
.treasury-funding .treasury-updated{font-size:9px;margin-top:18px;color:#9d865e}
.treasury-funding .treasury-unpublished{font:23px/1.35 var(--serif);color:#806746;margin-top:25px;max-width:320px}
.treasury-funding .outline-button{font-size:11px;margin-top:16px}
.treasury-patrons{margin-top:28px;padding:22px 18px 18px;background:var(--navy)}
.treasury-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding-bottom:17px;border-bottom:1px solid #b99c604f}
.treasury-section-heading>h2{font:29px var(--serif);color:#e5d3aa}
.treasury-section-heading>span{font-size:11px;color:#b8ae96}
.treasury-patron-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:32px}
.treasury-patron-list>li{display:flex;align-items:flex-start;gap:15px;min-width:0;padding:23px 0;border-bottom:1px solid #b99c6033}
.patron-crest{display:block;width:47px;height:auto;flex-shrink:0;filter:drop-shadow(0 2px 2px #0003)}
.treasury-patron-copy{min-width:0;flex:1}
.treasury-patron-copy>strong{display:block;font:22px/1.3 var(--serif);color:#e3d0a8;overflow-wrap:anywhere}
.treasury-patron-origin{display:block;font:9px/1.7 var(--sans);color:#a7a591;margin-top:5px}
.treasury-patron-copy>blockquote{margin:12px 0 0;padding-left:11px;border-left:1px solid #b99c6059;color:#c6c1aa;font:12px/1.8 var(--sans);overflow-wrap:anywhere}
.treasury-patron-copy>blockquote>p{margin:0}
.treasury-funding .treasury-funding-purpose{margin-top:17px;font-size:11px}
.treasury-funding .treasury-reset{margin-top:6px;font-size:10px}
.treasury-empty{padding:24px 0 19px;font:21px/1.5 var(--serif);color:#c5b592}
.treasury-empty>span{display:block;font:11px/1.8 var(--sans);color:#9fa18f;margin-top:7px}
.treasury-patrons-note{font-size:10px;line-height:1.9;color:#a5a18b;margin-top:14px}
.treasury-heraldry{background:var(--navy);padding-inline:18px;margin-top:24px;border-top:1px solid #b99c6048;border-bottom:1px solid #b99c6048}
.treasury-heraldry>summary{cursor:pointer;position:relative;padding:19px 0;font:23px/1.4 var(--serif);color:#dac79f}
.treasury-heraldry>summary>span{font:10px var(--sans);color:#a9a28d;margin-left:15px}
.treasury-heraldry-body{display:grid;grid-template-columns:220px minmax(0,1fr);gap:40px;padding:10px 0 28px}
.treasury-personal-standard{display:flex;align-items:center;flex-direction:column;text-align:center;gap:19px;padding:26px 15px;min-width:0;color:#e3d1ac;border-right:1px solid #b99c6033}
.treasury-personal-standard>.patron-crest{width:125px}
.treasury-personal-standard>strong{font:25px/1.3 var(--serif);overflow-wrap:anywhere;max-width:100%}
.treasury-personal-standard>span{font-size:9px;color:#a79c81;text-transform:uppercase;letter-spacing:1px;margin-top:-9px}
.treasury-preview-message{margin:0;font:13px/1.8 var(--sans);color:#c6c1aa;max-width:100%;overflow-wrap:anywhere}
#treasury-preview-form{max-width:510px;min-width:0}
.treasury-form-intro{font-size:11px;color:#b1aa94;line-height:1.8;margin-bottom:16px}
.treasury-message-field{margin-top:24px}
.treasury-message-field>label{display:block;font-size:11px;line-height:1.7;color:#c4b592}
.treasury-message-field>p{font-size:10px;line-height:1.8;color:#a9a793;margin-top:5px}
.treasury-message-field>textarea{display:block;box-sizing:border-box;width:100%;min-height:95px;margin-top:10px;padding:10px 12px;border:1px solid #8c805c;color:#eee1be;background:#182a34;font:12px/1.8 var(--sans);resize:vertical}
.treasury-message-field>textarea::placeholder{color:#a39b83}
#treasury-preview-form>label,.treasury-palette>legend,.treasury-symbols>legend{display:block;font-size:11px;line-height:1.7;color:#c4b592;margin-bottom:8px}
#treasury-preview-form>input{width:100%;height:39px;padding:8px 11px;border:1px solid #8c805c;color:#eee1be;background:#182a34;font-size:12px;max-width:350px}
.treasury-palette,.treasury-symbols{border:0;padding:0;margin:19px 0 0;min-width:0}
.treasury-symbols>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.treasury-symbols button{border:1px solid transparent;min-width:48px;min-height:54px;padding:5px 8px}
.treasury-symbols button>.patron-crest{width:29px;filter:none}
.treasury-symbols button[aria-pressed=true]{border-color:#bc9d64;background:#ba9e6820}
.treasury-symbols button:hover{background:#ba9e6820}
.treasury-swatches{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;max-width:350px;padding:2px}
.treasury-swatches>button{position:relative;aspect-ratio:1;background:var(--swatch);border:1px solid #d1ba8170;min-width:0;min-height:29px}
.treasury-swatches>button[aria-pressed=true]{box-shadow:0 0 0 2px #152731,0 0 0 4px #e1c994;z-index:1}
.treasury-swatches>button[aria-pressed=true]:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:16px;text-shadow:0 1px 3px #000,1px 0 2px #000,-1px 0 2px #000}
.treasury-custom{display:flex;align-items:center;gap:10px;margin-top:14px;max-width:350px}
.treasury-custom>label{flex:1;font-size:10px;line-height:1.5;color:#c1b18f}
.treasury-custom>input[type=color]{width:36px;height:34px;padding:2px;border:1px solid #9e885b;background:#20343d;cursor:pointer;flex-shrink:0}
.treasury-custom>input[name=hex]{width:93px;height:34px;padding:5px 9px;color:#e9d8af;background:#182a34;border:1px solid #8c805c;font:12px monospace;text-transform:uppercase}
.treasury-custom>input[aria-invalid=true]{border-color:#ce7a7e;outline-color:#ce7a7e}
.treasury-request-actions{display:flex;align-items:center;flex-wrap:wrap;gap:17px;margin-top:23px}
.treasury-request-actions>button{font-size:11px;white-space:normal;min-height:37px}
.treasury-request-actions>.text-button{color:#b5aa8d;font-size:10px;padding:5px 0}
.treasury-form-status,.treasury-form-error{font-size:11px;color:#d8bc8b;line-height:1.7;margin-top:12px}
.treasury-form-status:empty{display:none}
.treasury-form-error[hidden],.treasury-copy-fallback[hidden]{display:none}
.treasury-copy-fallback{width:100%;min-height:100px;margin-top:12px;padding:9px;border:1px solid #8c805c;background:#182a34;color:#eadcb9;resize:vertical;font-size:11px}
.treasury-discord{display:inline-block;font-size:11px;line-height:1.7;color:#dcc48e;margin-top:16px}
.treasury-discord:hover{text-decoration:underline}
.treasury-local-note{font-size:10px;color:#9ea28f;line-height:1.9;margin-top:12px;max-width:410px}
.treasury-notes{display:grid;grid-template-columns:1fr 1fr;gap:45px;background:var(--navy);padding:24px 18px;margin-top:24px;margin-bottom:5px}
.treasury-notes h3{font:22px/1.3 var(--serif);color:#d9c69f}
.treasury-notes p{font-size:11px;line-height:1.9;margin-top:9px;color:#a9a794;max-width:450px}
.round-support{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 0 26px;padding:17px 0 0;border-top:1px solid #ad93623d;color:#7f6646}
.round-support strong{font:19px/1.4 var(--serif);font-weight:400;color:#6e5234}
.round-support p{font-size:10px;line-height:1.7;margin-top:3px}
.round-support>.text-button{font-size:11px;color:#783540;white-space:normal;gap:10px;text-align:left}
@media(max-width:900px){.treasury-giving,.treasury-funding{padding:28px}.treasury-ledger h2{font-size:28px}.treasury-patron-list{grid-template-columns:repeat(2,minmax(0,1fr))}.treasury-heraldry-body{grid-template-columns:180px minmax(0,1fr);gap:28px}}
@media(max-width:620px){.treasury-ledger{grid-template-columns:1fr}.treasury-giving,.treasury-funding{padding:26px}.treasury-funding{border-left:0;border-top:1px solid #af946348}.treasury-ledger h2{font-size:29px}.treasury-funding .treasury-amount{margin-top:18px}.treasury-checkout{max-width:none}.treasury-ledger .treasury-ledger-foot{padding:14px 21px;text-align:left}.treasury-section-heading{display:block}.treasury-section-heading>span{display:block;margin-top:8px}.treasury-heraldry-body{grid-template-columns:1fr;gap:8px}.treasury-personal-standard{padding:17px 10px 21px;border-right:0;border-bottom:1px solid #b99c6033;gap:14px}.treasury-personal-standard>.patron-crest{width:95px}#treasury-preview-form{max-width:none;padding-top:13px}.treasury-symbols button{min-width:41px;padding:5px}.treasury-symbols>div{gap:5px}.treasury-swatches{gap:8px}.treasury-notes{grid-template-columns:1fr;gap:22px}.treasury-heraldry>summary{font-size:22px}.treasury-heraldry>summary>span{margin-left:9px}.round-support{align-items:flex-start;gap:13px}.round-support strong{font-size:18px}.round-support>.text-button{font-size:10px;flex-shrink:0;max-width:115px;padding-top:3px}}
@media(max-width:380px){.treasury-giving,.treasury-funding{padding:23px}.treasury-patron-list{grid-template-columns:1fr}.treasury-heraldry>summary>span{display:none}.treasury-swatches{gap:7px}.treasury-swatches>button{min-height:25px}.treasury-symbols button{min-width:37px;padding-inline:4px}}
