*{box-sizing:border-box}body{margin:0;font-family:'Segoe UI',Arial,sans-serif;background:#f1f4f6;color:#182034;font-size:15px}button,input,select,textarea{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer;border:0;border-radius:10px;padding:11px 15px;background:#edf0f5;color:inherit}button:hover{filter:brightness(.95)}button:disabled{opacity:.5}a{color:#294bb9}h1,h2,h3,p{margin:0 0 12px}h1{font-size:25px}h2{font-size:21px}h3{font-size:18px}small{display:block;color:#778195;font-size:13px;line-height:1.6}label{display:block;font-size:13px;font-weight:600;color:#637189;margin:18px 0 12px}input,select,textarea{display:block;width:100%;border:1px solid #dfe3eb;border-radius:12px;background:#f8f9fb;padding:14px 16px;color:#253047;margin-top:7px;min-width:0}input[type=file]{padding:10px}input:focus,select:focus{border-color:#2e7d32}input::placeholder{color:#9aa5b7}.primary,.dark{width:100%;font-weight:700;color:white;padding:15px;background:#2d7d32}.primary{box-shadow:0 7px 12px #00d55925}.dark{background:#18233d}.logo{display:inline-flex;justify-content:center;align-items:center;background:linear-gradient(120deg,#5adc66,#b6f4ba);border:1px solid #c4ffc5;border-radius:50%;height:80px;width:80px;color:#030b08;font:bold italic 85px Georgia;line-height:1;padding-bottom:12px}.auth{min-height:100vh;background:linear-gradient(160deg,#2d7b30,#06391f);display:flex;align-items:center;flex-direction:column;padding:40px 20px 12px}.auth header{text-align:center;color:#fff}.auth h1{margin-top:16px;font-weight:800}.auth header p{text-transform:uppercase;letter-spacing:2px;color:#7cff7c;font-size:12px}.auth-card{background:white;border-radius:24px;padding:24px;width:min(432px,100%);margin:14px 0 22px}.tabs{display:flex;background:#f2f3f6;padding:4px;border-radius:12px;margin-bottom:24px}.tabs button{width:50%;font-size:14px;font-weight:600;background:transparent}.tabs .selected{background:#2e7d32;color:white;border-radius:8px}.text-button{background:none;color:#26752f;display:block;margin:10px 0 0 auto;font-size:12px;font-weight:600;padding-right:0}.auth footer{font-size:12px;color:#65ff78}.admin{min-height:100vh}aside{width:264px;background:linear-gradient(#0b1422,#111a37);color:#d4d7e0;position:fixed;inset:0 auto 0 0;padding:24px 14px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 14px 32px;color:#fff}.brand .logo{width:42px;height:42px;font-size:46px;padding-bottom:7px}nav{flex:1;overflow:auto}nav button{width:100%;text-align:left;background:none;color:#c7ccd6;display:flex;gap:14px;padding:17px 14px;margin-bottom:3px;font-size:16px}nav button span{width:20px;text-align:center}nav button.active{background:#202d48;color:white;font-weight:650}.logout{background:#202c46;color:white;text-align:left;font-size:17px}.admin-main{margin-left:264px}.topbar{background:white;border-bottom:1px solid #e3e7eb;padding:26px 30px;display:flex;align-items:center;justify-content:space-between}.topbar h1{font-size:23px;margin:0 0 4px}.topbar p{font-size:14px;color:#6b7382;margin:0}.content{padding:28px}.badge{display:inline-block;border-radius:30px;background:#c4f2cf;color:#167534;padding:6px 10px;font-size:11px;font-weight:800;white-space:nowrap}.badge.red{background:#ffe0e0;color:#bd3030}.badge.amber{background:#fff0bb;color:#8f6517}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.stat{border-radius:18px;color:white;text-align:left;min-height:144px;padding:25px;font-weight:600;display:flex;flex-direction:column;justify-content:center;gap:10px}.stat strong{display:block;font-size:38px}.stat strong.small{font-size:15px;font-weight:400}.blue{background:linear-gradient(120deg,#0798ba,#0875a5)}.green{background:linear-gradient(115deg,#03a843,#00612d);color:white}.crimson{background:linear-gradient(115deg,#f82639,#bc061a);color:white}.orange{background:linear-gradient(120deg,#ff9910,#ff6814)}.purple{background:linear-gradient(120deg,#7200c9,#5201c9)}.teal{background:linear-gradient(120deg,#008978,#006c61)}.violet{background:linear-gradient(120deg,#6805b9,#400592)}.royal{background:linear-gradient(120deg,#0359ce,#1600c8)}.mint{background:linear-gradient(120deg,#00ce82,#00b58c)}.grid{display:grid;gap:18px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{background:white;border:1px solid #e7e9ef;border-radius:18px;padding:22px;box-shadow:0 2px 3px #17203705}.panel h3 .badge{float:right}.toolbar{display:flex;justify-content:flex-end;margin:0 0 20px}.toolbar .dark{width:auto}.item{display:flex;align-items:center;justify-content:space-between;gap:12px}.item p{color:#728094;font-size:14px;margin:4px 0}.actions{display:flex;gap:4px}.actions button{font-size:24px;background:none;color:#2946d0;padding:5px}.actions button:last-child{color:#e33434}.table-wrap{padding:0;overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}th{background:#f8fafb;padding:18px;font-size:12px;white-space:nowrap}td{padding:22px 18px;border-top:1px solid #e5e7ed;vertical-align:middle}td button{font-size:12px;padding:7px;margin:3px}.empty{text-align:center;color:#89909e;padding:55px 20px}.approve{background:#d8f6df;color:#177138}.decline{background:#ffe0e1;color:#b62531}.bonus{color:#258642;display:block;font-size:13px}.settings{margin-bottom:22px}.settings h2{margin-bottom:20px}.notice{background:#fff1c2;border-radius:12px;padding:17px;color:#7a632c;margin-bottom:20px;line-height:1.5}.chat-layout{display:grid;grid-template-columns:280px 1fr;gap:18px}.conversations{padding:0;overflow:hidden}.conversations button{display:block;text-align:left;width:100%;padding:20px;border-radius:0;border-bottom:1px solid #e7e9ef;background:white}.conversations .chosen{background:#e9f5ed}.conversations small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-box{min-height:460px}.messages{height:330px;overflow:auto;padding:12px 0;display:flex;flex-direction:column;gap:10px}.message{align-self:flex-start;max-width:85%;background:#eff1f6;padding:10px 14px;border-radius:13px}.message.staff{align-self:flex-end;background:#dff3e5}.message p{margin:3px 0;white-space:pre-wrap;overflow-wrap:anywhere}.message small{font-size:10px}#chat-form{display:flex;gap:8px}#chat-form input{margin:0}#chat-form button{width:auto}.customer{max-width:850px;margin:auto;padding:24px 24px 115px}.wallet{border-radius:24px;color:#fff;background:linear-gradient(120deg,#071913,#00642d);padding:24px}.welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.welcome h3{margin:0}.wallet small{color:#8cbd9d}.welcome button{background:#ffffff0c;color:#b6dac1;font-size:20px}.balance{display:flex;justify-content:space-between;align-items:center}.balance h1{font-size:38px;margin:5px 0 20px}.credentials{background:#00000022;border-radius:14px;padding:0 18px}.credentials p{display:flex;align-items:center;flex-wrap:wrap;gap:10px;border-bottom:1px solid #ffffff12;padding:15px 0;margin:0;color:#91b6a0;font-size:13px}.credentials b{color:#fff;margin-left:auto}.credentials button{background:none;color:#47df8a}.ticker{background:#0c1526;color:#61e189;border-radius:30px;padding:12px 18px;margin:22px 0;font-size:13px}.servers{display:grid;gap:14px}.server{display:flex;align-items:center;gap:18px;background:linear-gradient(100deg,#002818,#00652e);border-radius:20px;padding:22px;color:white;text-decoration:none}.bp{display:inline-flex;align-items:center;justify-content:center;background:#00b4c4;color:#c5ffff;font:italic 26px Georgia;border-radius:50%;height:52px;width:52px;flex-shrink:0}.server h2{font-size:20px;margin:0 0 5px}.server p{margin:0;color:#7ae8a5;font-size:14px}.server>b{margin-left:auto;color:#6ce694;font-size:14px}.payments{margin:20px 0}.payments button{min-height:145px;font-size:26px;font-weight:800;border-radius:22px}.payments span{display:block;font-size:40px;margin-bottom:10px}.promotion{border-left:4px solid #259443}.promotion p{font-size:14px;color:#687587;line-height:1.6}.bottom-nav{display:flex;justify-content:space-around;position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(850px,100%);background:#fffefaf2;border-top:1px solid #e0e4e5;padding:12px 8px;backdrop-filter:blur(10px);z-index:2}.bottom-nav a,.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;background:none;color:#268039;padding:0;font-size:30px}.bottom-nav .bp{width:35px;height:35px;font-size:20px}.bottom-nav small{font-size:11px}.support{position:fixed;bottom:115px;right:25px;border:4px solid #d5e6ff;background:white;color:#1646bc;border-radius:50%;height:76px;width:76px;font-size:35px;box-shadow:0 3px 20px #001b4530;z-index:3}.support small{position:absolute;bottom:-25px;right:-10px;white-space:nowrap;background:#174bd1;color:white;border-radius:30px;padding:4px 10px;font-size:12px}.overlay{position:fixed;inset:0;background:#08132480;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:10}.modal{position:relative;width:min(680px,100%);max-height:92vh;overflow:auto;background:white;padding:30px;border-radius:24px}.close{position:absolute;right:14px;top:10px;font-size:27px;background:#ffffffce;z-index:1}.modal h2{padding-right:25px}.payment-header{padding:24px;border-radius:18px;margin:-5px -5px 22px}.payment-header h1{margin:8px 0 20px}.payment-header p{background:#0002;padding:14px;border-radius:12px}.payment-header b{float:right}.payment-header small{color:white}.bank{padding:15px;border:1px solid #e1e7e4;border-radius:14px;margin-bottom:12px}.bank strong{display:block;overflow-wrap:anywhere}.bank button{float:right;font-size:11px}.amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.amounts button{background:white;border:1px solid #dfe6df;font-weight:800}.proof{width:100%;height:auto}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);padding:14px 25px;background:#152339;color:white;border-radius:12px;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:1000px){aside{width:220px;padding:20px 10px}nav button{font-size:14px;padding:15px 10px;gap:8px}.admin-main{margin-left:220px}.content{padding:20px}.stats{gap:12px}.stat{padding:18px;min-height:130px}.chat-layout{grid-template-columns:210px 1fr}}@media(max-width:700px){aside{position:static;width:100%;padding:14px}.brand{padding:0 0 12px}nav{display:flex;gap:5px;overflow:auto}nav button{width:auto;white-space:nowrap;margin:0;padding:10px}.logout{position:absolute;right:14px;top:17px;font-size:13px}.admin-main{margin:0}.topbar{padding:20px}.content{padding:14px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{min-height:125px}.stat strong{font-size:28px}.two{grid-template-columns:1fr}.customer{padding:12px 12px 105px}.payments{grid-template-columns:1fr 1fr;gap:12px}.payments button{min-height:125px;font-size:22px}.wallet{padding:20px}.server{padding:17px;gap:12px}.server h2{font-size:16px}.server p{font-size:12px}.server>b{font-size:12px}.server .bp{width:40px;height:40px;font-size:22px}.support{right:15px;height:60px;width:60px;font-size:27px}.chat-layout{grid-template-columns:1fr}.conversations{max-height:180px;overflow:auto}.overlay{padding:10px}.modal{padding:22px;max-height:95vh}.amounts{grid-template-columns:repeat(2,1fr)}.auth{padding-top:35px}.bottom-nav small{font-size:9px}.item{padding:18px}td{padding:16px 12px}.credentials b{overflow-wrap:anywhere}}

.history-button{display:flex;align-items:center;gap:14px;width:100%;margin-top:18px;padding:18px 20px;background:white;border:1px solid #dce7df;text-align:left;border-radius:16px}.history-button>span{font-size:27px;color:#287e3b}.history-button>span:last-child{margin-left:auto}.history-button b{font-size:16px;color:#20362a}.history-button small{font-size:12px;margin-top:3px}.history-description{color:#728094;margin-bottom:20px}

.actions button[aria-label="Delete"]{font-size:13px;font-weight:600;background:#fff0f0;padding:10px;white-space:nowrap}

.actions .delete-icon{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:7px!important;color:#ed2635!important;background:transparent!important;border-radius:7px}.actions .delete-icon:hover,.actions .delete-icon:focus-visible{background:#ffe5e7!important}.actions .delete-icon svg{display:block;pointer-events:none}[data-tooltip]{position:relative}[data-tooltip]:hover::after,[data-tooltip]:focus-visible::after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 7px);right:0;background:#18233d;color:white;padding:7px 10px;border-radius:7px;white-space:nowrap;font-size:12px;font-weight:500;line-height:1.4;z-index:20;box-shadow:0 3px 10px #0002;pointer-events:none}

[data-tooltip]:hover::after,[data-tooltip]:focus-visible::after{display:none}.action-tooltip{display:none!important;position:absolute;bottom:calc(100% + 8px);right:0;white-space:nowrap;padding:8px 12px;border-radius:7px;background:#18233d;color:#fff!important;font:500 12px/1.4 Segoe UI,Arial,sans-serif;z-index:100;pointer-events:none;box-shadow:0 3px 12px #0003}[data-tooltip]:hover>.action-tooltip,[data-tooltip]:focus-visible>.action-tooltip{display:block!important}.item,.actions{overflow:visible}

#hover-action-label{display:none;position:fixed;z-index:2147483647;background:#142039;color:#fff;border:1px solid #314460;padding:9px 13px;border-radius:7px;font:600 13px/1.4 Segoe UI,Arial,sans-serif;box-shadow:0 4px 15px #0004;pointer-events:none;white-space:nowrap}

/* Compact desktop navigation: every section and logout fit the viewport. */
@media(min-width:701px){
 aside{width:230px;height:100dvh;padding:18px 10px 10px;overflow:hidden;gap:8px}
 .admin-main{margin-left:230px}
 .brand{flex:0 0 66px;padding:0 8px 12px;gap:10px;align-items:center}
 .brand .logo{height:38px;width:38px;font-size:42px;padding-bottom:6px}
 .brand b{font-size:15px}
 aside nav{display:grid;grid-template-rows:repeat(12,minmax(0,1fr));flex:1;min-height:0;overflow:visible;gap:3px}
 aside nav button{display:flex;align-items:center;width:100%;height:100%;min-height:0;padding:0 12px;margin:0;gap:10px;font-size:14px;line-height:1.15;border-radius:9px;white-space:nowrap}
 aside nav button span{flex:0 0 18px;width:18px;font-size:16px}
 aside .logout{flex:0 0 42px;width:100%;padding:10px 12px;border-radius:9px;font-size:15px;line-height:1.2}
}
@media(min-width:701px) and (max-height:650px){aside{padding-top:10px;gap:5px}.brand{flex-basis:48px;padding-bottom:6px}aside nav{gap:2px}aside nav button{font-size:13px}aside .logout{flex-basis:36px;padding:8px 12px}}
@media(min-width:701px) and (max-height:490px){.brand{flex-basis:38px}.brand .logo{height:30px;width:30px;font-size:33px}aside nav button{font-size:12px}aside .logout{flex-basis:30px;padding:5px 12px}}

.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.users-table table{table-layout:fixed}.users-table th:first-child{width:36%}.users-table th:nth-child(2){width:18%}.users-table th:nth-child(3){width:16%}.users-table th:nth-child(4){width:15%}.users-table th:last-child{width:15%}.users-table th{padding:13px 16px;color:#718095;font-size:11px}.users-table td{padding:14px 16px;height:77px}.users-table td:first-child b{font-size:14px;font-weight:650}.users-table small{font-size:12px;line-height:1.35;color:#93a0b6;overflow-wrap:anywhere}.users-table .wallet-id{font-size:11px;overflow-wrap:anywhere}.users-table .badge{font-size:10px;padding:4px 8px}.user-balance{white-space:nowrap;text-align:right}.user-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}.user-actions button{background:transparent;padding:2px;margin:0;font-size:17px;border-radius:4px;display:flex;align-items:center;justify-content:center;min-width:18px;min-height:24px}.id-action{color:#2864f7}.suspend-action{color:#e1a000}.remove-user{color:#ed2635}.history-action{color:#64748b}.user-actions button:hover{background:#edf1f7}@media(max-width:850px){.users-table table{min-width:680px}}

.topbar{padding:17px 24px}.topbar h1{font-size:20px}.content{padding:24px}.toolbar{gap:8px;margin-bottom:12px}.toolbar .dark{padding:11px 16px}.server-admin-list{gap:10px}.server-admin-list .item{padding:15px 18px;min-height:82px}.server-admin-list h3{font-size:17px;margin:0 0 3px}.server-admin-list p{font-size:12px;margin:0 0 3px}.server-admin-list a{font-size:14px}.transaction-table th{padding:13px 16px;font-size:11px;color:#748297}.transaction-table td{padding:14px 16px;font-size:13px}.transaction-table td:first-child{min-width:170px}.transaction-table small{font-size:12px;line-height:1.35}.transaction-table .date{font-size:10px;margin-top:3px}.transaction-table .badge{font-size:10px;padding:5px 8px}.transaction-table .amount-cell{white-space:nowrap}.receipt-link{display:block;background:none;padding:0!important;margin:0!important;text-decoration:underline;color:#305bff!important;border-radius:0}.account-stats{gap:12px;margin-bottom:15px}.account-stats .stat{min-height:84px;padding:16px;gap:6px;border-radius:16px;font-size:13px}.account-stats strong{font-size:25px}.pool-warning{font-size:13px;padding:13px 16px;margin-bottom:12px;border:1px solid #efd867;background:#fffde8}.account-table th{font-size:11px;color:#718095;padding:13px 16px}.account-table td{padding:12px 16px;font-size:12px;height:76px}.account-table td:first-child,.account-table td:nth-child(2){font-family:monospace}.account-table td:nth-child(4)>b{display:block;font-size:12px}.account-table small{font-size:12px;line-height:1.3}.account-table .badge{font-size:9px;padding:4px 8px;background:#dce9ff;color:#3157e8}.account-table .actions button{font-size:20px;padding:4px}.account-table .actions .unassign{color:#e99000}.section-intro{font-size:13px;color:#74839a;margin:0 0 12px}.credential-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.credential-card{padding:14px 16px;min-height:0}.credential-card>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.credential-card h3{font-size:16px;margin:0}.credential-card small{font-size:12px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.credential-card .badge{font-size:9px;padding:4px 8px}.credential-card p{font-size:12px;background:#f7f8fa;border-radius:8px;padding:8px;margin:8px 0;line-height:1.5}.credential-card .dark{padding:9px;font-size:13px;border-radius:10px}.compact-chats{grid-template-columns:235px minmax(0,1fr);gap:15px;height:calc(100dvh - 124px);min-height:460px}.compact-chats .conversations{overflow-y:auto;max-height:none}.compact-chats .conversations button{height:calc((100dvh - 126px)/12);min-height:37px;padding:5px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.compact-chats .conversations button>div{min-width:0}.compact-chats .conversations b{font-size:12px}.compact-chats .conversations small{font-size:10px;line-height:1.2}.unread{background:#f5424c;color:#fff;border-radius:50%;font-size:10px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center}.compact-chats .chat-box{display:flex;flex-direction:column;min-height:0;padding:18px}.compact-chats .chat-box>.empty{margin:auto}.compact-chats .messages{height:auto;flex:1;min-height:0}.check-label{display:flex;align-items:center;gap:8px;color:#253047;font-size:15px;font-weight:400}.check-label input{width:15px;margin:0}.promotion-list .item{border-left:4px solid #259443;padding:16px}.promotion-list h3{font-size:16px}.provider-logo{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #dde5ed;border-radius:10px;background:#f3f6f9;overflow:hidden;vertical-align:middle;color:#306b57;font-weight:800;font-size:13px}.provider-logo img{position:absolute;inset:5px;width:30px;height:30px;object-fit:contain;background:#fff;border-radius:5px}.payment-item>div:not(.actions){flex:1;min-width:0}.payment-item .actions{flex-shrink:0}.provider-preview{display:flex;align-items:center;gap:10px;margin-top:8px;min-height:0;font-size:12px}.provider-preview:empty{display:none}.bank>.provider-logo{float:left;margin:0 12px 6px 0}.modal #credentials-form label{margin:12px 0 8px}.modal #credentials-form input,.modal #credentials-form select{padding:11px 14px}.modal #credentials-form button{margin-top:16px}
@media(min-width:701px) and (max-height:700px){.content{padding:18px 22px}.credential-card{padding:10px 14px}.credential-card p{padding:6px 8px;margin:6px 0}.credential-card .dark{padding:8px}.credential-card h3{font-size:14px}.credential-grid{gap:8px}.compact-chats{height:calc(100dvh - 112px);min-height:0}.compact-chats .conversations button{height:calc((100dvh - 114px)/12);min-height:32px}}
@media(max-width:700px){.credential-grid{grid-template-columns:1fr}.compact-chats{grid-template-columns:1fr;height:auto}.compact-chats .conversations{max-height:450px}.compact-chats .conversations button{height:38px}.compact-chats .chat-box{min-height:420px}.account-table table,.transaction-table table{min-width:650px}.content{padding:14px}.payment-item{flex-wrap:wrap}}

.credentials-modal{width:min(448px,100%);padding:0 20px 20px;border-radius:18px}.credentials-modal>h2{font-size:16px;padding:20px 30px 20px 0;margin:0 -20px 22px;padding-left:20px;border-bottom:1px solid #e0e5ed}.credentials-modal>.close{top:13px;right:12px;color:#91a0b6;background:none}.credentials-modal #credentials-form label{font-size:12px;margin:17px 0 13px}.credentials-modal #credentials-form input,.credentials-modal #credentials-form select{padding:12px 14px;min-height:44px;background:#f8f9fc;font-size:14px}.credentials-modal #credentials-form>.dark{padding:12px;font-size:13px;border-radius:11px;margin-top:20px}.credentials-modal #credentials-form>small{display:none}.badge:where(.red){color:#b62531}

.transaction-table .receipt-preview{display:block;background:#f8fafc;border:1px solid #dce3ed;padding:6px;margin:9px 0 5px;border-radius:9px;width:172px;overflow:hidden}.receipt-preview img{display:block;width:158px;height:190px;object-fit:contain;background:white;border-radius:5px}.receipt-preview span{display:block;font-size:10px;color:#637189;padding:5px 0 1px}.receipt-modal{width:min(1050px,96vw)}.receipt-meta{color:#718095;font-size:13px}.receipt-tools{display:flex;gap:8px;margin-bottom:12px}.receipt-tools button{font-size:12px}.receipt-stage{overflow:auto;max-height:70vh;background:#edf1f5;border:1px solid #dce3ed;border-radius:12px;padding:10px;text-align:center}.receipt-full{display:block;max-width:100%;max-height:65vh;width:auto;height:auto;margin:auto;object-fit:contain;cursor:zoom-in}.receipt-full.zoomed{max-width:none;max-height:none;cursor:zoom-out}@media(max-width:700px){.receipt-preview img{height:150px}.receipt-tools{flex-wrap:wrap}}

.link-modal{width:min(448px,100%);padding:0 20px 20px;border-radius:18px}.link-modal>h2{font-size:16px;margin:0 -20px 25px;padding:20px;border-bottom:1px solid #e0e5ed}.link-modal .close{top:13px;right:12px;color:#91a0b6;background:none}.link-modal label{font-size:12px;margin:17px 0}.link-modal input{min-height:44px;padding:12px 14px;font-size:14px;background:#f8f9fc}.link-form-row{display:flex;gap:12px;align-items:center}.link-form-row>label:first-child{flex:1;min-width:0}.link-form-row .check-label{margin-top:37px;font-size:15px;white-space:nowrap}.link-form-row .check-label input{min-height:0;width:14px;height:14px;padding:0}.link-modal .dark{padding:12px;font-size:13px;border-radius:11px;margin-top:3px}

.account-stats .dark{background:linear-gradient(120deg,#334155,#1e293b)}.account-stats .green{background:linear-gradient(110deg,#15ab4b,#15843d)}.account-stats .royal{background:linear-gradient(110deg,#2863ef,#4338d0)}.account-table table{table-layout:fixed}.account-table th:nth-child(1){width:19%}.account-table th:nth-child(2){width:20%}.account-table th:nth-child(3){width:13%}.account-table th:nth-child(4){width:34%}.account-table th:last-child{width:14%}.account-table td{overflow-wrap:anywhere}.account-table .actions{justify-content:flex-end;gap:2px}.account-table .actions button{min-width:20px}.account-table .actions .delete-icon{min-width:25px}.account-table td:nth-child(3){color:#8491a5;font-size:10px}.account-stats .stat strong{font-size:26px}.account-table .actions .unassign{color:#e58b00}

/* Keep ten account rows visible at standard desktop heights. */
@media(min-width:701px){
body:has(.account-table) .topbar{padding:11px 22px}
body:has(.account-table) .content{padding:12px 22px}
.account-stats{gap:10px;margin-bottom:8px}
.account-stats .stat{min-height:58px;padding:9px 15px;gap:2px;border-radius:13px}
.account-stats .stat span{font-size:11px}
.account-stats .stat strong{font-size:22px}
.pool-warning{padding:8px 12px;margin-bottom:8px;font-size:12px}
body:has(.account-table) .toolbar{margin-bottom:8px;gap:7px}
body:has(.account-table) .toolbar .dark{padding:8px 13px;font-size:12px}
.account-table th{height:30px;padding:7px 12px;font-size:10px}
.account-table td{height:clamp(32px,calc((100dvh - 255px)/10),48px);padding:4px 12px;font-size:11px;line-height:1.1}
.account-table td:nth-child(3){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px}
.account-table td:nth-child(4){position:relative;padding-left:78px}
.account-table td:nth-child(4)>.badge{position:absolute;left:10px;top:50%;transform:translateY(-50%);font-size:8px;padding:3px 5px;max-width:65px}
.account-table td:nth-child(4)>b{font-size:10px;line-height:1.1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.account-table td:nth-child(4)>small{font-size:9px;line-height:1.1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.account-table .actions button{font-size:17px;padding:2px;min-height:23px}
.account-table .actions .delete-icon{min-height:23px;padding:3px!important}
.account-table .actions svg{width:15px;height:15px}
}

.settings-tabs{display:flex;gap:7px;margin-bottom:12px;flex-wrap:wrap}.settings-tabs button{padding:10px 14px;font-size:13px}.settings-tabs .selected{background:#18233d;color:white}.section-settings{max-width:940px;padding:20px 24px}.section-settings h2{font-size:18px;margin-bottom:16px}.email-section{border-left:4px solid #22c55e}.settings-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.section-settings label{margin:10px 0;font-size:12px}.section-settings input,.section-settings textarea{padding:11px 14px;font-size:13px}.section-settings .check-label{font-size:13px}.section-settings .check-label input{padding:0}.settings-help{font-size:12px;color:#8c9ab0}.email-test{display:flex;gap:8px;margin:12px 0 5px}.email-test input{margin:0}.email-test button{white-space:nowrap;font-size:12px}.section-settings>small{font-size:11px}.save-status{color:#21803b;font-size:12px;margin:10px 0}.section-settings>.dark{padding:12px;margin-top:4px}.urdu-note{font-size:17px;line-height:1.8;margin-top:8px}.whatsapp-contact{display:block;text-align:center;color:#16823c;margin:20px 0}.download-links{display:flex;gap:15px;justify-content:center;margin:15px 0;font-size:13px}@media(max-width:700px){.settings-fields{grid-template-columns:1fr}.section-settings{padding:18px}.settings-tabs button{font-size:11px;padding:9px}.email-test{flex-wrap:wrap}}

@media(min-width:701px) and (max-height:700px){.section-settings{padding:16px 20px}.section-settings label{margin:8px 0}.section-settings .check-label{margin:7px 0}.section-settings h2{margin-bottom:10px}.save-status{min-height:14px;margin:5px 0}}

@media(min-width:701px){
body:has(.section-settings) .topbar{padding:10px 22px}
body:has(.section-settings) .content{padding:12px 22px}
.settings-tabs{margin-bottom:9px;gap:6px}
.settings-tabs button{padding:8px 12px;font-size:12px}
.section-settings{padding:14px 18px}
.section-settings h2{font-size:17px;margin-bottom:8px}
.section-settings .settings-help{margin-bottom:7px;font-size:11px}
.section-settings .settings-fields{gap:0 16px}
.section-settings label{margin:6px 0;font-size:11px}
.section-settings input,.section-settings textarea{padding:9px 12px;margin-top:5px;font-size:12px;min-height:36px}
.section-settings textarea{height:65px;min-height:50px}
.section-settings .check-label{margin:7px 0;font-size:12px;line-height:1.3}
.section-settings .check-label input{min-height:0;width:13px;height:13px;margin:0;padding:0}
.section-settings>small{font-size:10px;line-height:1.3}
.section-settings .email-test{margin:9px 0 5px}
.section-settings .email-test input{margin:0}
.section-settings .email-test button{padding:8px 12px;font-size:11px}
.section-settings .save-status{min-height:0;margin:7px 0;font-size:11px}
.section-settings .save-status:empty{display:none}
.section-settings>.dark{padding:10px;font-size:12px;margin-top:10px}
}
@media(min-width:701px) and (max-height:600px){
body:has(.section-settings) .topbar{padding:8px 20px}
body:has(.section-settings) .topbar h1{font-size:18px}
body:has(.section-settings) .content{padding:9px 18px}
.section-settings{padding:11px 16px}
.section-settings h2{font-size:16px;margin-bottom:6px}
.section-settings input{min-height:32px;padding:7px 10px}
.section-settings label{margin:4px 0}
.section-settings .check-label{margin:5px 0}
.section-settings .email-test{margin:6px 0 4px}
.section-settings>.dark{padding:9px;margin-top:7px}
}

@media(min-width:701px){
.section-settings[data-section="instructions"]{height:calc(100dvh - 140px);min-height:340px;max-width:none;display:flex;flex-direction:column;padding:20px}
.section-settings[data-section="instructions"]>h2{font-size:19px;margin-bottom:12px}
.section-settings[data-section="instructions"] .settings-fields{flex:1;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));gap:14px 20px}
.section-settings[data-section="instructions"] label{display:flex;flex-direction:column;min-height:0;margin:0;font-size:12px}
.section-settings[data-section="instructions"] textarea{flex:1;min-height:0;height:auto;resize:none;padding:13px 14px;font-size:14px;line-height:1.65}
.section-settings[data-section="instructions"] textarea[lang="ur"]{font-size:17px;line-height:1.8}
.section-settings[data-section="instructions"]>.dark{flex-shrink:0;margin-top:20px;padding:13px;font-size:14px}
}
@media(min-width:701px) and (max-height:600px){.section-settings[data-section="instructions"]{height:calc(100dvh - 123px);min-height:0;padding:14px 18px}.section-settings[data-section="instructions"] textarea{font-size:12px;padding:9px 12px}.section-settings[data-section="instructions"] textarea[lang="ur"]{font-size:15px}.section-settings[data-section="instructions"]>.dark{margin-top:12px;padding:10px}}

.transaction-table .approve,.transaction-table .decline{display:inline-block;min-width:66px;font-weight:600;padding:8px 10px}.transaction-table button.decision-selected:disabled{opacity:1;border:1px solid currentColor;font-weight:800}.transaction-table button:disabled{cursor:default}

.dashboard-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.dashboard-heading h2{font-size:21px;margin:4px 0 0;color:#1b2940}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:750;color:#8290a4}.dashboard-live{font-size:11px;color:#23854b;background:#e0f5e8;border:1px solid #caebd5;border-radius:20px;padding:7px 11px}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dashboard-card{position:relative;isolation:isolate;overflow:hidden;text-align:left;color:#fff;border-radius:17px;border:1px solid #ffffff35;padding:15px 18px;display:flex;flex-direction:column;gap:5px;box-shadow:0 5px 15px #18274310;transition:transform .18s,box-shadow .18s;min-width:0}.dashboard-card:after{content:'';position:absolute;right:-35px;bottom:-60px;width:150px;height:150px;border:24px solid #ffffff0a;border-radius:50%;z-index:-1}.dashboard-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px #14274422;filter:none}.dashboard-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}.dashboard-icon{width:29px;height:29px;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff30;background:#ffffff18;border-radius:9px;font-size:18px}.dashboard-open{font-size:19px;opacity:.65}.dashboard-label{font-size:12px;font-weight:600;opacity:.9}.dashboard-value{font-size:27px;line-height:1.2;font-weight:800;letter-spacing:-.6px;white-space:nowrap}.dashboard-value.text-value{font-size:19px;letter-spacing:-.3px}.dashboard-description{font-size:10px;color:#ffffffc4;line-height:1.3}.dashboard-card.orange{background:linear-gradient(120deg,#f59e0b,#ec6c17)}
@media(min-width:701px){body:has(.dashboard-grid) .topbar{padding:14px 22px}body:has(.dashboard-grid) .content{padding:17px 22px}.dashboard-grid{height:calc(100dvh - 166px);grid-template-rows:repeat(4,minmax(0,1fr));min-height:0}.dashboard-card{justify-content:center;padding:10px 16px;gap:4px}.dashboard-card-top{position:absolute;right:13px;top:12px}.dashboard-open{display:none}.dashboard-label{padding-right:35px}.dashboard-value{font-size:25px}.dashboard-value.text-value{font-size:17px}}
@media(min-width:701px) and (max-height:600px){body:has(.dashboard-grid) .content{padding:12px 20px}.dashboard-heading{margin-bottom:10px}.dashboard-heading h2{font-size:18px}.dashboard-grid{height:calc(100dvh - 151px);gap:9px}.dashboard-card{padding:9px 12px}.dashboard-label{font-size:11px}.dashboard-value{font-size:22px}.dashboard-value.text-value{font-size:15px}.dashboard-icon{width:24px;height:24px;font-size:15px}.dashboard-description{font-size:9px}}
@media(max-width:700px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-card{min-height:140px;padding:13px}.dashboard-value{font-size:24px}.dashboard-value.text-value{font-size:17px}.dashboard-heading h2{font-size:18px}.dashboard-live{display:none}}

/* Professional navigation with consistent line icons. */
aside{background:linear-gradient(170deg,#101b2f 0%,#0a1222 100%);border-right:1px solid #ffffff0a;box-shadow:4px 0 18px #09142608}
.brand{border-bottom:1px solid #ffffff0b}.brand b{font-weight:750;letter-spacing:.2px}.brand b small{color:#7386a5;font-size:8px;letter-spacing:1.6px;line-height:1.8;font-weight:600;margin-top:3px}.brand .logo{box-shadow:0 0 18px #61df8220}
aside nav button{position:relative;color:#aebbd0!important;font-weight:500;transition:background .18s,color .18s,box-shadow .18s;border:1px solid transparent;letter-spacing:.1px}
aside nav button>span{display:flex;align-items:center;justify-content:center;color:#8295b5;transition:color .18s}
aside nav button:hover{background:#ffffff08!important;color:#f0f6ff!important;border-color:#ffffff07}
aside nav button:hover>span{color:#a5edc4}
aside nav button.active{background:linear-gradient(100deg,#1d3a40,#1b2d44)!important;color:#eafff2!important;border-color:#6ee7a522;box-shadow:inset 0 1px #ffffff05,0 3px 12px #00000012;font-weight:650}
aside nav button.active:before{content:'';position:absolute;left:0;top:25%;height:50%;width:3px;background:#6ee7a5;border-radius:0 3px 3px 0;box-shadow:0 0 8px #6ee7a533}
aside nav button.active>span{color:#80edb0}
aside .logout{display:flex;align-items:center;gap:11px;background:#ffffff05;color:#b4c1d6;border:1px solid #ffffff0c;transition:background .18s,color .18s}
aside .logout svg{flex-shrink:0;color:#94a8c8}
aside .logout:hover{background:#f8717110;color:#ffb3b3;border-color:#f8717125}
aside nav button:focus-visible,aside .logout:focus-visible{outline:2px solid #6ee7a5;outline-offset:-3px}
@media(min-width:701px){aside nav button{font-size:12px!important;padding-left:13px!important;gap:10px!important}.brand{padding-left:8px}.brand b{font-size:15px}}

@media(min-width:701px){
body:has(.dashboard-grid) .topbar{padding:9px 20px}
body:has(.dashboard-grid) .topbar h1{font-size:19px;margin-bottom:3px}
body:has(.dashboard-grid) .topbar p{font-size:12px}
body:has(.dashboard-grid) .content{padding:10px 20px}
.dashboard-heading{height:43px;margin-bottom:8px}
.dashboard-heading h2{font-size:18px;margin-top:2px}
.eyebrow{font-size:9px}
.dashboard-grid{height:calc(100dvh - 145px);grid-template-rows:repeat(4,minmax(0,1fr));gap:9px}
.dashboard-card{padding:8px 13px;border-radius:14px;gap:3px}
.dashboard-label{font-size:11px;padding-right:27px}
.dashboard-value{font-size:23px;line-height:1.15}
.dashboard-value.text-value{font-size:16px}
.dashboard-description{font-size:9px;line-height:1.2}
.dashboard-card-top{right:11px;top:10px}
.dashboard-icon{width:25px;height:25px;border-radius:8px;font-size:15px}
}
@media(min-width:701px) and (max-height:570px){
.dashboard-heading{height:34px;margin-bottom:6px}
.dashboard-grid{height:calc(100dvh - 132px);gap:7px}
.dashboard-card{padding:7px 11px;gap:2px}
.dashboard-value{font-size:20px}
.dashboard-value.text-value{font-size:14px}
.dashboard-description{font-size:8px}
.dashboard-label{font-size:10px}
}

/* Stronger navigation contrast and icon strokes. */
aside nav button{color:#e0e8f5!important;font-weight:650!important}
aside nav button>span{color:#b9cae3!important}
aside nav button svg{stroke-width:2.1;width:19px;height:19px}
aside nav button.active{color:#f2fff7!important;font-weight:750!important}
aside nav button.active>span{color:#8affbb!important}
aside nav button:hover{color:#fff!important}
aside .logout{color:#e0e8f5;font-weight:650}
aside .logout svg{color:#bbcee9;stroke-width:2.1}
.brand b small{color:#a0b4d2;font-weight:700}
@media(min-width:701px){aside nav button{font-size:13px!important}}

/* Compact user wallet, matching the supplied narrow reference. */
.customer{max-width:510px;padding:0 16px 90px}
.customer>.welcome{position:relative;display:flex;gap:10px;align-items:center;background:linear-gradient(110deg,#2d7d32,#1c5d25);color:white;padding:20px 15px 25px;border-radius:0 0 25px 25px;margin:0 -16px -13px;min-height:90px}
.user-brand-logo{flex-shrink:0}.user-brand-logo .logo{width:47px;height:47px;font-size:50px;padding-bottom:8px}
.customer>.welcome>div:first-of-type{flex:1;min-width:0}
.customer>.welcome h3{font-size:15px;margin:0;line-height:1.2}
.customer>.welcome small{font-size:10px;color:#e4f7df;line-height:1.3;overflow:hidden;text-overflow:ellipsis}
.customer>.welcome>div:last-child{display:flex;gap:8px}
.customer>.welcome button{border-radius:50%;width:35px;height:35px;padding:7px;font-size:18px;background:#ffffff17;color:white}
.customer .wallet{position:relative;border-radius:24px;padding:20px;background:linear-gradient(130deg,#074322,#145b32);box-shadow:0 8px 20px #173b2010}
.customer .wallet>h3{font-size:14px;margin:0 0 14px}
.customer .balance{align-items:flex-start}.customer .balance>.badge{position:absolute;right:20px;top:20px;font-size:9px;padding:5px 8px}
.customer .balance small{font-size:12px;color:#b3f6cb}
.customer .balance h1{font-size:29px;margin:0 0 13px;line-height:1.2}
.customer .credentials{padding:3px 12px;background:#002b1d66;border-radius:15px}
.customer .credentials p{position:relative;display:block;padding:9px 30px 9px 0;font-size:13px;min-height:49px}
.customer .credentials p small{font-size:10px;line-height:1.3;color:#8effbd}
.customer .credentials p b{font-size:13px;line-height:1.4;display:block;margin:0}
.customer .credentials button{position:absolute;right:0;top:11px;padding:4px;font-size:17px}
.pending-id-note{color:#fde047;font-size:10px;margin:9px 0 0;line-height:1.4}
.customer .ticker{margin:15px 0;padding:8px 12px;font-size:11px;white-space:nowrap;overflow:hidden;background:#07160e;color:#9ff791;border-radius:20px}
.customer>h2{font-size:14px;margin:0 0 9px}
.customer .servers{gap:8px}.customer .server{padding:11px 14px;gap:11px;border-radius:18px;min-height:64px}
.customer .server .bp{height:37px;width:37px;font-size:22px;border:2px solid #b5fafc88}
.customer .server h2{font-size:14px;margin:0 0 3px}.customer .server p{font-size:10px;line-height:1.25}
.customer .server>b{font-size:11px}
.customer .payments{gap:10px;margin:12px 0;grid-template-columns:1fr 1fr}
.customer .payments button{min-height:92px;border-radius:17px;font-size:20px;padding:12px}
.customer .payments span{font-size:25px;margin-bottom:4px}
.customer .history-button{margin:10px 0;padding:10px 13px;gap:10px;border-radius:12px}
.customer .history-button b{font-size:12px}.customer .history-button small{font-size:10px}.customer .history-button>span{font-size:21px}
.customer .promotion{padding:14px}.customer .promotion h3{font-size:14px}.customer .promotion p{font-size:12px;line-height:1.4;margin:0}
.customer .bottom-nav{width:min(510px,100%);padding:10px 8px}.customer .bottom-nav .bp{height:29px;width:29px;font-size:17px}
body:has(.customer)>.support{right:max(16px,calc((100vw - 510px)/2 + 10px));bottom:95px;height:58px;width:58px;font-size:27px}
@media(max-width:700px){.customer{padding-top:0}.customer .wallet{padding:18px}.customer .balance>.badge{right:18px;top:18px}}
body:has(.customer) .support{right:max(16px,calc((100vw - 510px)/2 + 10px));bottom:95px;height:58px;width:58px;font-size:27px}

.customer .ticker{display:flex;align-items:center;gap:9px;padding:7px 10px;min-height:32px}.activity-demo-label{flex-shrink:0;font-size:8px;font-weight:800;letter-spacing:.6px;color:#c4f9ca;background:#ffffff14;padding:4px 6px;border-radius:6px}.activity-track-window{overflow:hidden;flex:1;min-width:0}.activity-track{display:inline-block;white-space:pre;width:max-content;animation:activity-marquee 45s linear infinite;color:#a6f594;font-size:11px}.ticker:hover .activity-track{animation-play-state:paused}@keyframes activity-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
body:has(.customer) .animated-support{padding:4px;background:white;border:2px solid #52b9ed;box-shadow:0 7px 24px #125bcc30;animation:support-bob 3s ease-in-out infinite;width:66px;height:66px}.animated-support svg{width:100%;height:100%;display:block}.animated-support:before{content:'';position:absolute;inset:-7px;border:1px solid #56baf25a;border-radius:50%;animation:support-ring 3s ease-out infinite;pointer-events:none}.support-online-dot{position:absolute;right:0;top:3px;width:12px;height:12px;border-radius:50%;background:#2cdd70;border:2px solid white}.animated-support small{font-size:10px;bottom:-24px;right:-13px;background:#2461e9;padding:4px 10px;box-shadow:0 3px 8px #1a51bb22}.animated-support:hover{animation-play-state:paused}@keyframes support-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}@keyframes support-ring{0%{transform:scale(.95);opacity:.7}100%{transform:scale(1.18);opacity:0}}@media(prefers-reduced-motion:reduce){.activity-track,.animated-support,.animated-support:before{animation:none!important}}

.activity-separator{display:inline-block;width:4px;height:4px;margin:0 11px;border-radius:50%;background:#a6f594;vertical-align:middle;animation:activity-dot-pulse 1.8s ease-in-out infinite}.activity-entry{vertical-align:middle}@keyframes activity-dot-pulse{0%,100%{transform:scale(.65);opacity:.6}50%{transform:scale(1.5);opacity:1}}@media(prefers-reduced-motion:reduce){.activity-separator{animation:none}}

.activity-track.smooth-activity{display:flex;width:max-content;white-space:nowrap;will-change:transform;backface-visibility:hidden;animation:activity-marquee 38s linear infinite;transform:translate3d(0,0,0)}.activity-copy{display:inline-flex;align-items:center;flex-shrink:0}.activity-copy .activity-separator{animation:none;transform:none;width:4px;height:4px;margin:0 13px;flex-shrink:0;opacity:.8}.activity-empty{font-size:11px;color:#b1dfbd}.customer .ticker{min-height:32px}.activity-copy .activity-entry{display:inline-block}@keyframes activity-marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}@media(prefers-reduced-motion:reduce){.activity-track.smooth-activity{animation:none}}

@media(min-width:701px){aside nav{grid-template-rows:repeat(13,minmax(0,1fr))}}.recycle-heading p{font-size:13px;color:#718095;margin-bottom:15px}.bin-archive{display:inline-flex;color:#e33445;background:#fff0f1;padding:6px;margin-left:5px}

.support-mouth-open{transform-box:fill-box;transform-origin:center;animation:avatar-speaking 1.7s linear infinite}.support-lip{animation:avatar-lip-motion 1.7s linear infinite}@keyframes avatar-speaking{0%,14%,45%,70%,100%{transform:scaleY(.4)}7%,27%,58%,84%{transform:scaleY(3.2)}20%,38%,64%,92%{transform:scaleY(1.4)}}@keyframes avatar-lip-motion{0%,14%,45%,70%,100%{opacity:1}7%,27%,58%,84%{opacity:.45}}@media(prefers-reduced-motion:reduce){.support-mouth-open,.support-lip{animation:none}}
.support-mouth-open,.support-lip{animation-duration:3.8s}

.customer .server,.customer .payments button,.customer .promotion{transition:transform .22s ease,box-shadow .22s ease;will-change:transform}.customer .card-touch-lift{transform:translateY(-6px);box-shadow:0 12px 22px #0c35252b}@media(hover:hover) and (pointer:fine){.customer .server:hover,.customer .payments button:hover,.customer .promotion:hover{transform:translateY(-6px);box-shadow:0 12px 22px #0c35252b}}@media(prefers-reduced-motion:reduce){.customer .server,.customer .payments button,.customer .promotion{transition:none}}
.customer .bottom-nav{gap:7px;padding:9px 10px;background:#ffffffed;border-top:1px solid #dce5ed;box-shadow:0 -4px 18px #17324d0a}
.customer .bottom-nav>button,.customer .bottom-nav>a{flex:1;min-width:0;padding:7px 3px;border-radius:12px;gap:5px;transition:transform .18s,box-shadow .18s}
.customer .bottom-nav>button{background:linear-gradient(135deg,#e4faed,#d3f3e2);color:#168347}
.customer .bottom-nav>a:nth-child(2){background:linear-gradient(135deg,#e0f7ff,#d9ecff);color:#147ac0}
.customer .bottom-nav>a:nth-child(3){background:linear-gradient(135deg,#eee6ff,#e2ddff);color:#7544cb}
.customer .bottom-nav>a:nth-child(4){background:linear-gradient(135deg,#fff0da,#ffe1d8);color:#d56a2a}
.customer .bottom-nav>a:nth-child(2) .bp{background:linear-gradient(135deg,#0fc1da,#087ed3);color:white;box-shadow:0 3px 7px #0b91ce25}
.customer .bottom-nav>a:nth-child(3) .bp{background:linear-gradient(135deg,#aa65ed,#6344d9);color:white;box-shadow:0 3px 7px #7851d525}
.customer .bottom-nav>a:nth-child(4) .bp{background:linear-gradient(135deg,#ffa83e,#f05c50);color:white;box-shadow:0 3px 7px #f6774325}
.customer .bottom-nav small{color:inherit;font-size:10px;font-weight:650;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(hover:hover){.customer .bottom-nav>a:hover,.customer .bottom-nav>button:hover{transform:translateY(-3px);box-shadow:0 5px 10px #16344e15}}

.customer .ticker:hover .activity-track,.customer .ticker .activity-track{animation-play-state:running}.activity-track.smooth-activity{animation-timing-function:linear;animation-duration:38s}.activity-track-window{direction:ltr;text-align:left}.activity-copy{white-space:nowrap}

.wallet-deposit-notice{font-size:10px;line-height:1.5;margin:9px 0 0;font-weight:600}.wallet-deposit-notice.deposit-waiting{color:#fde047}.wallet-deposit-notice.deposit-success{color:#91ffbb}

body:has(.section-settings) .settings-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:940px;padding:5px;background:#e8edf3;border:1px solid #e0e6ee;border-radius:15px;margin-bottom:12px}
body:has(.section-settings) .settings-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:11px 8px;background:#ffffff80;color:#60718a;font-size:12px;font-weight:650;border:1px solid transparent;box-shadow:none;transition:background .18s,color .18s,box-shadow .18s}
body:has(.section-settings) .settings-tabs button svg{flex-shrink:0}
body:has(.section-settings) .settings-tabs button:hover{background:white;color:#1b6549;filter:none}
body:has(.section-settings) .settings-tabs button.selected{background:linear-gradient(115deg,#173b3e,#1c344a);color:#edfff6;border-color:#3b665f;box-shadow:0 3px 8px #1c34451c}
body:has(.section-settings) .settings-tabs button.selected svg{color:#8be6b4}
body:has(.section-settings) .settings-tabs button:focus-visible{outline:2px solid #2b9970;outline-offset:2px}
@media(max-width:700px){body:has(.section-settings) .settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}body:has(.section-settings) .settings-tabs button{font-size:11px;padding:10px 7px;gap:6px}}

@media(min-width:701px){aside nav{grid-template-rows:repeat(14,minmax(0,1fr))}aside nav button{font-size:12px!important}}.audit-filter{display:flex;gap:8px;margin-bottom:12px}.audit-filter input,.audit-filter select{margin:0;font-size:12px;padding:10px}.audit-filter input{flex:2}.audit-filter select{flex:1}.audit-filter .dark{width:auto;padding:10px 18px}.audit-pager{display:flex;align-items:center;justify-content:space-between;padding:12px}#audit-results td{padding:12px;font-size:12px}#audit-results small{font-size:10px;overflow-wrap:anywhere}@media(max-width:700px){.audit-filter{flex-wrap:wrap}#audit-results table{min-width:650px}}

.audit-full-details{margin-top:7px;max-width:380px}.audit-full-details summary{cursor:pointer;color:#247b57;font-weight:650}.audit-full-details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto;font:11px/1.5 monospace;background:#f3f6fa;padding:10px;border:1px solid #e2e8f0;border-radius:8px}

.history-readable{min-width:230px;max-width:470px;font-size:12px}.history-readable summary{cursor:pointer;color:#237953;font-weight:650;padding:4px 0}.history-change{padding:10px 0;border-bottom:1px solid #e5eaf0}.history-event{display:block;color:#6b7890;font-size:11px;margin-top:3px}.history-change dl{margin:8px 0 0}.history-change dl>div{margin-bottom:9px}.history-change dt{font-weight:650;color:#53647d;margin-bottom:4px}.history-change dd{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:7px}.history-change dd>span{display:block;padding:7px 9px;border-radius:7px;overflow-wrap:anywhere;font-size:11px;white-space:pre-wrap}.history-before{background:#f2f4f7;color:#6b7585}.history-after{background:#eaf7ee;color:#225e3a}.history-change em{display:block;font-style:normal;text-transform:uppercase;font-size:8px;letter-spacing:.7px;margin-bottom:3px;opacity:.7}

.admin-main table th.serial-head{width:43px!important;padding:10px 8px;text-align:center;font-size:10px;color:#6c7f98}.admin-main table td.serial-cell{width:43px!important;padding:8px!important;text-align:center;font-size:11px!important;font-weight:700;color:#55718b;font-family:inherit}.account-table th:nth-child(2){width:18%}.account-table th:nth-child(3){width:18%}.account-table th:nth-child(4){width:11%}.account-table th:nth-child(5){width:33%}.account-table td:nth-child(4){position:static;padding-left:12px}.account-table td:nth-child(5){position:relative;padding-left:78px}.account-table td:nth-child(5)>.badge{position:absolute;left:10px;top:50%;transform:translateY(-50%);font-size:8px;padding:3px 5px}.account-table td:nth-child(5)>b,.account-table td:nth-child(5)>small{display:block;font-size:10px;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.account-table td:nth-child(4){font-size:9px;color:#8491a5}.account-table td:nth-child(3){font-family:monospace;color:inherit;font-size:11px}.users-table th:nth-child(2){width:32%}.users-table th:nth-child(3){width:17%}.users-table th:nth-child(4){width:15%}.users-table th:nth-child(5){width:16%}.card-serial{display:inline-flex;font-size:10px;font-weight:750;color:#467263;background:#eaf4ef;border-radius:5px;padding:3px 6px;margin-right:8px;align-self:flex-start}.credential-card>.card-serial{float:left;margin:0 7px 0 0}

@media(min-width:701px){
body:has(.compact-transaction-list) .content{padding:12px 18px}
body:has(.compact-transaction-list) .topbar{padding:10px 20px}
body:has(.compact-transaction-list) .history-description{font-size:11px;margin-bottom:9px}
body:has(.compact-transaction-list) .content>h2{font-size:17px;margin-bottom:5px}
.compact-transaction-list .transaction-table{overflow:visible}
.compact-transaction-list table{table-layout:fixed;width:100%;min-width:0!important}
.compact-transaction-list th{padding:8px 7px;font-size:9px;white-space:normal}
.compact-transaction-list td{padding:7px;min-width:0!important;font-size:11px;overflow-wrap:anywhere;vertical-align:middle;line-height:1.2}
.compact-transaction-list th.serial-head{width:30px!important}
.compact-transaction-list th:nth-child(2){width:24%}
.compact-transaction-list th:nth-child(3){width:30%}
.compact-transaction-list th:nth-child(4){width:14%}
.compact-transaction-list th:nth-child(5){width:13%}
.compact-transaction-list th:nth-child(6){width:15%}
.compact-transaction-list small{font-size:9px;line-height:1.25;overflow-wrap:anywhere}
.compact-transaction-list .amount-cell{white-space:normal}
.compact-transaction-list .badge{font-size:8px;padding:4px 6px}
.compact-transaction-list .bonus{font-size:9px}
.compact-transaction-list .receipt-preview{display:inline-block;width:49px;padding:2px;margin:4px 4px 0 0;vertical-align:middle}
.compact-transaction-list .receipt-preview img{width:43px;height:39px}
.compact-transaction-list .receipt-preview span{display:none}
.compact-transaction-list .receipt-link{font-size:9px;display:inline-block}
.compact-transaction-list .approve,.compact-transaction-list .decline{font-size:9px;min-width:0;padding:5px 6px;margin:2px}
.compact-transaction-list .bin-archive{padding:3px;margin:2px}
.compact-transaction-list .bin-archive svg{width:13px;height:13px}
}
.transaction-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 2px}.transaction-pagination button{padding:7px 11px;font-size:11px}.transaction-pagination small{font-size:10px}

.panel-switch-link{font-size:11px;font-weight:650;text-decoration:none;color:#247b57;background:#e5f5eb;padding:9px 11px;border-radius:8px;margin-left:10px;white-space:nowrap}.topbar>.badge{margin-left:auto}.client-admin-switch{display:block;position:relative;text-align:right;font-size:10px;color:#d3fbe3;background:#1c5d25;padding:3px 12px 5px;margin:0 -16px 0;text-decoration:none}.customer>.welcome{margin-bottom:0}

/* Responsive panels: touch navigation, readable records and safe device insets. */
html{ -webkit-text-size-adjust:100%;text-size-adjust:100% }
.admin-main,.content,.grid>*{min-width:0}
.mobile-menu-toggle{display:none}
button,a,input,select,textarea{touch-action:manipulation}
:focus-visible{outline:2px solid #27986a;outline-offset:3px}
.modal{max-height:calc(100dvh - 24px);overscroll-behavior:contain}
.customer{width:100%;padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
.customer .bottom-nav{padding-bottom:calc(9px + env(safe-area-inset-bottom,0px))}
.customer .support{bottom:calc(110px + env(safe-area-inset-bottom,0px))}
@media(min-width:701px) and (max-width:1100px){
 aside{width:200px}.admin-main{margin-left:200px}
 .content{padding:16px}.topbar{padding:14px 16px;gap:10px;flex-wrap:wrap}
 .dashboard-value.text-value{white-space:normal}
 .dashboard-grid{height:auto;min-height:calc(100dvh - 175px);grid-auto-rows:minmax(105px,1fr);grid-template-rows:none}
 .settings-fields{gap:0 12px}.section-settings{padding:18px}
 .account-table table{min-width:620px}
}
@media(max-width:700px){
 .admin aside{position:relative;width:100%;padding:10px 12px;inset:auto}
 .admin aside .brand{padding:0 0 8px;gap:9px;margin:0;min-height:48px}
 .admin aside .brand .logo{width:37px;height:37px;font-size:41px}
 .mobile-menu-toggle{display:block;margin-left:auto;background:#243b50;color:#edfff4;font-size:14px;min-height:44px;padding:10px 14px}
 .admin aside nav{display:none;overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:10px 0;max-height:none}
 .admin aside.menu-open nav{display:grid}
 .admin aside nav button{width:100%;margin:0;min-height:44px;padding:9px!important;font-size:12px!important;white-space:normal;text-align:left;line-height:1.35;gap:7px!important}
 .admin aside .logout{position:static;display:none;width:100%;min-height:44px;font-size:14px;margin:5px 0 0;padding:10px}
 .admin aside.menu-open .logout{display:flex}
 .admin-main{margin-left:0}.admin .topbar{padding:14px 12px;gap:8px;flex-wrap:wrap}
 .topbar>div{flex:1;min-width:180px}.topbar h1{font-size:19px}.topbar p{font-size:12px}
 .panel-switch-link{margin:0;font-size:12px;min-height:40px;display:inline-flex;align-items:center}
 .content,body:has(.compact-transaction-list) .content{padding:12px}
 .dashboard-grid{height:auto;grid-template-rows:none;gap:10px}
 .dashboard-card{min-height:125px;padding:14px 12px;justify-content:center}
 .dashboard-card-top{position:static}.dashboard-label{padding:0;font-size:12px}.dashboard-value.text-value{white-space:normal;font-size:17px}.dashboard-description{font-size:11px}
 .account-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .account-stats .stat{padding:10px;min-height:74px;font-size:11px}.account-stats .stat strong{font-size:23px}
 .panel{padding:16px}.toolbar{flex-wrap:wrap}.toolbar button{min-height:44px}
 .table-wrap{padding:0;overflow:visible;background:transparent;border:0;box-shadow:none}
 .admin-main table,.customer table{display:block;width:100%;min-width:0!important;table-layout:auto}
 .admin-main thead,.customer thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .admin-main tbody,.customer tbody{display:grid;gap:12px;width:100%}
 .admin-main tbody>tr,.customer tbody>tr{display:block;background:white;border:1px solid #dfe6ed;border-radius:14px;overflow:hidden;padding:6px 12px}
 .admin-main table td,.customer table td{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:8px;width:auto!important;min-width:0!important;height:auto!important;padding:10px 0!important;border-top:1px solid #edf0f4;white-space:normal!important;overflow-wrap:anywhere;font-family:inherit;font-size:13px!important;position:static;text-align:left;line-height:1.5}
 .admin-main td:first-child,.customer td:first-child{border-top:0}
 td[data-label]::before{content:attr(data-label);font-size:11px;font-weight:700;color:#6b7b90;align-self:start}
 .admin-main table td.serial-cell{display:flex;width:auto!important;justify-content:flex-start;padding:7px 0!important;gap:10px;font-size:12px!important}
 .admin-main table td[colspan]{display:block;text-align:center}
 .admin-main td small,.customer td small{grid-column:2;font-size:11px!important;line-height:1.5;white-space:normal!important;overflow:visible!important}
 .admin-main td>b,.admin-main td>.badge{max-width:100%;justify-self:start}
 .account-table td:nth-child(5){padding-left:0!important}.account-table td:nth-child(5)>.badge{position:static;transform:none;grid-column:2}
 .account-table td:nth-child(5)>b{grid-column:2;white-space:normal;font-size:13px}
 .admin-main td .actions,.user-actions{flex-wrap:wrap;justify-content:flex-start}
 .admin-main td button{min-height:40px;min-width:40px;font-size:12px}.admin-main td .actions button{min-height:40px;min-width:40px}
 .transaction-table .receipt-preview{grid-column:2;width:100%;max-width:172px}.receipt-link{grid-column:2}
 .history-readable{min-width:0;max-width:100%}.history-change dd{grid-template-columns:1fr}
 .audit-filter{display:grid;grid-template-columns:1fr}.audit-filter .dark{width:100%;min-height:44px}
 .audit-pager,.transaction-pagination{gap:6px;flex-wrap:wrap}.audit-pager button,.transaction-pagination button{min-height:44px}
 .settings-fields{grid-template-columns:1fr}.section-settings{width:100%;height:auto!important;min-height:0!important;padding:16px!important}
 .section-settings label{font-size:13px}.section-settings textarea{height:auto!important;min-height:90px}
 .section-settings input,.section-settings textarea,input,select,textarea,.credentials-modal #credentials-form input,.credentials-modal #credentials-form select,.link-modal input{font-size:16px!important;min-height:44px}
 input[type=checkbox]{min-height:0!important;width:18px;height:18px;flex-shrink:0}
 .settings-tabs{gap:6px}.settings-tabs button{min-height:44px;white-space:normal}
 .item{flex-wrap:wrap;gap:10px}.item>div{min-width:0}.item a{overflow-wrap:anywhere}
 .compact-chats{height:auto;min-height:0;grid-template-columns:1fr}.compact-chats .conversations{max-height:180px}.compact-chats .conversations button{min-height:48px;height:auto}.compact-chats .chat-box{min-height:380px}.compact-chats .messages{max-height:50dvh}
 .overlay{padding:12px;padding-top:max(12px,env(safe-area-inset-top,0px));padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}.modal{width:100%;max-height:calc(100dvh - 24px);padding:20px 16px;border-radius:18px}.modal .close{min-width:40px;min-height:40px}.modal h2{font-size:19px}
 .auth{min-height:100dvh;padding:24px 16px}.auth-card{padding:20px}.auth input{font-size:16px}
 .customer{padding-left:12px;padding-right:12px}.customer .wallet{padding:18px}.customer .credentials{padding:0 12px}.customer .credentials b{overflow-wrap:anywhere;min-width:0}.customer .welcome{gap:8px}.customer .welcome h3{overflow-wrap:anywhere}.customer .server{gap:10px;padding:14px}.customer .server>div{min-width:0}.customer .server h2{font-size:15px;overflow-wrap:anywhere}.customer .server p{overflow-wrap:anywhere}.customer .server>b{font-size:11px;flex-shrink:0}
 .customer .bottom-nav>button,.customer .bottom-nav>a{min-height:48px}.customer .bottom-nav{width:100%;max-width:510px}.customer .promotion p{font-size:13px}
 .customer .support{right:16px;width:58px!important;height:58px!important}
 #chat-form{align-items:center}#chat-form input{flex:1;width:0}#chat-form button{min-height:44px}
}
@media(max-width:360px){.dashboard-grid{grid-template-columns:1fr}.customer .payments{gap:8px}.customer .payments button{font-size:20px}.customer .welcome .logo{width:38px;height:38px}.dashboard-card{min-height:110px}.admin aside nav{grid-template-columns:1fr}}
@media(hover:none){.dashboard-card:hover{transform:none}}

/* Supplied client brand artwork keeps its original proportions. */
.logo.client-logo{padding:0;overflow:hidden;background:#8bdf8d;border:0;flex-shrink:0}
.logo.client-logo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}

.logo.admin-logo{padding:0;overflow:hidden;background:#006851;border:0;border-radius:12px;flex-shrink:0}
.logo.admin-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}
.payment-account{padding:16px;border:1px solid #dce6e0;border-radius:14px;background:white;margin-bottom:12px;clear:both}.payment-account-heading{display:flex;align-items:center;gap:10px;margin-bottom:13px}.payment-account-heading .provider-logo{float:none;margin:0;width:50px;height:50px;flex-basis:50px}.payment-account-heading .provider-logo img{inset:4px;width:40px;height:40px;object-fit:contain}.payment-account-heading b{font-size:16px}.account-availability{margin-left:auto;font-size:10px;color:#247b4a;background:#e8f6ed;border-radius:20px;padding:5px 8px}.account-detail{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 10px;min-width:0}.account-detail strong{font-size:21px;letter-spacing:.4px;line-height:1.4;font-variant-numeric:tabular-nums;user-select:all;overflow-wrap:anywhere}.account-detail span{font-weight:650;overflow-wrap:anywhere}.payment-account .account-detail button{float:none;flex-shrink:0;background:#edf7f1;color:#176e3e;min-height:40px;font-size:12px;padding:8px 12px}.choose-payment-account{width:100%;color:#176e3e;background:#edf7f1;font-size:12px;min-height:42px}.selected-account{border:2px solid #1e9951;background:#f6fff8}.selected-account .choose-payment-account{background:#15803d;color:white}.unconfigured{background:#f8fafb}.unconfigured .account-availability{background:#edf0f3;color:#6b7786}.unconfigured .account-detail strong{font-size:13px;font-weight:500;color:#758194;letter-spacing:0}.account-unavailable{color:#9a661c}.provider-preview .provider-logo img{object-fit:contain}.provider-logo>span{font-size:24px}.provider-logo img{inset:4px;width:32px;height:32px}.payment-item .provider-logo{width:50px;height:50px;flex-basis:50px}.payment-item .provider-logo img{width:40px;height:40px}.account-setup-notice{font-size:13px}.payment-account-heading+.provider-logo{display:none}@media(max-width:450px){.payment-account{padding:13px}.payment-account-heading{flex-wrap:wrap}.account-availability{font-size:9px}.account-detail strong{font-size:19px}.account-detail{gap:6px}.payment-account .account-detail button{font-size:11px;padding:8px;min-height:44px}.payment-account-heading b{font-size:15px}}

.customer .credentials p{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center}.customer .credentials p>small{grid-column:1/-1}.customer .credentials p>b{margin:0;min-width:0;overflow-wrap:anywhere;user-select:all}.customer .credentials p>button{min-height:40px;padding:8px 10px;background:#ffffff14;border:1px solid #ffffff26;border-radius:8px;font-size:11px;font-weight:650;color:#a5ffc4;white-space:nowrap}.customer .credentials p>button:hover{background:#ffffff25}.customer .payments .payment-feature-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0 auto 8px;border-radius:13px;background:#ffffff20;border:1px solid #ffffff30;box-shadow:0 3px 9px #0000000c}.payment-feature-icon svg{width:28px;height:28px}.service-feature-icon{display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:12px;margin-bottom:10px;color:#13864b;background:linear-gradient(135deg,#dcfce7,#bbf7d0)}.service-feature-icon svg{width:24px;height:24px}.service-feature-icon.bonus-icon{color:#a85b0a;background:linear-gradient(135deg,#fff4cd,#ffdf95)}.customer .promotion{box-shadow:0 4px 16px #174d2510}.customer .promotion h3{line-height:1.4}@media(max-width:360px){.customer .credentials p{grid-template-columns:1fr}.customer .credentials p>button{justify-self:start;min-height:44px}.customer .payments .payment-feature-icon{width:38px;height:38px}.payment-feature-icon svg{width:25px;height:25px}}

/* Dashboard shortcuts use natural compact rows, including tall desktop-mode screens. */
.admin .dashboard-grid{height:auto;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:minmax(106px,auto);gap:10px}
.admin .dashboard-card{min-height:106px;max-height:none;padding:13px;justify-content:center;gap:5px}
.admin .dashboard-label{font-size:12px;line-height:1.4;padding-right:32px}
.admin .dashboard-value{font-size:23px;white-space:normal;overflow-wrap:anywhere}
.admin .dashboard-value.text-value{font-size:16px}.admin .dashboard-description{font-size:10px;line-height:1.4}
.admin .dashboard-card-top{position:absolute;right:10px;top:10px}.admin .dashboard-icon{width:25px;height:25px;font-size:15px}.admin .dashboard-open{display:none}
@media(min-width:1200px){.admin .dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:701px){.admin aside nav{display:flex;flex-direction:column;gap:3px;overflow:auto;min-height:0;padding:5px 0}.admin aside nav button{flex:0 0 auto;min-height:36px;padding-top:8px!important;padding-bottom:8px!important;margin:0}.admin aside .brand{padding-bottom:12px;margin-bottom:6px}.admin aside .logout{flex-shrink:0}}
@media(max-width:700px){.admin .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(108px,auto)}.admin .dashboard-label{font-size:11px;padding-right:22px}.admin .dashboard-card{padding:12px 10px}.admin .dashboard-value{font-size:22px}.admin .dashboard-value.text-value{font-size:15px}.admin .dashboard-card-top{right:8px;top:9px}.admin .dashboard-icon{width:21px;height:21px;font-size:13px}}
@media(max-width:360px){.admin .dashboard-grid{grid-template-columns:1fr}}

/* Instruction fields follow their content size instead of the viewport height. */
.section-settings[data-section="instructions"]{height:auto!important;min-height:0!important;max-width:1040px;padding:18px!important}
.section-settings[data-section="instructions"] .settings-fields{flex:0 0 auto;grid-template-rows:auto;align-items:start;gap:14px 18px}
.section-settings[data-section="instructions"] label{font-size:13px;font-weight:650;line-height:1.5}
.section-settings[data-section="instructions"] textarea{flex:none;height:100px!important;min-height:100px!important;max-height:220px;padding:10px 12px;font-size:14px;line-height:1.6;overflow:auto;resize:vertical}
.section-settings[data-section="instructions"] textarea[lang="ur"]{font-size:17px;line-height:1.8}
.section-settings[data-section="instructions"] .save-status:empty{display:none}
.section-settings[data-section="instructions"]>.dark{margin-top:16px;min-height:44px}
@media(max-width:700px){.section-settings[data-section="instructions"]{padding:14px!important;border-radius:14px}.section-settings[data-section="instructions"] .settings-fields{grid-template-columns:1fr;gap:12px}.section-settings[data-section="instructions"] textarea{height:104px!important;min-height:104px!important;font-size:16px!important}.section-settings[data-section="instructions"] textarea[lang="ur"]{font-size:18px!important}.section-settings[data-section="instructions"] h2{font-size:17px;margin-bottom:12px}body:has(.section-settings) .settings-tabs button{font-size:12px;min-height:44px;line-height:1.4}}
@media(min-width:701px){.admin aside nav button{height:36px!important;min-height:36px;max-height:36px}}

.pwa-install{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 13px;border-radius:10px;border:1px solid #b9dec8;background:#e6f5ed;color:#176638;font-size:12px;font-weight:700;white-space:nowrap;flex-shrink:0}.topbar{gap:10px}.auth header .pwa-install{margin:12px 0 0;background:#ffffff17;color:#e3ffec;border-color:#ffffff40}.customer>.welcome{flex-wrap:wrap}.customer>.welcome .pwa-install{flex-basis:100%;margin-top:7px;background:#ffffff18;color:#e3ffec;border-color:#ffffff35;min-height:38px;font-size:11px}.install-intro{font-size:14px;color:#52657b;line-height:1.6}.install-steps{padding-left:22px;font-size:15px;line-height:1.75}.install-steps li{padding:5px 0}.install-note{font-size:13px;color:#68788c;line-height:1.65;margin-top:14px}.admin .topbar>.pwa-install{margin-left:8px}@media(max-width:700px){.admin .topbar>.pwa-install{margin-left:0;min-height:44px;font-size:12px}.pwa-install{min-height:44px}.auth{padding-top:max(24px,env(safe-area-inset-top,0px))}}@media(display-mode:standalone){.pwa-install{display:none!important}.admin aside{padding-top:max(10px,env(safe-area-inset-top,0px))}.customer>.welcome{padding-top:max(12px,env(safe-area-inset-top,0px))}}

.firebase-panel{max-width:720px}.firebase-panel>p{font-size:14px;line-height:1.6;color:#5c6f84}.firebase-panel h2{font-size:20px}.firebase-connected{padding:12px;background:#e6f7ed;color:#176938!important;border-radius:10px}.firebase-pending{padding:12px;background:#fff5d6;color:#8c621e!important;border-radius:10px}.notification-actions{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}.notification-actions button{width:auto;min-height:44px;font-size:13px}.notification-open{min-height:42px}.customer>.welcome .notification-open{flex-basis:auto;flex:1}.firebase-panel small{font-size:12px;line-height:1.6}@media(max-width:700px){.notification-actions{display:grid;grid-template-columns:1fr}.notification-actions button{width:100%}.firebase-panel{padding:16px}}

.whatsapp-contact{display:flex;align-items:center;justify-content:center;gap:10px;width:fit-content;max-width:100%;margin:20px auto;padding:13px 20px;background:#128c4a;color:#fff;text-decoration:none;border-radius:14px;font-weight:700;font-size:15px;box-shadow:0 4px 12px #128c4a22;min-height:48px}.whatsapp-contact svg{flex-shrink:0}.whatsapp-contact:hover{background:#087b3d}.whatsapp-contact:focus-visible{outline:3px solid #75e9a8;outline-offset:3px}

/* Floating WhatsApp shortcut, above live support and bottom navigation. */
.whatsapp-contact{position:fixed;right:22px;bottom:225px;z-index:5;display:flex;align-items:center;justify-content:center;width:58px;height:58px;min-height:58px;padding:12px;margin:0;border:2px solid #fff;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 4px 16px #075e5433}.whatsapp-contact>span{display:none}.whatsapp-contact svg{width:31px;height:31px}.whatsapp-contact:hover{background:#1bbd5b}@media(max-width:700px){.whatsapp-contact{right:17px;bottom:205px;width:54px;height:54px;min-height:54px;padding:11px}}

.notification-reminder{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#e8f7ee;border:1px solid #bce5cb;padding:13px 16px;border-radius:14px;margin-bottom:16px;color:#174c2a}.notification-reminder>div{flex:1;min-width:180px}.notification-reminder small{display:block;margin-top:4px;font-size:12px}.notification-reminder button{min-height:44px}.notification-reminder [data-push-feedback]{flex-basis:100%;margin:0;font-size:13px}[data-push-feedback]{white-space:pre-wrap;overflow-wrap:anywhere;background:#edf5ff;border-radius:10px;padding:12px;font-size:13px}.push-error{background:#fff0ed!important;color:#922c21!important}.firebase-panel #push-permission{font-size:13px;line-height:1.5}
.bp.saudia-logo{background:transparent;border:0;overflow:hidden;box-shadow:none}.bp.saudia-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%}

.bp.server-hd-logo{background:transparent;border:0;overflow:hidden;box-shadow:none}.bp.server-hd-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%}

.customer .ticker .activity-track.smooth-activity{animation-duration:var(--ticker-duration,26s)}

.manual-activity-row{padding:16px;margin:14px 0;border:1px solid #dfe3eb;border-radius:12px}.manual-activity-label{color:#ffe693;font-size:10px}

.inbox-notification{border-top:1px solid #dfe3eb;padding:12px 0}.inbox-notification p{margin:6px 0;font-size:13px}

.wallet-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0}.wallet-shortcuts button{padding:10px 3px;display:flex;align-items:center;flex-direction:column;gap:5px;font-size:11px}.payment-overview{margin-bottom:22px}.payment-overview>p{font-size:12px;color:#637189}.payment-overview table{width:100%;min-width:0}.payment-overview th,.payment-overview td{padding:10px 5px;text-align:left;font-size:13px}.overlay .modal:has(#chat-form){width:min(900px,96vw);max-width:900px;height:min(780px,88dvh);display:flex;flex-direction:column}.overlay .modal:has(#chat-form) .messages{flex:1;min-height:100px;height:auto;overflow-y:auto}.compact-chats{height:min(800px,78dvh);grid-template-columns:minmax(220px,30%) minmax(0,1fr)}.support-status{font-size:12px}.notification-open{white-space:nowrap}.sound-setting{display:flex;gap:10px;align-items:center;margin:14px 0}.sound-setting input{width:18px;margin:0}@media(max-width:700px){.compact-chats{height:auto;grid-template-columns:1fr}.compact-chats .chat-box{height:72dvh;min-height:420px}.overlay .modal:has(#chat-form){height:87dvh;max-height:87dvh;padding:20px 14px}.payment-overview .grid.two{grid-template-columns:1fr}.payment-overview td,.payment-overview th{font-size:12px}.wallet-shortcuts .provider-logo{width:34px;height:34px;flex-basis:34px}.wallet-shortcuts .provider-logo img{inset:3px;width:26px;height:26px}}

.bank-search-results{max-height:220px;overflow:auto;border:1px solid #dfe3eb;border-radius:12px;padding:5px}.bank-search-results[hidden]{display:none}.bank-search-results button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;margin:4px 0;background:#f0f7f3}
