/* =====================================================================
   Modulo Buffet - Tema visual (claro, Inter, cards arredondados, Lucide)
   Carregado depois do tema eldy do Dolibarr: so sobrescreve aparencia.
   ===================================================================== */
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/inter-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"lucide";font-display:block;src:url(../fonts/lucide.woff2) format("woff2")}
.lu{font-family:"lucide"!important;font-style:normal;font-weight:normal;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:-0.125em}
.lu-house:before{content:"\e0f5"}
.lu-users:before{content:"\e1a4"}
.lu-truck:before{content:"\e194"}
.lu-package:before{content:"\e129"}
.lu-layers:before{content:"\e529"}
.lu-briefcase-business:before{content:"\e5d5"}
.lu-briefcase:before{content:"\e062"}
.lu-receipt:before{content:"\e3d3"}
.lu-landmark:before{content:"\e23a"}
.lu-calendar-days:before{content:"\e2b9"}
.lu-chart-column:before{content:"\e2a3"}
.lu-wrench:before{content:"\e1b1"}
.lu-menu:before{content:"\e115"}
.lu-printer:before{content:"\e141"}
.lu-circle-help:before{content:"\e082"}
.lu-user-round:before{content:"\e468"}
.lu-chevron-down:before{content:"\e06d"}
.lu-search:before{content:"\e151"}
.lu-bell:before{content:"\e059"}
.lu-settings:before{content:"\e154"}
.lu-file-text:before{content:"\e0cc"}
.lu-file-check:before{content:"\e0c1"}
.lu-clipboard-check:before{content:"\e219"}
.lu-clock:before{content:"\e087"}
.lu-circle-check:before{content:"\e226"}
.lu-circle-x:before{content:"\e084"}
.lu-triangle-alert:before{content:"\e193"}
.lu-shopping-cart:before{content:"\e15c"}
.lu-chef-hat:before{content:"\e2ac"}
.lu-map-pin:before{content:"\e111"}
.lu-plus:before{content:"\e13d"}
.lu-download:before{content:"\e0b2"}
.lu-hand-coins:before{content:"\e5b8"}
.lu-wallet:before{content:"\e204"}
.lu-coins:before{content:"\e097"}
.lu-banknote:before{content:"\e052"}
.lu-users-round:before{content:"\e46e"}
.lu-calendar-check:before{content:"\e2b7"}
.lu-boxes:before{content:"\e2d0"}
.lu-warehouse:before{content:"\e3e6"}
.lu-snowflake:before{content:"\e165"}
.lu-refrigerator:before{content:"\e37b"}
.lu-hourglass:before{content:"\e296"}
.lu-file-spreadsheet:before{content:"\e326"}
.lu-chart-pie:before{content:"\e06b"}
.lu-trending-up:before{content:"\e191"}
.lu-trending-down:before{content:"\e190"}
.lu-handshake:before{content:"\e5c0"}
.lu-party-popper:before{content:"\e343"}
.lu-cake:before{content:"\e344"}
.lu-utensils-crossed:before{content:"\e2f7"}
.lu-log-out:before{content:"\e10e"}
.lu-layout-dashboard:before{content:"\e1c1"}
.lu-file-plus:before{content:"\e0c9"}
.lu-calendar-plus:before{content:"\e2bc"}
.lu-file-input:before{content:"\e0c5"}
.lu-sparkles:before{content:"\e412"}
.lu-target:before{content:"\e180"}
.lu-circle-alert:before{content:"\e077"}
.lu-info:before{content:"\e0f9"}
.lu-shield-check:before{content:"\e1ff"}
.lu-user-plus:before{content:"\e1a2"}
.lu-box:before{content:"\e061"}
.lu-chart-line:before{content:"\e2a5"}
.lu-arrow-right:before{content:"\e049"}
.lu-list:before{content:"\e106"}
.lu-kanban:before{content:"\e4dc"}

:root{
	--bk-roxo:#7c3aed;--bk-roxo-esc:#6d28d9;--bk-roxo-suave:#f3edff;
	--bk-azul:#2f80ed;--bk-azul-suave:#e8f1fe;
	--bk-laranja:#f97316;--bk-laranja-suave:#fff1e6;
	--bk-verde:#16a34a;--bk-verde-lima:#84cc16;--bk-verde-suave:#eaf7e6;
	--bk-vermelho:#dc2626;--bk-vermelho-suave:#fdecec;
	--bk-ambar:#d97706;--bk-ambar-suave:#fff6e0;
	--bk-texto:#1f2937;--bk-texto2:#4b5563;--bk-muted:#6b7280;--bk-borda:#e7e9f0;--bk-fundo:#f6f7fb;
	--bk-raio:12px;--bk-raio-p:9px;
	--bk-sombra:0 1px 2px rgba(16,24,40,.04),0 1px 3px rgba(16,24,40,.06);
	--bk-sombra-h:0 4px 14px rgba(16,24,40,.10);
	--bk-grad:linear-gradient(90deg,#f97316 0%,#a855f7 70%,#7c3aed 100%);
	/* variaveis do tema eldy */
	--colorbackhmenu1:#ffffff;--colorbackvmenu1:#ffffff;--colorbackbody:#f6f7fb;
	--colortextbackhmenu:#374151;--colortextbackvmenu:#374151;
	--colorbacktitle1:#f8f9fc;--colortexttitle:#4b5563;--colortexttitlenotab:#111827;--colortexttitlenotab2:#111827;
	--colortext:#1f2937;--colortextlink:#5b21b6;--colortexttitlelink:#5b21b6;
	--colorbacklineimpair1:#ffffff;--colorbacklineimpair2:#ffffff;--colorbacklinepair1:#ffffff;--colorbacklinepair2:#ffffff;
	--colorbacklinepairhover:#f7f5ff;--colorbacklinepairchecked:#efe9ff;
	--colortopbordertitle1:#e7e9f0;--inputbordercolor:#d9dce5;--colorboxstatsborder:#e7e9f0;
	--colorbacktabcard1:#ffffff;--colorbacktabactive:#7c3aed;--tooltipbgcolor:#ffffff;
}
body,button,input,select,textarea,.select2-container,.ui-widget,div.tmenudiv,.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important}
body{background:var(--bk-fundo)!important;color:var(--bk-texto);-webkit-font-smoothing:antialiased;font-feature-settings:"cv11","ss01"}
a{color:var(--colortextlink)}
#id-right{background:var(--bk-fundo)!important}
div.fiche{margin-left:14px;margin-right:14px}

/* ---------- Cabecalho (logo + navegacao horizontal) ---------- */
#id-top,.side-nav-vert{background:#fff!important;border-bottom:1px solid var(--bk-borda)!important;box-shadow:0 1px 0 rgba(16,24,40,.02)}
li.tmenusel::after,li.tmenu:hover::after{display:none!important}
.tmenuimage,.mainmenu .fas,.mainmenu .fa,.mainmenu span{color:#4b5563!important}
a.tmenu:link,a.tmenu:visited,a.tmenusel:link,a.tmenusel:visited{color:#374151!important}
.mainmenu .lu{font-size:18px;color:#4b5563}
li.tmenusel .mainmenu .lu,li.tmenusel .mainmenuaspan{color:#fff!important}
.bk-marca{display:none}
.mainmenuaspan{font-weight:500}
div.login_block a,div.login_block span.aversion{color:#4b5563!important}
div.login_block .atoplogin,div.login_block .lu{font-size:17px}
div.login_block_other .login_block_elem{border-radius:10px}
.helppresentcircle{display:none!important}
.userimg.atoplogin img.userphoto,.dropdown-toggle img.userphoto{border:2px solid #fff;box-shadow:0 0 0 1px var(--bk-borda)}
@media only screen and (min-width:1024px){
	#id-top{display:flex;align-items:center;min-height:62px}
	.bk-marca{display:flex;align-items:center;gap:10px;padding:0 18px 0 16px;margin-right:6px;border-right:1px solid var(--bk-borda);height:40px;text-decoration:none!important;flex:none}
	.bk-marca img{max-height:40px;max-width:170px}
	.bk-marca .m{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#fb923c,#f97316 45%,#c2410c);color:#fff;font-weight:800;font-size:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(249,115,22,.35)}
	.bk-marca .t{display:flex;flex-direction:column;line-height:1.05}
	.bk-marca .t b{font-size:15px;letter-spacing:.06em;color:#1f2937;text-transform:uppercase;font-weight:800}
	.bk-marca .t span{font-size:9.5px;letter-spacing:.14em;color:#6b7280;text-transform:uppercase;font-weight:600;margin-top:3px}
	div#tmenu_tooltip{flex:1;min-width:0}
	div.login_block{position:static!important;flex:none;padding-right:12px;display:flex;align-items:center}
	div.login_block_other,div.login_block_tools,div.login_block_user{display:flex!important;align-items:center;gap:2px}
	div.login_block_other .login_block_elem{display:inline-flex!important;align-items:center;justify-content:center;width:36px;height:36px}
	div.login_block_other .login_block_elem:hover{background:#f3f4f6}
	li#mainmenutd_menu{display:none!important}
}
@media only screen and (min-width:1024px){
	div#tmenu_tooltip{padding-right:0!important}
	ul.tmenu{display:flex!important;align-items:center;gap:2px;flex-wrap:nowrap}
	li.tmenu,li.tmenusel{float:none!important;min-width:0!important;flex:none}
	div.tmenucenter{max-width:none!important;width:auto!important;height:auto!important;overflow:visible!important;border-radius:10px}
	div.tmenucenter a.tmenuimage{margin:0!important;padding:0!important;position:static!important}
	div.mainmenu{height:auto!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important;background:none!important}
	a.tmenulabel{padding:0!important;position:static!important}
	.mainmenuaspan{padding:0!important;margin:0!important}
	li.tmenu:hover div.tmenucenter{background:#f3f4f6}
	div.login_block span.aversion{display:none!important}
	.buffet-pend-top{top:1px!important;right:auto!important;left:calc(50% + 2px);min-width:15px!important;height:15px!important;line-height:15px!important;font-size:9.5px!important;padding:0 4px!important;box-shadow:0 0 0 2px #fff!important}
}
@media only screen and (min-width:1024px) and (max-width:1279px){
	.bk-marca{padding:0 10px!important}.bk-marca .t{display:none!important}
	#id-top div.tmenucenter{padding-left:4px!important;padding-right:4px!important}
	#id-top .mainmenuaspan{font-size:11px!important}
	#id-top .bk-marca{margin-right:2px}
	div.login_block{padding-right:6px!important}
	div.login_block_other .fa-print,div.login_block_other .lu-printer{display:none}
}
/* telas largas: icone ao lado do texto, item ativo em "pilula" roxa */
@media only screen and (min-width:1720px){
	div.tmenucenter{display:flex!important;flex-direction:row;align-items:center;gap:7px;padding:8px 11px!important}
	.mainmenu .lu{font-size:17px}
	.mainmenuaspan{font-size:13.5px!important;line-height:20px}
	li.tmenusel div.tmenucenter{background:linear-gradient(135deg,#8b5cf6,#7c3aed)!important;box-shadow:0 3px 10px rgba(124,58,237,.30)}
	.buffet-pend-top{left:12px!important;top:-1px!important}
}
/* notebooks e tablets deitados: icone em cima do texto */
@media only screen and (min-width:1024px) and (max-width:1719px){
	div.tmenucenter{display:flex!important;flex-direction:column;align-items:center;gap:3px;padding:6px 9px 5px!important}
	.mainmenu .lu{font-size:18px}
	.mainmenuaspan{font-size:11.5px!important;line-height:14px}
	li.tmenusel div.tmenucenter{background:var(--bk-roxo-suave)!important}
	li.tmenusel .mainmenu .lu,li.tmenusel .mainmenuaspan{color:var(--bk-roxo)!important}
	li.tmenusel .mainmenuaspan{font-weight:700}
	.bk-marca .t span{display:none}
}
@media only screen and (max-width:1023px){
	li.tmenusel .mainmenu .lu,li.tmenusel .mainmenuaspan{color:var(--bk-roxo)!important}
	li.tmenusel div.tmenucenter{box-shadow:inset 0 -3px 0 var(--bk-roxo)}
	.mainmenuaspan{display:none!important}
	.mainmenu .lu{font-size:20px}
	div.tmenucenter{padding-top:12px!important;padding-bottom:10px!important}
	div.login_block span.aversion{display:none!important}
	.buffet-pend-top{top:4px!important;min-width:14px!important;height:14px!important;line-height:14px!important;font-size:9px!important;padding:0 3px!important}
}

/* ---------- Menu lateral ---------- */
.side-nav{background:#fff!important;border-right:1px solid var(--bk-borda)!important;box-shadow:none!important}
div.vmenu{background:transparent!important}
div.blockvmenupair,div.blockvmenuimpair,div.blockvmenufirst,div.blockvmenulast,div.blockvmenubookmarks,div.blockvmenuend{background:transparent!important;border:0!important;box-shadow:none!important;border-bottom:1px solid #f0f1f5!important;border-radius:0!important;padding-left:10px!important;padding-right:10px!important}
div.menu_titre a.vmenu{font-weight:650!important;color:#111827!important;font-size:13.5px}
div.menu_titre .pictofixedwidth,div.menu_titre .fas,div.menu_titre .fa{color:var(--bk-roxo)!important;opacity:.85}
a.vsmenu:link,a.vsmenu:visited{color:#4b5563!important;font-size:13px}
div.menu_contenu{padding:1px 0}
div.menu_contenu:hover,div.menu_titre:hover{background:#f6f3ff;border-radius:8px}
a.vsmenu:hover,a.vmenu:hover{color:var(--bk-roxo)!important;text-decoration:none!important}
.vmenusel,div.menu_titre.menu_titre_search{background:var(--bk-roxo-suave);border-radius:8px}
.blockvmenusearch .select2-container .select2-selection{border-radius:10px!important;border-color:var(--bk-borda)!important;background:#f9fafb!important}

/* ---------- Titulo das paginas (com linha em degrade) ---------- */
table.table-fiche-title{position:relative;margin-bottom:14px!important;padding-bottom:10px}
table.table-fiche-title::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:var(--bk-grad);opacity:.85}
div.titre,.titre{color:#111827!important;font-weight:700!important;font-size:1.32em!important;letter-spacing:-.01em}
.pictotitle,.col-picto .fas,.col-picto .fa{color:var(--bk-roxo)!important;opacity:.9}
.totalnboflines{color:var(--bk-muted)!important;font-weight:500}

/* ---------- Cards / blocos ---------- */
.fichecenter .div-table-responsive-no-min,.div-table-responsive,.div-table-responsive-no-min,div.tabBar,div.box,div.boxstats,table.noborder.boxtable,.info-box{border-radius:var(--bk-raio)!important}
.div-table-responsive,div.div-table-responsive-no-min>table.noborder,div.fichecenter table.noborder:not(.paymenttable),div.tabBar{background:#fff;border:1px solid var(--bk-borda)!important;box-shadow:var(--bk-sombra)}
.div-table-responsive{overflow-x:auto}
.div-table-responsive>table{border:0!important;margin:0!important}
div.tabBar{padding:14px 16px!important;border-top:1px solid var(--bk-borda)!important}
div.tabBar.tabBarWithBottom{border-bottom:1px solid var(--bk-borda)!important}
.info-box{box-shadow:var(--bk-sombra)!important;border:1px solid var(--bk-borda)!important}
.info-box-icon{border-radius:var(--bk-raio) 0 0 var(--bk-raio)!important}

/* ---------- Abas ---------- */
div.tabs{border-bottom:1px solid var(--bk-borda)!important;margin-bottom:0!important}
div.tabsElem a.tab,a.tab:link,a.tab:visited{color:#4b5563!important;font-weight:500;border:0!important;background:transparent!important;padding:10px 12px!important}
div.tabsElem a.tab:hover{color:var(--bk-roxo)!important}
a.tabactive,div.tabsElem a.tabactive,a.tab#active{color:var(--bk-roxo)!important;font-weight:650!important;box-shadow:inset 0 -2.5px 0 var(--bk-roxo)!important;background:transparent!important}
div.tabsElem{margin-top:6px}
.tabunactive{opacity:.6}
.badge.marginleftonlyshort,div.tabsElem .badge{background:#eef0f5!important;color:#4b5563!important;border-radius:20px;font-weight:600}

/* ---------- Tabelas ---------- */
table.liste,table.noborder,table.formdoc{border:0!important;border-collapse:separate!important;border-spacing:0}
tr.liste_titre th,tr.liste_titre td,th.liste_titre,td.liste_titre,tr.liste_titre_sel th{background:#f8f9fc!important;color:#4b5563!important;font-weight:600!important;font-size:12.5px;border-bottom:1px solid var(--bk-borda)!important;border-top:0!important}
tr.liste_titre_filter td.liste_titre{background:#fff!important;border-bottom:1px solid #f0f1f5!important}
tr.liste_titre a,tr.liste_titre th a{color:#4b5563!important}
.liste_titre_sel,tr.liste_titre th.liste_titre_sel a{color:var(--bk-roxo)!important}
table.liste tr.oddeven>td,table.noborder tr.oddeven>td,table.liste tr.pair>td,table.liste tr.impair>td{border-bottom:1px solid #f0f1f5!important;border-top:0!important;padding-top:9px!important;padding-bottom:9px!important}
tr.oddeven:hover>td,tr.pair:hover>td,tr.impair:hover>td{background:#faf8ff!important}
tr.liste_total td,tr.liste_total_wrap td{background:#f8f9fc!important;font-weight:700;border-top:1px solid var(--bk-borda)!important}
.div-table-responsive table tr:last-child td{border-bottom:0!important}
a.classfortooltip.refurl,a.refurl{font-weight:600}
table.border td,table.tableforfield td{border-color:#f0f1f5!important}
td.titlefield,td.titlefieldcreate,.tableforfield td.titlefield{color:#6b7280}
div.liste_titre_bydiv,.liste_titre_bydiv{background:#fff!important;border:1px solid var(--bk-borda)!important;border-radius:var(--bk-raio) var(--bk-raio) 0 0!important;border-bottom:0!important}
div.liste_titre_bydiv+div.div-table-responsive{border-top-left-radius:0!important;border-top-right-radius:0!important}

/* ---------- Status (cor + texto) ---------- */
.badge{border-radius:999px!important;font-weight:600!important;letter-spacing:0;padding:.32em .75em!important;font-size:.82em}
.badge-status0{background:#eef0f4!important;color:#4b5563!important;border:0!important}
.badge-status1{background:var(--bk-laranja-suave)!important;color:#c2410c!important;border:0!important}
.badge-status2,.badge-status3{background:var(--bk-azul-suave)!important;color:#1d5fbf!important;border:0!important}
.badge-status4{background:var(--bk-verde-suave)!important;color:#15803d!important;border:0!important}
.badge-status5{background:#eef0f4!important;color:#6b7280!important;border:0!important}
.badge-status6{background:#e6f6ee!important;color:#0f7a45!important;border:0!important}
.badge-status7{background:var(--bk-roxo-suave)!important;color:var(--bk-roxo-esc)!important;border:0!important}
.badge-status8,.badge-status9{background:var(--bk-vermelho-suave)!important;color:#b91c1c!important;border:0!important}
.badge-danger{background:var(--bk-vermelho)!important;color:#fff!important}
.badge-warning{background:var(--bk-ambar)!important;color:#fff!important}
.badge-status.badge-status1::before,.badge-status.badge-status4::before,.badge-status.badge-status6::before,.badge-status.badge-status8::before,.badge-status.badge-status9::before,.badge-status.badge-status0::before,.badge-status.badge-status3::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:6px;vertical-align:1px;opacity:.85}
span.status1,span.status4,span.status6{font-weight:600}

/* ---------- Botoes ---------- */
.butAction,a.butAction,span.butAction,input.butAction{background:#fff!important;color:var(--bk-roxo)!important;border:1px solid #d9ccff!important;border-radius:10px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;box-shadow:var(--bk-sombra);padding:.55em 1.05em!important;margin:4px 3px!important}
.butAction:hover{background:var(--bk-roxo-suave)!important;border-color:var(--bk-roxo)!important;text-decoration:none!important}
.butActionDelete,a.butActionDelete{background:#fff!important;color:var(--bk-vermelho)!important;border:1px solid #f5c2c2!important;border-radius:10px!important;font-weight:600!important;text-transform:none!important}
.butActionDelete:hover{background:var(--bk-vermelho-suave)!important}
.butActionRefused{border-radius:10px!important;text-transform:none!important;font-weight:600!important;background:#f3f4f6!important;color:#9ca3af!important;border:1px solid #e5e7eb!important}
.button:not(.button_search):not(.button_removefilter):not(.buttonreset):not(.smallpaddingimp),input.button,button.button,input[type=submit].button,a.button{background:linear-gradient(135deg,#8b5cf6,#7c3aed)!important;color:#fff!important;border:0!important;border-radius:10px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;box-shadow:0 2px 6px rgba(124,58,237,.25)!important}
.button.button-cancel,input.button-cancel,.button.button-delete,input.button-delete{background:#fff!important;color:#4b5563!important;border:1px solid var(--bk-borda)!important;box-shadow:none!important}
.button.button-delete,input.button-delete{color:var(--bk-vermelho)!important}
.button:hover{filter:brightness(1.05);text-decoration:none!important}
a.btnTitle,.btnTitle{border-radius:10px!important;color:var(--bk-roxo)!important}
a.btnTitle.btnTitlePlus,a.btnTitle:has(.fa-plus-circle){background:linear-gradient(135deg,#fb923c,#f97316 35%,#a855f7)!important;color:#fff!important;box-shadow:0 2px 8px rgba(249,115,22,.30)!important;border:0!important}
a.btnTitle.btnTitlePlus .fa,a.btnTitle:has(.fa-plus-circle) .fa,a.btnTitle:has(.fa-plus-circle) .fas{color:#fff!important}
a.btnTitle.btnTitleSelected{background:var(--bk-roxo-suave)!important}
.button_search,.button_removefilter{color:#6b7280!important}

/* ---------- Campos ---------- */
input.flat,select.flat,textarea.flat,input[type=text],input[type=number],input[type=email],input[type=password],input[type=date],input[type=search],input[type=tel],select,textarea{border:1px solid var(--inputbordercolor)!important;border-radius:9px!important;background:#fff;padding-left:9px}
input:focus,select:focus,textarea:focus{outline:0!important;border-color:var(--bk-roxo)!important;box-shadow:0 0 0 3px rgba(124,58,237,.15)!important}
input[type=checkbox],input[type=radio]{accent-color:var(--bk-roxo)}
.select2-container--default .select2-selection--single,.select2-container--default .select2-selection--multiple{border-radius:9px!important;border-color:var(--inputbordercolor)!important;min-height:30px}
.select2-dropdown{border-radius:10px!important;border-color:var(--bk-borda)!important;box-shadow:var(--bk-sombra-h)}
.select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--bk-roxo)!important}
input.flat.inputsearch,input.button_search{border-radius:10px!important}

/* ---------- Mensagens ---------- */
.jnotify-container .jnotify-notification .jnotify-background{border-radius:12px!important;box-shadow:var(--bk-sombra-h)!important}
.jnotify-container .jnotify-notification-success .jnotify-background{background:#ecfdf3!important;border:1px solid #b7ebc9!important}
.jnotify-container .jnotify-notification-error .jnotify-background{background:#fef2f2!important;border:1px solid #fecaca!important}
div.warning,div.info,div.error,div.ok{border-radius:10px!important}
div.info{background:#f5f3ff!important;border-left:4px solid var(--bk-roxo)!important;color:#3b2a6b!important}
div.warning{background:#fff8eb!important;border-left:4px solid var(--bk-ambar)!important}
div.error{background:#fef2f2!important;border-left:4px solid var(--bk-vermelho)!important}

/* ---------- Dropdowns / tooltip ---------- */
.dropdown-menu,.ui-dialog,.ui-widget-content{border-radius:12px!important;border-color:var(--bk-borda)!important}
.ui-dialog{box-shadow:0 12px 40px rgba(16,24,40,.18)!important}
.ui-dialog .ui-dialog-titlebar{background:#fff!important;border:0!important;border-bottom:1px solid var(--bk-borda)!important;border-radius:12px 12px 0 0!important}
.ui-tooltip,.classfortooltip+.ui-tooltip{border-radius:10px!important;box-shadow:var(--bk-sombra-h)!important;border:1px solid var(--bk-borda)!important}

/* ---------- Cards de indicadores (KPI) - listas e painel ---------- */
.bk-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:14px;margin:4px 0 16px}
.bk-kpi{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--bk-borda);border-radius:14px;padding:16px;box-shadow:var(--bk-sombra);text-decoration:none!important;color:inherit!important;transition:box-shadow .15s,transform .15s;min-width:0}
a.bk-kpi:hover{box-shadow:var(--bk-sombra-h);transform:translateY(-1px)}
.bk-kpi .ic{width:52px;height:52px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex:none;color:#fff;font-size:24px;box-shadow:0 4px 10px rgba(0,0,0,.10)}
.bk-kpi .ic .lu,.bk-kpi .ic .fa,.bk-kpi .ic .fas{color:#fff!important}
.bk-kpi.azul .ic{background:linear-gradient(135deg,#4c9bff,#2563eb)}
.bk-kpi.roxo .ic{background:linear-gradient(135deg,#a78bfa,#7c3aed)}
.bk-kpi.laranja .ic{background:linear-gradient(135deg,#fdba74,#f97316)}
.bk-kpi.verde .ic{background:linear-gradient(135deg,#a3e635,#65a30d)}
.bk-kpi.vermelho .ic{background:linear-gradient(135deg,#f87171,#dc2626)}
.bk-kpi.cinza .ic{background:linear-gradient(135deg,#cbd5e1,#64748b)}
.bk-kpi .tx{min-width:0;flex:1}
.bk-kpi .l{font-size:13px;color:#374151;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-kpi .v{font-size:24px;font-weight:800;color:#111827;letter-spacing:-.02em;line-height:1.2;margin:2px 0 1px;white-space:nowrap}
.bk-kpi .s{font-size:12.5px;color:var(--bk-muted);line-height:1.35}
.bk-kpi .s b{color:#374151}
.bk-kpi .s .pos{color:var(--bk-verde);font-weight:700}.bk-kpi .s .neg{color:var(--bk-vermelho);font-weight:700}
.bk-kpi.alerta{border-color:#fbd5b5;background:linear-gradient(180deg,#fffaf5,#fff)}
.bk-kpi.critico{border-color:#fecaca;background:linear-gradient(180deg,#fff7f7,#fff)}
.bk-kpi.critico .v{color:var(--bk-vermelho)}
@media only screen and (max-width:767px){.bk-kpis{grid-template-columns:1fr 1fr;gap:10px}.bk-kpi{padding:12px;gap:10px;flex-direction:column;align-items:flex-start}.bk-kpi .ic{width:40px;height:40px;font-size:19px;border-radius:11px}.bk-kpi .v{font-size:19px}}

/* ---------- Relatorios e telas do buffet ---------- */
.brl a,.brr div,.brf,.bl-box,.bl-dep a{border-radius:14px!important;border-color:var(--bk-borda)!important}
.brl a{box-shadow:var(--bk-sombra)}.brl a:hover{border-color:#c4b5fd!important;box-shadow:var(--bk-sombra-h)}
.brf{background:#fff!important}
.brf .per a.on,.bl-dep a.on{background:var(--bk-roxo)!important;border-color:var(--bk-roxo)!important;color:#fff!important}
tr.brel-grupo td{background:#f3efff!important;color:#4c1d95!important}
.brl-g{color:#111827!important}

/* ---------- Celular e tablet ---------- */
@media only screen and (max-width:767px){
	div.fiche{margin-left:8px;margin-right:8px}
	div.titre,.titre{font-size:1.15em!important}
	.butAction,a.butAction{padding:.5em .8em!important}
	table.liste tr.oddeven>td{padding-top:7px!important;padding-bottom:7px!important}
}
@media print{.bk-kpis{display:none}table.table-fiche-title::after{display:none}}

/* ---------- Ajustes finos ---------- */
body{font-size:13.5px!important}
/* botoes do titulo das listas: "+ Novo ..." como pilula com texto; modos de visao como grupo */
a.btnTitle,span.btnTitle{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;height:34px!important;min-width:34px;width:auto!important;padding:0 10px!important;margin:0 2px!important;background:#fff!important;border:1px solid var(--bk-borda)!important;box-shadow:var(--bk-sombra);vertical-align:middle}
a.btnTitle .btnTitle-icon,a.btnTitle>.fa,a.btnTitle>.fas{font-size:15px!important;padding:0!important;margin:0!important;color:#6b7280!important}
a.btnTitle .btnTitle-label{display:inline!important;font-size:13px!important;font-weight:600;position:static!important;padding:0!important;margin:0!important;white-space:nowrap;line-height:1}
a.btnTitle:not(.btnTitlePlus) .btnTitle-label{display:none!important}
a.btnTitle.btnTitleSelected{background:var(--bk-roxo-suave)!important;border-color:#d9ccff!important}
a.btnTitle.btnTitleSelected .fa,a.btnTitle.btnTitleSelected .fas{color:var(--bk-roxo)!important}
a.btnTitle.btnTitlePlus{padding:0 14px!important;border:0!important}
a.btnTitle.btnTitlePlus .btnTitle-label,a.btnTitle.btnTitlePlus .fa,a.btnTitle.btnTitlePlus .fas{color:#fff!important}
a.btnTitle.btnTitlePlus:hover{filter:brightness(1.05)}
@media only screen and (max-width:767px){a.btnTitle.btnTitlePlus .btnTitle-label{display:none!important}}
/* paginacao */
.pagination li a,.pagination li span{border-radius:9px!important}
.pagination li.pagination span.active,.pagination .active a{background:var(--bk-roxo)!important;color:#fff!important;border-color:var(--bk-roxo)!important}
a.butAction.butActionDelete,.butAction.butActionDelete,a.butActionDelete:link{background:#fff!important;color:var(--bk-vermelho)!important;border-color:#f5c2c2!important}
a.butAction.butActionDelete:hover{background:var(--bk-vermelho-suave)!important}
table.liste tr.oddeven>td,table.noborder tr.oddeven>td{padding-top:7px!important;padding-bottom:7px!important}
.buffet-pend-top{box-shadow:0 0 0 2px #fff!important}
@media only screen and (max-width:767px){.bk-kpi .l{white-space:normal}}

/* ---------- Tela de login ---------- */
body.bodylogin .login_center{background:radial-gradient(1200px 500px at 15% -10%,rgba(249,115,22,.22),transparent 60%),radial-gradient(1000px 520px at 95% 0%,rgba(124,58,237,.25),transparent 60%),#f6f7fb!important}
body.bodylogin .login_table_title{display:none!important}
body.bodylogin .login_table{background:#fff!important;border:1px solid var(--bk-borda)!important;border-radius:18px!important;box-shadow:0 20px 50px rgba(16,24,40,.12)!important;padding-top:28px!important;padding-bottom:22px!important;position:relative;overflow:hidden}
body.bodylogin .login_table::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--bk-grad)}
body.bodylogin #img_logo{max-height:70px}
body.bodylogin input#username,body.bodylogin input#password,body.bodylogin input[name=buffet_totp]{height:40px!important;border-radius:11px!important;padding-left:12px!important;font-size:14px!important;background:#f9fafb!important}
body.bodylogin .fa-user,body.bodylogin .fa-key,body.bodylogin .fa-shield-alt{color:#9ca3af!important}
body.bodylogin input[type=submit],body.bodylogin .button{background:linear-gradient(135deg,#fb923c,#f97316 30%,#a855f7)!important;color:#fff!important;border:0!important;border-radius:11px!important;padding:11px 34px!important;font-size:14px!important;font-weight:700!important;box-shadow:0 6px 16px rgba(249,115,22,.30)!important;text-transform:none!important}
body.bodylogin a{color:var(--bk-roxo)!important}

/* =====================================================================
   MODO ESCURO (classe bk-escuro no <html>; botao lua/sol no topo direito)
   ===================================================================== */
.lu-heart:before{content:"\e0f2"}
.lu-graduation-cap:before{content:"\e234"}
.lu-church:before{content:"\e3e1"}
.lu-coffee:before{content:"\e096"}
.lu-gift:before{content:"\e0e1"}
.lu-chevron-left:before{content:"\e06e"}
.lu-chevron-right:before{content:"\e06f"}
.lu-filter:before{content:"\e0dc"}
.lu-calendar-range:before{content:"\e2bd"}
.lu-calendar:before{content:"\e063"}
.lu-calendar-clock:before{content:"\e304"}
.lu-list-checks:before{content:"\e1d0"}
.lu-circle-dashed:before{content:"\e4b0"}
.lu-eye:before{content:"\e0ba"}
.lu-truck:before{content:"\e194"}
.lu-clipboard-list:before{content:"\e086"}
.lu-baby:before{content:"\e2ce"}
.lu-glass-water:before{content:"\e2d5"}
.lu-music:before{content:"\e122"}
.lu-arrow-left-right:before{content:"\e24a"}
.lu-arrow-left:before{content:"\e048"}
.lu-package-plus:before{content:"\e268"}
.lu-package-minus:before{content:"\e267"}
.lu-shopping-basket:before{content:"\e4ea"}
.lu-square:before{content:"\e167"}
.lu-check-check:before{content:"\e38e"}
.lu-trash-2:before{content:"\e18e"}
.lu-printer:before{content:"\e141"}
.lu-list-plus:before{content:"\e23f"}
.lu-moon:before{content:"\e11e"}.lu-sun:before{content:"\e178"}
.bk-tema-btn .lu{font-size:17px}
html.bk-escuro{
	color-scheme:dark;
	--d-fundo:#0f1218;--d-card:#171b24;--d-card2:#1d2230;--d-hover:#232a3a;--d-borda:#2a3142;--d-borda2:#222838;
	--d-texto:#e5e7eb;--d-texto2:#c3c8d2;--d-muted:#9aa3b2;
	--bk-texto:#e5e7eb;--bk-texto2:#c3c8d2;--bk-muted:#9aa3b2;--bk-borda:#2a3142;--bk-fundo:#0f1218;
	--bk-roxo-suave:#2a2142;--bk-azul-suave:#16273f;--bk-laranja-suave:#3a2414;--bk-verde-suave:#14301f;--bk-vermelho-suave:#3a1717;--bk-ambar-suave:#352a10;
	--bk-sombra:0 1px 2px rgba(0,0,0,.35);--bk-sombra-h:0 6px 18px rgba(0,0,0,.45);
	--colorbackhmenu1:#141821;--colorbackvmenu1:#141821;--colorbackbody:#0f1218;
	--colortextbackhmenu:#c3c8d2;--colortextbackvmenu:#c3c8d2;
	--colorbacktitle1:#1d2230;--colortexttitle:#c3c8d2;--colortexttitlenotab:#f3f4f6;--colortexttitlenotab2:#f3f4f6;
	--colortext:#e5e7eb;--colortextlink:#c4b5fd;--colortexttitlelink:#c4b5fd;
	--colorbacklineimpair1:#171b24;--colorbacklineimpair2:#171b24;--colorbacklinepair1:#171b24;--colorbacklinepair2:#171b24;
	--colorbacklinepairhover:#20263a;--colorbacklinepairchecked:#2a2142;
	--colortopbordertitle1:#2a3142;--inputbordercolor:#343c50;--inputbackgroundcolor:#121620;--colorboxstatsborder:#2a3142;
	--colorbacktabcard1:#171b24;--tooltipbgcolor:#1d2230;--oddevencolor:#e5e7eb;--colorblack:#e5e7eb;--colorwhite:#171b24;
	--refidnocolor:#c3c8d2;--tableforfieldcolor:#9aa3b2;--listetotal:#c3c8d2;--colorbackgrey:#1d2230;--colorbackmobilemenu:#141821;
	--amountremaintopaycolor:#fca5a5;--amountpaymentcomplete:#86efac;--productlinestockod:#86efac;--productlinestocktoolow:#fdba74;--fieldrequiredcolor:#f3f4f6;
}
html.bk-escuro body,html.bk-escuro #id-right,html.bk-escuro #id-container{background:var(--d-fundo)!important;color:var(--d-texto)}
html.bk-escuro,html.bk-escuro body,html.bk-escuro td,html.bk-escuro th,html.bk-escuro div,html.bk-escuro span,html.bk-escuro label,html.bk-escuro li,html.bk-escuro p,html.bk-escuro h1,html.bk-escuro h2,html.bk-escuro h3,html.bk-escuro h4{border-color:var(--d-borda)}
html.bk-escuro body,html.bk-escuro td,html.bk-escuro th,html.bk-escuro .fiche{color:var(--d-texto)}
html.bk-escuro a:not(.butAction):not(.button):not(.bp-btn):not(.bk-kpi):not(.btnTitle):not(.butActionDelete){color:#c4b5fd}
html.bk-escuro .opacitymedium,html.bk-escuro .opacityhigh,html.bk-escuro .small.opacitymedium{color:var(--d-muted)!important;opacity:1!important}
html.bk-escuro .colorblack{color:var(--d-texto)!important}
/* cabecalho e menu lateral */
html.bk-escuro #id-top,html.bk-escuro .side-nav-vert{background:#141821!important;border-bottom-color:var(--d-borda)!important}
html.bk-escuro .tmenuimage,html.bk-escuro .mainmenu .lu,html.bk-escuro a.tmenu:link,html.bk-escuro a.tmenu:visited,html.bk-escuro .mainmenuaspan{color:#c3c8d2!important}
html.bk-escuro li.tmenu:hover div.tmenucenter,html.bk-escuro div.login_block_other .login_block_elem:hover{background:var(--d-hover)!important}
html.bk-escuro li.tmenusel .mainmenu .lu,html.bk-escuro li.tmenusel .mainmenuaspan{color:#fff!important}
@media only screen and (max-width:1719px){html.bk-escuro li.tmenusel div.tmenucenter{background:#2a2142!important}html.bk-escuro li.tmenusel .mainmenu .lu,html.bk-escuro li.tmenusel .mainmenuaspan{color:#c4b5fd!important}}
html.bk-escuro .bk-marca{border-right-color:var(--d-borda)}
html.bk-escuro .bk-marca .t b{color:#f3f4f6}html.bk-escuro .bk-marca .t span{color:var(--d-muted)}
html.bk-escuro .bk-marca img{background:#fff;border-radius:8px;padding:2px 6px}
html.bk-escuro div.login_block a,html.bk-escuro div.login_block .lu,html.bk-escuro div.login_block .fa,html.bk-escuro div.login_block .fas{color:#c3c8d2!important}
html.bk-escuro .buffet-pend-top{box-shadow:0 0 0 2px #141821!important}
html.bk-escuro .side-nav,html.bk-escuro div.vmenu,html.bk-escuro #id-left{background:#141821!important;border-right-color:var(--d-borda)!important}
html.bk-escuro div.blockvmenupair,html.bk-escuro div.blockvmenuimpair,html.bk-escuro div.blockvmenufirst,html.bk-escuro div.blockvmenulast,html.bk-escuro div.blockvmenuend,html.bk-escuro div.blockvmenubookmarks{border-bottom-color:var(--d-borda2)!important}
html.bk-escuro div.menu_titre a.vmenu{color:#f3f4f6!important}
html.bk-escuro a.vsmenu:link,html.bk-escuro a.vsmenu:visited{color:#aeb5c2!important}
html.bk-escuro div.menu_contenu:hover,html.bk-escuro div.menu_titre:hover{background:var(--d-hover)}
html.bk-escuro .blockvmenusearch .select2-container .select2-selection{background:#1d2230!important;border-color:var(--d-borda)!important}
/* titulos, abas, cards, tabelas */
html.bk-escuro div.titre,html.bk-escuro .titre{color:#f3f4f6!important}
html.bk-escuro .div-table-responsive,html.bk-escuro div.div-table-responsive-no-min>table.noborder,html.bk-escuro div.fichecenter table.noborder:not(.paymenttable),html.bk-escuro div.tabBar,html.bk-escuro .info-box,html.bk-escuro div.liste_titre_bydiv,html.bk-escuro .liste_titre_bydiv,html.bk-escuro div.box,html.bk-escuro .boxstats,html.bk-escuro table.noborder,html.bk-escuro table.liste{background:var(--d-card)!important;border-color:var(--d-borda)!important}
html.bk-escuro div.tabs{border-bottom-color:var(--d-borda)!important}
html.bk-escuro div.tabsElem a.tab,html.bk-escuro a.tab:link,html.bk-escuro a.tab:visited{color:#aeb5c2!important}
html.bk-escuro a.tabactive,html.bk-escuro div.tabsElem a.tabactive{color:#c4b5fd!important;box-shadow:inset 0 -2.5px 0 #a78bfa!important}
html.bk-escuro .badge.marginleftonlyshort,html.bk-escuro div.tabsElem .badge{background:#2a3142!important;color:#e5e7eb!important}
html.bk-escuro tr.liste_titre th,html.bk-escuro tr.liste_titre td,html.bk-escuro th.liste_titre,html.bk-escuro td.liste_titre,html.bk-escuro tr.liste_titre_sel th{background:#1d2230!important;color:#c3c8d2!important;border-bottom-color:var(--d-borda)!important}
html.bk-escuro tr.liste_titre a,html.bk-escuro tr.liste_titre th a{color:#c3c8d2!important}
html.bk-escuro tr.liste_titre_filter td.liste_titre{background:var(--d-card)!important;border-bottom-color:var(--d-borda2)!important}
html.bk-escuro table.liste tr.oddeven>td,html.bk-escuro table.noborder tr.oddeven>td,html.bk-escuro table.liste tr.pair>td,html.bk-escuro table.liste tr.impair>td,html.bk-escuro tr.oddeven>td{background:var(--d-card)!important;border-bottom-color:var(--d-borda2)!important;color:var(--d-texto)}
html.bk-escuro tr.oddeven:hover>td,html.bk-escuro tr.pair:hover>td,html.bk-escuro tr.impair:hover>td{background:#1f2433!important}
html.bk-escuro tr.liste_total td,html.bk-escuro tr.liste_total_wrap td{background:#1d2230!important;border-top-color:var(--d-borda)!important;color:#f3f4f6}
html.bk-escuro table.border td,html.bk-escuro table.tableforfield td,html.bk-escuro table.border,html.bk-escuro .tableforfield{border-color:var(--d-borda2)!important;background:transparent}
html.bk-escuro td.titlefield,html.bk-escuro td.titlefieldcreate,html.bk-escuro .tableforfield td.titlefield,html.bk-escuro td.fieldrequired{color:var(--d-muted)!important}
html.bk-escuro .photoref,html.bk-escuro div.photoref{background:#1d2230!important;border-color:var(--d-borda)!important}
html.bk-escuro .amount,html.bk-escuro .amountcard{color:#f3f4f6!important}
html.bk-escuro .refid,html.bk-escuro .refidno{color:#e5e7eb!important}
/* status */
html.bk-escuro .badge-status0,html.bk-escuro .badge-status5{background:#2a3142!important;color:#cbd2dc!important}
html.bk-escuro .badge-status1{background:#3a2414!important;color:#fdba74!important}
html.bk-escuro .badge-status2,html.bk-escuro .badge-status3{background:#16273f!important;color:#93c5fd!important}
html.bk-escuro .badge-status4{background:#14301f!important;color:#86efac!important}
html.bk-escuro .badge-status6{background:#103026!important;color:#6ee7b7!important}
html.bk-escuro .badge-status7{background:#2a2142!important;color:#c4b5fd!important}
html.bk-escuro .badge-status8,html.bk-escuro .badge-status9{background:#3a1717!important;color:#fca5a5!important}
/* botoes e campos */
html.bk-escuro .butAction,html.bk-escuro a.butAction,html.bk-escuro span.butAction{background:#1d2230!important;color:#c4b5fd!important;border-color:#3b3360!important}
html.bk-escuro .butAction:hover{background:#2a2142!important}
html.bk-escuro a.butAction.butActionDelete,html.bk-escuro .butActionDelete{background:#1d2230!important;color:#fca5a5!important;border-color:#5b2a2a!important}
html.bk-escuro .butActionRefused{background:#1a1e28!important;color:#6b7280!important;border-color:var(--d-borda)!important}
html.bk-escuro a.btnTitle:not(.btnTitlePlus),html.bk-escuro span.btnTitle{background:#1d2230!important;border-color:var(--d-borda)!important}
html.bk-escuro a.btnTitle.btnTitleSelected{background:#2a2142!important;border-color:#4c3d80!important}
html.bk-escuro .button.button-cancel,html.bk-escuro input.button-cancel{background:#1d2230!important;color:#c3c8d2!important;border-color:var(--d-borda)!important}
html.bk-escuro input.flat,html.bk-escuro select.flat,html.bk-escuro textarea.flat,html.bk-escuro input[type=text],html.bk-escuro input[type=number],html.bk-escuro input[type=email],html.bk-escuro input[type=password],html.bk-escuro input[type=date],html.bk-escuro input[type=search],html.bk-escuro input[type=tel],html.bk-escuro select,html.bk-escuro textarea{background:#121620!important;color:#e5e7eb!important;border-color:#343c50!important}
html.bk-escuro input::placeholder,html.bk-escuro textarea::placeholder{color:#6b7385!important}
html.bk-escuro .select2-container--default .select2-selection--single,html.bk-escuro .select2-container--default .select2-selection--multiple{background:#121620!important;border-color:#343c50!important}
html.bk-escuro .select2-container--default .select2-selection--single .select2-selection__rendered{color:#e5e7eb!important}
html.bk-escuro .select2-dropdown,html.bk-escuro .select2-results__option{background:#1d2230!important;color:#e5e7eb!important;border-color:var(--d-borda)!important}
html.bk-escuro .select2-search--dropdown .select2-search__field{background:#121620!important;color:#e5e7eb!important}
html.bk-escuro .select2-container--default .select2-selection--multiple .select2-selection__choice{background:#2a2142!important;color:#e5e7eb!important;border-color:#3b3360!important}
/* janelas, menus, mensagens */
html.bk-escuro .dropdown-menu,html.bk-escuro .ui-dialog,html.bk-escuro .ui-widget-content,html.bk-escuro .ui-dialog .ui-dialog-titlebar,html.bk-escuro .ui-tooltip,html.bk-escuro .ui-datepicker,html.bk-escuro .ui-menu{background:#1d2230!important;color:#e5e7eb!important;border-color:var(--d-borda)!important}
html.bk-escuro .dropdown-menu .user-body,html.bk-escuro .dropdown-menu .user-footer,html.bk-escuro .dropdown-menu .user-header{background:#1d2230!important;color:#e5e7eb!important}
html.bk-escuro .ui-state-default,html.bk-escuro .ui-widget-content .ui-state-default{background:#232a3a!important;color:#e5e7eb!important;border-color:var(--d-borda)!important}
html.bk-escuro .ui-state-highlight,html.bk-escuro .ui-state-active{background:#7c3aed!important;color:#fff!important}
html.bk-escuro .jnotify-container .jnotify-notification .jnotify-background{background:#1d2230!important;border-color:var(--d-borda)!important}
html.bk-escuro .jnotify-container .jnotify-notification .jnotify-message,html.bk-escuro .jnotify-container .jnotify-notification .jnotify-message *{color:#e5e7eb!important}
html.bk-escuro .jnotify-container .jnotify-notification-success .jnotify-background{background:#13291c!important;border-color:#1f5134!important}
html.bk-escuro .jnotify-container .jnotify-notification-error .jnotify-background{background:#2e1515!important;border-color:#5b2a2a!important}
html.bk-escuro div.info{background:#1f1a33!important;color:#ddd6fe!important}
html.bk-escuro div.warning{background:#2c2410!important;color:#fde68a!important}
html.bk-escuro div.error{background:#2e1515!important;color:#fecaca!important}
html.bk-escuro div.ok{background:#13291c!important;color:#bbf7d0!important}
/* indicadores (cards) */
html.bk-escuro .bk-kpi{background:var(--d-card)!important;border-color:var(--d-borda)!important}
html.bk-escuro .bk-kpi .l{color:#c3c8d2}html.bk-escuro .bk-kpi .v{color:#f9fafb}html.bk-escuro .bk-kpi .s b{color:#e5e7eb}
html.bk-escuro .bk-kpi.alerta{background:linear-gradient(180deg,#24190f,var(--d-card))!important;border-color:#5a3a1c!important}
html.bk-escuro .bk-kpi.critico{background:linear-gradient(180deg,#261314,var(--d-card))!important;border-color:#5b2a2a!important}
html.bk-escuro .bk-kpi.critico .v{color:#fca5a5}
/* painel */
html.bk-escuro .bp-top h1{color:#f9fafb}html.bk-escuro .bp-top .sub{color:var(--d-muted)}
html.bk-escuro .bp-box{background:var(--d-card)!important;border-color:var(--d-borda)!important}
html.bk-escuro .bp-box h3{color:#f3f4f6}
html.bk-escuro .bp-btn{background:#1d2230!important;border-color:var(--d-borda)!important;color:#e5e7eb!important}
html.bk-escuro .bp-btn.pri{background:linear-gradient(135deg,#fb923c,#f97316 30%,#a855f7)!important;border:0!important;color:#fff!important}
html.bk-escuro .bp-ev,html.bk-escuro .bp-al,html.bk-escuro .bp-rel a{color:#e5e7eb!important;border-bottom-color:var(--d-borda2)!important}
html.bk-escuro .bp-ev:hover,html.bk-escuro .bp-al:hover{background:var(--d-hover)!important}
html.bk-escuro .bp-dt{background:#2a2142!important;color:#c4b5fd!important}
html.bk-escuro .bp-ev.hoje .bp-dt{background:#3a2414!important;color:#fdba74!important}
html.bk-escuro .bp-ev.orcamento .bp-dt{background:#352a10!important;color:#fcd34d!important}
html.bk-escuro .bp-ev .m,html.bk-escuro .bp-ev .cd,html.bk-escuro .bp-ev .sem{color:var(--d-muted)!important}
html.bk-escuro .pill.conf,html.bk-escuro .mg.a,html.bk-escuro .bp-liv .ok span{background:#14301f!important;color:#86efac!important}
html.bk-escuro .pill.orc,html.bk-escuro .mg.m{background:#352a10!important;color:#fcd34d!important}
html.bk-escuro .pill.hoje{background:#3a2414!important;color:#fdba74!important}
html.bk-escuro .mg.b{background:#3a1717!important;color:#fca5a5!important}
html.bk-escuro .bp-al.n3 .ic{background:#3a1717!important;color:#fca5a5!important}
html.bk-escuro .bp-al.n2 .ic{background:#3a2414!important;color:#fdba74!important}
html.bk-escuro .bp-al.n1 .ic{background:#232a3a!important;color:#aeb5c2!important}
html.bk-escuro .bp-tab th,html.bk-escuro .bp-liv th{color:var(--d-muted)!important;border-bottom-color:var(--d-borda)!important}
html.bk-escuro .bp-tab td,html.bk-escuro .bp-liv td{border-bottom-color:var(--d-borda2)!important}
html.bk-escuro .bp-tab td.pos{color:#86efac!important}html.bk-escuro .bp-tab td.neg{color:#fca5a5!important}
html.bk-escuro .bp-donut .dn::after{background:var(--d-card)!important}
html.bk-escuro .bp-donut .dn .c b{color:#f9fafb}
html.bk-escuro .bp-bars .b{color:var(--d-muted)}html.bk-escuro .bp-bars .b.atual{color:#c4b5fd}
/* relatorios, locais, validades */
html.bk-escuro .brl a,html.bk-escuro .brr div,html.bk-escuro .brf,html.bk-escuro .bl-box,html.bk-escuro .bl-dep a,html.bk-escuro .bv-res a,html.bk-escuro .brf .per a{background:var(--d-card)!important;border-color:var(--d-borda)!important;color:#e5e7eb!important}
html.bk-escuro .brl b,html.bk-escuro .brl-g{color:#f3f4f6!important}html.bk-escuro .brl span,html.bk-escuro .brr span{color:var(--d-muted)!important}
html.bk-escuro .brf .per a.on,html.bk-escuro .bl-dep a.on{background:#7c3aed!important;color:#fff!important}
html.bk-escuro tr.brel-grupo td{background:#2a2142!important;color:#ddd6fe!important}
html.bk-escuro tr.bl-sel td{background:#2a2142!important}
html.bk-escuro tr.bv-vencido td{background:#2e1515!important}html.bk-escuro tr.bv-avencer td{background:#2c2410!important}
/* agenda do buffet */
html.bk-escuro .bcal-head a.bc-nav,html.bk-escuro .bcal-head a.bc-hoje,html.bk-escuro .bsis-tabs a:not(.on){background:#1d2230!important;color:#e5e7eb!important}
html.bk-escuro .bcal-head .bc-views a:not(.on){color:#c3c8d2!important;border-color:var(--d-borda)!important}
html.bk-escuro .bcal-filtros,html.bk-escuro .bcal-resumo span{background:#1d2230!important;color:#e5e7eb}
html.bk-escuro .bcal-grid{background:var(--d-borda)!important;border-color:var(--d-borda)!important}
html.bk-escuro .bcal-grid .bc-dow{background:#1d2230!important;color:var(--d-muted)!important}
html.bk-escuro .bcal-grid .bc-dia{background:var(--d-card)!important}
html.bk-escuro .bcal-grid .bc-dia.fds{background:#191d27!important}
html.bk-escuro .bcal-grid .bc-dia.fora{background:#13161e!important}
html.bk-escuro .bcal-grid .bc-num{color:#c3c8d2!important}
html.bk-escuro a.bc-ev{background:#1f2433!important;color:#e5e7eb!important}
html.bk-escuro a.bc-ev .bc-top{color:var(--d-muted)!important}
/* graficos nativos e imagens */
html.bk-escuro .dolgraph,html.bk-escuro .nographyet{background:var(--d-card)!important}
html.bk-escuro img.photo,html.bk-escuro img.photoref{background:#fff;border-radius:6px}
html.bk-escuro div.tabsElem,html.bk-escuro div.tabsElem a.tab,html.bk-escuro div.tabs a.tab{border-color:transparent!important;background:transparent!important}
.bk-kpi .s{overflow-wrap:anywhere}
html.bk-escuro .bc-aniv,html.bk-escuro a.bc-aniv{filter:saturate(.8) brightness(.9)}

.bk-mov-entrada{border-color:#bbf7d0!important;color:#15803d!important}.bk-mov-entrada:hover{background:#ecfdf3!important}
html.bk-escuro .bk-mov-entrada{color:#86efac!important;border-color:#1f5134!important}
/* etapas do orcamento */
span.badge.bk-st-prep{background:#e0e7ff!important;color:#3730a3!important;border-color:#c7d2fe!important}
span.badge.bk-st-neg{background:#ede9fe!important;color:#6d28d9!important;border-color:#ddd6fe!important}
html.bk-escuro span.badge.bk-st-prep{background:#1e1b4b!important;color:#c7d2fe!important;border-color:#312e81!important}
html.bk-escuro span.badge.bk-st-neg{background:#2e1065!important;color:#ddd6fe!important;border-color:#4c1d95!important}
.lu-star:before{content:"\e176"}
.lu-star-off:before{content:"\e2b0"}
.lu-mail-check:before{content:"\e361"}
.lu-mail-warning:before{content:"\e367"}
.lu-send:before{content:"\e152"}
.lu-funnel:before{content:"\e0dc"}
/* equipe: lider e conflitos */
.bk-lider{display:inline-flex;align-items:center;gap:3px;background:#ede9fe;color:#5b21b6;border-radius:20px;padding:1px 8px;font-size:11.5px;font-weight:700;margin-left:4px}
.bk-lider-lnk{color:#a78bfa;margin-left:4px;opacity:.55}.bk-lider-lnk:hover{opacity:1}
.bk-conflito{display:inline-flex;align-items:center;gap:3px;background:#fef3c7;color:#92400e;border-radius:20px;padding:1px 8px;font-size:11.5px;font-weight:600;margin-left:4px;cursor:help}
.bk-conflito.forte{background:#fee2e2;color:#b91c1c}
html.bk-escuro .bk-lider{background:#2e1065;color:#ddd6fe}
html.bk-escuro .bk-conflito{background:#451a03;color:#fcd34d}html.bk-escuro .bk-conflito.forte{background:#450a0a;color:#fca5a5}
/* aviso de e-mail automatico enviado */
.bk-aviso-email{display:flex;gap:10px;align-items:flex-start;background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;border-radius:12px;padding:10px 14px;margin:10px 0;font-size:13.5px}
.bk-aviso-email.erro{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.bk-aviso-email i.lu{font-size:18px;margin-top:1px}
html.bk-escuro .bk-aviso-email{background:#022c22;border-color:#065f46;color:#a7f3d0}
html.bk-escuro .bk-aviso-email.erro{background:#450a0a;border-color:#7f1d1d;color:#fecaca}
/* orcamento: prazo/data de entrega nao se aplicam (a entrega e a data do evento) */
.field_availability_id,.field_date_livraison,tr.fielddeliverydelay{display:none!important}
.lu-rotate-ccw:before{content:"\e148"}
/* situacao do evento */
span.badge.bk-sit{border:1px solid;font-weight:600}
.bk-sit-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;vertical-align:middle}
.bk-sit-filtro{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:4px 0 12px;font-size:13px}
.bk-sit-filtro span{color:var(--bk-muted,#6b7280);margin-right:4px;font-weight:600}
.bk-sit-filtro a{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--bk-borda,#e7e9f0);border-radius:20px;padding:4px 12px;background:#fff;color:inherit!important;text-decoration:none!important}
.bk-sit-filtro a i{width:9px;height:9px;border-radius:50%;display:inline-block}
.bk-sit-filtro a.on{border-color:#7c3aed;background:#f5f3ff;color:#5b21b6!important;font-weight:600}
html.bk-escuro .bk-sit-filtro a{background:#171b24}html.bk-escuro .bk-sit-filtro a.on{background:#2e1065;color:#ddd6fe!important}
/* botao "+" (novo / anexar arquivo) sempre destacado */
#id-right a.btnTitle.btnTitlePlus,#id-right a.btnTitle.btnTitlePlus.btnTitleSelected{background:linear-gradient(135deg,#fb923c,#f97316 35%,#a855f7)!important;border:0!important;color:#fff!important}
#id-right a.btnTitle.btnTitlePlus .fa{color:#fff!important}
