/* C4U Config + Nav + Home v8 */
.c4u-v8-svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}

/* top settings */
.c4u-top-settings{height:42px;border:1px solid #e6ddf6;background:#f8f3ff;color:#4f2488;border-radius:14px;padding:0 14px;display:inline-flex;align-items:center;gap:9px;font-weight:800;cursor:pointer;transition:.18s ease}
.c4u-top-settings:hover,.c4u-top-settings.active{background:#ede2ff;border-color:#cbb5ef;transform:translateY(-1px)}
.c4u-top-settings .c4u-v8-svg{width:18px;height:18px}

/* simplified main navigation */
.classic-nav[data-v8="1"]{overflow:visible!important;padding:10px 12px 18px!important;display:flex!important;flex-direction:column!important;gap:7px!important}
.c4u-nav-cat{position:relative}
.c4u-nav-main{width:100%;min-height:46px;border:0;background:transparent;color:var(--sidebar-text,#d8d0e6);border-radius:13px;padding:0 12px;display:flex;align-items:center;gap:12px;text-align:left;font:inherit;font-weight:720;cursor:pointer;transition:.16s ease}
.c4u-nav-main>span{flex:1;white-space:nowrap}
.c4u-nav-main>.c4u-v8-svg:last-child{width:16px;height:16px;opacity:.65;transition:.16s ease}
.c4u-nav-cat:hover>.c4u-nav-main,.c4u-nav-cat.open>.c4u-nav-main,.c4u-nav-cat.active>.c4u-nav-main{background:linear-gradient(135deg,rgba(132,74,215,.34),rgba(112,40,184,.22));color:#fff}
.c4u-nav-cat.open>.c4u-nav-main>.c4u-v8-svg:last-child{transform:rotate(90deg)}
.c4u-nav-flyout{position:absolute;left:calc(100% + 12px);top:-8px;z-index:1200;width:260px;padding:12px;background:rgba(255,255,255,.98);border:1px solid #e9e1f3;border-radius:18px;box-shadow:0 24px 70px rgba(43,24,64,.20);opacity:0;visibility:hidden;transform:translateX(-7px);transition:.15s ease;backdrop-filter:blur(14px)}
.c4u-nav-cat.open>.c4u-nav-flyout,.c4u-nav-cat:hover>.c4u-nav-flyout{opacity:1;visibility:visible;transform:none}
.c4u-nav-flyout-head{padding:5px 8px 10px;display:flex;flex-direction:column;gap:2px;border-bottom:1px solid #f0ebf5;margin-bottom:7px}
.c4u-nav-flyout-head b{font-size:14px;color:#271833}.c4u-nav-flyout-head small{color:#85788e;font-size:11px}
.c4u-nav-sub{width:100%!important;border:0!important;background:transparent!important;border-radius:12px!important;padding:10px 9px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;color:#46384e!important;font-weight:680!important;text-align:left!important;cursor:pointer!important;min-height:40px!important}
.c4u-nav-sub:hover,.c4u-nav-sub.active{background:#f4edfb!important;color:#6f2dbd!important}
.c4u-nav-sub .c4u-v8-svg{width:15px;height:15px;opacity:.65}
.sidebar.collapsed .c4u-nav-main>span,.sidebar.collapsed .c4u-nav-main>.c4u-v8-svg:last-child{display:none}
.sidebar.collapsed .c4u-nav-main{justify-content:center;padding:0}
.sidebar.collapsed .c4u-nav-flyout{left:calc(100% + 8px)}

/* settings */
.c4u-settings-v8{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;align-items:start;max-width:1560px;margin:0 auto}
.c4u-settings-nav{position:sticky;top:14px;background:#fff;border:1px solid #ece5f4;border-radius:22px;padding:12px;box-shadow:0 12px 34px rgba(45,28,65,.06)}
.c4u-settings-back{width:100%;border:0;background:linear-gradient(135deg,#f2eaff,#fbf9fe);border-radius:16px;padding:13px;display:flex;align-items:center;gap:10px;color:#4f2488;text-align:left;cursor:pointer}
.c4u-settings-back>span{display:flex;flex-direction:column}.c4u-settings-back b{font-size:14px}.c4u-settings-back small{font-size:10px;color:#8c7a9a;margin-top:2px}
.c4u-settings-nav-links{display:flex;flex-direction:column;gap:5px;margin-top:10px}
.c4u-settings-nav-links button{border:0;background:transparent;border-radius:12px;padding:10px;display:flex;align-items:center;gap:9px;color:#5f5267;text-align:left;cursor:pointer;font-weight:700}
.c4u-settings-nav-links button:hover,.c4u-settings-nav-links button.active{background:#f5effb;color:#6f2dbd}
.c4u-settings-nav-links .c4u-v8-svg{width:17px;height:17px}
.c4u-settings-main{min-width:0}
.c4u-settings-hero{display:flex;align-items:center;gap:16px;margin:4px 0 18px;padding:4px 4px 0}
.c4u-settings-hero-icon{width:62px;height:62px;border-radius:20px;background:linear-gradient(145deg,#efe4ff,#faf7ff);display:flex;align-items:center;justify-content:center;color:#6f2dbd;box-shadow:inset 0 0 0 1px #e8ddf6}
.c4u-settings-hero-icon .c4u-v8-svg{width:30px;height:30px;stroke-width:2}
.c4u-settings-hero h2{margin:0;color:#24142e;font-size:30px;line-height:1.08}.c4u-settings-hero p{margin:6px 0 0;color:#74687c}
.c4u-settings-home-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:18px;align-items:start}
.c4u-settings-card{background:#fff;border:1px solid #ece4f3;border-radius:22px;padding:20px;box-shadow:0 12px 34px rgba(47,29,69,.045);margin-bottom:18px}
.c4u-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:17px}
.c4u-card-head h3{margin:2px 0 5px;color:#271832;font-size:20px}.c4u-card-head p{margin:0;color:#7c7182;font-size:13px}.c4u-card-kicker{font-size:10px;font-weight:900;letter-spacing:.12em;color:#7b3fc0}
.c4u-num-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.c4u-num-item{border:1px solid #eee7f4;border-radius:17px;padding:14px;background:linear-gradient(180deg,#fff,#fdfbff)}
.c4u-num-item-head{display:flex;align-items:center;gap:10px;margin-bottom:13px}.c4u-num-item-head>span{width:34px;height:34px;border-radius:11px;background:#f2eaff;color:#6f2dbd;display:flex;align-items:center;justify-content:center}.c4u-num-item-head .c4u-v8-svg{width:17px;height:17px}.c4u-num-item-head div{display:flex;flex-direction:column}.c4u-num-item-head b{font-size:13px;color:#2b1d35}.c4u-num-item-head small{font-size:10px;color:#94889c}
.c4u-num-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.c4u-num-fields label{font-size:10px;color:#817486;font-weight:700}.c4u-num-fields input{width:100%;margin-top:5px;border:1px solid #ddd4e7;border-radius:10px;padding:9px 10px;background:#fff;color:#2c1e34;font-weight:800}
.c4u-num-preview{margin-top:12px;padding-top:10px;border-top:1px dashed #e7dff0;display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.c4u-num-preview small{color:#918398;font-size:10px}.c4u-num-preview strong{font-size:13px;color:#542178}
.c4u-switch-row{margin-top:14px;border:1px solid #eee7f4;border-radius:16px;padding:13px;display:flex;align-items:center;gap:12px;background:#fbf9fd;cursor:pointer}.c4u-switch-row input{position:absolute;opacity:0;pointer-events:none}.c4u-switch-ui{width:40px;height:22px;border-radius:999px;background:#d9d1df;position:relative;transition:.2s;flex:0 0 auto}.c4u-switch-ui:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:.2s}.c4u-switch-row input:checked+.c4u-switch-ui{background:#7840bd}.c4u-switch-row input:checked+.c4u-switch-ui:after{transform:translateX(18px)}.c4u-switch-row>span:last-child{display:flex;flex-direction:column}.c4u-switch-row b{font-size:12px;color:#33243c}.c4u-switch-row small{font-size:10px;color:#8c7f92;margin-top:2px}
.c4u-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.c4u-admin-grid button,.c4u-settings-links button{border:1px solid #eee7f4;background:#fff;border-radius:16px;padding:13px;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer;transition:.15s ease}.c4u-admin-grid button:hover,.c4u-settings-links button:hover{border-color:#d4c0ec;box-shadow:0 10px 24px rgba(73,41,101,.08);transform:translateY(-1px)}.c4u-admin-grid button>.icon{width:38px;height:38px;border-radius:12px;background:#f2eaff;color:#6f2dbd;display:flex;align-items:center;justify-content:center}.c4u-admin-grid button>span:nth-child(2),.c4u-settings-links button>span:nth-child(2){display:flex;flex-direction:column;min-width:0;flex:1}.c4u-admin-grid b,.c4u-settings-links b{font-size:12px;color:#33243c}.c4u-admin-grid small,.c4u-settings-links small{font-size:10px;color:#8d8193;line-height:1.35;margin-top:3px}.c4u-admin-grid button>.c4u-v8-svg,.c4u-settings-links button>.c4u-v8-svg{width:15px;height:15px;color:#9a8aa5}
.c4u-settings-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.c4u-settings-links .icon{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center}.c4u-settings-links .purple{background:#f1e7ff;color:#7134bd}.c4u-settings-links .blue{background:#e9f4ff;color:#2b79c2}.c4u-settings-links .green{background:#e9faef;color:#2d9660}.c4u-settings-links .amber{background:#fff5df;color:#be7b14}
.c4u-settings-home-note{background:linear-gradient(135deg,#f5edff,#fff);border:1px solid #e7dcf4;border-radius:20px;padding:15px 17px;display:flex;align-items:center;gap:12px}.c4u-settings-home-note>div{width:40px;height:40px;border-radius:12px;background:#fff;color:#6f2dbd;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 14px rgba(83,42,123,.08)}.c4u-settings-home-note>span{display:flex;flex:1;flex-direction:column}.c4u-settings-home-note b{color:#342140}.c4u-settings-home-note small{color:#7f7287;margin-top:3px}.c4u-settings-home-note .btn{display:inline-flex;align-items:center;gap:7px}.c4u-settings-home-note .c4u-v8-svg{width:16px;height:16px}
.c4u-company-logo{display:flex;align-items:center;gap:14px;margin-top:12px}.c4u-company-logo img{max-width:170px;max-height:70px;object-fit:contain;border:1px solid #eee6f3;border-radius:12px;padding:7px;background:#fff}
.c4u-network-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.c4u-network-box{border:1px solid #eee7f4;border-radius:16px;padding:15px;background:#fdfbff;display:flex;flex-direction:column;gap:8px}.c4u-network-box>small{color:#897c90}.c4u-online-dot{width:9px;height:9px;background:#23b36d;border-radius:50%;box-shadow:0 0 0 4px rgba(35,179,109,.12)}.c4u-network-url{display:flex;align-items:center;gap:8px}.c4u-network-url code{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;background:#fff;border:1px solid #e9e2ef;border-radius:10px;padding:8px 10px}
.c4u-settings-child>.page-head:first-child,.c4u-settings-child>.card.page-card>.page-head:first-child{margin-top:0}

/* cleaner home */
.c4u-home-v8{max-width:1550px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
.c4u-home-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 2px 4px}.c4u-home-welcome>div>span{font-size:10px;font-weight:900;letter-spacing:.14em;color:#7440ad}.c4u-home-welcome h2{font-size:30px;margin:4px 0 3px;color:#25162f}.c4u-home-welcome p{margin:0;color:#796c80}.c4u-home-welcome .btn{display:inline-flex;align-items:center;gap:8px}.c4u-home-welcome .c4u-v8-svg{width:17px;height:17px}
.c4u-home-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.c4u-home-quick>button{border:1px solid #ece5f2;background:#fff;border-radius:18px;padding:14px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;box-shadow:0 8px 26px rgba(44,26,62,.04);transition:.15s ease}.c4u-home-quick>button:hover{transform:translateY(-2px);border-color:#d7c4ec;box-shadow:0 12px 30px rgba(62,34,89,.08)}.c4u-home-quick>button>span:first-child{width:42px;height:42px;border-radius:14px;background:#f2eaff;color:#6f2dbd;display:flex;align-items:center;justify-content:center}.c4u-home-quick>button>span:nth-child(2){display:flex;flex:1;flex-direction:column}.c4u-home-quick b{font-size:13px;color:#32223b}.c4u-home-quick small{font-size:10px;color:#8a7d91;margin-top:2px}.c4u-home-quick>button>.c4u-v8-svg{width:15px;height:15px;color:#9a8ea1}
.c4u-home-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.c4u-home-kpis article{background:#fff;border:1px solid #ece5f2;border-radius:18px;padding:15px 17px;display:flex;flex-direction:column;gap:3px}.c4u-home-kpis span{font-size:11px;color:#817587}.c4u-home-kpis strong{font-size:23px;color:#2b1b35}.c4u-home-kpis small{font-size:10px;color:#8b8090}.c4u-home-kpis .dash-trend{font-size:10px}
.c4u-home-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}.c4u-home-grid.lower{grid-template-columns:1fr 1fr}.c4u-home-panel{background:#fff;border:1px solid #ece5f2;border-radius:20px;padding:17px;box-shadow:0 9px 28px rgba(44,26,62,.04)}.c4u-home-panel>header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.c4u-home-panel>header span{font-size:9px;font-weight:900;letter-spacing:.12em;color:#7d49b4}.c4u-home-panel>header h3{margin:3px 0 0;font-size:17px;color:#2c1d35}.c4u-home-panel>header button{border:0;background:transparent;color:#6f2dbd;display:flex;align-items:center;gap:6px;cursor:pointer;font-weight:750}.c4u-home-panel>header .c4u-v8-svg{width:15px;height:15px}
.c4u-home-agenda{display:flex;flex-direction:column}.c4u-home-agenda>button{border:0;border-top:1px solid #f0ebf4;background:transparent;display:grid;grid-template-columns:60px 1fr auto;gap:12px;align-items:center;padding:11px 4px;text-align:left;cursor:pointer}.c4u-home-agenda>button:first-child{border-top:0}.c4u-home-agenda time{font-weight:850;color:#4e3b59}.c4u-home-agenda span{display:flex;flex-direction:column}.c4u-home-agenda b{font-size:12px;color:#33253c}.c4u-home-agenda small{font-size:10px;color:#8c8093}.c4u-home-agenda em{font-size:9px;font-style:normal;background:#f4edfa;color:#6f2dbd;border-radius:999px;padding:5px 8px}
.c4u-home-alerts{display:flex;flex-direction:column;gap:8px}.c4u-home-alerts>div{border:1px solid #f0e8f5;background:#fcfaff;border-radius:13px;padding:10px 11px;display:flex;align-items:flex-start;gap:9px;color:#5a4d61;font-size:11px}.c4u-home-alerts .c4u-v8-svg{width:16px;height:16px;color:#a463c1}
.c4u-home-empty{min-height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8d8292}.c4u-home-empty b{color:#594e60}.c4u-home-empty small{margin-top:3px}
.c4u-home-order-list{display:flex;flex-direction:column}.c4u-home-order-list>button{border:0;border-top:1px solid #f0ebf4;background:transparent;display:grid;grid-template-columns:1.3fr .8fr .7fr .7fr .7fr;gap:12px;align-items:center;padding:10px 4px;text-align:left;cursor:pointer}.c4u-home-order-list>button:first-child{border-top:0}.c4u-home-order-list>button>span:first-child{display:flex;flex-direction:column}.c4u-home-order-list b{color:#34243d}.c4u-home-order-list small{color:#8d8292}.c4u-home-order-list strong{color:#432b52}.c4u-home-order-list em{font-style:normal}
.c4u-home-messages{display:flex;flex-direction:column}.c4u-home-messages>button{border:0;border-top:1px solid #f0ebf4;background:transparent;display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:9px 2px;text-align:left;cursor:pointer}.c4u-home-messages>button:first-child{border-top:0}.c4u-home-avatar{width:34px;height:34px;border-radius:50%;background:#efe6f8;color:#6f2dbd;display:flex;align-items:center;justify-content:center;font-weight:900}.c4u-home-messages>button>span:nth-child(2){display:flex;flex-direction:column}.c4u-home-messages b{font-size:11px;color:#37273f}.c4u-home-messages small{font-size:10px;color:#8d8193;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}.c4u-home-messages time{font-size:9px;color:#978b9d}.c4u-home-route p{color:#817586;font-size:12px;margin:0 0 15px}.c4u-home-route .btn{display:inline-flex;align-items:center;gap:6px}.c4u-home-route .c4u-v8-svg{width:15px;height:15px}

@media(max-width:1180px){.c4u-settings-home-grid{grid-template-columns:1fr}.c4u-settings-links{grid-template-columns:1fr 1fr}.c4u-home-quick,.c4u-home-kpis{grid-template-columns:1fr 1fr}.c4u-home-grid{grid-template-columns:1fr}.c4u-num-grid{grid-template-columns:1fr}.c4u-network-grid{grid-template-columns:1fr}}
@media(max-width:900px){.c4u-settings-v8{grid-template-columns:1fr}.c4u-settings-nav{position:static}.c4u-settings-nav-links{display:grid;grid-template-columns:1fr 1fr}.c4u-nav-flyout{position:fixed;left:12px;right:12px;top:auto;bottom:12px;width:auto}.c4u-home-order-list>button{grid-template-columns:1fr 1fr}.c4u-home-order-list>button>:nth-child(3),.c4u-home-order-list>button>:nth-child(4){display:none}}
@media(max-width:640px){.c4u-top-settings span{display:none}.c4u-top-settings{width:42px;padding:0;justify-content:center}.c4u-home-quick,.c4u-home-kpis,.c4u-settings-links,.c4u-admin-grid{grid-template-columns:1fr}.c4u-settings-hero h2{font-size:25px}.c4u-settings-home-note{align-items:flex-start;flex-wrap:wrap}.c4u-settings-home-note .btn{width:100%;justify-content:center}}


/* ===== C4U MENU/SUBCATEGORIAS v8.1 HOTFIX ===== */

/* O menu lateral original usa overflow:hidden. Isso cortava o flyout e deixava
   apenas uma borda visível. No desktop, o menu v8 possui poucas categorias e
   pode liberar overflow com segurança. */
@media (min-width: 761px){
  #appShell .classic-sidebar,
  #appShell .sidebar.classic-sidebar{
    overflow:visible!important;
  }
  #appShell .classic-nav[data-v8="1"]{
    overflow:visible!important;
  }
}

/* mantém a categoria aberta acima do restante da interface */
#appShell .c4u-nav-cat{
  position:relative;
}
#appShell .c4u-nav-cat.open,
#appShell .c4u-nav-cat:hover{
  z-index:1500;
}

/* seleção principal mais forte */
#appShell .c4u-nav-main{
  position:relative;
  border:1px solid transparent!important;
}
#appShell .c4u-nav-cat:hover>.c4u-nav-main{
  background:#efe4fb!important;
  color:#5a2594!important;
  border-color:#dfcdf3!important;
}
#appShell .c4u-nav-cat.open>.c4u-nav-main,
#appShell .c4u-nav-cat.active>.c4u-nav-main{
  background:linear-gradient(135deg,#7438ba,#6226a5)!important;
  color:#fff!important;
  border-color:#7d48bb!important;
  box-shadow:0 9px 22px rgba(91,42,139,.24)!important;
}
#appShell .c4u-nav-cat.active>.c4u-nav-main::before,
#appShell .c4u-nav-cat.open>.c4u-nav-main::before{
  content:"";
  position:absolute;
  left:-5px;
  top:8px;
  bottom:8px;
  width:4px;
  border-radius:99px;
  background:#a974e1;
}

/* flyout totalmente visível + ponte invisível entre categoria e submenu */
#appShell .c4u-nav-flyout{
  left:calc(100% + 6px)!important;
  z-index:5000!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateX(-8px) scale(.985);
  transform-origin:left top;
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease;
  border:1px solid #ddcbea!important;
  box-shadow:0 24px 70px rgba(55,27,82,.28)!important;
}
#appShell .c4u-nav-flyout::before{
  content:"";
  position:absolute;
  right:100%;
  top:-4px;
  width:18px;
  height:calc(100% + 8px);
  background:transparent;
}
#appShell .c4u-nav-cat.open>.c4u-nav-flyout,
#appShell .c4u-nav-cat:hover>.c4u-nav-flyout{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:none!important;
}

/* subcategorias: hover mais evidente e selecionado realmente forte.
   A especificidade alta é intencional para superar os estilos antigos do C4U. */
#appShell .classic-sidebar .c4u-nav-flyout .c4u-nav-sub{
  min-height:42px!important;
  color:#46384e!important;
  background:transparent!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
  transform:none!important;
}
#appShell .classic-sidebar .c4u-nav-flyout .c4u-nav-sub:hover{
  background:#eee2fb!important;
  color:#5f239e!important;
  border-color:#dfc9f3!important;
  box-shadow:0 5px 14px rgba(96,44,149,.09)!important;
}
#appShell .classic-sidebar .c4u-nav-flyout .c4u-nav-sub.active{
  background:linear-gradient(135deg,#7438ba,#6327a6)!important;
  color:#fff!important;
  border-color:#7e49bd!important;
  box-shadow:0 7px 18px rgba(94,43,145,.22)!important;
}
#appShell .classic-sidebar .c4u-nav-flyout .c4u-nav-sub.active .c4u-v8-svg{
  color:#fff!important;
  opacity:1!important;
}

/* seleção nas configurações também mais nítida */
#appShell .c4u-settings-nav-links button.active{
  background:#6f2dbd!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(92,43,145,.20)!important;
}
#appShell .c4u-settings-back.active{
  background:linear-gradient(135deg,#7438ba,#6327a6)!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(92,43,145,.20)!important;
}
#appShell .c4u-settings-back.active small{
  color:#eadcf8!important;
}

/* dark mode */
html[data-theme="dark"] #appShell .c4u-nav-cat:hover>.c4u-nav-main{
  background:#382947!important;
  color:#f0e5ff!important;
  border-color:#59416e!important;
}
html[data-theme="dark"] #appShell .c4u-nav-flyout{
  background:rgba(34,27,41,.99)!important;
  border-color:#51405e!important;
}
html[data-theme="dark"] #appShell .c4u-nav-flyout-head{
  border-color:#49394f!important;
}
html[data-theme="dark"] #appShell .c4u-nav-flyout-head b{
  color:#f5edf9!important;
}
html[data-theme="dark"] #appShell .c4u-nav-flyout-head small{
  color:#b5a5bd!important;
}
html[data-theme="dark"] #appShell .classic-sidebar .c4u-nav-flyout .c4u-nav-sub{
  color:#ddd2e3!important;
}
html[data-theme="dark"] #appShell .classic-sidebar .c4u-nav-flyout .c4u-nav-sub:hover{
  background:#453254!important;
  color:#fff!important;
  border-color:#604573!important;
}

/* em telas pequenas o submenu abre dentro da largura do menu lateral */
@media (max-width:760px){
  #appShell .c4u-nav-flyout{
    position:relative!important;
    left:auto!important;
    top:auto!important;
    width:100%!important;
    margin:6px 0 4px!important;
    display:none;
    box-shadow:none!important;
    transform:none!important;
  }
  #appShell .c4u-nav-cat.open>.c4u-nav-flyout{
    display:block!important;
  }
  #appShell .c4u-nav-cat:hover>.c4u-nav-flyout:not(.mobile-open){
    /* hover não deve forçar menu em touchscreen */
  }
}

/* ===== C4U MENU/SUBCATEGORIAS v8.1 HOTFIX — END ===== */
