/* ARGUS — Reseller dashboard, admin design language.
 * Activated only after authenticated dashboard session is verified.
 * Login/register public pages retain their existing presentation.
 */
body.argus-reseller-ready{background:#0b1018!important;color:#f0ede8}
body.argus-reseller-ready>.top{display:none!important}
body.argus-reseller-ready>.wrap{width:100%!important;max-width:none!important;
 margin:0!important;padding:0!important}
body.argus-reseller-ready #dashboard{display:block;min-height:100dvh;width:100%;max-width:100%;min-width:0}
body.argus-reseller-ready #auth{display:none!important}
body.argus-reseller-ready footer{margin-left:252px;border-top:1px solid #313843;background:#0d131b;color:#929eac}
body.argus-reseller-ready #argus-session-loading{display:none!important}
#argus-reseller-workspace{color:#eee9e2}
#argus-reseller-workspace *{box-sizing:border-box}
.argus-reseller-workspace{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100dvh;
 background:#0b1018;max-width:100%;min-width:0}
.argus-reseller-sidebar{position:sticky;top:0;height:100dvh;width:252px;max-width:252px;
 display:flex;flex-direction:column;gap:20px;min-width:0;
 background:linear-gradient(175deg,#141a23 0%,#0e131b 70%);border-right:1px solid #3b3940;
 z-index:25;overflow-y:auto;overscroll-behavior:contain;padding:24px 13px 20px}
.argus-reseller-side-brand{min-height:99px;display:flex;align-items:center;flex-direction:column;
 justify-content:center;gap:10px;border-bottom:1px solid #363740;padding:0 9px 22px}
.argus-reseller-side-brand img{width:180px;max-width:100%;height:auto;max-height:62px;object-fit:contain}
.argus-reseller-side-brand span{font-size:10px;letter-spacing:.15em;color:#e3be83;font-weight:800}
.argus-reseller-nav{display:flex;flex-direction:column;gap:6px;padding:0 2px}
.argus-reseller-nav button{display:flex;align-items:center;gap:12px;text-align:left;
 color:#b6c0cc;font-size:13px;font-weight:650;line-height:1.4;
 min-height:47px;padding:11px 13px;width:100%;min-width:0;cursor:pointer;
 border:1px solid transparent;background:transparent;border-radius:11px;
 transition:background .18s,border-color .18s,color .18s}
.argus-reseller-nav button:hover{color:#f6dcaf;background:#252936}
.argus-reseller-nav button.selected{color:#ffdea7;background:linear-gradient(110deg,#413425,#292622);
 border-color:#a2845d}
.argus-reseller-nav .nav-glyph{display:grid;place-items:center;flex:0 0 27px;
 width:27px;height:27px;font-size:19px;color:#d7ab74}
.argus-reseller-side-bottom{margin-top:auto;display:flex;flex-direction:column;gap:12px;
 padding:18px 11px 4px;border-top:1px solid #333842}
.argus-reseller-side-bottom a{color:#c3b09a;font-size:12px}
.argus-reseller-side-bottom a:hover{color:#f3d49b}
.argus-reseller-side-bottom small{color:#748293;font-size:10px;line-height:1.45;margin-top:7px}
.argus-reseller-main{min-width:0;max-width:100%;width:100%;background:
 radial-gradient(ellipse 47% 25% at 92% 3%,rgba(174,123,61,.07),transparent),
 #0c1119}
.argus-reseller-toolbar{position:sticky;top:0;z-index:20;min-height:77px;
 background:rgba(17,23,32,.95);border-bottom:1px solid #3d3c43;
 -webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);
 display:flex;align-items:center;gap:17px;padding:14px clamp(18px,3vw,38px)}
.argus-reseller-toolbar-title{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.argus-reseller-toolbar-title small{color:#b99b70;font-size:9px;letter-spacing:.16em;font-weight:800}
.argus-reseller-toolbar-title strong{color:#f4eee5;font-size:18px;font-weight:750;
 line-height:1.3;overflow-wrap:anywhere}
.argus-reseller-toolbar-actions{margin-left:auto;flex:0 0 auto}
.argus-reseller-toolbar-actions #logout{min-height:39px;padding:9px 16px;
 color:#ead2ac;border-color:#6c5943;background:#252630;border-radius:9px}
#argus-reseller-menu-button{display:none}
.argus-reseller-drawer-backdrop[hidden]{display:none!important}
.argus-reseller-content{max-width:1380px;width:100%;margin:0 auto;
 padding:clamp(18px,2.7vw,35px);min-width:0}
.argus-reseller-page[hidden]{display:none!important}
.argus-reseller-page{min-width:0;max-width:100%;animation:argus-reseller-enter .22s ease}
@keyframes argus-reseller-enter{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:none}}
.argus-reseller-page-intro{margin-bottom:23px}
.argus-reseller-page-intro>span{font-size:10px;font-weight:800;letter-spacing:.14em;color:#dab77e}
.argus-reseller-page-intro h2{margin:7px 0 8px;font-size:clamp(25px,3.1vw,37px);
 color:#f2e5d0;font-weight:750;letter-spacing:-.035em;line-height:1.2}
.argus-reseller-page-intro p{margin:0;color:#aab5c2;line-height:1.65;font-size:13px}
#argus-reseller-workspace :where(.panel,.seller-panel,.kyc-customer-head,.kyc-customer-form,.kyc-history,.seller-balance){
 border-radius:16px;border:1px solid #41434b;
 background:linear-gradient(135deg,#1b222d,#151c27)!important;
 box-shadow:0 10px 28px rgba(0,0,0,.16);min-width:0;max-width:100%;
}
#argus-reseller-workspace :where(.panel,.seller-panel){padding:clamp(15px,2.4vw,24px)}
#argus-reseller-workspace :where(h2,h3,h4){overflow-wrap:anywhere}
#argus-reseller-workspace :where(input,select,textarea,pre,code){max-width:100%;min-width:0}
#argus-reseller-workspace :where(.panel-header,.seller-head){flex-wrap:wrap}
#argus-reseller-workspace :where(.seller-head,.panel-header)>*{min-width:0}
#argus-reseller-workspace .seller-panel{margin-bottom:17px}
#argus-reseller-workspace .seller-panel h3{font-size:20px;margin:0 0 12px;color:#efcf9b}
#argus-reseller-workspace .seller-panel h4{color:#efcf9b}
#argus-reseller-workspace .seller-balances{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
#argus-reseller-workspace .seller-balance strong{font-size:clamp(18px,2.8vw,29px)!important}
#argus-reseller-workspace .seller-balance{min-height:110px;padding:19px!important}
#argus-reseller-workspace .seller-head{margin-bottom:16px!important}
#argus-reseller-workspace .seller-head h2{font-size:22px}
#argus-reseller-workspace .seller-head p{font-size:13px}
#argus-reseller-workspace .seller-columns{display:block!important;max-width:100%}
#argus-reseller-workspace #api-panel{margin:0 0 17px}
#argus-reseller-workspace .grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
#argus-reseller-workspace #argus-seller-root.argus-reseller-empty-hub{display:none!important}
#argus-reseller-workspace .dash-top{display:block!important;margin:0!important}
#argus-reseller-workspace .dash-top h1{font-size:clamp(24px,3vw,34px);line-height:1.24}
#argus-reseller-workspace .dash-top .eyebrow{font-size:10px}
#argus-reseller-workspace .dash-top>div{max-width:100%;min-width:0}
#argus-reseller-workspace .dash-top p{max-width:75ch}
#argus-reseller-workspace .dash-top a[href="#api-panel"]{display:none}
.argus-reseller-overview-top{margin:0 0 19px;border:1px solid #65543d;
 border-radius:17px;padding:clamp(19px,3vw,26px);
 background:linear-gradient(125deg,#242730,#191f29);min-width:0}
.argus-reseller-overview-top .seller-head{padding-top:20px;border-top:1px solid #3f4349}
.argus-reseller-overview-balances{min-width:0}
.argus-reseller-shortcuts{margin-top:30px}
.argus-reseller-shortcuts h3{font-size:18px;color:#f1d2a1;margin:0 0 15px}
.argus-reseller-shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.argus-reseller-shortcut-grid button{background:linear-gradient(140deg,#1d2733,#161f2a);
 border:1px solid #3c434f;border-radius:13px;display:flex;flex-direction:column;
 gap:9px;min-height:104px;padding:19px;text-align:left;
 cursor:pointer;color:#f5e8d4;transition:border-color .15s,transform .15s}
.argus-reseller-shortcut-grid button:hover{border-color:#c69a61;transform:translateY(-2px)}
.argus-reseller-shortcut-grid button strong{font-size:15px;line-height:1.35}
.argus-reseller-shortcut-grid button small{font-size:12px;color:#a9b5c4}
.argus-reseller-page .kyc-client-root{margin:0 0 18px}
.argus-reseller-page .kyc-customer-stages{max-width:100%}
.argus-reseller-page .kyc-history{max-width:100%}
#argus-reseller-page-registration .grid{margin:18px 0!important}
#argus-reseller-page-registration .grid article[hidden]{display:none!important}
#argus-reseller-page-wallet .seller-panel{max-width:850px}
#argus-reseller-page-charges .seller-panel{max-width:860px}
#argus-reseller-page-integrations :where(.panel,.seller-panel){width:100%}
#argus-reseller-page-history .seller-panel{max-width:950px}
.argus-reseller-wallet-note{font-size:13px;color:#aeb7c5;margin:0 0 20px}
.argus-reseller-wallet-note button{border:0;background:none;color:#e8c58c;
 font-weight:750;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:0;font-size:inherit}
#argus-reseller-workspace .seller-checkbox{display:flex!important;align-items:flex-start!important;gap:11px!important}
#argus-reseller-workspace .seller-checkbox input[type=checkbox]{
 width:20px!important;min-width:20px!important;max-width:20px!important;
 height:20px!important;min-height:20px!important;max-height:20px!important;
 padding:0!important;margin:3px 0 0!important;flex:0 0 20px!important}
#argus-reseller-workspace .seller-checkbox span{flex:1;min-width:0;line-height:1.5}
#argus-reseller-workspace :where(.seller-item,.key-row,.seller-key-status){overflow-wrap:anywhere}
#argus-reseller-workspace :where(.seller-panel,.panel) :where(button,.primary,.outline){max-width:100%;white-space:normal}
#argus-reseller-workspace :where(.seller-panel,.panel) :where(input,select,textarea){font-size:16px}
#argus-reseller-workspace #seller-active-pix{max-width:100%;overflow:hidden}
#argus-reseller-workspace :where(#once-key,#once-secret,pre,code){overflow-wrap:anywhere}
@media(max-width:1170px){
 .argus-reseller-workspace{grid-template-columns:226px minmax(0,1fr)}
 .argus-reseller-sidebar{width:226px;max-width:226px}
 body.argus-reseller-ready footer{margin-left:226px}
}
@media(max-width:999px){
 .argus-reseller-workspace{display:block;min-height:100dvh}
 .argus-reseller-sidebar{position:fixed;top:0;left:0;bottom:0;z-index:60;
  width:min(285px,84vw);max-width:min(285px,84vw);height:100dvh;
  transform:translateX(-105%);transition:transform .23s ease;
  box-shadow:24px 0 45px rgba(0,0,0,.45);visibility:hidden}
 .argus-reseller-sidebar.is-open{transform:translateX(0);visibility:visible}
 .argus-reseller-drawer-backdrop:not([hidden]){position:fixed;inset:0;z-index:50;
  background:rgba(2,5,10,.72);display:block}
 #argus-reseller-menu-button{display:flex;align-items:center;justify-content:center;
  width:43px;height:43px;min-width:43px;border-radius:10px;
  font-size:22px;color:#f0d1a2;background:#282833;border:1px solid #826746}
 .argus-reseller-toolbar{min-height:66px;padding:11px 17px;gap:10px}
 .argus-reseller-content{padding:18px 16px 32px}
 body.argus-reseller-ready footer{margin-left:0}
}
@media(max-width:610px){
 .argus-reseller-toolbar-title small{font-size:8px;letter-spacing:.09em}
 .argus-reseller-toolbar-title strong{font-size:15px}
 .argus-reseller-toolbar-actions #logout{padding:9px 10px;font-size:12px;min-height:42px}
 .argus-reseller-content{padding:16px 12px 35px}
 .argus-reseller-page-intro{margin-bottom:16px}
 .argus-reseller-page-intro h2{font-size:clamp(24px,7vw,31px)}
 .argus-reseller-overview-top{padding:17px 14px!important}
 #argus-reseller-workspace .seller-balances{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 #argus-reseller-workspace .seller-balance{min-height:0;padding:15px!important}
 .argus-reseller-shortcut-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 .argus-reseller-shortcut-grid button{min-height:75px;padding:14px}
 #argus-reseller-workspace :where(.panel,.seller-panel){padding:17px 14px!important}
 #argus-reseller-page-registration .kyc-customer-stages{grid-template-columns:repeat(2,minmax(0,1fr))}
 #argus-reseller-page-registration .kyc-customer-head{padding:15px!important}
 #argus-reseller-page-registration .kyc-cards{grid-template-columns:minmax(0,1fr)!important}
 #argus-reseller-page-registration dl>div{align-items:flex-start;gap:10px}
 #argus-reseller-page-registration dt{max-width:38%}
 #argus-reseller-page-registration dd{max-width:62%;overflow-wrap:anywhere}
 #argus-reseller-workspace .seller-checkbox span{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 .argus-reseller-page{animation:none}
 .argus-reseller-sidebar{transition:none}
 .argus-reseller-shortcut-grid button{transition:none}
}
