:root{--ink:#172033;--muted:#7d8798;--line:#e7ebf1;--paper:#fff;--wash:#f5f7fa;--green:#174d36;--green-2:#c9f47a;--green-soft:#eff8e5;--red:#e34b55;--red-soft:#fff0f0;--navy:#10192b;--shadow:0 22px 65px rgba(17,30,52,.12);--radius:22px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
*{box-sizing:border-box}html{min-width:320px;background:#f5f7fa}body{margin:0;min-height:100vh;background:linear-gradient(140deg,#f8fafc 0%,#f3f6f8 45%,#f8faf9 100%);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit}.ambient{position:fixed;pointer-events:none;border-radius:50%;filter:blur(80px);opacity:.22;z-index:0}.ambient-one{background:#d7f4ad;width:300px;height:300px;top:-190px;right:8%}.ambient-two{background:#cfe1f7;width:240px;height:240px;bottom:-150px;left:-110px}.app-shell{position:relative;z-index:1;width:min(1160px,calc(100% - 48px));margin:0 auto;padding:28px 0 118px}.loading-screen{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8390a0;gap:16px}.loading-word{font-size:13px;font-weight:650;letter-spacing:.01em}.loading-line{width:128px;height:3px;border-radius:10px;background:#e5ebed;overflow:hidden}.loading-line i{height:100%;display:block;width:45%;background:#b1df6a;border-radius:10px;animation:load 1.1s ease-in-out infinite alternate}@keyframes load{to{transform:translateX(125%)}}.brand-mark{height:44px;width:44px;background:#143d2c;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:3px;flex:none}.brand-mark span{display:block;background:#c7f36b;width:4px;border-radius:4px;transform:skewY(-22deg)}.brand-mark span:nth-child(1){height:12px}.brand-mark span:nth-child(2){height:21px}.brand-mark span:nth-child(3){height:15px;background:#fff}.loading-mark{width:46px;height:46px}.topbar{height:66px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:44px}.brand-lockup{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:0}.brand-lockup img{width:43px;height:43px;object-fit:contain;border-radius:13px;flex:none}.brand-lockup strong{display:block;font-size:16px;font-weight:780;letter-spacing:-.035em;line-height:1.1;overflow-wrap:anywhere}.brand-lockup small{display:block;color:#8590a0;font-size:11px;margin-top:5px;letter-spacing:.07em;text-transform:uppercase;font-weight:750}.top-actions{display:flex;align-items:center;gap:10px}.user-chip{display:flex;align-items:center;gap:9px;padding:7px 12px 7px 7px;background:#fff;border:1px solid var(--line);border-radius:40px;color:#435066;font-weight:700;font-size:12px}.avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e8f5d8;color:#315b22;font-size:12px;font-weight:850;text-transform:uppercase}.icon-btn{width:39px;height:39px;border-radius:13px;border:1px solid var(--line);background:#fff;color:#495569;display:grid;place-items:center;transition:.18s}.icon-btn:hover{border-color:#c6d7c1;background:#fbfff7;transform:translateY(-1px)}.icon-btn svg{width:17px;height:17px}.auth-wrap{min-height:calc(100vh - 70px);display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:70px;max-width:990px;margin:0 auto;padding:25px 0 80px}.auth-story{padding:10px 0}.auth-eyebrow,.eyebrow{color:#66805a;text-transform:uppercase;font-size:10px;letter-spacing:.15em;font-weight:850;display:flex;align-items:center;gap:8px}.eyebrow:before,.auth-eyebrow:before{content:"";width:21px;height:2px;background:#a6d85e;border-radius:4px}.auth-story h1{font-size:clamp(38px,5vw,64px);line-height:1.01;letter-spacing:-.065em;font-weight:780;margin:21px 0 18px;max-width:560px}.auth-story h1 em{font-style:normal;color:#4b8a45}.auth-story p{max-width:410px;color:#758094;line-height:1.8;font-size:14px}.auth-points{margin-top:35px;display:flex;gap:22px;flex-wrap:wrap;color:#576477;font-weight:650;font-size:12px}.auth-points span{display:flex;align-items:center;gap:8px}.tiny-check{width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#e9f5dc;color:#3a7b29;font-size:12px}.auth-card{background:rgba(255,255,255,.92);border:1px solid #e5eaf0;border-radius:26px;padding:34px;box-shadow:0 28px 90px rgba(28,42,61,.07)}.auth-card h2{margin:0;font-size:25px;letter-spacing:-.05em;font-weight:780}.auth-subtitle{margin:9px 0 25px;color:#7b8696;font-size:13px;line-height:1.6}.field{display:flex;flex-direction:column;gap:8px;margin:0 0 17px}.field label{font-size:12px;font-weight:750;color:#3e485b}.field input,.field textarea,.field select,.filter-control{width:100%;min-width:0;background:#fbfcfd;border:1px solid #e1e7ee;border-radius:12px;padding:13px 14px;outline:none;color:#192335;transition:border-color .15s,box-shadow .15s}.field input:focus,.field textarea:focus,.field select:focus,.filter-control:focus{border-color:#93bc72;box-shadow:0 0 0 3px rgba(161,213,107,.16);background:#fff}.field textarea{resize:vertical;min-height:94px;line-height:1.55}.field input::placeholder,.field textarea::placeholder{color:#a8b0bc}.field-hint{font-size:11px;color:#8a94a4;line-height:1.5;margin-top:-2px}.primary-btn,.secondary-btn,.danger-btn{border:0;border-radius:12px;padding:13px 17px;font-weight:780;transition:transform .16s,filter .16s;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;line-height:1.2}.primary-btn{background:var(--green);color:#fff;box-shadow:0 7px 18px rgba(23,77,54,.14)}.primary-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}.secondary-btn{background:#f1f4f7;border:1px solid #e4e9ef;color:#384458}.secondary-btn:hover{background:#e8edf2}.danger-btn{background:var(--red-soft);color:#bd303a;border:1px solid #ffd6d8}.full-width{width:100%}.auth-switch{text-align:center;font-size:12px;color:#7d8797;margin:21px 0 0}.text-btn{border:0;padding:0;background:none;color:#3b7b32;font-weight:800}.secure-note{display:flex;align-items:center;justify-content:center;gap:7px;color:#9aa3b0;font-size:10px;margin-top:20px}.secure-note svg{width:13px;height:13px}.dashboard-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:24px}.dashboard-heading h1{font-size:31px;letter-spacing:-.055em;line-height:1.1;margin:11px 0 8px;font-weight:780}.dashboard-heading p{margin:0;color:#828c9b;font-size:13px}.mini-date{display:flex;align-items:center;gap:8px;font-size:12px;color:#748092;font-weight:700;padding-bottom:4px;white-space:nowrap}.mini-date svg{width:15px;height:15px}.balance-card{position:relative;overflow:hidden;border-radius:24px;background:linear-gradient(117deg,#10291f 0%,#153e2c 57%,#1e5138 100%);color:#fff;min-height:240px;padding:30px 34px;margin-bottom:19px;box-shadow:0 20px 45px rgba(18,58,39,.14)}.balance-card:before{content:"";position:absolute;width:310px;height:310px;border-radius:50%;border:1px solid rgba(207,255,154,.12);right:-60px;top:-150px;box-shadow:0 0 0 28px rgba(207,255,154,.025),0 0 0 62px rgba(207,255,154,.022)}.balance-card:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(194,246,114,.11),transparent 70%);right:70px;bottom:-110px}.balance-top{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:15px}.balance-label{font-size:12px;letter-spacing:.02em;color:#c3d4c7;font-weight:650;display:flex;align-items:center;gap:9px}.balance-label span{height:7px;width:7px;border-radius:50%;background:#c7f36b;box-shadow:0 0 0 4px rgba(199,243,107,.12)}.balance-note{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#b2c7ba}.balance-amount{position:relative;z-index:1;font-size:clamp(35px,5vw,54px);letter-spacing:-.06em;line-height:1.05;font-weight:780;margin:24px 0 25px;word-break:break-word}.balance-foot{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid rgba(255,255,255,.12);padding-top:17px;color:#c0d0c5;font-size:11px}.balance-foot strong{color:#fff;font-size:12px;font-weight:750}.account-number{color:#c7f36b;font-weight:750;letter-spacing:.04em}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:44px}.stat-box{padding:18px 20px;background:rgba(255,255,255,.78);border:1px solid #e7ebf0;border-radius:17px;min-width:0}.stat-label{font-size:11px;font-weight:650;color:#8791a0;display:flex;align-items:center;gap:8px}.stat-dot{width:8px;height:8px;border-radius:3px;background:#80bc57}.stat-box.spent .stat-dot{background:#ed7a80}.stat-box.count .stat-dot{background:#8a9ab8}.stat-value{font-size:21px;font-weight:780;letter-spacing:-.045em;margin-top:13px;overflow-wrap:anywhere}.stat-foot{font-size:10px;color:#a0a8b4;margin-top:5px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:17px}.section-head h2{font-size:21px;letter-spacing:-.045em;margin:0 0 6px;font-weight:780}.section-head p{font-size:12px;color:#8791a0;margin:0}.filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:20px 0 14px}.searchbox{display:flex;align-items:center;gap:9px;flex:1 1 230px;position:relative}.searchbox svg{position:absolute;left:13px;width:16px;height:16px;color:#9da6b3;pointer-events:none}.searchbox input{padding-left:38px}.filter-control{width:auto;min-width:130px;font-size:12px;padding:11px 12px}.searchbox .filter-control{width:100%;min-width:160px}.filter-date{max-width:146px}.filter-actions{display:flex;gap:8px;margin-left:auto}.filter-btn{border:1px solid #dfe6eb;background:#fff;color:#506075;border-radius:10px;padding:10px 13px;font-size:11px;font-weight:750;white-space:nowrap}.filter-btn:hover{border-color:#a9c991;color:#275c3c}.tx-list{border-top:1px solid #e4e9ef}.tx-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:20px 2px;border-bottom:1px solid #e8edf1;align-items:center}.tx-main{display:flex;align-items:flex-start;gap:13px;min-width:0}.tx-symbol{width:41px;height:41px;border-radius:14px;display:grid;place-items:center;flex:none;font-size:19px;font-weight:500}.tx-symbol.credit{background:#e8f7dc;color:#3c8128}.tx-symbol.debit{background:#fff0ef;color:#d64b56}.tx-description{font-size:13px;font-weight:760;color:#283347;overflow-wrap:anywhere}.tx-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#8b95a4;font-size:10px;margin-top:6px}.tx-id{font-variant-numeric:tabular-nums;color:#aab2bd}.tx-bottom{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:9px;color:#8a94a2;font-size:10px}.tx-bottom b{color:#596579;font-weight:700}.proof-chip{border:1px solid #e1e7ec;background:#fff;color:#53705e;padding:5px 8px;border-radius:7px;font-size:10px;font-weight:700;display:inline-flex;align-items:center;gap:5px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.proof-chip svg{width:12px;height:12px;flex:none}.tx-right{text-align:right;min-width:160px}.tx-amount{font-size:17px;letter-spacing:-.035em;font-weight:800;white-space:nowrap}.tx-amount.credit{color:#3d8531}.tx-amount.debit{color:#d84d56}.tx-balance-caption{font-size:10px;color:#a0a8b3;margin-top:6px}.tx-balance-caption strong{color:#768194;font-weight:700}.empty-state{padding:52px 20px;text-align:center;border-bottom:1px solid #e8edf1}.empty-icon{width:54px;height:54px;margin:0 auto 16px;border-radius:18px;background:#edf5e6;color:#477e35;display:grid;place-items:center;font-size:25px}.empty-state strong{display:block;font-size:15px;letter-spacing:-.02em}.empty-state p{font-size:12px;color:#8a94a2;line-height:1.7;max-width:320px;margin:8px auto 0}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#8791a1;font-size:11px;padding:18px 0 8px}.page-actions{display:flex;gap:7px}.page-actions button{padding:9px 12px;border-radius:9px;border:1px solid #e1e7ed;background:#fff;color:#59667a;font-size:11px;font-weight:750}.page-actions button:hover{border-color:#aecba0}.floating-actions{position:fixed;z-index:4;right:max(24px,calc((100vw - 1160px)/2));bottom:25px;display:flex;align-items:center;gap:11px}.float-action{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e4eae8;border-radius:17px;padding:7px 17px 7px 8px;box-shadow:0 12px 35px rgba(18,40,30,.13);color:#2c3d35;font-size:12px;font-weight:780;transition:transform .17s,box-shadow .17s}.float-action:hover{transform:translateY(-3px);box-shadow:0 17px 42px rgba(18,40,30,.17)}.float-icon{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;color:#fff;font-size:30px;line-height:1;font-weight:400}.float-action.credit .float-icon{background:#48a83a}.float-action.debit .float-icon{background:#e4515b}.float-action.debit .float-icon span{transform:translateY(-2px)}.float-action small{display:block;font-size:9px;color:#929ca8;font-weight:650;margin-top:3px;text-align:left}.footer-note{margin-top:45px;color:#a5adb8;font-size:10px;text-align:center}.modal-backdrop{position:fixed;inset:0;z-index:20;background:rgba(12,20,33,.52);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:20px;overflow-y:auto;animation:fade-in .16s ease}@keyframes fade-in{from{opacity:0}to{opacity:1}}.modal{width:min(520px,100%);background:#fff;border:1px solid rgba(255,255,255,.6);border-radius:24px;box-shadow:0 30px 100px rgba(6,18,30,.28);overflow:hidden;max-height:calc(100vh - 40px);display:flex;flex-direction:column;animation:pop-in .18s ease}@keyframes pop-in{from{transform:translateY(8px) scale(.99);opacity:.7}to{transform:translateY(0) scale(1);opacity:1}}.modal.wide{width:min(730px,100%)}.modal-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;padding:24px 26px 17px;border-bottom:1px solid #eef1f4}.modal-kicker{text-transform:uppercase;letter-spacing:.14em;font-weight:850;font-size:9px;color:#8a95a2;margin-bottom:8px}.modal-head h2{font-size:22px;letter-spacing:-.05em;margin:0;font-weight:800}.modal-head p{font-size:12px;color:#8691a0;line-height:1.6;margin:7px 0 0}.modal-close{width:32px;height:32px;border-radius:10px;border:1px solid #e8edf1;background:#fff;color:#778293;font-size:21px;line-height:1;display:grid;place-items:center;flex:none}.modal-body{padding:22px 26px;overflow-y:auto}.modal-foot{display:flex;justify-content:space-between;gap:10px;padding:16px 26px 23px;border-top:1px solid #eff2f5;background:#fcfdfd}.modal-foot .primary-btn,.modal-foot .secondary-btn{min-width:130px}.amount-field{position:relative}.amount-field .naira-prefix{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:14px;font-weight:800;color:#829080;pointer-events:none}.amount-field input{padding-left:38px;font-size:22px;font-weight:780;letter-spacing:-.03em;height:56px;font-variant-numeric:tabular-nums}.step-line{display:flex;gap:6px;margin:0 0 23px}.step-line span{height:3px;border-radius:4px;background:#e6ebef;flex:1}.step-line span.on{background:#6ab34a}.step-line.debit span.on{background:#e4515b}.balance-hint{margin-top:-5px;margin-bottom:18px;padding:12px 13px;border-radius:12px;background:#f5f8f4;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#768474;font-size:11px}.balance-hint strong{color:#3a573c;font-size:12px}.review-panel{border:1px solid #e4e9ed;border-radius:16px;overflow:hidden;margin:4px 0 18px}.review-banner{padding:19px 20px;display:flex;align-items:center;gap:13px}.review-banner.credit{background:#edfae4;color:#28712f}.review-banner.debit{background:#fff0ef;color:#c33f4b}.review-check{height:38px;width:38px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.75);font-size:20px;font-weight:850}.review-banner small{font-size:10px;font-weight:850;display:block;text-transform:uppercase;letter-spacing:.11em;opacity:.8;margin-bottom:4px}.review-banner strong{font-size:26px;letter-spacing:-.05em;line-height:1.1;display:block}.review-lines{padding:4px 20px}.review-line{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #edf0f3;font-size:12px}.review-line:last-child{border-bottom:0}.review-line span{color:#8b95a3;flex:none}.review-line strong{text-align:right;max-width:68%;overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px;color:#354155}.review-warning{display:flex;align-items:flex-start;gap:9px;background:#fff8e9;color:#8a6b27;padding:12px 13px;border-radius:11px;font-size:11px;line-height:1.6;margin-top:14px}.review-warning b{font-weight:800}.review-proof-list{display:flex;flex-direction:column;gap:8px;padding-top:12px}.review-proof{display:flex;gap:10px;align-items:center;border:1px solid #e8edf0;background:#fbfcfd;padding:9px 10px;border-radius:10px}.review-proof-icon{height:29px;width:29px;border-radius:8px;background:#edf3ea;display:grid;place-items:center;flex:none}.review-proof-name{font-size:11px;font-weight:720;overflow-wrap:anywhere}.review-proof-size{font-size:10px;color:#929caa;margin-top:3px}.file-drop{display:block;border:1px dashed #cbd6de;border-radius:14px;background:#fafcfd;padding:18px;text-align:center;cursor:pointer;transition:.15s}.file-drop:hover{border-color:#90bc70;background:#f9fff5}.file-drop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.file-drop .drop-icon{width:36px;height:36px;background:#edf5e6;color:#4c833c;border-radius:11px;display:grid;place-items:center;margin:0 auto 9px;font-size:18px}.file-drop strong{display:block;font-size:12px}.file-drop small{display:block;font-size:10px;color:#8f9aa7;line-height:1.6;margin-top:6px}.selected-files{display:flex;flex-direction:column;gap:7px;margin-top:10px}.selected-file{display:flex;align-items:center;gap:8px;border:1px solid #e9edf0;border-radius:9px;padding:8px 9px;font-size:11px}.selected-file span{flex:1;overflow-wrap:anywhere}.selected-file button{border:0;background:#fef0f0;color:#be4b53;border-radius:7px;width:24px;height:24px;font-weight:800}.proof-preview{background:#10192b;min-height:160px;max-height:58vh;display:flex;align-items:center;justify-content:center;overflow:auto}.proof-preview img{display:block;max-width:100%;max-height:58vh;object-fit:contain}.proof-preview iframe{border:0;background:#fff;width:100%;height:58vh;min-height:300px}.proof-preview video,.proof-preview audio{max-width:100%;width:90%;max-height:55vh}.proof-preview .unpreviewable{padding:36px 20px;color:#d7e0e9;text-align:center;line-height:1.7}.proof-modal-bottom{padding:17px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.proof-modal-bottom strong{display:block;font-size:12px;overflow-wrap:anywhere}.proof-modal-bottom small{display:block;color:#919baa;font-size:10px;margin-top:5px}.toast-root{position:fixed;z-index:60;top:20px;right:20px;display:flex;flex-direction:column;gap:9px;max-width:min(360px,calc(100vw - 32px))}.toast{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border-radius:13px;color:#fff;background:#152c21;box-shadow:0 12px 35px rgba(10,25,17,.2);font-size:12px;line-height:1.5;animation:slide-in .2s ease}.toast.error{background:#a9313b}.toast-mark{width:21px;height:21px;flex:none;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center;font-weight:900}.toast strong{display:block;font-size:12px;margin-bottom:2px}@keyframes slide-in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
/* Back office */
.admin-shell{width:min(1300px,calc(100% - 48px));padding-bottom:60px}.admin-topbar{margin-bottom:28px}.admin-title h1{font-size:30px;margin:0;letter-spacing:-.055em}.admin-title p{color:#8490a0;font-size:12px;margin:7px 0 0}.admin-nav{display:flex;gap:4px;padding:5px;border:1px solid #e3e9ed;background:#fff;border-radius:13px;overflow:auto;max-width:100%;margin-bottom:25px}.admin-nav button{border:0;background:transparent;color:#738094;font-size:11px;font-weight:760;padding:11px 15px;border-radius:9px;white-space:nowrap}.admin-nav button.active{background:#163b2a;color:#fff}.admin-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:28px}.admin-stat{background:#fff;border:1px solid #e7ecf0;border-radius:16px;padding:18px 19px;min-width:0}.admin-stat span{display:block;color:#8691a0;font-size:11px;font-weight:650}.admin-stat strong{display:block;font-size:22px;letter-spacing:-.04em;margin-top:12px;overflow-wrap:anywhere}.admin-stat small{display:block;color:#9ba4b0;font-size:10px;margin-top:5px}.admin-panel{background:rgba(255,255,255,.86);border:1px solid #e4eaf0;border-radius:18px;padding:21px;margin-bottom:20px}.admin-panel-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:17px}.admin-panel-head h2{font-size:18px;letter-spacing:-.04em;margin:0}.admin-panel-head p{font-size:11px;color:#8b96a4;margin:6px 0 0}.admin-tools{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.admin-tools .searchbox{flex:1 1 220px}.table-wrap{overflow:auto;border-top:1px solid #e8edf1}.data-table{width:100%;border-collapse:collapse;min-width:760px;text-align:left}.data-table th{font-size:10px;color:#98a1ad;font-weight:800;letter-spacing:.05em;text-transform:uppercase;padding:13px 12px;background:#fbfcfd;white-space:nowrap}.data-table td{padding:15px 12px;border-top:1px solid #edf0f3;font-size:11px;color:#506075;vertical-align:middle}.data-table tbody tr:hover{background:#fcfefa}.data-table td strong{font-size:12px;color:#273347;font-weight:780}.data-table .muted{display:block;font-size:10px;color:#9aa4b1;margin-top:4px}.status-pill{font-size:9px;font-weight:850;padding:5px 8px;border-radius:6px;display:inline-block;text-transform:uppercase;letter-spacing:.05em}.status-pill.active{background:#eaf7e2;color:#4b7f36}.status-pill.suspended{background:#ffeded;color:#b5464b}.table-actions{display:flex;gap:6px;flex-wrap:wrap}.table-action{background:#fff;border:1px solid #e1e7ec;border-radius:8px;padding:7px 9px;font-size:10px;font-weight:750;color:#536277;white-space:nowrap}.table-action:hover{border-color:#a8c996;color:#285b3b}.table-action.warn{color:#c1494e;background:#fff8f8}.table-amount.credit{color:#3e8534;font-weight:800}.table-amount.debit{color:#d84b56;font-weight:800}.admin-empty{padding:35px 15px;text-align:center;color:#9aa4b1;font-size:12px}.admin-login-layout{max-width:880px;margin:35px auto;display:grid;grid-template-columns:1fr .9fr;gap:46px;align-items:center}.admin-login-layout h1{font-size:44px;letter-spacing:-.06em;line-height:1.02;margin:15px 0}.admin-login-layout p{font-size:13px;color:#7c8797;line-height:1.8}.setup-alert{background:#fff8e8;border:1px solid #f0e2b8;border-radius:12px;padding:12px 14px;color:#8c6a28;line-height:1.6;font-size:11px;margin-bottom:16px}.brand-preview-row{display:flex;gap:15px;align-items:center;margin-bottom:20px}.brand-preview-row img{width:55px;height:55px;object-fit:contain;background:#f3f6f3;border:1px solid #e7ece7;border-radius:14px;padding:6px}.brand-preview-row strong{display:block;font-size:13px}.brand-preview-row small{display:block;font-size:10px;color:#929ca8;margin-top:5px}.upload-inline{border:1px dashed #cdd8df;background:#fafcfd;border-radius:12px;padding:13px;margin-bottom:12px}.upload-inline label{display:block;color:#475469;font-size:11px;font-weight:750;margin-bottom:8px}.upload-inline input{font-size:11px;max-width:100%}.brand-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.activity-detail{display:block;max-width:350px;white-space:normal;overflow-wrap:anywhere;color:#8a95a3;font-size:10px;line-height:1.5;margin-top:4px}
@media(max-width:900px){.auth-wrap{gap:35px}.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-story h1{font-size:48px}.app-shell{width:min(100% - 34px,1160px)}}
@media(max-width:650px){.app-shell,.admin-shell{width:calc(100% - 28px);padding-top:14px}.topbar{margin-bottom:27px;height:54px}.brand-lockup img{width:38px;height:38px}.brand-lockup strong{font-size:14px}.brand-lockup small{font-size:9px}.user-chip{padding:5px 9px 5px 5px;font-size:11px}.user-chip .avatar{width:27px;height:27px}.top-actions{gap:6px}.icon-btn{width:35px;height:35px}.auth-wrap{display:block;padding:27px 0 60px;min-height:initial}.auth-story{padding:0 4px 27px}.auth-story h1{font-size:43px;max-width:440px;margin-top:16px}.auth-story p{font-size:13px;max-width:460px}.auth-points{margin-top:20px;gap:12px 18px}.auth-card{padding:24px 20px;border-radius:21px}.auth-card h2{font-size:23px}.dashboard-heading{display:block;margin-bottom:19px}.dashboard-heading h1{font-size:28px}.mini-date{margin-top:12px}.balance-card{padding:25px 22px;min-height:215px;border-radius:20px}.balance-amount{font-size:39px;margin:23px 0}.balance-foot{gap:8px}.balance-foot span{font-size:10px}.balance-foot strong{font-size:11px}.stat-grid{gap:8px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:34px}.stat-box{padding:13px 11px;border-radius:13px}.stat-label{font-size:9px;gap:5px;line-height:1.4;align-items:flex-start}.stat-dot{width:6px;height:6px;flex:none;margin-top:3px}.stat-value{font-size:15px;letter-spacing:-.04em;margin-top:10px}.stat-foot{font-size:9px;line-height:1.5}.section-head h2{font-size:19px}.section-head p{font-size:11px}.filters{gap:7px;margin:15px 0 12px}.searchbox{flex-basis:100%}.filter-control{min-width:calc(50% - 4px);flex:1;padding:11px 9px;font-size:11px}.filter-date{max-width:none}.filter-actions{width:100%;margin-left:0}.filter-actions .filter-btn{flex:1}.tx-row{padding:16px 0;gap:9px;grid-template-columns:minmax(0,1fr) auto}.tx-main{gap:9px}.tx-symbol{width:34px;height:34px;border-radius:11px;font-size:17px}.tx-description{font-size:12px;line-height:1.45}.tx-meta{font-size:9px;gap:5px;line-height:1.5}.tx-bottom{gap:6px;font-size:9px;line-height:1.6}.tx-right{min-width:100px}.tx-amount{font-size:14px}.tx-balance-caption{font-size:9px;line-height:1.5}.proof-chip{max-width:130px;font-size:9px}.floating-actions{right:14px;bottom:calc(13px + env(safe-area-inset-bottom));gap:8px}.float-action{padding:6px;border-radius:15px;gap:7px}.float-icon{width:49px;height:49px;border-radius:12px;font-size:29px}.float-action .float-copy{display:none}.footer-note{margin-top:32px}.modal-backdrop{padding:9px;align-items:flex-end}.modal{border-radius:22px;max-height:calc(100dvh - 18px);width:100%}.modal-head{padding:20px 19px 15px}.modal-head h2{font-size:20px}.modal-body{padding:18px 19px}.modal-foot{padding:13px 19px 20px;gap:8px}.modal-foot .primary-btn,.modal-foot .secondary-btn{min-width:0;flex:1;padding:12px 10px;font-size:11px}.review-banner{padding:16px}.review-banner strong{font-size:23px}.review-lines{padding:4px 15px}.review-line{font-size:11px;gap:12px}.review-line strong{font-size:11px}.balance-hint{font-size:10px}.admin-shell{padding-top:12px}.admin-topbar{margin-bottom:20px}.admin-title h1{font-size:26px}.admin-nav{margin-bottom:18px}.admin-nav button{padding:10px 12px}.admin-stat-grid{gap:8px;margin-bottom:20px}.admin-stat{padding:13px;border-radius:13px}.admin-stat span{font-size:10px}.admin-stat strong{font-size:18px;margin-top:9px}.admin-panel{padding:15px 12px;border-radius:15px}.admin-panel-head h2{font-size:16px}.admin-tools .filter-control{min-width:100px}.admin-login-layout{display:block;margin:15px auto}.admin-login-layout h1{font-size:38px}.admin-login-layout .auth-card{margin-top:25px}.brand-grid{grid-template-columns:1fr}.proof-preview iframe{height:55dvh;min-height:250px}.proof-modal-bottom{padding:14px 16px}.proof-modal-bottom .secondary-btn{padding:10px 12px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Pocket Ledger 1.1 — responsive layout, local system typography, and complete themes */
:root {
  --ink: #17251e;
  --muted: #647168;
  --line: #e0e7e2;
  --paper: #ffffff;
  --wash: #f4f7f4;
  --green: #174b32;
  --green-2: #c9f36e;
  --green-soft: #edf7e6;
  --red: #d84c55;
  --red-soft: #fff0f0;
  --navy: #111d16;
  --page: #f4f7f5;
  --surface: #ffffff;
  --surface-soft: #f8faf8;
  --field: #fbfcfb;
  --shadow: 0 18px 50px rgba(20, 40, 28, .10);
  font-family: "Aptos", "Avenir Next", "Segoe UI Variable", "Trebuchet MS", system-ui, sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-optical-sizing: auto;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf5ee;
  --muted: #a3b2a7;
  --line: #2d4033;
  --paper: #17231b;
  --wash: #111a14;
  --green: #c9f36e;
  --green-2: #c9f36e;
  --green-soft: #233827;
  --red: #ff777e;
  --red-soft: #3b2325;
  --navy: #101710;
  --page: #101710;
  --surface: #17231b;
  --surface-soft: #1d2b21;
  --field: #111a14;
  --shadow: 0 20px 55px rgba(0, 0, 0, .26);
}
* { min-width: 0; }
html, body { width: 100%; max-width: 100%; min-width: 320px; overflow-x: clip; background: var(--page); }
body { color: var(--ink); background: radial-gradient(ellipse at 85% -15%, rgba(193, 232, 161, .16), transparent 38%), var(--page); font-weight: 600; }
button, input, select, textarea { font-family: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { font-weight: 700; }
h1, h2, h3, strong, .stat-value, .admin-stat strong, .spent-hero-amount { font-weight: 760; }
#app, #hsc-app { width: 100%; min-width: 0; }
.app-shell, .admin-shell { width: min(1160px, calc(100% - 40px)); max-width: 100%; min-width: 0; padding-top: 24px; }
.ambient { pointer-events: none; }
:root[data-theme="dark"] .ambient { opacity: .08; }
.brand-lockup { flex: 1 1 auto; overflow: hidden; }
.brand-lockup strong { max-width: 100%; overflow-wrap: anywhere; font-size: 16px; letter-spacing: -.025em; }
.brand-lockup small { letter-spacing: .055em; }
.topbar { min-width: 0; gap: 12px; margin-bottom: 32px; }
.top-actions { min-width: 0; flex: 0 0 auto; gap: 7px; }
.user-chip { min-width: 0; max-width: 180px; background: var(--surface); border-color: var(--line); color: var(--ink); }
.user-chip > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn { flex: 0 0 auto; background: var(--surface); border-color: var(--line); color: var(--ink); }
.icon-btn:hover { background: var(--surface-soft); border-color: #8aa78b; }
.auth-wrap { position: relative; width: 100%; min-width: 0; }
.auth-theme-toggle, .admin-login-layout > .auth-theme-toggle { position: absolute; top: 0; right: 0; z-index: 5; }
.auth-story h1 { font-weight: 780; letter-spacing: -.045em; }
.auth-story h1 em { color: #477f39; }
.auth-card { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.auth-card h2 { letter-spacing: -.035em; }
.auth-subtitle, .auth-story p, .auth-story .auth-points, .admin-login-layout p { color: var(--muted); }
.field label, .upload-inline label { color: var(--ink); }
.field input, .field textarea, .field select, .filter-control { background: var(--field); border-color: var(--line); color: var(--ink); max-width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus, .filter-control:focus { background: var(--surface); border-color: #88b66b; }
.field input::placeholder, .field textarea::placeholder { color: #87958b; }
.primary-btn { background: #174b32; color: #fff; }
:root[data-theme="dark"] .primary-btn { background: #c9f36e; color: #16251a; box-shadow: none; }
.secondary-btn { background: var(--surface-soft); border-color: var(--line); color: var(--ink); }
.secondary-btn:hover { background: var(--wash); }
.danger-btn { background: var(--red-soft); color: var(--red); border-color: var(--line); }
.text-btn { color: #32712f; }
:root[data-theme="dark"] .text-btn { color: #c9f36e; }
.dashboard-heading { min-width: 0; align-items: flex-end; }
.dashboard-heading h1 { letter-spacing: -.04em; font-weight: 780; overflow-wrap: anywhere; }
.dashboard-heading p, .section-head p, .admin-title p { color: var(--muted); }
.mini-date { color: var(--muted); white-space: normal; text-align: right; justify-content: flex-end; }

/* Total spent is the lead figure. The remaining totals follow the active record filters. */
.spent-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(24px, 4vw, 36px); border-radius: 25px; margin: 0 0 14px; color: #f5fff5; background: linear-gradient(118deg, #12281c 0%, #17432c 57%, #22553a 100%); box-shadow: 0 18px 44px rgba(19, 58, 36, .14); }
.spent-hero::before { content: ""; position: absolute; z-index: -1; width: 290px; height: 290px; top: -155px; right: -40px; border-radius: 50%; border: 1px solid rgba(218, 255, 180, .18); box-shadow: 0 0 0 26px rgba(218, 255, 180, .035), 0 0 0 56px rgba(218, 255, 180, .025); }
.spent-hero::after { content: ""; position: absolute; z-index: -1; width: 150px; height: 150px; right: 20%; bottom: -115px; border-radius: 50%; background: rgba(201, 243, 110, .08); filter: blur(1px); }
.spent-hero-top, .spent-hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.spent-hero-label { display: flex; gap: 9px; align-items: center; color: #d0e2d3; font-size: 13px; font-weight: 750; }
.spent-hero-label span { width: 8px; height: 8px; border-radius: 3px; background: #ff8887; box-shadow: 0 0 0 5px rgba(255, 136, 135, .13); }
.spent-hero-top p { color: #b8d0be; font-size: 12px; margin: 7px 0 0; }
.spent-view-tag { border: 1px solid rgba(232, 255, 233, .2); background: rgba(255, 255, 255, .07); color: #e0efe1; padding: 7px 10px; border-radius: 9px; font-size: 10px; font-weight: 750; white-space: nowrap; }
.spent-hero-amount { position: relative; margin: 22px 0 24px; font-size: clamp(36px, 6vw, 61px); line-height: 1.04; letter-spacing: -.045em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.spent-hero-foot { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 15px; color: #c3d8c8; font-size: 11px; }
.hero-naira { color: #d4f58d; font-weight: 800; white-space: nowrap; }
.stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 38px; }
.stat-box { min-width: 0; padding: 17px 18px; border-radius: 15px; background: var(--surface); border-color: var(--line); }
.stat-label { color: var(--muted); line-height: 1.4; }
.stat-box.available .stat-dot { background: #8cbf53; }
.stat-box.received .stat-dot { background: #6ca7dc; }
.stat-box.count .stat-dot { background: #a0a9c4; }
.stat-value { color: var(--ink); font-size: clamp(16px, 1.9vw, 22px); letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-foot { color: var(--muted); line-height: 1.45; }
.section-head { min-width: 0; align-items: center; }
.section-head > div { min-width: 0; }
.section-head h2 { letter-spacing: -.025em; }
.filters, .admin-tools { min-width: 0; }
.searchbox { min-width: 0; }
.filter-control { width: 100%; min-width: 0; }
.filters > .filter-control { width: auto; flex: 0 1 150px; }
.searchbox .filter-control { min-width: 0; }
.filter-btn { background: var(--surface); color: var(--ink); border-color: var(--line); }
.filter-btn:hover { background: var(--surface-soft); }
.tx-list { border-color: var(--line); }
.tx-row { min-width: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 15px; border-bottom: 1px solid var(--line); }
.tx-main, .tx-main > div:last-child { min-width: 0; }
.tx-description { overflow-wrap: anywhere; color: var(--ink); }
.tx-meta, .tx-bottom, .tx-balance-caption { color: var(--muted); }
.tx-bottom { flex-wrap: wrap; }
.tx-bottom b, .tx-balance-caption strong { color: var(--ink); }
.proof-chip { max-width: 100%; background: var(--surface-soft); border-color: var(--line); color: var(--ink); }
.tx-right { min-width: 0; max-width: 190px; }
.tx-amount { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.empty-state { color: var(--muted); }
.empty-state strong { color: var(--ink); }
.pagination { color: var(--muted); gap: 12px; flex-wrap: wrap; }
.page-actions { flex-wrap: wrap; }
.page-actions button { background: var(--surface); border-color: var(--line); color: var(--ink); }
.footer-note { color: var(--muted); }

/* Vertically stacked floating actions with gentle movement */
.floating-actions { position: fixed; z-index: 30; right: max(18px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: stretch; gap: 11px; }
.float-action { min-width: 164px; min-height: 68px; display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 9px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; box-shadow: 0 12px 28px rgba(10, 30, 18, .2); color: white; text-align: left; backdrop-filter: blur(10px); transform: translateZ(0); animation: action-arrive .45s cubic-bezier(.2,.8,.2,1) both; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.float-action:nth-child(2) { animation-delay: .08s; }
.float-action.credit { background: linear-gradient(140deg, #174b32, #226643); }
.float-action.debit { background: linear-gradient(140deg, #a83a45, #d65059); }
.float-action:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 16px 32px rgba(10, 30, 18, .25); filter: saturate(1.08); }
.float-icon { width: 47px; height: 47px; display: grid; place-items: center; flex: 0 0 47px; border-radius: 14px; background: rgba(255,255,255,.13); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); color: #ddffad; font-size: 34px; line-height: 1; font-weight: 600; }
.float-action.debit .float-icon { color: #fff; }
.float-action.debit .float-icon span { font-size: 35px; font-weight: 500; }
.float-copy { display: block; font-size: 12px; line-height: 1.3; font-weight: 800; }
.float-action small { display: block; margin-top: 3px; color: rgba(255,255,255,.78); font-size: 10px; font-weight: 600; }
@keyframes action-arrive { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Dialogs, proof viewers, and shared elements */
.modal-backdrop { overflow-y: auto; overscroll-behavior: contain; }
.modal { max-width: 100%; background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
.modal-head, .modal-body, .modal-foot { color: var(--ink); }
.modal-head { border-color: var(--line); }
.modal-kicker { color: #79a65d; }
.modal-head p { color: var(--muted); }
.modal-close { color: var(--muted); background: var(--surface-soft); }
.modal-foot { border-color: var(--line); }
.amount-field { background: var(--surface-soft); border-color: var(--line); }
.amount-field .naira-prefix { color: var(--muted); }
.amount-field input { color: var(--ink); background: transparent; }
.balance-hint { color: var(--muted); }
.review-panel { border-color: var(--line); background: var(--surface-soft); }
.review-lines { color: var(--ink); }
.review-line { border-color: var(--line); }
.review-line span { color: var(--muted); }
.review-line strong { color: var(--ink); overflow-wrap: anywhere; }
.review-warning { background: var(--surface-soft); border-color: var(--line); color: var(--muted); }
.review-proof { background: var(--surface); border-color: var(--line); }
.review-proof-name { color: var(--ink); overflow-wrap: anywhere; }
.file-drop, .upload-inline { background: var(--surface-soft); border-color: var(--line); color: var(--ink); }
.file-drop:hover { border-color: #9ac67a; background: var(--surface); }
.file-drop strong { color: var(--ink); }
.file-drop small, .review-proof-size { color: var(--muted); }
.selected-file { background: var(--surface); border-color: var(--line); }
.selected-file button { flex: 0 0 auto; }
.proof-preview { background: #111a14; }
.proof-modal-bottom { color: var(--ink); }
.proof-modal-bottom small { color: var(--muted); }

/* Back-office surfaces share the same theme */
.admin-title h1 { letter-spacing: -.035em; }
.admin-nav { background: var(--surface); border-color: var(--line); }
.admin-nav button { color: var(--muted); }
.admin-nav button.active { background: #174b32; color: #fff; }
:root[data-theme="dark"] .admin-nav button.active { background: #c9f36e; color: #16251a; }
.admin-stat, .admin-panel { background: var(--surface); border-color: var(--line); color: var(--ink); }
.admin-stat span, .admin-stat small, .admin-panel-head p { color: var(--muted); }
.admin-stat strong, .admin-panel-head h2 { color: var(--ink); overflow-wrap: anywhere; }
.table-wrap { max-width: 100%; border-color: var(--line); }
.data-table { color: var(--ink); }
.data-table th { color: var(--muted); background: var(--surface-soft); }
.data-table td { color: var(--muted); border-color: var(--line); }
.data-table td strong { color: var(--ink); }
.data-table tbody tr:hover { background: var(--surface-soft); }
.data-table .muted { color: var(--muted); overflow-wrap: anywhere; }
.table-action { background: var(--surface); border-color: var(--line); color: var(--ink); }
.table-action.warn { background: var(--red-soft); color: var(--red); }
.status-pill.active { background: #e1f4d5; color: #326622; }
.status-pill.suspended { background: #ffdddd; color: #92272e; }
:root[data-theme="dark"] .status-pill.active { background: #28462c; color: #c9f36e; }
:root[data-theme="dark"] .status-pill.suspended { background: #4b282a; color: #ff9ca0; }
.admin-empty { color: var(--muted); }
.brand-preview-row img { background: var(--surface-soft); border-color: var(--line); }
.brand-preview-row strong { color: var(--ink); }
.brand-preview-row small { color: var(--muted); }
.setup-alert { background: #fff7df; color: #73551c; }
:root[data-theme="dark"] .setup-alert { background: #352d1d; border-color: #65502c; color: #f4d58e; }
.admin-login-layout { position: relative; }
.activity-detail { color: var(--muted); overflow-wrap: anywhere; }

:root[data-theme="dark"] body { background: radial-gradient(ellipse at 88% -10%, rgba(95, 137, 74, .10), transparent 38%), var(--page); }
:root[data-theme="dark"] .auth-eyebrow, :root[data-theme="dark"] .eyebrow { color: #b8dc9e; }
:root[data-theme="dark"] .auth-story h1 em { color: #c9f36e; }
:root[data-theme="dark"] .auth-card { background: #17231b; }
:root[data-theme="dark"] .avatar { background: #30472d; color: #d6f5a5; }
:root[data-theme="dark"] .tiny-check { background: #2b432b; color: #d0f59a; }
:root[data-theme="dark"] .spent-hero { background: linear-gradient(118deg, #19281d 0%, #213c29 57%, #264932 100%); box-shadow: 0 16px 42px rgba(0,0,0,.22); }
:root[data-theme="dark"] .stat-box { background: #17231b; }
:root[data-theme="dark"] .tx-symbol.credit { background: #263e2c; color: #c9f36e; }
:root[data-theme="dark"] .tx-symbol.debit { background: #42282b; color: #ff9297; }
:root[data-theme="dark"] .tx-amount.credit, :root[data-theme="dark"] .table-amount.credit { color: #c9f36e; }
:root[data-theme="dark"] .tx-amount.debit, :root[data-theme="dark"] .table-amount.debit { color: #ff9297; }
:root[data-theme="dark"] .danger-btn { border-color: #593035; }
:root[data-theme="dark"] .review-banner.credit { background: #233b29; border-color: #3f6540; }
:root[data-theme="dark"] .review-banner.debit { background: #40272a; border-color: #684045; }
:root[data-theme="dark"] .review-check { background: rgba(255,255,255,.09); }
:root[data-theme="dark"] .table-amount.credit { color: #c9f36e; }
:root[data-theme="dark"] .admin-panel-head, :root[data-theme="dark"] .admin-title { color: var(--ink); }
:root[data-theme="dark"] .proof-preview iframe { background: #fff; }

/* Narrow screens: avoid page-wide overflow, keep the most useful details readable. */
@media (max-width: 900px) {
  .app-shell, .admin-shell { width: calc(100% - 32px); }
  .auth-wrap { gap: 28px; }
  .auth-story h1 { font-size: clamp(36px, 5vw, 48px); }
  .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-login-layout { gap: 26px; }
}
@media (max-width: 650px) {
  .app-shell, .admin-shell { width: calc(100% - 28px); padding-top: 12px; padding-bottom: 150px; }
  .topbar { height: auto; min-height: 50px; align-items: center; gap: 8px; margin-bottom: 23px; }
  .brand-lockup { gap: 8px; }
  .brand-lockup img { width: 35px; height: 35px; }
  .brand-lockup strong { font-size: 13px; line-height: 1.2; }
  .brand-lockup small { max-width: 155px; font-size: 8px; line-height: 1.3; overflow-wrap: anywhere; }
  .top-actions { gap: 5px; }
  .user-chip { max-width: 112px; gap: 6px; padding: 4px 7px 4px 4px; font-size: 10px; }
  .user-chip .avatar { width: 25px; height: 25px; }
  .icon-btn { width: 33px; height: 33px; border-radius: 11px; }
  .icon-btn svg { width: 16px; height: 16px; }
  .auth-wrap { display: block; padding: 42px 0 45px; }
  .auth-theme-toggle, .admin-login-layout > .auth-theme-toggle { top: 0; right: 0; }
  .auth-story { padding: 0 2px 24px; }
  .auth-story .brand-lockup { max-width: calc(100% - 46px); }
  .auth-eyebrow { margin-top: 28px !important; }
  .auth-story h1 { font-size: clamp(35px, 10vw, 44px); line-height: 1.06; letter-spacing: -.04em; overflow-wrap: anywhere; }
  .auth-story p { line-height: 1.65; }
  .auth-points { gap: 10px 14px; }
  .auth-card { padding: 22px 17px; border-radius: 18px; }
  .dashboard-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .dashboard-heading h1 { font-size: 26px; }
  .mini-date { margin-top: 0; text-align: left; justify-content: flex-start; font-size: 11px; }
  .spent-hero { padding: 23px 19px; border-radius: 19px; }
  .spent-hero-top { align-items: flex-start; }
  .spent-view-tag { font-size: 9px; padding: 6px 7px; }
  .spent-hero-amount { font-size: clamp(32px, 9vw, 45px); margin: 23px 0; letter-spacing: -.04em; }
  .spent-hero-foot { align-items: flex-start; font-size: 10px; gap: 12px; }
  .spent-hero-foot span:first-child { max-width: 76%; line-height: 1.5; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 32px; }
  .stat-box { padding: 13px 12px; }
  .stat-box.count { grid-column: 1 / -1; }
  .stat-label { font-size: 10px; }
  .stat-value { font-size: clamp(15px, 4vw, 18px); margin-top: 9px; }
  .stat-foot { font-size: 10px; }
  .section-head { align-items: flex-start; }
  .section-head h2 { font-size: 19px; }
  .section-head p { max-width: 100%; line-height: 1.5; }
  .section-head > .filter-btn { flex: 0 0 auto; padding: 9px 10px; font-size: 10px; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .filters .searchbox { grid-column: 1 / -1; width: 100%; }
  .filters > .filter-control { min-width: 0; width: 100%; flex: initial; padding: 10px 9px; font-size: 11px; }
  .filters > .filter-btn { min-width: 0; }
  #custom-dates { align-items: stretch; }
  #custom-dates label { flex: 1 1 130px; min-width: 0; }
  .filter-date { width: 100%; max-width: none; }
  .tx-row { grid-template-columns: minmax(0, 1fr) minmax(78px, auto); gap: 8px; padding: 15px 0; }
  .tx-main { gap: 8px; }
  .tx-main > div:last-child { min-width: 0; }
  .tx-symbol { width: 31px; height: 31px; flex: 0 0 31px; border-radius: 10px; }
  .tx-description { font-size: 12px; line-height: 1.45; }
  .tx-meta { flex-wrap: wrap; font-size: 9px; gap: 4px; }
  .tx-bottom { gap: 5px 8px; font-size: 9px; }
  .tx-bottom span { overflow-wrap: anywhere; }
  .proof-chip { max-width: 100%; min-width: 0; padding: 6px 8px; }
  .proof-chip span { overflow: hidden; text-overflow: ellipsis; }
  .tx-right { max-width: 118px; min-width: 0; }
  .tx-amount { font-size: 13px; line-height: 1.35; }
  .tx-balance-caption { font-size: 9px; line-height: 1.5; overflow-wrap: anywhere; }
  .pagination { font-size: 10px; }
  .floating-actions { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); gap: 8px; }
  .float-action { min-width: 0; min-height: 58px; width: 58px; height: 58px; justify-content: center; padding: 5px; border-radius: 18px; }
  .float-icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; font-size: 32px; }
  .float-copy { display: none; }
  .footer-note { padding-right: 66px; }
  .modal-backdrop { padding: 8px; align-items: flex-end; }
  .modal { width: 100%; max-width: 100%; max-height: calc(100dvh - 16px); border-radius: 20px 20px 16px 16px; }
  .modal-head { padding: 18px 16px 13px; gap: 10px; }
  .modal-head h2 { font-size: 19px; overflow-wrap: anywhere; }
  .modal-head p { line-height: 1.5; }
  .modal-body { padding: 16px; overflow-wrap: anywhere; }
  .modal-foot { padding: 12px 16px max(15px, env(safe-area-inset-bottom)); gap: 8px; }
  .modal-foot .primary-btn, .modal-foot .secondary-btn { min-width: 0; flex: 1 1 0; padding: 11px 9px; font-size: 11px; }
  .review-banner { padding: 14px; }
  .review-banner strong { font-size: clamp(18px, 6vw, 24px); overflow-wrap: anywhere; }
  .review-lines { padding: 4px 11px; }
  .review-line { gap: 9px; }
  .review-line strong { max-width: 64%; }
  .proof-modal-bottom { align-items: flex-start; flex-wrap: wrap; padding: 13px 14px; }
  .proof-modal-bottom > div { min-width: 0; flex: 1 1 140px; }
  .proof-modal-bottom .secondary-btn { padding: 10px; font-size: 10px; }
  .proof-preview iframe { height: 52dvh; min-height: 230px; }
  .admin-shell { padding-bottom: 42px; }
  .admin-topbar { margin-bottom: 20px; }
  .admin-title h1 { font-size: 26px; overflow-wrap: anywhere; }
  .admin-title p { line-height: 1.5; }
  .admin-nav { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
  .admin-nav button { flex: 0 0 auto; }
  .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
  .admin-stat { padding: 13px 11px; }
  .admin-stat strong { font-size: clamp(15px, 4vw, 18px); overflow-wrap: anywhere; }
  .admin-panel { padding: 15px 12px; border-radius: 15px; }
  .admin-panel-head { align-items: flex-start; flex-wrap: wrap; }
  .admin-panel-head h2 { font-size: 16px; }
  .admin-panel-head p { line-height: 1.5; }
  .admin-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .admin-tools .searchbox { grid-column: 1 / -1; width: 100%; }
  .admin-tools .filter-control { min-width: 0; width: 100%; }
  .admin-tools > .filter-btn { min-width: 0; }
  .admin-tools .field { flex: 1 1 120px; min-width: 0; }
  .table-wrap { max-width: 100%; }
  .data-table { min-width: 720px; }
  .admin-login-layout { display: block; margin: 18px auto; padding-top: 40px; }
  .admin-login-layout h1 { font-size: clamp(34px, 9vw, 40px); overflow-wrap: anywhere; }
  .admin-login-layout .auth-card { margin-top: 24px; }
  .brand-grid { grid-template-columns: minmax(0, 1fr); }
  .upload-inline input { width: 100%; }
  .activity-detail { max-width: 240px; }
}
@media (max-width: 370px) {
  .app-shell, .admin-shell { width: calc(100% - 22px); }
  .brand-lockup small { display: none; }
  .user-chip { max-width: 86px; }
  .top-actions { gap: 4px; }
  .icon-btn { width: 30px; height: 30px; }
  .tx-row { grid-template-columns: minmax(0, 1fr) minmax(68px, auto); }
  .tx-amount { font-size: 12px; }
  .spent-hero { padding: 20px 15px; }
  .spent-hero-amount { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

:root[data-theme="light"] { color-scheme: light; }
.admin-overview-metrics .spending-focus { background: linear-gradient(118deg, #12281c, #205339); border-color: #205339; color: #f5fff5; }
.admin-overview-metrics .spending-focus span, .admin-overview-metrics .spending-focus small { color: #c7ddcb; }
.admin-overview-metrics .spending-focus strong { color: #f5fff5; font-size: clamp(22px, 2.4vw, 29px); }
@media (max-width: 650px) { .admin-overview-metrics .spending-focus { grid-column: auto; } .admin-overview-metrics .spending-focus strong { font-size: clamp(16px, 4vw, 19px); } }
