/* Original ARGUS artwork: transparent pixels, same logo, no rebranding. */
:root{color-scheme:dark}html,body{max-width:100%;min-width:0;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}*{min-width:0}button,a,input,select,textarea{touch-action:manipulation;-webkit-tap-highlight-color:transparent}img,svg{max-width:100%}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #f0ce89;outline-offset:2px}
#boot-screen{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 33%,#5e492630,transparent 48%),#090c11}#boot-screen[hidden]{display:none!important}.boot-core{width:min(350px,100%);text-align:center;animation:scene-in .42s ease-out both}.boot-core img{width:min(295px,75vw);height:auto;display:block;margin:0 auto 28px;filter:drop-shadow(0 10px 30px #e5b96f22)}.boot-core p{color:#adafb1;font-size:13px;margin-top:17px}.boot-loader{width:200px;max-width:75%;height:3px;border-radius:30px;overflow:hidden;background:#9c754b33;margin:auto}.boot-loader span{display:block;width:40%;height:100%;background:linear-gradient(90deg,#a57632,#f3d99a,#a57632);animation:boot-progress 1.5s ease-in-out infinite}#boot-retry{margin:14px auto 0}@keyframes boot-progress{0%{transform:translateX(-110%)}50%{transform:translateX(130%)}100%{transform:translateX(275%)}}@keyframes scene-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes loading-spin{to{transform:rotate(360deg)}}
.auth-screen.scene-enter,.workspace.scene-enter{animation:scene-in .32s cubic-bezier(.2,.7,.25,1) both}.page.page-enter{animation:scene-in .28s cubic-bezier(.2,.7,.25,1) both}.auth-screen,.workspace,.main,.content-wrap,.page,.panel,.stat,.modal-form{max-width:100%;min-width:0}.auth-screen{min-height:100dvh}.auth-panel{width:100%;max-width:100%;padding:clamp(26px,5vw,64px);overflow:visible}.auth-logo{margin-bottom:clamp(25px,5vw,62px)}.auth-logo>div{display:none}.auth-logo img{width:clamp(190px,27vw,265px)!important;height:auto!important;max-height:none!important;object-fit:contain;object-position:left center;border:0!important;border-radius:0!important;box-shadow:none!important}.auth-form{max-width:440px;gap:17px;margin-top:26px}.auth-panel h1{font-size:clamp(30px,3.6vw,47px)}.auth-cover{overflow:hidden}.auth-cover>img{position:absolute;top:18%;left:50%;transform:translateX(-50%);width:min(78%,450px);height:auto;max-height:40vh;object-fit:contain}
.logo-demo{overflow:visible!important;min-height:54px}.sidebar .logo-demo{margin:0 8px 16px!important;padding:0!important}.logo-demo .brand-full{display:block;width:100%;max-width:215px;height:auto!important;max-height:90px;object-fit:contain!important;object-position:left center}.hero-ring{width:190px!important;height:135px!important;border-radius:17px!important;overflow:visible!important}.hero-ring img{width:96%!important;height:auto!important;max-height:100%;object-fit:contain!important;border-radius:0!important}.workspace{grid-template-columns:260px minmax(0,1fr)}.sidebar{overflow-y:auto}.content-wrap,.main{width:100%;min-width:0}.stats-grid>*{min-width:0}.stat strong{white-space:normal!important;overflow-wrap:anywhere;line-height:1.18}.topbar,.section-top,.panel-head,.top-actions,.hero-actions,.section-actions{flex-wrap:wrap}.table-container{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.table-container table{max-width:none}.secret,.narrow-break{overflow-wrap:anywhere}input,select,textarea{min-width:0;max-width:100%}#modal{width:min(680px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);overflow:auto;margin:auto}.modal-row{grid-template-columns:repeat(2,minmax(0,1fr))}
button[aria-busy=true]{pointer-events:none;opacity:.75}button[aria-busy=true]::after{content:'';display:inline-block;vertical-align:middle;width:13px;height:13px;margin-left:7px;border-radius:100%;border:2px solid currentColor;border-top-color:transparent;animation:loading-spin .8s linear infinite}#page-progress{position:sticky;top:0;width:100%;height:3px;z-index:60;background:#a4773e2a;overflow:hidden}#page-progress::before{content:'';display:block;width:43%;height:100%;background:linear-gradient(90deg,transparent,#f4d9a0,transparent);animation:boot-progress 1.2s ease-in-out infinite}#page-progress[hidden]{display:none!important}
.simple-pix-amount{max-width:460px;padding:8px 0 5px}.simple-pix-amount>label{font-size:14px;color:#e4ca9b}.money-input{display:flex;align-items:center;gap:10px;border:1px solid #8b693b;border-radius:14px;background:#11151a;padding:3px 15px;margin-top:12px;box-shadow:0 0 0 4px #b48a4912}.money-input:focus-within{border-color:#e7c37a;box-shadow:0 0 0 4px #dcb77626}.money-input span{font-family:Manrope,system-ui,sans-serif;font-size:26px;font-weight:800;color:#f4d187}.money-input input{flex:1;width:100%;border:0!important;box-shadow:none!important;background:transparent!important;padding:13px 0!important;margin:0!important;font-size:34px!important;font-weight:800;font-family:Manrope,system-ui,sans-serif}.money-input input::placeholder{color:#797163}.simple-pix-amount p{margin:12px 0 5px;font-size:12px;line-height:1.65}#pix-config-alert{margin:9px 0 17px;padding:13px;border-radius:10px;line-height:1.5}#charge-submit{max-width:460px;min-height:51px;font-size:15px}
@media(max-width:1050px){.auth-screen{grid-template-columns:minmax(0,1fr)}.auth-cover{display:none}.auth-panel{max-width:640px;margin:auto;min-height:100dvh;justify-content:center}}
@media(max-width:880px){.workspace{display:block!important}.sidebar{position:fixed!important;z-index:70;top:0;bottom:0;left:0;height:100dvh;width:min(300px,88vw);max-width:88vw;transform:translateX(-110%);transition:transform .26s ease;overflow-y:auto;box-shadow:18px 0 70px #000a;padding:18px 14px}.sidebar.mobile-open{transform:translateX(0)}.mobile-menu-toggle{display:inline-grid;place-items:center;min-width:44px;min-height:44px}.main{padding:18px 15px}.topbar{height:auto;min-height:66px;padding:12px 17px}.topbar h2{font-size:14px}.top-actions{gap:8px}.account-chip span{display:none}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col,.demo-insights,.charge-layout{grid-template-columns:minmax(0,1fr)!important}.charge-result{position:static!important}.footer{flex-wrap:wrap}.section-actions{width:100%}.section-actions .btn{flex:1}.sidebar .brand-full{max-width:220px}input,select,textarea{font-size:16px!important} }
@media(max-width:600px){.auth-panel{min-height:100dvh;padding:calc(22px + env(safe-area-inset-top)) 22px calc(22px + env(safe-area-inset-bottom))}.auth-panel h1{font-size:clamp(29px,7.5vw,40px)}.auth-foot{margin-top:27px}.main{padding:14px 12px 24px}.intro.demo-hero{padding:24px 18px}.stats-grid{gap:10px}.stat{padding:17px 14px;min-height:140px}.stat strong{font-size:clamp(19px,5vw,25px)}.panel{padding:16px}.toolbar{flex-wrap:wrap}.toolbar input,.toolbar select{flex:1 1 100%;width:100%}.modal-row{grid-template-columns:minmax(0,1fr)!important}.modal-actions{flex-wrap:wrap}.modal-actions .btn{flex:1 1 100%}.simple-pix-amount{max-width:100%}.money-input input{font-size:31px!important}.section-top h1{font-size:clamp(24px,6.8vw,32px)}}
@media(max-width:350px){.top-actions .live-label{display:none}.stats-grid{grid-template-columns:minmax(0,1fr)}.stat{min-height:100px}}
@media(prefers-reduced-motion:reduce){.auth-screen.scene-enter,.workspace.scene-enter,.page.page-enter,.boot-core{animation:none!important}.boot-loader span,#page-progress::before{animation-duration:2.5s}.sidebar{transition:none!important}}
/* iOS Safari can focus-zoom at any viewport width on touch devices. */
@media (hover:none),(pointer:coarse){input,select,textarea{font-size:16px!important}}
/* Always override responsive display rules when auth or a section is hidden. */
[hidden],.workspace[hidden],.auth-screen[hidden],.page[hidden],.sidebar[hidden]{display:none!important}

/* 2026-11-18: exact ARGUS demo transaction visual language on live records */
.tx-demo .demo-page-head{align-items:end;margin:0 0 23px}
.tx-demo .demo-page-head h1{font-size:clamp(25px,2.4vw,31px);letter-spacing:-1px}
.tx-demo .demo-page-head .eyebrow{color:#c79c5e}
.tx-demo .demo-payment-toolbar{display:flex;gap:11px;align-items:center;justify-content:space-between;margin:0 0 16px;flex-wrap:wrap}
.tx-demo .demo-search-input,.tx-demo .demo-payment-toolbar select{height:42px;min-height:42px;background:#11161b;color:#f5eddf;border:1px solid #3d4247;border-radius:9px;margin:0;padding:0 13px;font-size:12px}
.tx-demo .demo-search-input{width:min(100%,310px)}
.tx-demo .demo-search-input::placeholder{color:#7a818a}
.tx-demo .demo-toolbar-right{display:flex;gap:9px;flex-wrap:wrap;align-items:center;flex:1;justify-content:end}
.tx-demo .demo-payment-toolbar select{width:auto;max-width:220px;flex:0 1 auto;font-size:11px}
.tx-demo .demo-list-card{padding:2px 0 10px;background:#181e24;border-color:#35383b;overflow:hidden}
.tx-demo .demo-table-head{padding:22px 24px 13px;display:flex;justify-content:space-between;align-items:center;gap:9px}
.tx-demo .demo-table-head h3{margin:0;font-size:14px;font-weight:800;color:#f9f3e7}
.tx-demo .demo-table-head small{color:#949ba6;font-size:11px}
.tx-demo .demo-count-chip{display:inline-flex;align-items:center;justify-content:center;background:#383025;color:#e5c28c;border:1px solid #51452e;padding:3px 9px;font-size:10px;border-radius:30px;margin-left:4px}
.tx-demo .demo-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;width:100%}
.tx-demo .demo-data-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:11px;min-width:810px}
.tx-demo .demo-data-table th{font-size:10px;color:#a99b84;font-weight:700;background:#171b20;padding:14px 18px;border-bottom:1px solid #3b3832}
.tx-demo .demo-data-table td{padding:15px 18px;border-bottom:1px solid #2a2f35;color:#acb1bc;vertical-align:middle}
.tx-demo .demo-data-table tr:last-child td{border-bottom:0}
.tx-demo .demo-data-table tbody tr:hover td{background:#1d2429}
.tx-demo .demo-data-table td strong{color:#f4eee4;font-weight:800}
.tx-demo .demo-customer-cell{display:flex;align-items:center;gap:10px;min-width:190px}
.tx-demo .demo-person-avatar{width:32px;height:32px;border-radius:9px;flex:0 0 32px;background:linear-gradient(145deg,#3a2c1b,#292923);color:#e2b86f;display:grid;place-items:center;font-size:10px;font-weight:800}
.tx-demo .demo-customer-names{display:flex;flex-direction:column;gap:3px;min-width:0}
.tx-demo .demo-customer-names small{font-size:10px;color:#999da7;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.tx-demo .demo-method-pill{display:inline-flex;gap:6px;align-items:center;color:#ced0d4;font-size:11px}.tx-demo .demo-method-pill:before{content:'◆';font-size:10px;color:#d9b16b}
.tx-demo .demo-status-pill{display:inline-flex;gap:6px;align-items:center;border-radius:30px;padding:6px 9px;font-size:10px;font-weight:800}
.tx-demo .demo-status-pill:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.tx-demo .demo-status-paid{background:#173126;color:#83dbaf}.tx-demo .demo-status-pending{background:#3c2f19;color:#f4cd84}.tx-demo .demo-status-failed{background:#40252b;color:#f09faa}
.tx-demo .demo-row-actions{display:flex;gap:6px;align-items:center}.tx-demo .demo-row-actions .mini{white-space:nowrap}
.tx-demo .demo-blank-state{text-align:center;padding:54px 20px;color:#999da7}.tx-demo .demo-blank-state h3{margin:8px 0;color:#f4eee4}.tx-demo .demo-blank-state p{font-size:12px}.tx-demo .blank-icon{font-size:30px;color:#bc9558}
/* The backdrop lives within workspace to preserve the mobile sidebar stacking order. Never dim the drawer itself. */
@media(max-width:880px){.workspace{isolation:isolate}.sidebar{isolation:isolate;z-index:110!important;opacity:1!important;filter:none!important;backdrop-filter:none!important;background:linear-gradient(155deg,#191b1f,#0b0d11 60%,#090b0e)!important}.mobile-menu-backdrop{z-index:95!important;background:rgba(0,0,0,.6)!important;backdrop-filter:none!important}.sidebar .menu-item{color:#d2c7b8!important}.sidebar .menu-item.active{color:#ffe1a4!important}.sidebar .logo-demo{width:100%;display:flex;min-height:80px}}
@media(max-width:750px){.tx-demo .demo-page-head{flex-direction:column;align-items:flex-start}.tx-demo .demo-page-head .section-actions{width:100%}.tx-demo .demo-payment-toolbar{display:block}.tx-demo .demo-search-input{width:100%;margin-bottom:9px}.tx-demo .demo-toolbar-right{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.tx-demo .demo-payment-toolbar select{max-width:none;width:100%;font-size:16px!important}.tx-demo #payment-merchant{grid-column:1/2}.tx-demo #refresh-payments{min-width:0;padding:9px}.tx-demo .demo-table-head{align-items:flex-start;flex-wrap:wrap;padding:17px 14px 14px}
 .tx-demo .demo-table-wrap{overflow-x:visible}.tx-demo .demo-data-table{min-width:0;width:100%;white-space:normal}.tx-demo .demo-data-table thead{display:none}.tx-demo .demo-data-table tr{display:block;padding:13px 14px;margin:0 0 10px;border-bottom:1px solid #37383c}.tx-demo .demo-data-table td{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 0;border:0!important;text-align:right;overflow-wrap:anywhere}.tx-demo .demo-data-table td:before{content:attr(data-label);font-size:9px;font-weight:800;letter-spacing:1px;color:#a99b84;white-space:nowrap}.tx-demo .demo-data-table td:first-child:before{content:none}.tx-demo .demo-data-table td:first-child{justify-content:flex-start;text-align:left;padding-bottom:13px}.tx-demo .demo-data-table td:last-child{padding-top:13px}.tx-demo .demo-customer-cell{min-width:0;width:100%}.tx-demo .demo-customer-names small{white-space:normal;overflow-wrap:anywhere}.tx-demo .demo-blank-state{padding:35px 10px}.tx-demo .demo-empty-row td{display:block;text-align:center!important}.tx-demo .demo-empty-row td:before{display:none}}

/* Daily greeting: no impact on underlying financial stats. */
.daily-greeting{display:grid;gap:5px;margin:12px 0 18px;padding:0;max-width:630px}
.daily-greeting-title{font:800 clamp(24px,3.2vw,38px)/1.2 Manrope,system-ui,sans-serif;letter-spacing:-.7px;color:#f2cc8d;margin:0}
.daily-greeting-message{font-size:clamp(12px,1.2vw,15px);color:#d3c4ac;line-height:1.55;margin:0;max-width:570px}
/* Single visible money input border. The input itself never draws a nested focus frame. */
.money-input input,.money-input input:focus,.money-input input:focus-visible{
 border:0!important;outline:0!important;box-shadow:none!important;
 background:transparent!important;-webkit-appearance:none!important;appearance:none!important;
 -webkit-tap-highlight-color:transparent!important;
}
.money-input:focus-within{border-color:#e7c37a;outline:0;box-shadow:0 0 0 3px #dcb77624!important}
.money-input input::selection{background:#dcb77666;color:#fff}
@media(max-width:600px){.daily-greeting{margin:8px 0 13px}.daily-greeting-title{font-size:clamp(23px,6vw,30px)}}

/* Improved navigation contrast on desktop and mobile; active item retains original ARGUS gold. */
.sidebar .menu-label{color:#bdb09a!important}
.sidebar .menu-item{color:#d5d4d1!important}
.sidebar .menu-item>span:first-child{color:#e0c69b!important}
.sidebar .menu-item.active{color:#ffe0a5!important}
.sidebar .menu-item:hover,.sidebar .menu-item:focus-visible{color:#ffdd9f!important}

/* Compact ARGUS top header; page headings remain only in page content. */
.topbar .breadcrumb,.topbar #page-heading,.topbar .live-label{display:none!important}
.topbar{min-height:64px;align-items:center}
.topbar-nav{display:flex;align-items:center;gap:12px}
.workspace-switch{width:100%;font:inherit;text-align:left;cursor:pointer;color:inherit;border:1px solid transparent}
.workspace-switch:hover,.workspace-switch:focus-visible{border-color:#967543!important;outline:0;background:#24201a}
.sidebar .menu-item{min-height:40px}
#charge-qr img,#charge-qr canvas{width:210px!important;height:210px!important;max-width:100%!important;image-rendering:auto}
@media(max-width:600px){.topbar{min-height:58px}.topbar-nav{min-width:0}.topbar .account-chip{max-width:50vw}}
/* Traditional MisticPay Pix: responsive payer confirmation only after entering value */
.argus-payer-details{margin:14px 0;padding:15px;border:1px solid rgba(147,117,190,.4);border-radius:13px;background:rgba(90,61,130,.09)}
.argus-payer-details[hidden]{display:none!important}
.argus-payer-details h4{font-size:1rem;margin:0 0 6px}
.argus-payer-details label{display:block;margin-top:12px}
.argus-payer-details input{width:100%;max-width:100%;box-sizing:border-box}
/* Identity profile: mobile-safe payer summary, without editable CPF/CNPJ on QR generation. */
#argus-payer-details{display:block;max-width:100%;overflow-wrap:anywhere}
#argus-payer-details[hidden],#portal-identity-prompt[hidden]{display:none!important}
#argus-payer-summary{line-height:1.6;overflow-wrap:anywhere}
#portal-identity-prompt{border:1px solid rgba(205,161,79,.55);margin-bottom:18px;position:relative;z-index:3}
#portal-identity-prompt input,#portal-identity-prompt select{width:100%;box-sizing:border-box}
@media(max-width:640px){#argus-payer-details{padding:12px}#portal-identity-prompt{margin:12px 0}}