:root{--orange:#f56612;--orange-dark:#d94f00;--navy:#11182d;--ink:#18213b;--muted:#6f7688;--line:#e8e9ed;--soft:#fff8f3;--green:#13a66b;--amber:#e29112;--red:#d65052}*{box-sizing:border-box}body{margin:0;background:#f7f8fa;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.hidden{display:none!important}button,input{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}.shell{min-height:100vh}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(120deg,#fff 0%,#fff8f2 100%)}.auth-brand{padding:8vw;display:flex;flex-direction:column;justify-content:center;background:var(--navy);color:#fff}.auth-brand img{width:min(320px,80%);height:auto;mix-blend-mode:screen}.auth-brand p{font-size:1.6rem;margin:2rem 0 .5rem}.auth-brand span{color:#c8cede}.auth-card{align-self:center;width:min(480px,90%);margin:auto;background:#fff;border:1px solid var(--line);border-radius:24px;padding:2rem;box-shadow:0 24px 70px #151a2d16}.auth-tabs{display:flex;gap:1rem;border-bottom:1px solid var(--line);margin-bottom:2rem}.tab{padding:.8rem 0;margin-right:1rem;color:var(--muted)}.tab.active{color:var(--ink);font-weight:800;border-bottom:3px solid var(--orange)}h1,h2,p{margin-top:0}.auth-form h1{font-size:2rem;margin:.4rem 0 1.5rem}.eyebrow{color:var(--orange);font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.auth-form label,.form-panel label{display:grid;gap:.4rem;font-size:.84rem;font-weight:700;margin:1rem 0}.auth-form input,.form-panel input{border:1px solid #d9dce3;border-radius:10px;padding:.85rem;background:#fff}.primary{background:var(--orange);color:white;font-weight:800;border-radius:999px;padding:.85rem 1.2rem;box-shadow:0 10px 22px #f5661230}.primary:hover{background:var(--orange-dark)}.auth-form .primary{width:100%;margin-top:1rem}.form-message{color:var(--red);font-size:.86rem;min-height:1.3rem}.app-header{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 clamp(1rem,4vw,4rem);gap:2rem;position:sticky;top:0;z-index:2}.app-brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--navy);font-weight:900;font-size:.75rem;letter-spacing:.1em}.app-brand img{width:95px;height:36px;object-fit:contain}.app-brand span{border-left:1px solid var(--line);padding-left:.7rem}.app-header nav{display:flex;gap:.4rem;flex:1}.app-header nav button,.account button{padding:.55rem .75rem;color:var(--muted);border-radius:8px}.app-header nav button.selected,.app-header nav button:hover{background:var(--soft);color:var(--orange);font-weight:700}.account{display:flex;align-items:center;gap:.7rem;font-size:.82rem}.account button{border:1px solid var(--line)}.app-content{max-width:1280px;margin:auto;padding:clamp(1.5rem,4vw,4rem)}.view-heading,.cashier-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:2rem}.view-heading h1,.cashier-heading h1{font-size:clamp(2rem,4vw,3.4rem);margin:.3rem 0}.view-heading p:not(.eyebrow),.cashier-heading p:not(.eyebrow){color:var(--muted)}.link-button{text-decoration:none;white-space:nowrap}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1rem}.metric-card,.panel,.source-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.3rem}.metric-card span,.metric-card small,.muted,.panel p{color:var(--muted)}.metric-card strong{display:block;font-size:2rem;margin:.5rem 0}.dashboard-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:1rem}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.panel-title h2,.source-card h2{font-size:1rem;margin:0}.panel-title button{color:var(--orange);font-weight:700}.movement-list,.cashier-list,.promise-list{display:grid;gap:.4rem}.movement-row,.promise-row{display:flex;align-items:center;gap:.8rem;padding:.8rem 0;border-bottom:1px solid var(--line)}.movement-row:last-child,.promise-row:last-child{border-bottom:0}.movement-main,.promise-row>div{flex:1;display:grid;gap:.25rem}.movement-main small,.promise-row small{color:var(--muted)}.movement-amount{white-space:nowrap}.movement-label,.promise-state,.source-state{font-size:.7rem;font-weight:800;color:var(--muted);white-space:nowrap}.status-dot{width:10px;height:10px;border-radius:99px;background:#bfc3cc}.verified .status-dot,.source-state.active{background:var(--green);color:var(--green)}.observed .status-dot{background:var(--amber)}.cuarentena .status-dot{background:var(--red)}code{display:block;background:#f3f4f6;border-radius:8px;padding:.8rem;overflow:auto;color:var(--navy);font-size:.84rem}.cashier-heading{align-items:center}.connection{padding:.55rem .8rem;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.8rem}.connection.online{color:var(--green);border-color:#bcebd4;background:#effcf6}.cashier-alert{display:flex;align-items:center;gap:1rem;border-radius:24px;padding:2rem;margin:1rem 0 1.5rem;background:#fff;border:1px solid var(--line)}.cashier-alert strong{display:block;font-size:1.3rem}.cashier-alert small{display:block;color:var(--muted);margin-top:.35rem}.alert-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#f3f4f6;font-size:1.5rem;font-weight:900}.cashier-alert.verified{background:#edfff6;border-color:#85ddb5}.cashier-alert.verified .alert-icon{background:var(--green);color:#fff}.cashier-alert.observado{background:#fff8e8;border-color:#f5d58d}.cashier-alert.observado .alert-icon{background:var(--amber);color:#fff}.cashier-list{background:#fff;border:1px solid var(--line);border-radius:18px;padding:1rem}.cashier-list .movement-row{padding:1rem}.source-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-bottom:1rem}.source-card{display:flex;gap:1rem;align-items:flex-start}.source-icon{width:42px;height:42px;border-radius:12px;background:var(--soft);color:var(--orange);display:grid;place-items:center;font-weight:900}.source-card p{color:var(--muted);font-size:.82rem;margin:.5rem 0}.form-panel{max-width:640px}.webhook-box{margin-top:1rem}.webhook-box span{display:block;color:var(--muted);font-size:.75rem;margin-bottom:.35rem}.promise-state{padding:.35rem .55rem;border-radius:999px;background:#f1f2f4}.promise-state.pending{background:#fff5df;color:var(--amber)}.promise-state.expired{background:#fff0f0;color:var(--red)}.ghost{color:var(--orange);font-weight:700}.empty{color:var(--muted);padding:1rem 0}.toast{position:fixed;right:1rem;bottom:1rem;background:var(--navy);color:#fff;border-radius:12px;padding:1rem 1.2rem;transform:translateY(150%);transition:.25s;z-index:4;max-width:360px}.toast.show{transform:translateY(0)}@media(max-width:900px){.auth-layout{grid-template-columns:1fr}.auth-brand{padding:2rem;min-height:260px}.auth-card{margin:2rem auto}.app-header{height:auto;flex-wrap:wrap;padding:1rem}.app-header nav{order:3;overflow:auto;width:100%}.account{margin-left:auto}.metric-grid,.dashboard-grid{grid-template-columns:1fr}.view-heading,.cashier-heading{align-items:flex-start;flex-direction:column}.movement-row{flex-wrap:wrap}.movement-label{margin-left:1.5rem}.movement-amount{margin-left:auto}}
