/* ARGUS — consistency of the reseller workspace with the Admin design system.
   Dark ink, warm metallic gold, clear hierarchy, distinct menu sections and
   smooth transitions on desktop/tablet/iOS. Financial permission state is
   derived exclusively from the existing server responses, never from CSS. */
:root{
 --res-admin-bg:#0b111a;--res-admin-panel:#1a212d;--res-admin-panel2:#232630;
 --res-admin-border:rgba(201,167,116,.28);--res-admin-gold:#e2bc82;
 --res-admin-muted:#a6b2c1;--res-admin-text:#f4ecdf;
}
#argus-session-loading[hidden]{display:none!important}
#argus-session-loading{
 position:fixed!important;inset:0!important;z-index:700!important;
 width:100vw!important;max-width:none!important;height:100dvh!important;
 margin:0!important;padding:clamp(22px,5vw,54px)!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 display:flex!important;flex-direction:column;justify-content:center;align-items:center;
 gap:16px!important;text-align:center;
 background:radial-gradient(circle at 50% 47%,rgba(168,116,58,.15) 0,transparent 42%),#0c111b!important;
 color:var(--res-admin-text);
}
#argus-session-loading .argus-loading-symbol{display:none!important}
#argus-session-loading .argus-reseller-boot-logo{
 width:min(320px,84vw);min-height:145px;display:flex;flex-direction:column;
 justify-content:center;align-items:center;gap:22px;
}
#argus-session-loading .argus-reseller-boot-logo img{
 display:block;width:min(260px,78vw);max-height:113px;height:auto;
 object-fit:contain;filter:drop-shadow(0 5px 30px rgba(226,184,116,.19));
 animation:argus-logo-enter 1.7s ease-in-out infinite alternate;
}
#argus-session-loading .argus-reseller-boot-track{
 display:block;position:relative;overflow:hidden;width:min(194px,59vw);
 height:3px;border-radius:99px;background:rgba(219,174,110,.15);
}
#argus-session-loading .argus-reseller-boot-track i{
 position:absolute;inset:0 auto 0 0;width:39%;height:100%;
 border-radius:99px;background:linear-gradient(90deg,transparent,#d7a76b,#f4e2bd);
 box-shadow:0 0 10px rgba(246,211,152,.39);
 animation:argus-logo-progress 1.3s ease-in-out infinite alternate;
}
#argus-session-loading #argus-session-loading-message{
 color:#ddcaaa!important;font-size:13px!important;
 font-weight:600;letter-spacing:.02em;max-width:360px;line-height:1.6;
 margin:0!important;
}
#argus-session-loading #argus-session-retry{
 background:#29272a;border-color:#aa885c;color:#efdbb5;min-height:44px;
}
@keyframes argus-logo-enter{
 from{opacity:.75;transform:scale(.982);filter:drop-shadow(0 0 11px rgba(226,184,116,.08))}
 to{opacity:1;transform:scale(1.025);filter:drop-shadow(0 0 25px rgba(226,184,116,.25))}
}
@keyframes argus-logo-progress{
 from{left:-40%}to{left:100%}
}
body.argus-reseller-ready{color:var(--res-admin-text)!important;background:var(--res-admin-bg)!important}
body.argus-reseller-ready .argus-reseller-sidebar{
 border-right:1px solid rgba(213,178,126,.27)!important;
 background:linear-gradient(180deg,#181b24,#111720 62%,#0b111a)!important;
 box-shadow:inset -1px 0 rgba(8,10,15,.5);
}
.argus-reseller-side-brand{
 min-height:107px!important;padding:4px 10px 22px!important;
 border-bottom:1px solid rgba(215,181,131,.17)!important;
}
.argus-reseller-side-brand img{width:min(183px,100%);max-height:66px}
.argus-reseller-side-brand span{font-size:9px!important;letter-spacing:.17em!important;color:#e3c087!important}
#argus-reseller-workspace .argus-reseller-nav{gap:5px;padding:0 2px}
#argus-reseller-workspace .argus-reseller-nav button{
 min-height:51px!important;gap:12px!important;position:relative;
 border:1px solid transparent!important;border-radius:11px!important;
 background:transparent!important;color:#c2c6ce!important;
 font-size:13px!important;font-weight:650!important;letter-spacing:.005em;
 transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease!important;
}
#argus-reseller-workspace .argus-reseller-nav button:hover{
 background:#282932!important;color:#efd3a6!important;
 border-color:rgba(212,172,118,.21)!important;transform:translateX(2px);
}
#argus-reseller-workspace .argus-reseller-nav button.selected{
 background:linear-gradient(97deg,rgba(133,100,62,.3),rgba(42,37,35,.85))!important;
 color:#ffdb9e!important;border-color:#957348!important;
 box-shadow:inset 2px 0 #dfb67a,0 2px 12px rgba(0,0,0,.16);
}
#argus-reseller-workspace .argus-reseller-nav .nav-glyph{
 width:30px!important;flex:0 0 30px!important;height:30px!important;
 display:grid;place-items:center;border-radius:8px;
 color:#dfb67e!important;font-size:20px!important;
 background:rgba(202,166,109,.055);
}
#argus-reseller-workspace .argus-reseller-nav button.selected .nav-glyph{
 background:rgba(226,187,128,.15)!important;color:#ffe1ab!important;
}
#argus-reseller-workspace .argus-reseller-toolbar{
 background:linear-gradient(105deg,rgba(20,25,34,.98),rgba(18,21,30,.97))!important;
 border-bottom:1px solid rgba(215,182,136,.22)!important;
 min-height:77px!important;box-shadow:0 9px 23px rgba(0,0,0,.14);
}
#argus-reseller-workspace .argus-reseller-toolbar-title small{
 color:#ba9a68;font-size:9px;font-weight:800;letter-spacing:.15em;
}
#argus-reseller-workspace .argus-reseller-toolbar-title strong{
 color:#f4e4c9;font-size:clamp(16px,1.6vw,19px);font-weight:800;
}
#argus-reseller-workspace .argus-reseller-toolbar-actions{
 display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;
}
#argus-reseller-workspace .argus-reseller-toolbar-status{
 display:inline-flex;align-items:center;justify-content:center;
 border-radius:999px;border:1px solid #78674b;color:#dfc4a0;
 background:#312d26;font-size:10px;font-weight:800;
 padding:8px 12px;white-space:nowrap;max-width:100%;
}
#argus-reseller-workspace .argus-reseller-toolbar-status.verified{
 background:#1e392e;border-color:#4b856a;color:#b9ead4;
}
#argus-reseller-workspace #logout{
 border-color:#756448!important;background:#252630!important;
 color:#f2d9ae!important;border-radius:10px!important;
 min-height:42px!important;
}
#argus-reseller-workspace .argus-reseller-content{
 padding-top:clamp(19px,3vw,35px);
}
#argus-reseller-workspace .argus-reseller-page-intro{
 border-bottom:1px solid rgba(215,176,120,.15);
 padding-bottom:17px;margin-bottom:22px;
}
#argus-reseller-workspace .argus-reseller-page-intro>span{
 color:#d2a76c!important;letter-spacing:.17em;
}
#argus-reseller-workspace .argus-reseller-page-intro h2{
 color:#f3dec0!important;letter-spacing:-.025em;
}
#argus-reseller-workspace .argus-reseller-page:not([hidden]){
 animation:argus-page-change .2s ease-out both;
}
@keyframes argus-page-change{
 from{opacity:.84;transform:translateY(4px)}
 to{opacity:1;transform:translateY(0)}
}
#argus-reseller-workspace #argus-reseller-nav-progress{
 position:absolute;bottom:0;left:0;width:100%;height:3px;
 background:transparent;pointer-events:none;overflow:hidden;
}
#argus-reseller-workspace #argus-reseller-nav-progress.is-changing::before{
 content:"";position:absolute;top:0;bottom:0;left:-34%;width:34%;
 background:linear-gradient(90deg,transparent,#d2a269,#ffdfac);
 box-shadow:0 0 9px #e4ba80;animation:argus-nav-scan .48s ease-out forwards;
}
@keyframes argus-nav-scan{from{left:-34%}to{left:100%}}
#argus-reseller-workspace :where(.panel,.seller-panel,.kyc-customer-head,.kyc-customer-form,.seller-balance){
 border:1px solid rgba(202,174,132,.24)!important;
 background:linear-gradient(140deg,#202531,#191f2a)!important;
 border-radius:16px!important;
 box-shadow:0 10px 25px rgba(0,0,0,.17)!important;
}
#argus-reseller-workspace :where(.panel,.seller-panel) :where(h2,h3,h4){
 color:#edcea1!important;letter-spacing:-.014em;line-height:1.28;
}
#argus-reseller-workspace :where(.panel,.seller-panel) :where(input,select,textarea){
 border-radius:10px;max-width:100%;min-width:0;
}
#argus-reseller-workspace :where(.panel,.seller-panel) button{
 transition:filter .18s ease,background .18s ease,transform .18s ease;
}
#argus-reseller-workspace :where(.panel,.seller-panel) button:hover:not(:disabled){
 filter:brightness(1.08);
}
#argus-reseller-workspace :where(.panel,.seller-panel) button:active:not(:disabled){
 transform:scale(.99);
}
#argus-reseller-workspace :where(.panel,.seller-panel) :where(pre,code,textarea,.seller-key-status){
 overflow-wrap:anywhere;max-width:100%;
}
#argus-reseller-workspace .argus-reseller-approval{
 min-width:0;padding:24px 23px;border-radius:17px;
 background:linear-gradient(125deg,#2a2829,#1b2530 80%);
 border:1px solid #9a7546;box-shadow:0 14px 31px rgba(0,0,0,.18);
 margin:0 0 18px;
}
.argus-reseller-approval-head{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.argus-reseller-approval-head>span{font-size:10px;letter-spacing:.15em;color:#e7ba7d;font-weight:800}
.argus-reseller-approval-head strong{
 font-size:clamp(19px,2.6vw,26px);line-height:1.25;
 color:#f5e2bf;overflow-wrap:anywhere;
}
.argus-reseller-status-pills{
 display:flex;flex-wrap:wrap;gap:10px;margin:15px 0 13px;
}
.argus-reseller-status-pills span{
 display:inline-flex;align-items:center;min-height:35px;
 padding:7px 11px;border-radius:10px;border:1px solid #706150;
 background:#282b31;color:#c6bbab;font-size:11px;font-weight:700;
 overflow-wrap:anywhere;
}
.argus-reseller-status-pills span.verified{
 background:#234535;border-color:#48866b;color:#b8ebd1;
}
.argus-reseller-approval p{margin:0;color:#c0c9d2;font-size:13px;line-height:1.7;max-width:800px}
.argus-reseller-check-docs{
 min-height:38px;max-width:100%;border-radius:8px;
 border:1px solid #a98556;background:#332e29;
 color:#f4cf9b;margin-top:17px;padding:8px 12px;font-size:12px;
 font-weight:750;cursor:pointer;
}
.argus-reseller-check-docs:hover{background:#494032}
#argus-reseller-workspace .seller-balances{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
#argus-reseller-workspace #seller-balances:not(:has(.seller-balance)){
 display:block!important;line-height:1.7;border:1px solid #6e5b43;
 border-radius:13px;padding:20px;color:#e8d4b6;
 background:linear-gradient(120deg,#322a24,#1c2530);
 font-size:13px;
}
#argus-reseller-workspace .seller-balance{
 padding:18px!important;min-width:0;
}
#argus-reseller-workspace .seller-balance small{
 display:block;color:#aab7c2!important;font-size:11px;
}
#argus-reseller-workspace .seller-balance strong{
 color:#f6e0c0!important;font-variant-numeric:tabular-nums;
 font-size:clamp(21px,2.8vw,28px)!important;
}
#argus-reseller-workspace .argus-reseller-shortcut-grid button{
 border-color:rgba(203,168,119,.22)!important;
 background:linear-gradient(120deg,#202a36,#171f2b)!important;
}
#argus-reseller-workspace .argus-reseller-shortcut-grid button:hover{
 border-color:#d0a975!important;
}
#argus-reseller-workspace :where(.seller-panel,.kyc-customer-head,.panel) :where(button,a){
 overflow-wrap:break-word;
}
#argus-reseller-workspace #seller-active-pix :where(canvas,img){
 max-width:100%;height:auto;
}
#argus-reseller-workspace .seller-checkbox input[type=checkbox]{
 width:20px!important;height:20px!important;min-width:20px!important;
 max-width:20px!important;min-height:20px!important;max-height:20px!important;
 padding:0!important;flex:0 0 20px!important;
}
.argus-signup-login{color:#e0c29a;font-size:13px}
.argus-signup-login a{color:#f5d8a9;text-decoration:underline;text-underline-offset:3px;font-weight:800}
@media(max-width:1170px){
 #argus-reseller-workspace .seller-balances{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:999px){
 #argus-reseller-workspace .argus-reseller-sidebar{
  width:min(290px,84vw)!important;max-width:min(290px,84vw)!important;
 }
 #argus-reseller-workspace .argus-reseller-toolbar{min-height:65px!important}
 #argus-reseller-workspace #argus-reseller-menu-button{
  display:flex!important;align-items:center;justify-content:center;
  border-radius:10px!important;border:1px solid #977047!important;
  background:#302d2c!important;color:#f3d4a4!important;
 }
}
@media(max-width:620px){
 #argus-reseller-workspace .argus-reseller-toolbar{
  padding:10px 12px!important;gap:9px!important;
 }
 #argus-reseller-workspace .argus-reseller-toolbar-status{
  display:none!important;
 }
 #argus-reseller-workspace .argus-reseller-content{
  padding:16px 12px 34px!important;
 }
 #argus-reseller-workspace .argus-reseller-approval{padding:18px 15px;margin-bottom:14px}
 #argus-reseller-workspace .argus-reseller-status-pills{gap:8px}
 #argus-reseller-workspace .argus-reseller-status-pills span{font-size:10px;line-height:1.4}
 #argus-reseller-workspace .seller-balances{grid-template-columns:minmax(0,1fr)!important}
 #argus-reseller-workspace .seller-balance{padding:15px!important}
 #argus-reseller-workspace .argus-reseller-page-intro h2{font-size:clamp(23px,6.5vw,30px)}
 #argus-reseller-workspace :where(.seller-panel,.panel,.kyc-customer-head){max-width:100%}
}
@media(prefers-reduced-motion:reduce){
 #argus-session-loading .argus-reseller-boot-logo img,
 #argus-session-loading .argus-reseller-boot-track i,
 #argus-reseller-workspace #argus-reseller-nav-progress.is-changing::before{
  animation:none!important;
 }
 #argus-reseller-workspace .argus-reseller-page:not([hidden]){
  animation:none!important;
 }
 #argus-reseller-workspace :where(.argus-reseller-nav button,.seller-panel button){
  transition:none!important;
 }
}
/* Admin-equivalent reseller layout: single content grid, consistent cards and spacing. */
body.argus-reseller-ready{overflow-x:clip!important}
body.argus-reseller-ready #dashboard{padding:0!important;margin:0!important}
#argus-reseller-workspace .argus-reseller-content{max-width:1440px;margin-inline:auto}
#argus-reseller-workspace .argus-reseller-page{width:100%;min-width:0}
#argus-reseller-workspace .argus-reseller-page-intro{max-width:100%;margin-top:0}
#argus-reseller-workspace .argus-reseller-page-intro h2{margin:5px 0 7px}
#argus-reseller-workspace .argus-reseller-page-intro p{max-width:72ch}
#argus-reseller-workspace :where(.seller-panel,.panel,.kyc-customer-form){width:100%;max-width:none!important;margin:0 0 18px!important}
#argus-reseller-workspace :where(.seller-panel,.panel) :where(input:not([type=checkbox],[type=radio]),textarea,select){width:100%;box-sizing:border-box}
#argus-reseller-workspace :where(.seller-panel,.panel) :where(button,input,select,textarea){font-family:inherit}
#argus-reseller-workspace .seller-columns{display:contents!important}
#argus-reseller-workspace #argus-reseller-page-wallet .seller-panel,
#argus-reseller-workspace #argus-reseller-page-charges .seller-panel,
#argus-reseller-workspace #argus-reseller-page-history .seller-panel{max-width:100%!important}
#argus-reseller-workspace #argus-reseller-wallet-balances{margin-bottom:18px}
#argus-reseller-workspace .argus-reseller-overview-balances{margin-bottom:20px}
#argus-reseller-workspace .seller-head{display:flex;justify-content:space-between;align-items:center;gap:16px}
#argus-reseller-workspace .seller-head h2{margin:0 0 6px}
#argus-reseller-workspace .seller-head p{margin:0}
#argus-reseller-workspace .seller-panel>h3:first-child{margin-top:0}
#argus-reseller-workspace .seller-panel form{max-width:780px}
#argus-reseller-workspace .seller-panel form label{min-width:0}
#argus-reseller-workspace .seller-checkbox[hidden]{display:none!important}
#argus-reseller-workspace .seller-panel label[hidden]{display:none!important}
#argus-reseller-workspace #seller-pix-result{overflow-wrap:anywhere;max-width:100%}
#argus-reseller-workspace #seller-pix-result textarea{width:100%;min-height:95px}
#argus-reseller-workspace :where(#seller-sales,#seller-withdrawals,#seller-key-list){min-width:0;overflow-wrap:anywhere}
#argus-reseller-workspace .seller-item{padding:14px 0;border-bottom:1px solid rgba(205,176,132,.16)}
#argus-reseller-workspace .seller-item:last-child{border-bottom:0}
#argus-reseller-workspace .argus-reseller-toolbar{width:100%;box-sizing:border-box}
#argus-reseller-workspace .argus-reseller-toolbar-title{overflow:hidden}
#argus-reseller-workspace .argus-reseller-toolbar-title strong{text-overflow:ellipsis}
@media(max-width:999px){#argus-reseller-workspace .argus-reseller-content{width:100%;box-sizing:border-box}}
@media(max-width:620px){
 #argus-reseller-workspace .argus-reseller-content{padding:18px 14px 45px!important}
 #argus-reseller-workspace .argus-reseller-page-intro{padding-bottom:14px;margin-bottom:17px}
 #argus-reseller-workspace .argus-reseller-page-intro h2{font-size:25px!important}
 #argus-reseller-workspace .argus-reseller-page-intro p{font-size:13px;line-height:1.5}
 #argus-reseller-workspace .argus-reseller-toolbar-title small{font-size:8px;letter-spacing:.06em}
 #argus-reseller-workspace .argus-reseller-toolbar-title strong{font-size:15px!important}
 #argus-reseller-workspace :where(.seller-panel,.panel){padding:18px 15px!important}
 #argus-reseller-workspace .seller-head{align-items:flex-start}
 #argus-reseller-workspace .seller-panel h3{font-size:19px!important}
 #argus-reseller-workspace .seller-panel form{max-width:100%}
}

/* Prevent the old customer-card layout from enclosing the merchant wallet. */
#argus-reseller-workspace .argus-reseller-merchant-parking{display:none!important}
#argus-reseller-workspace .argus-reseller-overview-top>.seller-head{margin:0 0 16px!important}
#argus-reseller-workspace .argus-reseller-overview-top>.dash-top{margin:0 0 16px!important}

/* Shared administrative visual grammar: seller permissions remain server-side. */
#argus-reseller-workspace .argus-reseller-main{min-width:0}
#argus-reseller-workspace .argus-reseller-nav .menu-item{width:100%;display:flex;align-items:center;justify-content:flex-start;text-align:left}
#argus-reseller-workspace .argus-reseller-overview-top:empty{display:none!important}
#argus-reseller-workspace .argus-reseller-page-registration .dash-top{max-width:100%}
#argus-reseller-workspace .argus-reseller-page-intro{padding:0 0 18px;border-bottom:1px solid rgba(203,168,119,.19)}
#argus-reseller-workspace .argus-reseller-page-intro h2{font-size:clamp(24px,2.8vw,32px)}
#argus-reseller-workspace .argus-reseller-shortcut-grid{align-items:stretch}
#argus-reseller-workspace .argus-reseller-shortcut-grid .menu-item{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left}
@media(max-width:620px){#argus-reseller-workspace .argus-reseller-page-intro{padding-bottom:14px}}

/* Admin recording parity, November 20: compact finance dashboard, consistent cards. */
#argus-reseller-workspace{--argus-card:#171b22;--argus-line:#303640;--argus-accent:#d7ae73}
#argus-reseller-workspace .argus-reseller-main{background:#0e1116!important}
#argus-reseller-workspace .argus-reseller-content{max-width:1400px;padding:clamp(15px,2.2vw,28px)!important}
#argus-reseller-workspace .argus-reseller-page-intro{margin-bottom:20px!important;border:0!important;padding:0!important}
#argus-reseller-workspace .argus-reseller-page-intro>span{color:#d7ae73;font-size:10px;letter-spacing:.14em}
#argus-reseller-workspace .argus-reseller-page-intro h2{font-size:clamp(22px,2.5vw,29px)!important;margin:5px 0!important}
#argus-reseller-workspace .argus-reseller-page-intro p{font-size:13px!important;color:#99a1ad!important}
#argus-reseller-workspace :where(.seller-panel,.panel,.seller-balance,.ar-revenue-panel,.ar-revenue-stat){border:1px solid var(--argus-line)!important;border-radius:15px!important;background:#171b22!important;box-shadow:none!important}
#argus-reseller-workspace .argus-reseller-shortcuts{margin-top:22px}
#argus-reseller-workspace .argus-reseller-shortcut-grid{gap:12px}
#argus-reseller-workspace .argus-reseller-shortcut-grid button{background:#171b22!important;border:1px solid #343943!important;border-radius:14px!important;min-height:76px!important}
#argus-reseller-workspace .argus-reseller-shortcut-grid button:hover{border-color:#bd9462!important}
#argus-reseller-workspace #ar-seller-revenue{margin:0 0 24px!important}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-heading{padding:0 0 14px!important}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-heading h2{font-size:22px!important}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-grid{gap:12px!important}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-panel{margin-top:14px!important}
#argus-reseller-workspace #argus-reseller-page-registration #argus-reseller-approval{margin:0 0 18px!important}
#argus-reseller-workspace #argus-reseller-page-registration .dash-top{background:#171b22!important;border:1px solid #303640!important;border-radius:15px!important;padding:20px!important}
#argus-reseller-workspace .argus-reseller-merchant-parking{display:none!important}
@media(max-width:620px){
 #argus-reseller-workspace .argus-reseller-content{padding:15px 14px 34px!important}
 #argus-reseller-workspace .argus-reseller-toolbar{min-height:60px!important}
 #argus-reseller-workspace .argus-reseller-page-intro{margin-bottom:14px!important}
 #argus-reseller-workspace #ar-seller-revenue .ar-revenue-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #argus-reseller-workspace #ar-seller-revenue .ar-revenue-stat{padding:13px!important}
}

/* Reseller workspace */
#argus-reseller-workspace{
 --res-bg:#101318;--res-surface:#191d24;--res-line:#343943;
 --res-text:#f5eee3;--res-muted:#afb7c3;--res-gold:#f0cb91;
 color:var(--res-text);background:var(--res-bg)
}
#argus-reseller-workspace [hidden]{display:none!important}
#argus-reseller-workspace :focus-visible{outline:2px solid var(--res-gold);outline-offset:3px}
#argus-reseller-workspace :is(.argus-reseller-nav,.res-mobile-nav,.res-icon-button,.res-primary,.res-account,.res-shortcuts) svg{
 width:20px;height:20px;flex:none
}
#argus-reseller-workspace .argus-reseller-sidebar{
 gap:16px;padding:20px 14px;background:#14171d!important;border-color:var(--res-line)!important
}
#argus-reseller-workspace .argus-reseller-side-brand{min-height:90px!important;padding-bottom:17px!important}
#argus-reseller-workspace .argus-reseller-side-brand span{font-size:11px!important;letter-spacing:.07em!important}
#argus-reseller-workspace .argus-reseller-nav-caption{
 display:block;color:var(--res-muted);font-size:12px;font-weight:700;margin:15px 0 4px;padding:0 12px
}
#argus-reseller-workspace .argus-reseller-nav-caption:first-child{margin-top:0}
#argus-reseller-workspace .argus-reseller-nav button{
 min-height:44px!important;gap:11px!important;font-size:14px!important;padding:9px 11px
}
#argus-reseller-workspace .argus-reseller-nav button.selected{
 background:#362c22!important;border-color:#665238!important;box-shadow:inset 3px 0 #e7b972
}
#argus-reseller-workspace .argus-reseller-side-bottom a{font-size:13px}
#argus-reseller-workspace .argus-reseller-toolbar{
 min-height:68px!important;background:#151a21!important;box-shadow:none;
 border-color:var(--res-line)!important
}
#argus-reseller-workspace .argus-reseller-toolbar-status{display:none!important}
#argus-reseller-workspace .argus-reseller-toolbar-title strong{color:var(--res-text);font-size:16px}
#argus-reseller-workspace .argus-reseller-toolbar-actions{flex-wrap:nowrap;gap:8px}
#argus-reseller-workspace .res-icon-button{
 width:44px;height:44px;min-width:44px;display:grid;place-items:center;padding:0;
 background:#20242d;color:var(--res-gold);border:1px solid var(--res-line);
 border-radius:10px;position:relative;cursor:pointer
}
#argus-reseller-workspace .res-icon-button:hover{border-color:#ad8a5d}
#argus-reseller-workspace #argus-reseller-menu-button{display:none}
#argus-reseller-notices i{
 position:absolute;top:7px;right:7px;width:8px;height:8px;border-radius:50%;background:#f0cb91
}
.argus-reseller-ready #argus-notification-widget{
 top:70px;right:clamp(12px,3vw,38px);bottom:auto;z-index:42
}
.argus-reseller-ready #an-bell{display:none}
.argus-reseller-ready #an-box{top:0;bottom:auto}
#argus-reseller-workspace .argus-reseller-content{padding:clamp(18px,2.8vw,38px)!important}
#argus-reseller-workspace .argus-reseller-page-intro{margin-bottom:24px!important}
#argus-reseller-workspace .argus-reseller-page-intro h2{font-size:clamp(26px,3vw,36px)!important}
#argus-reseller-workspace .argus-reseller-page-intro p{font-size:15px!important;color:var(--res-muted)!important}
.res-overview-heading{
 display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 24px
}
.res-overview-heading p{font-size:14px;color:var(--res-muted);margin:0 0 5px}
.res-overview-heading h2{
 color:var(--res-text);font-size:clamp(30px,3.8vw,48px);line-height:1.06;
 font-weight:780;letter-spacing:-.045em;margin:0
}
#argus-reseller-workspace .res-primary{
 display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 17px;
 color:#211810;background:linear-gradient(118deg,#f6d59e,#dba964);
 border:1px solid #f8d6a2;border-radius:10px;font-size:14px;font-weight:800;cursor:pointer
}
#argus-reseller-workspace .res-primary:hover{background:#ffe1ad}
#argus-reseller-workspace .seller-balance{min-height:104px;align-content:center}
#argus-reseller-workspace .seller-balance:first-child{
 background:linear-gradient(120deg,#30271e,#1c2028 85%)!important;border-color:#68543a!important
}
#argus-reseller-workspace .seller-balance small{font-size:14px}
#argus-reseller-workspace .seller-warning{margin:0;font-size:14px}
.res-loading{margin:0;color:var(--res-muted);font-size:14px;padding:12px 0}
.res-overview-grid,.res-detail-grid{display:grid;gap:18px;align-items:start;grid-template-columns:minmax(0,1fr) minmax(235px,29%)}
.res-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.res-overview-grid>*,.res-detail-grid>*{min-width:0}
#res-overview-report{container-type:inline-size}
.res-operations{display:grid;gap:16px}
.res-card{
 min-width:0;background:var(--res-surface);border:1px solid var(--res-line);
 border-radius:15px;padding:clamp(15px,2vw,22px);color:var(--res-text)
}
.res-card h3{font-size:17px;font-weight:750;margin:0 0 12px;color:var(--res-text)}
.res-card p{color:var(--res-muted);font-size:14px;line-height:1.55;margin:0 0 12px}
.res-card button{
 color:var(--res-gold);background:none;border:0;min-height:44px;
 cursor:pointer;font:inherit;font-size:14px;font-weight:680;text-align:left
}
.res-card button:hover{color:#fff0d6}
.res-account button,.res-shortcuts button{display:flex;align-items:center;gap:10px;width:100%;padding:8px 0}
.res-account p{color:#f5cd93;background:#30271f;border:1px solid #614c33;border-radius:9px;padding:9px 11px}
.res-account p.res-status-ok{color:#b7e9ce;background:#20382e;border-color:#3f6956}
.res-shortcuts button+button{border-top:1px solid var(--res-line)}
.res-account button svg:last-child,.res-shortcuts button svg:last-child{margin-left:auto;width:15px!important}
#argus-reseller-workspace #ar-seller-revenue{
 margin:0!important;padding:clamp(15px,2vw,22px);
 background:var(--res-surface);border:1px solid var(--res-line);border-radius:15px
}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-heading{margin:0 0 13px;padding:0!important;align-items:center}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-heading h2{margin:0 0 4px;color:var(--res-text)}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-heading p{margin:0}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-heading small{display:none}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-heading>div{flex:1 1 290px}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin:0}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-stat{background:#12161d!important}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-panel{margin-bottom:0;background:#12161d!important}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-stat>small{font-size:14px}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-stat>strong{font-size:clamp(19px,2.1vw,27px)}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-foot{min-height:0}
@container (min-width:680px){
 #argus-reseller-workspace #ar-seller-revenue .ar-revenue-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 #argus-reseller-workspace #ar-seller-revenue .ar-revenue-stat{padding:15px 12px}
 #argus-reseller-workspace #ar-seller-revenue .ar-revenue-stat>strong{font-size:22px}
}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-refresh{
 color:var(--res-gold);background:#282522;border:1px solid #675138;width:auto
}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-refresh:hover{background:#433427}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-panel-head{margin-bottom:4px}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-bar-space{height:108px}
#argus-reseller-workspace #ar-seller-revenue .ar-revenue-chart{min-height:153px}
#argus-reseller-workspace .res-charge-receipt h3{margin-bottom:8px}
#argus-reseller-workspace .seller-panel :where(h3,h4){color:var(--res-text)}
#argus-reseller-workspace .seller-panel p{font-size:14px}
#argus-reseller-workspace .seller-panel form label{font-size:14px}
#argus-reseller-workspace .seller-panel form button[type=submit]{
 min-height:46px;border:1px solid #f2cb8f;border-radius:9px;color:#211810;
 background:#eec58b;font-weight:800;padding:9px 17px;cursor:pointer
}
#argus-reseller-workspace .seller-panel button:disabled{opacity:.52;cursor:not-allowed}
#argus-reseller-workspace .seller-form-gate{color:#f5ce9b;padding:12px;border:1px solid #614c33;border-radius:9px}
#seller-pix-result{display:grid;gap:12px;justify-items:start}
#seller-pix-result .seller-qr-visual{
 padding:12px;background:white;border-radius:12px;max-width:100%;color:#222
}
#seller-pix-result .seller-qr-visual :where(img,canvas){max-width:100%;height:auto}
.seller-qr-head{display:grid;gap:4px}
.seller-qr-head small,#seller-pix-result>small{color:var(--res-muted);font-size:13px}
.res-history-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;margin-bottom:14px}
.res-history-controls label{display:grid;gap:7px;font-size:14px;color:var(--res-text)}
.res-history-controls :is(input,select){
 color:var(--res-text);background:#12161d;border:1px solid #50596a;border-radius:8px;
 min-height:44px;width:100%;min-width:0;padding:9px 11px;font-size:16px
}
.res-history-controls p{grid-column:1/-1;margin:0}
#argus-reseller-workspace .res-charge-row{min-height:68px;gap:12px}
.res-charge-meta,.res-charge-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;min-width:0}
.res-charge-meta code,.res-charge-meta small{color:var(--res-muted);font-size:12px;overflow-wrap:anywhere}
.res-charge-meta strong{font-size:16px}
.res-charge-state{font-size:13px;font-weight:650;padding:5px 8px;border-radius:7px;background:#303640;color:#e5eaf2}
[data-charge-status="paid"] .res-charge-state{background:#224234;color:#ace8c5}
[data-charge-status="pending"] .res-charge-state{background:#3d3022;color:#f5d19c}
[data-charge-status="failed"] .res-charge-state{background:#472e32;color:#ffc9c1}
.res-mobile-nav{display:none}
@media(max-width:999px){
 #argus-reseller-workspace #argus-reseller-menu-button{display:grid!important}
 #argus-reseller-workspace .argus-reseller-sidebar{z-index:62}
 body.res-drawer-open{overflow:hidden}
}
@media(max-width:740px){
 .res-overview-grid,.res-detail-grid{grid-template-columns:minmax(0,1fr)}
 .res-operations{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
 body.argus-reseller-ready footer{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
 #argus-reseller-workspace .argus-reseller-content{padding:19px 14px calc(82px + env(safe-area-inset-bottom))!important}
 #argus-reseller-workspace .argus-reseller-toolbar{min-height:62px!important}
 .res-overview-heading{margin-bottom:18px}
 #argus-reseller-workspace .res-primary{max-width:51%;padding-inline:10px}
 #argus-reseller-workspace .seller-balances{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #argus-reseller-workspace .seller-balance:first-child{grid-column:1/-1}
 #argus-reseller-workspace .seller-balance{min-height:82px;padding:12px!important}
 #argus-reseller-workspace .seller-balance small{font-size:13px}
 .res-mobile-nav{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;position:fixed;
  inset:auto 0 0;z-index:25;padding:5px 7px calc(5px + env(safe-area-inset-bottom));
  background:#151920;border-top:1px solid var(--res-line)
 }
 .res-mobile-nav button{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  min-width:0;min-height:49px;border:0;border-radius:8px;padding:4px 2px;
  background:transparent;color:var(--res-muted);font:inherit;font-size:11px;text-align:center
 }
 .res-mobile-nav button.selected{color:var(--res-gold);background:#342b22}
 .res-mobile-nav svg{width:18px!important;height:18px!important}
}
@media(max-width:440px){
 .res-operations,.res-history-controls{grid-template-columns:minmax(0,1fr)}
 .res-overview-heading h2{font-size:29px}
 .res-overview-heading p{font-size:13px}
 #argus-reseller-workspace .res-primary{font-size:13px}
 #argus-reseller-workspace .argus-reseller-toolbar-actions{gap:5px}
}

/* Common dimensions for the authenticated reseller screens. */
#argus-reseller-workspace{
 --res-card-gap:clamp(12px,1.6vw,20px);
 --res-card-inset:clamp(15px,2vw,23px);
 --res-radius:14px;
}
body.argus-reseller-ready #argus-reseller-main{padding:0!important}
#argus-reseller-workspace .argus-reseller-page{scroll-margin-top:76px}
body.argus-reseller-ready #an-box{
 width:min(415px,calc(100vw - 24px));max-height:calc(100dvh - 92px - env(safe-area-inset-bottom));
}
body.argus-reseller-ready #an-close{min-width:44px;min-height:44px}
#seller-pix-dialog[open]{animation:argus-page-change .2s ease-out both}
@media(prefers-reduced-motion:reduce){#seller-pix-dialog[open]{animation:none}}

#argus-reseller-workspace .argus-reseller-page-intro h2{line-height:1.15}
#argus-reseller-workspace .argus-reseller-page-intro p{max-width:58ch}
#argus-reseller-workspace :is(.res-overview-grid,.res-detail-grid,.res-operations,.res-integration-grid){
 gap:var(--res-card-gap);
}
#argus-reseller-workspace :is(.res-detail-grid,.res-integration-grid)>*{min-width:0}
#argus-reseller-workspace :is(.res-card,.panel,.seller-panel,.argus-webhook-panel,.argus-seller-csv){
 border-radius:var(--res-radius)!important;
}
#argus-reseller-workspace :is(.res-card,.panel,.seller-panel,.argus-webhook-panel,.argus-seller-csv) h3{
 font-size:clamp(17px,2vw,21px);line-height:1.25;letter-spacing:-.02em;
}
#argus-reseller-workspace :is(.panel-header,.argus-webhook-head){
 display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;
}
#argus-reseller-workspace :is(.panel-header,.argus-webhook-head)>div{min-width:0;flex:1 1 200px}
#argus-reseller-workspace :is(.panel-header,.argus-webhook-head) h3{margin:0 0 6px;color:var(--res-text)}
#argus-reseller-workspace :is(.panel-header,.argus-webhook-head) p{margin:0;font-size:14px;line-height:1.5}
#argus-reseller-workspace :is(.panel,.seller-panel,.argus-webhook-panel,.argus-seller-csv) :is(button,.outline){
 min-height:44px;max-width:100%;
}
#argus-reseller-workspace :is(.res-api-permission,.seller-checkbox) input[type=checkbox]{
 appearance:auto;inline-size:22px!important;block-size:22px!important;
 min-inline-size:22px!important;min-block-size:22px!important;
 max-inline-size:22px!important;max-block-size:22px!important;
 flex:none!important;margin:2px 0 0!important;padding:0!important;accent-color:#e7bb7e;
}
#argus-reseller-workspace :is(.panel,.seller-panel,.argus-webhook-panel,.argus-seller-csv)
 :is(input:not([type=checkbox],[type=radio],[type=hidden]),textarea,select){
 min-inline-size:0;max-inline-size:100%;font-size:16px;
}
#argus-reseller-workspace .res-detail-grid .seller-panel{margin-block:0!important}
#argus-reseller-workspace .seller-quote{margin-block:8px 14px}
#argus-reseller-workspace .res-charge-receipt p:last-child{margin-bottom:0}
#argus-reseller-workspace .res-charge-actions{justify-content:flex-end}
#argus-reseller-workspace .res-charge-meta code{display:block}
#argus-reseller-workspace .argus-seller-csv{
 display:grid;gap:14px;max-width:900px;margin:0;padding:var(--res-card-inset);
 background:var(--res-surface);border-color:var(--res-line);
}
#argus-reseller-workspace .argus-seller-csv form{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:12px;
}
#argus-reseller-workspace .argus-seller-csv form label{min-width:0}
#argus-reseller-workspace #res-profile-account .dash-top,
#argus-reseller-workspace #res-profile-account .grid{margin:0 0 var(--res-card-gap)!important}
#argus-reseller-workspace #argus-reseller-page-registration #argus-reseller-approval{
 margin:0 0 var(--res-card-gap)!important;
}
#argus-reseller-workspace .kyc-customer-stages{
 grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
#argus-reseller-workspace #argus-portal-ai > .panel-header:has(+ .ai-shell){margin-bottom:14px}

.res-integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
#argus-reseller-workspace #res-integration-grid :is(#api-panel,.argus-webhook-panel){
 display:grid;gap:14px;margin:0!important;padding:var(--res-card-inset)!important;
 border:1px solid var(--res-line)!important;background:var(--res-surface)!important;
}
#res-integration-grid :is(#api-gate,.argus-webhook-state){margin:0;font-size:13px;line-height:1.5}
#res-integration-grid :is(.panel-header,.argus-webhook-head){margin:0}
.res-api-actions{display:grid;justify-items:start;gap:12px;min-width:0}
#argus-reseller-workspace .res-api-permission{
 display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:11px;
 inline-size:100%;padding:12px;margin:0;background:#13171e;
 border:1px solid var(--res-line);border-radius:10px;cursor:pointer;
}
.res-api-permission > span{display:grid;min-width:0;gap:4px;line-height:1.45;overflow-wrap:normal}
.res-api-permission strong{font-size:14px;color:var(--res-text)}
.res-api-permission small{font-size:13px;color:var(--res-muted)}
#res-integration-grid #secret-once{margin:0;padding:14px}
#res-integration-grid #secret-once label{display:grid;min-width:0;gap:6px}
#res-integration-grid #secret-once input{width:100%;font-family:ui-monospace,monospace}
#res-integration-grid h4{margin:0 0 9px;color:var(--res-text);font-size:15px}
#res-integration-grid .res-api-list{padding-top:14px;border-top:1px solid var(--res-line)}
#res-integration-grid :is(.key-row,.argus-webhook-line){
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
 gap:12px;border-color:var(--res-line);
}
#res-integration-grid .res-api-key{display:grid;gap:4px;min-width:0}
#res-integration-grid .res-api-key code{color:var(--res-text);overflow-wrap:anywhere;font-size:13px}
#res-integration-grid .res-api-key small{color:var(--res-muted);font-size:12px}
#res-integration-grid :is(#credentials,.argus-webhook-panel) p{margin:0}
#res-integration-grid #argus-webhook-create{
 grid-template-columns:minmax(0,1fr);gap:9px;margin:0;
}
#res-integration-grid #argus-webhook-create button{width:auto;justify-self:start}
#res-integration-grid .res-webhook-deliveries{border-top:1px solid var(--res-line)}
#res-integration-grid .res-webhook-deliveries summary{
 padding:12px 0;cursor:pointer;font-weight:700;font-size:14px;color:var(--res-text)
}
#res-integration-grid .argus-webhook-help{font-size:13px}
#res-integration-grid #argus-webhook-secret{margin:0}
#res-integration-grid #argus-webhook-secret input{flex:1 1 100%}
@media(max-width:1140px){
 #argus-reseller-workspace .res-integration-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:620px){
 body.argus-reseller-ready #notice{bottom:calc(68px + env(safe-area-inset-bottom));width:calc(100% - 28px);line-height:1.45}
 #argus-reseller-workspace .argus-reseller-toolbar-title strong{white-space:nowrap;overflow:hidden}
 #argus-reseller-workspace .res-charge-row{display:grid;grid-template-columns:minmax(0,1fr)}
 #argus-reseller-workspace :is(.res-charge-actions,.res-charge-meta){justify-content:flex-start}
 #argus-reseller-workspace .res-charge-meta code{flex-basis:100%}
 #argus-reseller-workspace .argus-seller-csv form{grid-template-columns:repeat(2,minmax(0,1fr))}
 #argus-reseller-workspace .argus-seller-csv form button{grid-column:1/-1}
 #res-integration-grid .res-api-actions button{width:100%}
 #res-integration-grid :is(.panel-header,.argus-webhook-head)>div{flex-basis:100%}
}
@media(max-width:375px){
 #res-integration-grid :is(.key-row,.argus-webhook-line){grid-template-columns:minmax(0,1fr)}
 #res-integration-grid :is(.key-row,.argus-webhook-line) button{justify-self:start;width:auto}
}
