/* AXYS V137 */
.ax37-k{margin:0 0 10px;font-size:10.5px;font-weight:800;letter-spacing:.14em;color:#8a96aa;text-transform:uppercase}

/* ---------- Brilho azul global que acompanha o mouse ---------- */
.ax37-aura{position:fixed;inset:0;z-index:25;pointer-events:none;opacity:0;transition:opacity .5s ease;mix-blend-mode:screen;background:radial-gradient(420px circle at var(--ax,50%) var(--ay,30%),rgba(var(--ax-acc-rgb),.11),rgba(var(--ax-acc-rgb),.035) 45%,transparent 70%)}
.ax37-aura.is-on{opacity:1}
.ax33-glow::after{display:none!important}

/* ---------- Centro de Comando: um bloco só ---------- */
#ax36-command.ax37-one #axs-v98-command{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:14px 0 0!important;border-radius:0!important;overflow:visible!important}
#ax36-command.ax37-one #axs-v98-command::before,#ax36-command.ax37-one #axs-v98-command::after{display:none!important}
#ax36-command.ax37-one .axs-v98-heading,#ax36-command.ax37-one .axs-v98-pulse,#ax36-command.ax37-one .axs-v98-ambient,#ax36-command.ax37-one .axs-v98-stages,#ax36-command.ax37-one #axys-v103-projection-explain,#ax36-command.ax37-one #axs-v98-toggle{display:none!important}
#ax36-command.ax37-one #axs-v98-expanded{display:block!important;max-height:none!important;opacity:1!important;visibility:visible!important;margin:0!important;padding:0!important;border:0!important}
#ax36-command.ax37-one .axs-v98-insights,#ax36-command.ax37-one #axys-v103-command-forecast,#ax36-command.ax37-one .axs-v98-metrics{margin:0 0 18px!important}
#ax36-command.ax37-one .axs-v98-insights{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px!important;padding:0!important;list-style:none}
#ax36-command.ax37-one .axs-v98-insight{margin:0!important;border-radius:14px!important;border:1px solid rgba(170,190,225,.09)!important;background:rgba(255,255,255,.022)!important;padding:14px 16px!important;min-width:0}
#ax36-command.ax37-one .axs-v98-insight p,#ax36-command.ax37-one .axs-v98-insight small{display:none}
#ax36-command.ax37-one #axys-v103-command-forecast{border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}
#ax36-command.ax37-one .axys-v103-forecast__figures{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px!important}
#ax36-command.ax37-one .axys-v103-forecast__figures>div,#ax36-command.ax37-one .axs-v98-metrics>div{border-radius:14px!important;border:1px solid rgba(170,190,225,.09)!important;background:rgba(255,255,255,.022)!important;padding:14px 16px!important;min-width:0}
#ax36-command.ax37-one .axs-v98-metrics{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px!important;margin-bottom:0!important}
#ax36-command.ax37-one .axs-v98-metrics>div small:last-child,#ax36-command.ax37-one .axs-v98-metrics>div>span:last-child:not(:first-child):not(:nth-child(2)){display:none}
#ax36-command.ax37-one .ax37-k{margin-top:4px}
#ax36-command .ax33-cc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.ax37-status-pill{flex:none;align-self:center}
#ax36-command.ax37-one>#ax33-cc{border-bottom:0!important;padding-bottom:0!important;margin-bottom:0!important}

/* ---------- Recuperação & custos: abas na lateral ---------- */
dialog.ax37-costs{width:min(980px,calc(100vw - 32px))!important;max-width:none!important;padding:0!important;overflow:hidden}
dialog.ax37-costs[open]{display:flex;flex-direction:column;max-height:min(760px,calc(100vh - 40px))}
dialog.ax37-costs>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 26px 16px;border-bottom:1px solid rgba(170,190,225,.08)}
dialog.ax37-costs>header h3{margin:4px 0 4px;font-size:19px;font-weight:800;color:#fff}
dialog.ax37-costs>header p{margin:0;font-size:12.5px;color:#8a96aa}
dialog.ax37-costs>header small{font-size:10.5px;font-weight:800;letter-spacing:.14em;color:rgb(var(--ax-acc-rgb))}
.ax37-side{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:0;flex:1}
.ax37-rail{display:flex;flex-direction:column;gap:6px;padding:18px 14px;border-right:1px solid rgba(170,190,225,.08);background:rgba(255,255,255,.012)}
.ax37-rail button{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:10px 12px;border-radius:12px;border:1px solid transparent;background:transparent;color:#aab4c6;font-size:13px;font-weight:650;text-align:left;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.ax37-rail button i{width:16px;text-align:center;font-size:13px;flex:none}
.ax37-rail button span{min-width:0;overflow-wrap:anywhere}
.ax37-rail button:hover{background:rgba(255,255,255,.04);color:#fff}
.ax37-rail button.is-on{background:rgba(var(--ax-acc-rgb),.14);border-color:rgba(var(--ax-acc-rgb),.4);color:#fff}
.ax37-stage{min-width:0;overflow:auto;padding:22px 26px 26px}
.ax37-pane{display:flex;flex-direction:column;gap:16px;min-width:0}
.ax37-pane[hidden]{display:none}
.ax37-pane form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
.ax37-pane form>*{min-width:0;margin:0!important}
.ax37-pane form .axys-v93-settings{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.ax37-pane form footer,.ax37-pane form .axys-v96-actions,.ax37-pane form .axys-v96-wide,.ax37-pane form .v79-error,.ax37-pane form .axs-v126-preview,.ax37-pane form .axs-v126-included{grid-column:1/-1}
.ax37-pane form footer,.ax37-pane form .axys-v96-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:6px 0 0!important;border:0!important;background:transparent!important}
.ax37-pane label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:650;color:#c5cddb;min-width:0}
.ax37-pane label.axs-v126-included{flex-direction:row;align-items:center;gap:10px;font-weight:600}
.ax37-pane label.axs-v126-included input{width:18px;height:18px;flex:none}
.ax37-pane label small{font-weight:500;color:#7f8ba0;font-size:11px;line-height:1.4}
.ax37-pane input:not([type=checkbox]),.ax37-pane select{width:100%;height:42px;border-radius:12px;min-width:0}
.ax37-pane .axs-v126-fee-panel,.ax37-pane .axs-v126-reconcile{display:grid!important;grid-template-columns:minmax(0,1fr) 200px;gap:14px 18px;align-items:end;padding:18px!important;border-radius:16px!important;border:1px solid rgba(170,190,225,.09)!important;background:rgba(255,255,255,.02)!important;margin:0!important}
.ax37-pane .axs-v126-fee-panel>div,.ax37-pane .axs-v126-reconcile>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.ax37-pane .axs-v126-fee-panel>div small,.ax37-pane .axs-v126-reconcile>div small{color:#8a96aa;font-size:12px;line-height:1.5}
.ax37-pane .axs-v126-fee-panel button{grid-column:1/-1;justify-self:end}
.ax37-pane .axs-v126-reconcile p{grid-column:1/-1;margin:0;font-size:12.5px;color:#c5cddb}
.ax37-pane .axys-v96-history-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0!important}
.ax37-pane .axys-v96-history-head h4{margin:0;font-size:15px;font-weight:800;color:#fff}
.ax37-pane .axys-v96-history-head label{flex-direction:row;align-items:center;gap:10px}
.ax37-pane .axys-v96-history-head select{width:150px}
.ax37-pane .axys-v96-category-total{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px!important;margin:0!important}
.ax37-pane .axys-v96-category-total>*{display:flex!important;flex-direction:column;gap:4px;padding:12px 14px!important;border-radius:12px!important;border:1px solid rgba(170,190,225,.09)!important;background:rgba(255,255,255,.02)!important;font-size:11.5px;color:#8a96aa;min-width:0}
.ax37-pane .axys-v96-category-total>* b,.ax37-pane .axys-v96-category-total>* strong{font-size:16px;color:#fff}
.ax37-pane .axys-v96-history{margin:0!important}
@media(max-width:760px){.ax37-side{grid-template-columns:1fr}.ax37-rail{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid rgba(170,190,225,.08);padding:10px 12px}.ax37-rail button{width:auto;flex:none;white-space:nowrap}.ax37-pane form,.ax37-pane form .axys-v93-settings,.ax37-pane .axs-v126-fee-panel,.ax37-pane .axs-v126-reconcile{grid-template-columns:1fr}.ax37-stage{padding:16px}}

/* ---------- Status do sistema (Configurações, acesso máximo) ---------- */
.ax37-status{margin:0 0 22px;padding:16px 18px;border-radius:16px;border:1px solid rgba(170,190,225,.09);background:rgba(255,255,255,.02)}
.ax37-status[hidden]{display:none}
.ax37-status .ax37-status-bar{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 28px!important;padding:0!important;background:transparent!important;border:0!important;width:auto!important}
.ax37-status .ax37-status-bar>div{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px!important;margin:0!important}
.ax37-status .ax37-status-bar>div>*{margin:0!important}
.ax37-status #ax35-dots{gap:16px!important;padding:8px 14px!important}
body.ax37-nostrip #axs-top-shell header{padding-top:6px}

/* ---------- Topo, busca e rodapés ---------- */
html body #axs-app #afterpay-search-clear,html body #axs-app .axs-afterpay-search-clear,html body #axs-app .ax8dq-search-clear{background:transparent!important;border:0!important;box-shadow:none!important;width:18px!important;height:18px!important;min-width:0!important;min-height:0!important;padding:0!important;border-radius:0!important;color:#9aa6ba!important;display:inline-flex;align-items:center;justify-content:center}
html body #axs-app #afterpay-search-clear[hidden]{display:none!important}
.ax32-pager-size{display:none!important}
.axs1275-pagination-info,.ax8-pager-info,.ax32-pager-info{font-weight:700;color:#c5cddb!important}
.ax37-board-pager{margin-top:16px}
.ax37-board-pager[hidden]{display:none!important}
.ax30-note-card.is-read{opacity:.5}

/* ---------- Quem não tem acesso máximo ---------- */
body.ax-attendant #view-afterpay button[onclick^="togglePagoAoProdutor"],body.ax-attendant #view-afterpay button[onclick^="atualizarBaixaRouboProdutor"]{pointer-events:none!important;opacity:.55;cursor:default}
#view-calendario.ax37-cal-basic #box-cobrancas-dia,#view-calendario.ax37-cal-basic #detalhe-dia-selecionado>.grid{display:none!important}

/* ---------- Escolhas (linhas por página) e fatos (descontos) ---------- */
.ax37-choices{display:flex;flex-wrap:wrap;gap:10px}
.ax37-choice{min-width:64px;height:44px;padding:0 16px;border-radius:12px;border:1px solid rgba(170,190,225,.14);background:rgba(255,255,255,.03);color:#c5cddb;font-size:14px;font-weight:750;cursor:pointer;transition:all .18s}
.ax37-choice:hover{border-color:rgba(var(--ax-acc-rgb),.5);color:#fff}
.ax37-choice.is-on{background:var(--ax-btn,#2f6fe0);border-color:transparent;color:#fff}
.ax37-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ax37-fact{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:14px;border:1px solid rgba(170,190,225,.09);background:rgba(255,255,255,.022);min-width:0}
.ax37-fact span{font-size:11px;color:#8a96aa;font-weight:650}
.ax37-fact strong{font-size:15px;color:#fff;font-weight:800;overflow-wrap:anywhere}
.ax37-fact.is-amber strong{color:#fbbf24}.ax37-fact.is-rose strong{color:#fb7185}.ax37-fact.is-green strong{color:#34d399}
@media(max-width:560px){.ax37-facts{grid-template-columns:1fr 1fr}}

/* ---------- Barra de título própria (aplicativo de mesa) e janela do app instalado ---------- */
.ax37-titlebar{position:fixed;top:0;left:0;right:0;height:34px;z-index:2147480000;display:flex;align-items:center;justify-content:space-between;background:#07080d;border-bottom:1px solid rgba(170,190,225,.06);user-select:none;-webkit-user-select:none}
.ax37-tb-name{padding-left:14px;font-size:11px;font-weight:800;letter-spacing:.22em;color:#8a96aa;flex:1;height:100%;display:flex;align-items:center}
.ax37-tb-btns{display:flex;height:100%}
.ax37-tb-btns button{width:46px;height:100%;border:0;background:transparent;color:#aab4c6;display:grid;place-items:center;cursor:pointer;transition:background .15s,color .15s}
.ax37-tb-btns button svg{width:12px;height:12px}
.ax37-tb-btns button:hover{background:rgba(255,255,255,.07);color:#fff}
.ax37-tb-btns button.is-close:hover{background:#e11d48;color:#fff}
body.ax37-has-titlebar{padding-top:34px}
body.ax37-has-titlebar #axs-top-shell{top:34px}
body.ax37-has-titlebar #axys-nav-drawer{top:46px!important;height:calc(100vh - 58px)!important}
@media (display-mode: window-controls-overlay){
  #axs-top-shell header{-webkit-app-region:drag;app-region:drag;padding-top:env(titlebar-area-height,0px)}
  #axs-top-shell header button,#axs-top-shell header a,#axs-top-shell header input{-webkit-app-region:no-drag;app-region:no-drag}
}

/* ---------- Flow Builder: tudo dentro da sua caixa ---------- */
html body #ax33-builder .ax33-b-top{flex-wrap:wrap!important;overflow:visible!important;gap:10px 12px!important;padding:12px 18px!important;align-items:center}
html body #ax33-builder .ax33-b-top>*{flex:none;min-width:0}
html body #ax33-builder .ax33-b-top .ax33-b-sp{flex:1 1 12px}
html body #ax33-builder .ax36-name{flex:1 1 280px!important;min-width:240px!important;max-width:460px;display:flex;align-items:center;gap:10px}
html body #ax33-builder #ax33-flow-name{flex:1 1 auto!important;min-width:0!important;width:auto!important;text-overflow:ellipsis}
html body #ax33-builder .ax36-top-link,html body #ax33-builder .ax33-b-top .ax30-switch,html body #ax33-builder .ax33-b-top .ax30-btn{white-space:nowrap}
.ax37-inst-wrap{position:relative}
.ax37-inst{display:inline-flex;align-items:center;gap:9px;height:38px;padding:0 12px;border-radius:11px;border:1px solid rgba(170,190,225,.14);background:rgba(255,255,255,.03);color:#e6ebf3;font-size:12.5px;font-weight:650;cursor:pointer;max-width:320px}
.ax37-inst>span:first-of-type{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ax37-inst .fa-whatsapp{color:#22c55e;font-size:15px}
.ax37-inst .ax37-chev{font-size:10px;color:#8a96aa}
.ax37-inst-pop{position:absolute;top:calc(100% + 8px);left:0;z-index:40;width:320px;max-width:calc(100vw - 40px);padding:16px;border-radius:14px;border:1px solid rgba(170,190,225,.14);background:#11151d;box-shadow:0 24px 60px rgba(0,0,0,.55);display:flex;flex-direction:column;gap:6px}
.ax37-inst-pop[hidden]{display:none}
.ax37-inst-pop>strong{font-size:14px;color:#fff}
.ax37-inst-pop>p{margin:0 0 6px;font-size:12px;color:#8a96aa;line-height:1.45}
.ax37-inst-row{display:flex;align-items:center;gap:12px;width:100%;padding:10px;border-radius:10px;border:0;background:transparent;color:#e6ebf3;text-align:left;cursor:pointer}
.ax37-inst-row:hover{background:rgba(255,255,255,.05)}
.ax37-inst-row span{display:flex;flex-direction:column;gap:2px;min-width:0}
.ax37-inst-row b{font-size:13px;font-weight:700;overflow-wrap:anywhere}
.ax37-inst-row small{font-size:11.5px;color:#8a96aa}
.ax37-radio{flex:none;width:16px;height:16px;border-radius:50%;border:2px solid #5b6577;display:block}
.ax37-inst-row.is-on .ax37-radio{border-color:rgb(var(--ax-acc-rgb));background:radial-gradient(circle,rgb(var(--ax-acc-rgb)) 45%,transparent 50%)}
html body #ax33-builder .ax33-b-main{grid-template-columns:268px minmax(0,1fr) 352px!important}
html body #ax33-builder .ax33-palette{overflow-y:auto;padding:16px 14px 20px!important;display:flex;flex-direction:column;gap:14px}
html body #ax33-builder .ax36-pal-top{display:flex;flex-direction:column;gap:12px}
html body #ax33-builder .ax36-pal-top strong{font-size:16px;color:#fff}
html body #ax33-builder .ax36-pal-group{display:flex!important;flex-direction:column;gap:8px!important;height:auto!important;overflow:visible!important}
html body #ax33-builder .ax36-pal-group:not([open])>.ax33-pal-item{display:none!important}
html body #ax33-builder .ax36-pal-group>summary{display:flex;align-items:center;gap:8px;padding:8px 2px;cursor:pointer;list-style:none}
html body #ax33-builder .ax36-pal-group>summary::-webkit-details-marker{display:none}
html body #ax33-builder .ax36-pal-group>summary .ax33-pal-h{flex:1;min-width:0;font-size:13px;font-weight:750;color:#e6ebf3;letter-spacing:0;text-transform:none}
html body #ax33-builder .ax36-pal-group>summary i{font-size:10px;color:#8a96aa;transition:transform .2s}
html body #ax33-builder .ax36-pal-group:not([open])>summary i{transform:rotate(180deg)}
html body #ax33-builder .ax33-pal-item{position:static!important;display:flex!important;align-items:center;gap:12px;width:100%;height:auto!important;min-height:46px;margin:0!important;padding:10px 12px!important;text-align:left;white-space:normal!important;line-height:1.3;flex:none!important;transform:none}
html body #ax33-builder .ax33-pal-item[hidden]{display:none!important}
html body #ax33-builder .ax33-pal-item>span:last-child{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}
html body #ax33-builder .ax33-pal-item .ax34-ico{flex:none}
html body #ax33-builder .ax33-inspector{min-width:0;overflow:hidden}
html body #ax33-builder .ax33-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:14px 14px 0;padding:4px}
html body #ax33-builder .ax33-tabs button{min-width:0;padding:8px 4px!important;font-size:11.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #ax33-builder .ax33-ins-body{padding:16px 16px 22px!important;overflow-y:auto;display:flex;flex-direction:column;gap:12px;min-width:0}
html body #ax33-builder .ax33-ins-body>*{min-width:0;max-width:100%;margin-top:0;margin-bottom:0}
html body #ax33-builder .ax33-ins-body .ax34-api-head{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:10px 12px;align-items:center}
html body #ax33-builder .ax33-ins-body .ax34-api-head>div{min-width:0}
html body #ax33-builder .ax33-ins-body .ax34-api-head small{display:block;line-height:1.45}
html body #ax33-builder .ax33-ins-body .ax34-api-head .ax34-pill{grid-column:1/-1;justify-self:start}
html body #ax33-builder .ax33-ins-body .ax34-row{flex-wrap:wrap}
html body #ax33-builder .ax33-ins-body .ax34-card{padding:14px!important}
.ax37-ins-head{display:flex!important;align-items:center;gap:12px;padding:0 0 12px!important;border-bottom:1px solid rgba(170,190,225,.08);background:transparent!important;border-radius:0!important}
.ax37-ins-ico{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(var(--ax-acc-rgb),.16);color:rgb(var(--ax-acc-rgb));font-size:14px}
.ax37-ins-head.is-trigger .ax37-ins-ico{background:rgba(34,197,94,.16);color:#4ade80}
.ax37-ins-head.is-cond .ax37-ins-ico{background:rgba(245,158,11,.16);color:#fbbf24}
.ax37-ins-head.is-action .ax37-ins-ico{background:rgba(249,115,22,.16);color:#fb923c}
.ax37-ins-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ax37-ins-t strong{font-size:14.5px;color:#fff;overflow-wrap:anywhere}
.ax37-ins-t small{font-size:11.5px;color:#8a96aa}
.ax37-ins-x{flex:none;width:30px;height:30px;border-radius:9px;border:0;background:transparent;color:#9aa6ba;cursor:pointer}
.ax37-ins-x:hover{background:rgba(255,255,255,.06);color:#fff}
.ax37-trig{margin:10px 12px 12px;padding:10px 12px;border-radius:10px;background:rgba(0,0,0,.22);display:flex;flex-direction:column;gap:3px;min-width:0}
.ax37-trig small{font-size:10px;color:rgba(255,255,255,.7)}
.ax37-trig b{font-size:12.5px;color:#fff;overflow-wrap:anywhere}
.ax37-trig .ax33-node-s{margin:2px 0 0!important;padding:0!important;font-size:11.5px;color:rgba(255,255,255,.8)!important;background:transparent!important;border:0!important}
.ax33-node.is-trigger{background:linear-gradient(180deg,#16a34a,#15803d)!important;border-color:rgba(74,222,128,.5)!important}
.ax33-node .ax33-node-t strong,.ax33-node .ax33-node-s{overflow-wrap:anywhere}
.ax37-nodebar{position:absolute;left:50%;top:-46px;transform:translateX(-50%);display:flex;gap:2px;padding:4px;border-radius:11px;border:1px solid rgba(170,190,225,.16);background:#12161f;box-shadow:0 10px 28px rgba(0,0,0,.45);z-index:5}
.ax37-nodebar button{width:32px;height:30px;border:0;border-radius:8px;background:transparent;color:#c5cddb;cursor:pointer;font-size:13px}
.ax37-nodebar button:hover{background:rgba(255,255,255,.08);color:#fff}
@media(max-width:1100px){html body #ax33-builder .ax33-b-main{grid-template-columns:1fr!important}}

/* ---------- Texto sempre dentro da caixa ---------- */
#axs-app .v79-settings-tile>span:nth-child(2){min-width:0}
#axs-app .v79-settings-tile strong,#axs-app .v79-settings-tile small{overflow-wrap:anywhere}
#axs-app .ax30-btn,#axs-app .axs-filter-trigger{max-width:100%}
.ax30-dialog .ax30-box,.v79-dialog{max-width:calc(100vw - 24px)}
.ax30-dialog h3,.ax30-dialog p,.ax30-dialog strong,.ax30-dialog small{overflow-wrap:anywhere}
.ax37-inst-wrap>:not(.ax37-inst):not(.ax37-inst-pop){display:none!important}
/* Modelos de fluxo ocupam a largura toda */
#ax33-builder .ax36-tpls{grid-column:1/-1;width:100%}
#ax33-builder .ax36-tpls-head span{white-space:nowrap}
