:root{--navy:#071b36;--blue:#0b5fc4;--blue2:#0f78e9;--red:#ed1b2f;--bg:#f4f7fb;--card:#fff;--text:#0a1830;--muted:#6d7890;--line:#dfe6f1;--green:#159a69;--amber:#d7890a;--danger:#c93546;--shadow:0 18px 60px rgba(10,28,60,.09)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}button,input,select,textarea{font:inherit}.hidden{display:none!important}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;background:linear-gradient(135deg,#061c3c 0,#0a58b7 58%,#edf5ff 58%)}.auth-panel{display:flex;flex-direction:column;justify-content:center;padding:7vw}.brand-panel{color:white}.auth-logo{width:240px;max-width:70%;background:#fff;border-radius:22px;padding:14px;box-shadow:0 18px 50px rgba(0,0,0,.18)}.brand-panel h1{font-size:clamp(2.2rem,4vw,4.8rem);line-height:1.03;max-width:780px;margin:24px 0 14px}.brand-panel p{font-size:1.08rem;line-height:1.7;color:#d5e8ff;max-width:680px}.pill,.eyebrow{font-size:.72rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.pill{display:inline-flex;align-self:flex-start;margin-top:24px;padding:9px 12px;border:1px solid #ffffff3b;border-radius:999px;background:#ffffff10}.security-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.security-strip span{padding:9px 12px;border-radius:12px;background:#ffffff12;color:#dceaff;font-size:.76rem;font-weight:800}.form-panel{align-items:center}.auth-card{width:min(440px,100%);background:white;border-radius:28px;padding:32px;box-shadow:var(--shadow)}.auth-card h2{font-size:2rem;margin:7px 0 24px}.auth-card label{display:block;font-size:.8rem;font-weight:800;margin:15px 0 7px}.auth-card input,.field{width:100%;border:1px solid var(--line);background:#f9fbff;border-radius:14px;padding:13px 14px;outline:none}.auth-card input:focus,.field:focus{border-color:#80b7f5;box-shadow:0 0 0 4px #0f78e915}.primary,.ghost,.danger-btn,.small-btn{border:0;border-radius:13px;padding:12px 15px;font-weight:850;cursor:pointer}.primary{width:100%;margin-top:18px;background:linear-gradient(135deg,var(--blue),var(--blue2));color:white;box-shadow:0 10px 22px #0b5fc42e}.ghost{background:#edf3fb;color:var(--navy)}.danger-btn{background:#fff0f2;color:var(--danger)}.small-btn{padding:8px 10px;font-size:.75rem;background:#edf3fb;color:#133d73}.hint{font-size:.78rem;color:var(--muted);line-height:1.55}.secret-box{padding:14px;margin:14px 0;background:#071b36;color:#fff;border-radius:14px;overflow:auto}.app{min-height:100vh;display:grid;grid-template-columns:272px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#071b36,#08294f);color:white;padding:20px 14px;display:flex;flex-direction:column;z-index:20}.side-brand{display:flex;gap:12px;align-items:center;padding:8px 8px 20px}.side-brand img{width:54px;height:54px;object-fit:contain;background:white;border-radius:14px;padding:5px}.side-brand b{display:block}.side-brand small{color:#8fb5e4}.sidebar nav{display:flex;flex-direction:column;gap:4px;overflow:auto}.sidebar nav button{border:0;background:transparent;color:#bcd0ea;text-align:left;border-radius:13px;padding:11px 12px;font-weight:750;cursor:pointer;display:flex;gap:11px}.sidebar nav button:hover,.sidebar nav button.active{background:#ffffff12;color:white}.side-footer{margin-top:auto;border-top:1px solid #ffffff19;padding:16px 8px 0}.side-footer #adminIdentity{font-size:.8rem;color:#c8daf0;margin-bottom:10px;word-break:break-word}.main{min-width:0}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:18px;padding:20px 28px;background:#f4f7fbeb;backdrop-filter:blur(14px);border-bottom:1px solid #e3e9f2}.topbar h1{margin:2px 0 0;font-size:1.6rem}.top-actions{margin-left:auto;display:flex;gap:10px;align-items:center}.icon-btn{border:0;background:white;border-radius:12px;width:42px;height:42px;box-shadow:0 4px 18px #12294f15;cursor:pointer}.health{font-size:.72rem;font-weight:850;padding:8px 10px;border-radius:999px;background:#e8f7f1;color:#0f7650}.health.bad{background:#fff0f2;color:#b82e40}.content{padding:10px 28px 50px}.grid{display:grid;gap:16px}.kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px}.card{background:white;border:1px solid #e7ecf4;border-radius:20px;box-shadow:0 8px 30px #10294a09;padding:18px}.kpi small{color:var(--muted);font-weight:750}.kpi strong{display:block;font-size:1.7rem;margin:9px 0}.kpi .trend{font-size:.72rem;color:var(--green)}.section-head{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:24px 0 10px}.section-head h2{font-size:1.05rem;margin:0}.toolbar{display:flex;gap:10px;flex-wrap:wrap}.toolbar .field{width:auto;min-width:180px;background:white}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px;background:white}table{width:100%;border-collapse:collapse;font-size:.82rem}th,td{padding:12px 13px;text-align:left;border-bottom:1px solid #edf1f6;white-space:nowrap}th{font-size:.68rem;letter-spacing:.07em;text-transform:uppercase;color:#778299;background:#fafcff;position:sticky;top:0}tr:hover td{background:#fbfdff}.badge{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:.66rem;font-weight:900;text-transform:uppercase;background:#eef3f9;color:#52627a}.badge.active,.badge.successful,.badge.verified,.badge.sent,.badge.delivered{background:#e7f8f1;color:#117552}.badge.failed,.badge.suspended,.badge.rejected,.badge.critical{background:#fff0f2;color:#b52b3e}.badge.pending,.badge.warning,.badge.processing{background:#fff7e5;color:#9b6200}.two-col{grid-template-columns:1.3fr .7fr}.three-col{grid-template-columns:repeat(3,1fr)}.list{display:flex;flex-direction:column;gap:10px}.list-row{display:flex;gap:12px;justify-content:space-between;padding:12px;border:1px solid #e9eef5;border-radius:14px}.muted{color:var(--muted)}.modal{position:fixed;inset:0;z-index:99;background:#06162d8f;display:grid;place-items:center;padding:20px}.modal-card{background:white;border-radius:24px;padding:24px;max-width:720px;width:100%;max-height:88vh;overflow:auto;position:relative;box-shadow:0 30px 80px #04122555}.modal-x{position:absolute;right:14px;top:14px;border:0;background:#eef3f9;width:34px;height:34px;border-radius:50%;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label{font-size:.75rem;font-weight:800}.form-grid .full{grid-column:1/-1}.perm-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.perm-check{display:flex;align-items:start;gap:8px;border:1px solid #e7edf5;padding:10px;border-radius:12px;font-size:.78rem}.toast{position:fixed;right:20px;top:20px;z-index:120;background:#071b36;color:white;padding:12px 16px;border-radius:12px;box-shadow:var(--shadow);transform:translateY(-90px);opacity:0;transition:.2s}.toast.show{transform:translateY(0);opacity:1}.chart-bars{display:flex;align-items:end;gap:7px;height:160px;padding-top:12px}.bar{flex:1;min-width:9px;background:linear-gradient(#0f78e9,#0b5fc4);border-radius:8px 8px 3px 3px;position:relative}.bar:hover:after{content:attr(data-label);position:absolute;bottom:100%;left:50%;transform:translateX(-50%);background:#071b36;color:white;padding:5px 7px;border-radius:7px;font-size:.65rem;white-space:nowrap}.empty{padding:30px;text-align:center;color:var(--muted)}#menuBtn{display:none}@media(max-width:1100px){.kpis{grid-template-columns:repeat(2,1fr)}.two-col,.three-col{grid-template-columns:1fr}}@media(max-width:820px){.auth-shell{grid-template-columns:1fr;background:#eef5ff}.brand-panel{display:none}.app{grid-template-columns:1fr}.sidebar{position:fixed;left:-285px;transition:.2s;width:272px}.sidebar.open{left:0}.topbar{padding:15px}.content{padding:8px 15px 40px}#menuBtn{display:inline-block}.health{display:none}.kpis{grid-template-columns:1fr 1fr}.form-grid,.perm-grid{grid-template-columns:1fr}}@media(max-width:520px){.kpis{grid-template-columns:1fr}.top-actions .ghost{display:none}}
/* v2.1: responsive analytics and reporting */
.content{max-width:1600px;margin:auto}.card{border:1px solid #e1e8f1;box-shadow:0 6px 24px #18365d06}.kpi{position:relative;overflow:hidden}.kpi:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#1766dc,#79acfa)}.kpi:nth-child(2):before{background:#0d9488}.kpi:nth-child(3):before{background:#ef4444}.report-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;background:linear-gradient(110deg,#fff,#eef5ff)}.report-hero h2{font-size:28px;margin:8px 0}.report-hero select{max-width:180px}.report-chart{width:100%;height:auto;min-height:180px}.status-chart svg{width:100%;height:8px;margin-bottom:14px}.report-filters{display:grid;grid-template-columns:1fr 1.5fr 1fr 1fr auto;gap:12px;align-items:end}.report-filters label{display:grid;gap:6px;font-size:12px;color:#52647a}.report-filters button{margin:0}.table-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0}.table-controls input{flex:1;min-width:150px;padding:10px;border:1px solid #dce5f1;border-radius:10px}.table-count{font-size:12px;color:#64748b}.report-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:16px}.table-wrap{max-width:100%;overflow:auto}th{cursor:pointer;white-space:nowrap}td{max-width:360px;overflow-wrap:anywhere}tr[hidden]{display:none!important}.payment-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.payment-flow span{border:1px solid #dbe7f6;background:#f7faff;border-radius:12px;padding:16px;font-weight:600;text-align:center}.flow-card{margin-top:20px}.status-chart .list-row{padding:12px 0}.report-filters .primary{min-height:42px}.ghost:disabled{opacity:.4;cursor:default}.secret-box{overflow-wrap:anywhere}.auth-error{color:#b91c1c;min-height:20px}
@media(max-width:1000px){.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-flow{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.content{padding:14px}.report-hero{align-items:flex-start;flex-direction:column}.report-filters{grid-template-columns:1fr}.table-controls{gap:6px}.table-controls input{flex-basis:100%}.table-count{flex-basis:100%}.kpi strong{font-size:25px}.payment-flow{grid-template-columns:1fr}.topbar{gap:8px}.top-actions{flex-wrap:wrap;justify-content:flex-end}.report-pagination{justify-content:space-between}.report-hero h2{font-size:24px}}
@media print{.sidebar,.topbar,.table-controls,.report-filters,.report-pagination,.toolbar,button{display:none!important}.main{margin:0!important}.app{display:block!important}.card{box-shadow:none;break-inside:avoid}.table-wrap{overflow:visible}tr[hidden]{display:table-row!important}.report-chart{max-height:200px}body{background:#fff}}
/* v2.2 richer dashboard/report presentation */
#reportRows tbody tr{cursor:pointer;transition:.15s}#reportRows tbody tr:hover td{background:#f3f8ff}.report-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.report-detail-field{padding:14px;border:1px solid #e2e9f2;border-radius:15px;background:linear-gradient(145deg,#fff,#f9fbfe);min-width:0}.report-detail-field small{display:block;color:#718096;text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:850;margin-bottom:6px}.report-detail-field strong{display:block;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.report-modal-actions{justify-content:flex-end;margin-top:18px}.modal-card{border:1px solid rgba(255,255,255,.8)}.field,textarea.field,select.field{min-height:44px;transition:border-color .15s,box-shadow .15s;background:#fff}.field:hover{border-color:#c9d7e8}textarea.field{min-height:108px;resize:vertical}.primary,.ghost,.danger-btn,.small-btn{transition:transform .12s,box-shadow .12s,background .12s}.primary:hover,.small-btn:hover,.ghost:hover{transform:translateY(-1px)}@media(max-width:600px){.report-detail-grid{grid-template-columns:1fr}.modal{padding:10px}.modal-card{max-height:94vh;border-radius:20px;padding:20px 16px}.table-wrap{border-radius:14px}th,td{padding:11px 10px}.form-grid label{width:100%}}

.report-modal-brand{display:flex;align-items:center;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--line,#e5e7eb);margin-bottom:14px}.report-modal-brand img{width:72px;height:46px;object-fit:contain}.report-modal-actions{margin-top:18px;justify-content:flex-end}@media print{body *{visibility:hidden!important}#modal,#modal *{visibility:visible!important}#modal{position:absolute!important;inset:0!important;background:white!important}.report-modal-actions{display:none!important}}


/* v2.4 visual system: richer admin workspace without changing permissions or actions */
body{background:linear-gradient(135deg,#f4f8ff 0%,#f8fbff 45%,#fff8f8 100%)}
.content>.card,.content>.grid>.card,.content section.card{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.content>.card:hover,.content>.grid>.card:hover,.content section.card:hover{transform:translateY(-1px);box-shadow:0 16px 42px rgba(16,35,63,.09);border-color:#d8e4f3}
.kpis .kpi{border:0;color:#fff;box-shadow:0 18px 40px rgba(16,35,63,.14);min-height:142px}.kpis .kpi:before{display:none}.kpis .kpi small,.kpis .kpi .trend{color:rgba(255,255,255,.86)}.kpis .kpi strong{color:#fff}.kpis .kpi:nth-child(1){background:linear-gradient(135deg,#0b63ce,#2a8af0)}.kpis .kpi:nth-child(2){background:linear-gradient(135deg,#008d79,#20b597)}.kpis .kpi:nth-child(3){background:linear-gradient(135deg,#e63a4b,#ff6a72)}.kpis .kpi:nth-child(4){background:linear-gradient(135deg,#7146d8,#a96eea)}
.kpis .kpi:after{content:'';position:absolute;width:115px;height:115px;border-radius:50%;right:-34px;top:-38px;background:rgba(255,255,255,.12)}
.section-head{padding-top:5px}.section-head h2{font-size:1.12rem}.content>.grid.two-col>.card:nth-child(1){background:linear-gradient(145deg,#fff,#f6fbff)}.content>.grid.two-col>.card:nth-child(2){background:linear-gradient(145deg,#fff,#fff8fb)}
.report-hero{border:0;background:linear-gradient(120deg,#082d5a,#0d6ed5 58%,#22a8dc);color:#fff;box-shadow:0 18px 45px rgba(8,69,137,.18)}.report-hero .muted,.report-hero .eyebrow{color:rgba(255,255,255,.84)}.report-hero .field{background:#fff;color:#10233f}
.report-filters{grid-template-columns:1fr 1.35fr 1fr 1fr 1fr auto}.report-filters label{font-weight:850;color:#42566f}.report-filters .primary{background:linear-gradient(135deg,#0b69d7,#159ce1);box-shadow:0 9px 20px rgba(11,105,215,.18)}
.table-wrap{box-shadow:0 8px 26px rgba(16,35,63,.05)}th{background:linear-gradient(180deg,#f8fbff,#f2f6fb);color:#536984}tbody tr{transition:background .12s,transform .12s}tbody tr:hover td{background:#f4f9ff!important}.table-controls{padding:12px;border:1px solid #e2eaf4;border-radius:15px;background:linear-gradient(145deg,#fbfdff,#f6f9fd)}
.modal-card{box-shadow:0 35px 95px rgba(4,18,37,.32)}.report-detail-field:nth-child(4n+1){background:linear-gradient(145deg,#fff,#f1f7ff)}.report-detail-field:nth-child(4n+2){background:linear-gradient(145deg,#fff,#f2fbf8)}.report-detail-field:nth-child(4n+3){background:linear-gradient(145deg,#fff,#fff7f7)}.report-detail-field:nth-child(4n+4){background:linear-gradient(145deg,#fff,#faf5ff)}
.form-grid label,.card label{color:#40566f}.field,textarea.field,select.field{border-radius:13px;border-color:#d7e1ed}.primary{background:linear-gradient(135deg,#0b69d7,#1799dd);box-shadow:0 8px 18px rgba(11,105,215,.16)}.ghost{background:#fff;border-color:#dce6f2}.badge{box-shadow:inset 0 0 0 1px rgba(16,35,63,.03)}
@media(max-width:1200px){.report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.report-filters{grid-template-columns:1fr}.content>.grid.two-col{gap:12px}.kpis .kpi{min-height:125px}.modal-card{border-radius:22px}.report-modal-actions button{flex:1}.report-modal-actions{display:flex;flex-wrap:wrap}}

/* v2.5 production admin redesign */
:root{
  --navy:#071a34;--navy-2:#0b2a52;--ink:#10223c;--soft-blue:#edf6ff;
  --surface:#ffffff;--surface-2:#f8fbff;--cyan:#13a8d8;--purple:#7657e5;
  --radius-xl:26px;--radius-lg:20px;--admin-shadow:0 16px 45px rgba(20,49,88,.09);
}
body{background:radial-gradient(circle at 8% -5%,#e8f3ff 0,transparent 29%),radial-gradient(circle at 98% 5%,#fff0f2 0,transparent 22%),#f5f8fc;color:var(--ink)}
.app{grid-template-columns:286px minmax(0,1fr)}
.sidebar{width:286px;padding:18px 16px;background:linear-gradient(180deg,#06182f 0%,#0a2a52 62%,#08203e 100%);box-shadow:16px 0 45px rgba(9,31,61,.08)}
.side-brand{padding:8px 8px 24px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:12px}
.side-brand img{width:58px;height:58px;border-radius:17px;box-shadow:0 10px 28px rgba(0,0,0,.16)}
.side-brand b{font-size:1.04rem;letter-spacing:-.01em}.side-brand small{display:block;margin-top:3px;font-size:.72rem;color:#7eb1eb}
.sidebar nav{gap:5px;padding:3px 0 14px;scrollbar-width:thin;scrollbar-color:#ffffff25 transparent}
.sidebar nav button{min-height:46px;padding:11px 13px;border-radius:14px;color:#b9cde6;font-size:.87rem;align-items:center;transition:.18s ease;position:relative}
.sidebar nav button span{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:rgba(255,255,255,.07);font-size:.9rem;color:#dbeaff}
.sidebar nav button:hover{background:rgba(255,255,255,.08);transform:translateX(2px)}
.sidebar nav button.active{background:linear-gradient(100deg,rgba(22,112,226,.36),rgba(33,169,217,.16));box-shadow:inset 0 0 0 1px rgba(135,194,255,.16);color:#fff}
.sidebar nav button.active:before{content:'';position:absolute;left:-16px;top:10px;bottom:10px;width:4px;border-radius:0 8px 8px 0;background:linear-gradient(#1f8fff,#35d0e8)}
.side-footer{padding:17px 8px 2px}.side-footer .ghost{width:100%;background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.08)}
.topbar{padding:18px 30px;background:rgba(249,252,255,.88);border-bottom:1px solid rgba(210,223,239,.8);box-shadow:0 8px 24px rgba(27,58,95,.04)}
.topbar h1{font-size:1.78rem;letter-spacing:-.035em}.topbar .eyebrow{color:#0b64c9}.top-actions .ghost{background:#fff;border:1px solid #e3eaf3;box-shadow:0 6px 20px rgba(21,49,86,.06)}
.health{padding:9px 13px;box-shadow:inset 0 0 0 1px #cceee0}.content{padding:24px 30px 60px;max-width:1720px}
.content.page-ready{animation:adminFade .22s ease}@keyframes adminFade{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:none}}
.card{border:1px solid #e5ebf3;border-radius:var(--radius-lg);box-shadow:var(--admin-shadow);padding:22px;background:rgba(255,255,255,.96)}
.card h2{letter-spacing:-.02em}.section-head{margin:26px 0 12px}.section-head h2{font-size:1.18rem;letter-spacing:-.025em}.section-head .muted{font-size:.85rem;margin-top:3px}
.primary,.ghost,.danger-btn,.small-btn{border-radius:12px;min-height:42px}.primary{font-weight:900;letter-spacing:-.01em}.compact-primary{width:auto;margin:0;padding-inline:18px}.ghost{border:1px solid #dfe7f1;background:#fff}.small-btn{background:#eef6ff;color:#075bb5;border:1px solid #d8e9fb}
.field,textarea.field,select.field{border:1px solid #dce5ef;border-radius:13px;background:#fbfdff;box-shadow:inset 0 1px 2px rgba(15,35,61,.02)}
.field:focus,textarea.field:focus,select.field:focus{background:#fff;border-color:#56a5f4;box-shadow:0 0 0 4px rgba(29,126,225,.1)}
.table-wrap{border:1px solid #e0e8f2;border-radius:18px;background:#fff;box-shadow:0 10px 35px rgba(25,56,94,.05)}
table{font-size:.81rem}th{height:46px;background:#f6f9fd;color:#60728a;font-weight:900;letter-spacing:.075em}td{height:50px;color:#263b57}tbody tr:nth-child(even) td{background:#fcfdff}tbody tr:hover td{background:#eff7ff!important}

/* Dashboard */
.admin-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;margin-bottom:18px;border-radius:28px;background:linear-gradient(115deg,#071d3a 0%,#0c5fbe 58%,#18a3d7 100%);color:#fff;box-shadow:0 22px 50px rgba(10,69,133,.19);overflow:hidden;position:relative}
.admin-welcome:after{content:'';position:absolute;width:300px;height:300px;border-radius:50%;right:-130px;top:-150px;background:rgba(255,255,255,.09)}
.admin-welcome>div{position:relative;z-index:1}.admin-welcome h2{font-size:clamp(1.45rem,2.6vw,2.25rem);line-height:1.12;max-width:770px;margin:7px 0 9px;letter-spacing:-.04em}.admin-welcome p{max-width:770px;margin:0;color:#d9eaff;line-height:1.6}.admin-welcome .eyebrow{color:#8dd9ff}.welcome-actions{display:flex;gap:10px;flex-shrink:0}.admin-welcome .ghost{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18);color:#fff}.admin-welcome .primary{background:#fff;color:#0756aa;box-shadow:none}
.dashboard-kpis{gap:18px}.dashboard-kpis .kpi{min-height:168px;padding:22px}.kpi-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.17);font-size:1.15rem;margin-bottom:18px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.dashboard-kpis .kpi strong{font-size:1.82rem;margin:7px 0 4px}.dashboard-kpis .kpi small{font-size:.77rem;text-transform:uppercase;letter-spacing:.065em}.dashboard-kpis .kpi .trend{font-size:.76rem}.dashboard-main-grid{grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);margin-top:18px}.dashboard-panel{padding:24px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding-bottom:18px;border-bottom:1px solid #edf1f6}.panel-heading h2{margin:3px 0 5px;font-size:1.25rem}.panel-heading p{margin:0;color:var(--muted);font-size:.82rem}.section-kicker{font-size:.67rem;text-transform:uppercase;letter-spacing:.13em;color:#0d6bce;font-weight:900}.panel-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#edf6ff;color:#0d6bce;font-weight:900}.metric-list{display:grid;gap:10px;margin-top:16px}.metric-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid #e7edf5;border-radius:14px;background:#fbfdff}.metric-row div{display:grid;gap:2px}.metric-row b{font-size:.83rem}.metric-row small{font-size:.7rem;color:#77879b}.metric-row>strong{font-size:1rem}.metric-dot{width:10px;height:10px;border-radius:50%}.dot-blue{background:#1e7de2}.dot-red{background:#ef4b5d}.dot-amber{background:#f2a91b}.dot-purple{background:#8559e6}.security-panel{background:linear-gradient(145deg,#fff,#f8f7ff)}.security-score{display:flex;align-items:center;gap:15px;padding:18px 0 6px}.security-score>div:last-child{display:grid;gap:4px}.security-score small{font-size:.74rem;color:var(--muted);line-height:1.45}.security-ring{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;flex:none;background:conic-gradient(#17a87c 0 87%,#e1e8f0 87%);position:relative}.security-ring:after{content:'';position:absolute;inset:7px;background:#fff;border-radius:50%}.security-ring span{position:relative;z-index:1;color:#11825f;font-weight:950;font-size:.72rem}.compact-list .metric-row{grid-template-columns:1fr auto;padding:10px 12px}

/* Integrations */
.admin-page-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:25px 28px;border-radius:26px;margin-bottom:20px;background:linear-gradient(120deg,#fff,#f0f7ff);border:1px solid #dfeaf6;box-shadow:0 14px 40px rgba(24,58,101,.06)}.admin-page-intro h2{margin:5px 0 7px;font-size:1.7rem;letter-spacing:-.035em}.admin-page-intro p{margin:0;max-width:760px;color:#60738b;line-height:1.55}.intro-chip{flex:none;padding:11px 14px;border-radius:999px;background:#e8f6f1;color:#117654;font-weight:900;font-size:.75rem}.integration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.integration-card{position:relative;display:flex;flex-direction:column;min-height:360px;padding:22px;border-radius:23px;background:#fff;border:1px solid #e1e8f1;box-shadow:0 14px 40px rgba(24,55,91,.07);overflow:hidden}.integration-card:before{content:'';position:absolute;left:0;right:0;top:0;height:4px;background:#2b7de0}.provider-green:before{background:#19a67a}.provider-purple:before{background:#7657e5}.provider-cyan:before{background:#10a7c8}.provider-amber:before{background:#e9a222}.provider-red:before{background:#e24c5c}.provider-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;padding-bottom:17px;border-bottom:1px solid #edf1f6}.provider-symbol{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:#eaf4ff;color:#0b67c8;font-weight:950;font-size:1.05rem}.provider-green .provider-symbol{background:#e9f8f3;color:#11805e}.provider-purple .provider-symbol{background:#f0edff;color:#694bd1}.provider-cyan .provider-symbol{background:#e8f9fc;color:#07849f}.provider-amber .provider-symbol{background:#fff6e4;color:#a76a05}.provider-red .provider-symbol{background:#fff0f2;color:#bd3446}.provider-copy h2{margin:2px 0 4px;font-size:1rem}.provider-copy p{margin:0;color:#7b8a9e;font-size:.7rem;line-height:1.45}.provider-status{padding:6px 9px;border-radius:999px;background:#f0f3f7;color:#728198;font-size:.62rem;font-weight:900;text-transform:uppercase;white-space:nowrap}.provider-status.is-live{background:#e7f8f1;color:#117552}.provider-settings{display:grid;gap:9px;padding:16px 0}.provider-setting{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:10px;align-items:center;padding:10px 12px;border:1px solid #e8edf4;border-radius:13px;background:#fbfdff}.provider-setting span{font-size:.72rem;color:#607087;text-transform:capitalize}.provider-setting strong{font-size:.76rem;text-align:right;overflow-wrap:anywhere}.provider-empty{display:grid;gap:4px;padding:20px 14px;text-align:center;border:1px dashed #d9e2ed;border-radius:14px;color:#7a8a9e}.provider-empty b{font-size:.78rem;color:#42546c}.provider-empty span{font-size:.7rem}.provider-action{margin-top:auto;min-height:44px;border:0;border-radius:13px;background:#f0f6fd;color:#0a5db7;font-weight:900;cursor:pointer}.provider-action:hover{background:#e4f1ff}.provider-action span{font-size:1rem;margin-right:4px}.modal-section-title{display:flex;gap:14px;align-items:flex-start;padding-right:34px;margin-bottom:18px}.modal-section-title h2{margin:4px 0 4px}.modal-section-title p{margin:0}.modal-provider-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#edf5ff;color:#0d68ca;flex:none}.stack-form{display:grid;gap:13px}.stack-form label{display:grid;gap:7px;font-size:.76rem;font-weight:850;color:#42566e}.secure-check{align-items:flex-start}.secure-check span{display:grid;gap:2px}.secure-check small{font-weight:500;color:#78889c}

/* Global page polish */
.content[data-page="customers"]>.section-head,.content[data-page="transactions"]>.section-head,.content[data-page="audit"]>.section-head{padding:20px 22px;margin:0 0 14px;border-radius:19px;background:#fff;border:1px solid #e4ebf3;box-shadow:0 10px 30px rgba(21,50,86,.05)}
.content[data-page="settings"]>.grid.two-col,.content[data-page="wallets"]>.grid.two-col,.content[data-page="rewards"]>.grid.two-col{gap:20px}.content[data-page="settings"]>.grid.two-col>div,.content[data-page="wallets"]>.grid.two-col>div,.content[data-page="rewards"]>.grid.two-col>div{min-width:0}.content[data-page="operations"]>.table-wrap,.content[data-page="settings"]>.table-wrap,.content[data-page="security"]>.table-wrap{margin-bottom:20px}.content[data-page="reports"] .card{overflow:hidden}
.modal{backdrop-filter:blur(7px);background:rgba(4,18,39,.67)}.modal-card{border-radius:26px;padding:26px;box-shadow:0 40px 110px rgba(2,16,35,.38)}.modal-x{width:40px;height:40px;border-radius:13px;background:#f2f6fb;color:#16314f;font-size:1.4rem}.modal-x:hover{background:#e7f1fb}.report-detail-grid{gap:11px}.report-detail-field{border-radius:14px;padding:13px 14px}
.error-state{border-left:4px solid #e34859}

@media(max-width:1280px){.integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main-grid{grid-template-columns:1fr}.app{grid-template-columns:268px 1fr}.sidebar{width:268px}}
@media(max-width:820px){.app{grid-template-columns:1fr}.sidebar{width:280px;left:-300px}.sidebar.open{left:0}.content{padding:18px 15px 46px}.topbar{padding:14px 15px}.admin-welcome{align-items:flex-start;flex-direction:column;padding:23px}.welcome-actions{width:100%;flex-wrap:wrap}.welcome-actions button{flex:1}.integration-grid{grid-template-columns:1fr}.admin-page-intro{align-items:flex-start;flex-direction:column}.intro-chip{align-self:flex-start}}
@media(max-width:560px){.dashboard-kpis{grid-template-columns:1fr}.dashboard-kpis .kpi{min-height:145px}.admin-welcome h2{font-size:1.55rem}.provider-head{grid-template-columns:auto minmax(0,1fr)}.provider-status{grid-column:2;justify-self:start}.provider-setting{grid-template-columns:1fr}.provider-setting strong{text-align:left}.topbar h1{font-size:1.45rem}.content{padding-inline:11px}.card{padding:17px}.modal-card{padding:20px 15px}.admin-page-intro{padding:20px}.metric-row{padding:11px}.table-wrap{border-radius:14px}}
