/* Acqua Vici 8.4 — dashboard executivo, exclusão de OS e menu mobile sanfona. */
.system-page .avs-dashboard{width:100%;min-width:0}
.system-page .avs-dashboard-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 0;padding:22px 24px;border-radius:18px;background:linear-gradient(125deg,#07394e,#0a7088);color:#fff;box-shadow:0 18px 45px rgba(7,57,78,.16)}
.system-page .avs-dashboard-intro small,.system-page .avs-chart-card>small,.system-page .avs-chart-card header small{display:block;color:#55d5de;font-size:9px;font-weight:900;letter-spacing:.14em}
.system-page .avs-dashboard-intro h2{margin:5px 0 3px;font-size:25px;letter-spacing:-.03em}.system-page .avs-dashboard-intro p{margin:0;color:#c9e0e7;font-size:11px}
.system-page .avs-live-indicator{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:10px;font-weight:800}.system-page .avs-live-indicator i{width:8px;height:8px;border-radius:50%;background:#5ce5a5;box-shadow:0 0 0 5px rgba(92,229,165,.12);animation:avsPulse 1.8s infinite}
@keyframes avsPulse{50%{box-shadow:0 0 0 9px rgba(92,229,165,0)}}
.system-page .avs-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.75fr);gap:14px;margin-top:14px}
.system-page .avs-chart-card{box-sizing:border-box;min-width:0;padding:20px;border:1px solid #dfe9ec;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(7,57,78,.07)}
.system-page .avs-chart-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.system-page .avs-chart-card h3{margin:5px 0 0;color:#07394e;font-size:17px}
.system-page .avs-period-switch{display:flex;padding:3px;border-radius:9px;background:#edf4f6}.system-page .avs-period-switch button{height:29px;padding:0 9px;border:0;border-radius:7px;background:transparent;color:#6e838c;font-size:9px;font-weight:800;cursor:pointer}.system-page .avs-period-switch button.active{background:#fff;color:#08738a;box-shadow:0 3px 9px rgba(7,57,78,.1)}
.system-page .avs-chart-bars{display:grid;grid-template-columns:repeat(6,minmax(42px,1fr));align-items:end;gap:10px;height:235px;margin-top:18px;padding-top:10px;border-bottom:1px solid #dce7ea;background:repeating-linear-gradient(to bottom,#eef3f5 0,#eef3f5 1px,transparent 1px,transparent 54px)}
.system-page .avs-chart-bar{display:grid;grid-template-rows:1fr 16px 22px;align-items:end;min-width:0;height:100%;padding:0;border:0;background:transparent;color:#6d8088;cursor:pointer}.system-page .avs-chart-bar>span{position:relative;display:flex;align-items:flex-end;justify-content:center;width:100%;height:100%}.system-page .avs-chart-bar i{display:block;width:min(34px,70%);height:var(--bar);min-height:8px;border-radius:9px 9px 3px 3px;background:linear-gradient(180deg,#25b7c6,#08758d);box-shadow:0 8px 18px rgba(8,117,141,.2);transition:height .35s,transform .2s}.system-page .avs-chart-bar:hover i,.system-page .avs-chart-bar:focus i{transform:translateY(-4px);background:linear-gradient(180deg,#f5a623,#f07d22)}
.system-page .avs-chart-bar b{font-size:9px;text-transform:uppercase}.system-page .avs-chart-bar small{overflow:hidden;color:#8ca0a8;font-size:7px;text-overflow:ellipsis;white-space:nowrap}
.system-page .avs-projection-card{background:linear-gradient(145deg,#fff,#f4fafb)}.system-page .avs-projection-card>strong{display:block;margin:16px 0 5px;color:#07394e;font-size:29px;letter-spacing:-.05em}.system-page .avs-projection-card>span{display:inline-flex;padding:6px 9px;border-radius:20px;font-size:9px;font-weight:900}.system-page .avs-projection-card>span.positive{background:#e4f7ee;color:#108b58}.system-page .avs-projection-card>span.negative{background:#ffeded;color:#c94d4d}.system-page .avs-projection-card>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:23px}.system-page .avs-projection-card p{margin:0;padding:12px;border-radius:11px;background:#fff;border:1px solid #e2ecef}.system-page .avs-projection-card p b,.system-page .avs-projection-card p small{display:block}.system-page .avs-projection-card p b{color:#07394e;font-size:13px}.system-page .avs-projection-card p small{margin-top:4px;color:#81949c;font-size:8px}
.system-page .avs-status-content{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:24px;margin-top:18px}.system-page .avs-donut{position:relative;width:145px;height:145px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--donut));isolation:isolate}.system-page .avs-donut:after{content:"";position:absolute;inset:22px;border-radius:50%;background:#fff;z-index:-1}.system-page .avs-donut b,.system-page .avs-donut small{position:absolute}.system-page .avs-donut b{margin-top:-13px;color:#07394e;font-size:25px}.system-page .avs-donut small{margin-top:24px;color:#8a9ca3;font-size:8px}.system-page .avs-status-content ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.system-page .avs-status-content li{display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:8px;color:#60747d;font-size:10px}.system-page .avs-status-content li i{width:9px;height:9px;border-radius:3px}.system-page .avs-status-content li b{color:#07394e}
.system-page .avs-quick-card>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:17px}.system-page .avs-quick-card a{display:flex;align-items:center;min-height:48px;padding:9px 11px;border:1px solid #e0e9ec;border-radius:11px;background:#f7fafb;color:#315762;font-size:9px;font-weight:800}.system-page .avs-quick-card a:hover{border-color:#9fd1dc;background:#edf8fa;color:#08738a}
.system-page .avs-os-actions{display:flex!important;align-items:center!important;gap:6px!important}.system-page .avs-delete-os-form{display:inline-flex!important;margin:0!important}.system-page .avs-delete-os{min-height:36px;padding:0 10px;border:1px solid #f0caca;border-radius:8px;background:#fff4f4;color:#c84141;font-size:9px;font-weight:900;cursor:pointer}.system-page .avs-delete-os:hover{background:#c84141;color:#fff}

@media(max-width:1100px){.system-page .avs-dashboard-grid{grid-template-columns:1fr 1fr}.system-page .avs-sales-chart{grid-column:1/-1}}

@media(max-width:900px){
  /* Barra superior: menu sempre visível à esquerda, logo ao centro e saída à direita. */
  .system-page .os-sidebar{position:sticky!important;top:0!important;display:grid!important;grid-template-columns:48px 1fr 48px!important;align-items:center!important;gap:7px!important;width:100%!important;height:64px!important;min-height:64px!important;padding:7px 9px!important;overflow:visible!important;z-index:120!important}
  .system-page .avs-mobile-menu-toggle{grid-column:1!important;grid-row:1!important;display:flex!important;width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;border-radius:12px!important;order:initial!important}.system-page .avs-mobile-menu-toggle b{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}.system-page .avs-mobile-menu-toggle i{display:grid!important}
  .system-page .os-brand{grid-column:2!important;grid-row:1!important;display:flex!important;justify-content:center!important;width:auto!important;height:48px!important;margin:0!important}.system-page .os-brand .avs-brand img{width:46px!important;min-width:46px!important;max-width:46px!important;height:46px!important;max-height:46px!important}.system-page .os-brand small{display:none!important}
  .system-page .os-user{grid-column:3!important;grid-row:1!important;display:flex!important;justify-content:flex-end!important;width:auto!important;margin:0!important}.system-page .os-user a{display:flex!important;width:44px!important;min-width:44px!important;height:40px!important;padding:0!important}
  .system-page .os-sidebar nav,.system-page .os-sidebar:not(:has(.avs-mobile-menu-toggle)) nav{position:fixed!important;left:9px!important;right:9px!important;top:70px!important;bottom:auto!important;z-index:130!important;display:grid!important;grid-template-columns:1fr!important;gap:4px!important;width:auto!important;height:auto!important;max-height:calc(100dvh - 80px)!important;margin:0!important;padding:10px!important;overflow-y:auto!important;border:1px solid #dce8eb!important;border-radius:16px!important;background:#fff!important;box-shadow:0 20px 50px rgba(2,29,41,.24)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(-8px)!important;transition:opacity .18s,transform .18s,visibility .18s!important}
  .system-page .avs-mobile-menu-open .os-sidebar nav{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important}
  .system-page .os-sidebar nav:before{content:"Menu"!important;display:block!important;grid-column:auto!important;padding:5px 8px!important;color:#08758d!important;font-size:9px!important;font-weight:900!important;letter-spacing:.14em!important}
  .system-page .os-sidebar nav a{justify-content:flex-start!important;width:100%!important;height:45px!important;padding:0 13px!important;border:0!important;border-radius:10px!important;background:#f6f9fa!important;color:#49636d!important;font-size:11px!important;text-align:left!important}.system-page .os-sidebar nav a.active{background:#e5f4f7!important;color:#08758d!important}.system-page .os-sidebar nav a.active:after{left:4px!important;top:12px!important;bottom:12px!important;width:3px!important;height:auto!important;transform:none!important}.system-page .os-sidebar nav a b{position:static!important;margin-left:auto!important}
  .system-page .os-main,.system-page .avs-sectioned-main{min-height:calc(100dvh - 64px)!important;padding:9px 9px calc(22px + env(safe-area-inset-bottom))!important}
  .system-page .avs-dashboard-intro{margin-top:9px;padding:16px;border-radius:14px}.system-page .avs-dashboard-intro h2{font-size:20px}.system-page .avs-dashboard-intro p{font-size:9px}.system-page .avs-live-indicator{font-size:8px}
  .system-page .avs-dashboard-grid{grid-template-columns:1fr!important;gap:9px;margin-top:9px}.system-page .avs-sales-chart{grid-column:auto}.system-page .avs-chart-card{padding:15px;border-radius:14px}.system-page .avs-chart-bars{grid-template-columns:repeat(6,minmax(35px,1fr));gap:5px;height:205px}.system-page .avs-chart-bar i{width:min(26px,72%)}.system-page .avs-chart-bar small{display:none}.system-page .avs-status-content{grid-template-columns:118px 1fr;gap:16px}.system-page .avs-donut{width:116px;height:116px}.system-page .avs-donut:after{inset:18px}
  .system-page .avs-os-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.system-page .avs-delete-os-form,.system-page .avs-delete-os,.system-page .avs-os-actions>.more-btn{width:100%!important}
}

@media(max-width:430px){.system-page .avs-dashboard-intro{align-items:flex-start}.system-page .avs-live-indicator{margin-top:3px}.system-page .avs-chart-card header{display:block}.system-page .avs-period-switch{width:max-content;margin-top:10px}.system-page .avs-chart-bars{height:180px}.system-page .avs-chart-bar b{font-size:8px}.system-page .avs-projection-card>strong{font-size:25px}.system-page .avs-status-content{grid-template-columns:105px 1fr;gap:12px}.system-page .avs-donut{width:102px;height:102px}.system-page .avs-status-content li{font-size:9px}.system-page .avs-quick-card>div{grid-template-columns:1fr}.system-page .os-top h1{font-size:16px!important}}
@media print{.system-page .avs-delete-os-form,.system-page .avs-mobile-menu-toggle,.system-page .avs-dashboard-intro,.system-page .avs-dashboard-grid{display:none!important}}
