.modal-layer .gcash-modal{display:flex;width:min(670px,calc(100vw - 20px));max-height:calc(100dvh - 28px);flex-direction:column;overflow:hidden;border:1px solid #dce4ee;border-radius:13px;background:#f8fafc}.modal-layer .gcash-modal>header{display:flex;flex:none;align-items:center;justify-content:space-between;padding:17px 22px;border:0;background:#f8fafc}.modal-layer .gcash-modal>header h2{margin:0;color:#122039;font-size:18px}.modal-layer .gcash-modal>header .icon{font-size:22px}.modal-layer .gcash-modal>form{display:flex;min-height:0;flex:1;flex-direction:column;overflow:hidden;padding:0}.gcash-scroll{display:grid;gap:18px;min-height:0;overflow-y:auto;padding:0 22px 16px}.gcash-card{display:grid;gap:12px;border:1px solid #dce4ee;border-radius:11px;background:#f8fafc;padding:14px}.gcash-card h3{margin:0;color:#23314a;font-size:14px;font-weight:600}.gcash-card p,.gcash-card small,.gcash-explain{margin:0;color:#7185a3;font-size:11px;line-height:1.45}.gcash-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.gcash-switch span{display:grid;gap:3px}.gcash-switch strong{font-size:13px;font-weight:600}.gcash-switch input{position:absolute;opacity:0;width:1px;height:1px}.gcash-switch i{position:relative;width:35px;height:20px;flex:none;border-radius:20px;background:#dfe5ef}.gcash-switch i:after{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;content:"";box-shadow:0 1px 2px #0002}.gcash-switch input:checked+i{background:#366af0}.gcash-switch input:checked+i:after{left:18px}.gcash-switch input:focus-visible+i{outline:3px solid #9fb9ff}.gcash-fee-head,.gcash-fee-row{display:grid;grid-template-columns:1fr 1fr 1fr 34px;gap:8px;align-items:center}.gcash-fee-head{color:#7083a0;font-size:11px}.gcash-fee-rows{display:grid;gap:5px;max-height:220px;overflow-y:auto}.gcash-fee-row{min-height:40px;border-top:1px solid #e1e8f1}.gcash-fee-row:first-child{border-top:0}.gcash-fee-row button{height:32px;border:0;background:transparent;color:#e54b55;cursor:pointer}.gcash-modal input:not([type=checkbox]),.gcash-modal select,.gcash-modal textarea{width:100%;min-width:0;min-height:36px;border:1px solid #dce4ee;border-radius:9px;background:#fff;padding:7px 11px;color:#22344d;font:400 13px Inter,system-ui,sans-serif}.gcash-modal label:not(.gcash-switch){display:grid;gap:5px;color:#263650;font-size:11px}.gcash-two,.gcash-calculator{display:grid;grid-template-columns:1fr 1fr;gap:13px}.gcash-calculator{grid-template-columns:1fr 1fr;align-items:end}.gcash-calculator output{display:flex;min-height:36px;align-items:center;border:1px solid #dce4ee;border-radius:9px;padding:7px 11px;color:#4d6282;font-size:12px}.gcash-footer{display:flex;flex:none;justify-content:flex-end;gap:8px;background:#f8fafc;padding:10px 22px 17px}.gcash-footer button{min-height:36px;border-radius:9px;font-size:12px}.gcash-entry-fields{grid-template-columns:1fr 1fr}.gcash-entry-fields .gcash-explain,.gcash-entry-fields .gcash-full{grid-column:1/-1}.gcash-entry-fields .gcash-total{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #dce4ee;border-radius:9px;background:#fff;padding:7px 12px;color:#627594;font-size:12px}.gcash-entry-fields .gcash-total strong{color:#152a48;font-size:15px}
@media(max-width:620px){.modal-layer .gcash-modal{width:100%;max-height:calc(100dvh - 16px)}.modal-layer .gcash-modal>header{padding:15px}.gcash-scroll{padding:0 15px 14px}.gcash-two,.gcash-calculator,.gcash-entry-fields{grid-template-columns:1fr}.gcash-entry-fields .gcash-explain,.gcash-entry-fields .gcash-full{grid-column:1}.gcash-footer{padding:10px 15px 15px}.gcash-fee-head,.gcash-fee-row{grid-template-columns:1fr 1fr 1fr 26px;gap:4px}}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-summary{--gcash-summary-surface:light-dark(#fff,#152033);--gcash-summary-ink:light-dark(#14243d,#f0f5ff);--gcash-summary-muted:light-dark(#536178,#b3c0d3);--gcash-summary-border:light-dark(#e1e7f0,#354259);--gcash-transfer-fill:light-dark(#eef4ff,#1a3154);--gcash-transfer-ink:light-dark(#1c50c9,#b4cdff);--gcash-cash-fill:light-dark(#ecf8f0,#153b2c);--gcash-cash-ink:light-dark(#12633f,#aff0c9);display:grid;min-width:0;gap:6px;border:1px solid var(--gcash-summary-border);border-radius:12px;background:var(--gcash-summary-surface);padding:10px 12px;color:var(--gcash-summary-ink);font-size:13px;font-weight:400;line-height:1.35}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-summary[hidden]{display:none}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-heading,:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-title{display:flex;align-items:center;gap:7px}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-heading{justify-content:space-between}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-title{min-width:0}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-title strong{color:var(--gcash-summary-ink);font-size:13px;font-weight:600}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-icon{display:grid;width:22px;height:22px;flex:none;place-items:center;border-radius:6px;background:var(--gcash-transfer-fill);color:var(--gcash-transfer-ink)}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-icon svg{width:14px;height:14px}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-direction{flex:none;border-radius:5px;background:light-dark(#f1f4f8,#29374a);padding:2px 7px;color:var(--gcash-summary-muted);font-size:11px;font-weight:500}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-breakdown{display:grid;gap:5px;margin:0}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-breakdown dt{color:var(--gcash-summary-muted)}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-breakdown dd{min-width:0;margin:0;color:var(--gcash-summary-ink);font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-summary b{color:inherit;font-size:inherit;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-wallet-total,:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-grand-total{display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:7px;padding:5px 8px}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-wallet-total{background:var(--gcash-transfer-fill);color:var(--gcash-transfer-ink)}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-grand-total{background:var(--gcash-cash-fill);color:var(--gcash-cash-ink)}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-result-label{display:flex;min-width:0;align-items:center;gap:6px;font-weight:500}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-result-label svg{width:14px;height:14px;flex:none}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-wallet-total b{font-size:14px}
:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-grand-total b{font-size:15px}
.modal-layer :is(.cash-transaction-modal,.cash-quick-modal) .form-grid .cash-gcash-summary input[name="gcashManualFee"]{width:90px;min-height:28px;height:28px;border:1px solid var(--gcash-summary-border);border-radius:6px;background:var(--gcash-summary-surface);padding:3px 7px;color:var(--gcash-summary-ink);font:550 13px Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;text-align:right}
@media(max-width:520px){:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-summary{padding:10px}:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-wallet-total,:is(.cash-transaction-modal,.cash-quick-modal) .cash-gcash-grand-total{padding:5px 7px}.modal-layer :is(.cash-transaction-modal,.cash-quick-modal) .form-grid .cash-gcash-summary input[name="gcashManualFee"]{min-height:32px;height:32px;font-size:16px}}
@layer appearance{
html[data-theme=dark] body .cash-gcash-summary{color:var(--gcash-summary-ink)!important}
html[data-theme=dark] body .cash-gcash-summary .cash-gcash-breakdown dt,html[data-theme=dark] body .cash-gcash-summary .cash-gcash-direction{color:var(--gcash-summary-muted)!important}
html[data-theme=dark] body .cash-gcash-summary .cash-gcash-wallet-total,html[data-theme=dark] body .cash-gcash-summary .cash-gcash-wallet-total b,html[data-theme=dark] body .cash-gcash-summary .cash-gcash-icon{color:var(--gcash-transfer-ink)!important}
html[data-theme=dark] body .cash-gcash-summary .cash-gcash-grand-total,html[data-theme=dark] body .cash-gcash-summary .cash-gcash-grand-total b{color:var(--gcash-cash-ink)!important}
}

.cash-quick-modal .cash-gcash-summary input[name="gcashManualFee"]{width:90px;min-height:32px;padding:3px 7px;text-align:right}
