@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

body{font-family:'DM Sans',sans-serif;background:#faf7f8;color:#241329}h1,h2,h3,.brand{font-family:Outfit,sans-serif}input,select,textarea{border:1px solid #e8dce4;border-radius:12px;padding:11px 12px;background:white;width:100%;outline-color:#db6d8b}button{transition:all .15s}button:disabled{opacity:.5;cursor:not-allowed}.btn{background:#241329;color:white;border-radius:12px;padding:11px 16px;font-weight:700}.btn:hover{background:#4b2849}.btn-light{background:#f6e9ef;color:#653b56;border-radius:12px;padding:10px 14px;font-weight:700}.panel{background:white;border:1px solid #f0e7ec;border-radius:20px;box-shadow:0 10px 30px #44203b08}.muted{color:#8e7a89}.tag{border-radius:30px;padding:4px 10px;font-size:12px;background:#f9edf2;color:#a24668}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:690px}th{text-align:left;color:#8e7a89;font-size:12px;text-transform:uppercase;letter-spacing:.05em;padding:13px 12px}td{padding:13px 12px;border-top:1px solid #f3ecf0;font-size:14px}tr:hover td{background:#fffbfd}
/* Premium visual system — warm porcelain, plum and copper */
:root{--accent:#a94e70;--ink:#302039;--muted:#776a79;--line:#eee5eb}body{background:#f8f5f7;color:var(--ink);font-family:'DM Sans',Arial,sans-serif}h1,h2,h3,.brand{letter-spacing:-.035em}.muted{color:var(--muted)}.sidebar-premium{background:linear-gradient(165deg,#39243e 0%,#24182d 62%,#201529 100%);box-shadow:8px 0 32px #39243e13}.brand-lockup{display:flex;align-items:center;gap:10px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#f4b7c8,#bc6588);color:#49243e;box-shadow:0 6px 18px #120b2533,inset 0 1px 0 #ffffff80;flex-shrink:0}.nav-label{font-size:10px;letter-spacing:.16em;color:#c3a9c4;font-weight:700;padding:0 12px 12px}.nav-item{padding:9px 10px;min-height:48px;transition:background .18s,transform .18s}.nav-item:hover{transform:translateX(2px)}.nav-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#ffffff0d;color:#e6c9dc;flex-shrink:0}.nav-item.bg-rose{background:linear-gradient(115deg,#a94e70,#c36c8c);box-shadow:0 5px 15px #170e2640}.nav-item.bg-rose .nav-icon{background:#ffffff26;color:white}.logout-btn{border-top:1px solid #ffffff18;margin-top:12px;border-radius:12px}.logout-btn:hover{background:#ffffff12;color:white}.topbar{box-shadow:0 4px 24px #35213d06}.panel{border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 28px #39243e09,0 1px 3px #39243e06}.dashboard-hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#432b4b,#74405f 75%,#a35d78);color:white;border-radius:24px;padding:30px 32px;box-shadow:0 12px 30px #633c5b24}.dashboard-hero h2{font-size:clamp(23px,3vw,34px);position:relative;z-index:1}.dashboard-hero .muted{color:#f3dce8;position:relative;z-index:1;max-width:75%}.hero-kicker{font-size:10px;letter-spacing:.15em;color:#f2c3d5;font-weight:700;margin-bottom:10px}.hero-decoration{position:absolute;right:24px;bottom:-24px;transform:rotate(-15deg);color:#ffffff13;pointer-events:none}.metric-card{min-width:0;position:relative;overflow:hidden}.metric-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;color:#a398a6}.metric-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#f8e5ed;color:#a94e70;box-shadow:inset 0 1px 0 #fff}.metric-1 .metric-icon{background:#e2f3eb;color:#277b5a}.metric-2 .metric-icon{background:#fff0dc;color:#a66b22}.metric-3 .metric-icon{background:#e9e6fa;color:#6b54ad}.metric-card .font-bold{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.btn,.btn-light{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:12px;transition:transform .15s,box-shadow .15s,background .15s}.btn{background:linear-gradient(135deg,#a94e70,#81405f);box-shadow:0 5px 12px #a94e7033;color:#fff}.btn:hover{background:linear-gradient(135deg,#b95b80,#91486b);transform:translateY(-1px)}.btn-light{background:#f7edf3;color:#854662;border:1px solid #eddee8}.btn-light:hover{background:#efdfeb}.quick-action{justify-content:flex-start;padding:10px;gap:12px}.quick-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:white;color:#a94e70}.edit-action,.delete-action{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border-radius:8px;background:#f8edf3;white-space:nowrap}.delete-action{background:#fff0f0;color:#b34c59}.edit-action:hover,.delete-action:hover{filter:brightness(.95)}input,select,textarea{border:1px solid #e5dce4;border-radius:12px;min-height:44px;transition:box-shadow .15s,border-color .15s}input:focus,select:focus,textarea:focus{outline:none;border-color:#b96b8b;box-shadow:0 0 0 3px #b96b8b20}input.pl-10{padding-left:40px}thead{background:#f8f4f7}th{color:#756477}td{border-color:#f0e9ef}.tag{background:#f3e5ef;color:#884363;font-weight:700}.login-shell{background:radial-gradient(ellipse at 85% 10%,#f7e2eb,transparent 55%),#faf7f9}.login-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 90% 15%,#9d5679,transparent 55%),linear-gradient(150deg,#39243e,#24182d)}.login-hero:after{content:'';position:absolute;width:380px;height:380px;border:1px solid #ffffff16;border-radius:50%;right:-120px;bottom:-130px;box-shadow:0 0 0 45px #ffffff08,0 0 0 90px #ffffff05;pointer-events:none}.hero-mark{width:76px;height:76px;margin-bottom:30px;border-radius:24px}.login-mark{width:56px;height:56px;margin-bottom:20px}.login-card{padding:36px;box-shadow:0 24px 70px #48253d15}.login-card .btn{min-height:48px}button:focus-visible{outline:3px solid #d49ab4;outline-offset:2px}@media(max-width:640px){.dashboard-hero{padding:23px 20px}.metric-card{padding:15px}.metric-card .font-bold{font-size:18px}.metric-icon{width:40px;height:40px}.login-card{padding:25px}.hero-decoration{right:0;opacity:.65}.topbar{padding-top:14px;padding-bottom:14px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* DoceGestão: chocolate, ouro e creme, baseado na arte aprovada. */
:root{--ink:#4d0c19;--accent:#8c153a;--muted:#79564d;--line:#ead8c9}body{background:linear-gradient(135deg,#fff8ef,#f5e5d8);color:#48101b}.sidebar-premium{width:250px;background:linear-gradient(150deg,#651c19,#390909 60%,#641b12);padding:15px 13px;box-shadow:5px 0 20px #43130925}.sidebar-premium>div:first-child{margin-bottom:15px;padding:0;justify-content:center}.brand-lockup{flex-direction:column;gap:3px}.brand-lockup .brand{font-size:32px;color:#fff5e5;font-style:italic}.brand-lockup .brand-mark{background:none;color:#ffda83;box-shadow:none;width:60px;height:55px}.sidebar-premium>div:first-child .text-xs{text-align:center;color:#fff1df;font-size:14px;max-width:205px;margin:auto}.nav-label{display:none}.nav-item{min-height:44px;padding:6px 9px;color:#fff4e8!important;font-size:14px}.nav-icon{background:none;color:#ffd67b}.nav-item.bg-rose{background:linear-gradient(180deg,#ffe5a0,#eab34f);color:#3e0d0b!important;box-shadow:0 3px 8px #23040060}.nav-item.bg-rose .nav-icon{color:#5a1a0e;background:none}.sidebar-premium nav{flex:1}.logout-btn{color:#ffe5c0;padding:8px}.sidebar-premium:after{content:'';display:block;height:95px;background:url(sidebar-desserts.jpg) center/cover;border-radius:12px;flex-shrink:0}.topbar{background:#fff6ebee;border-color:#e9c8a8;padding:12px 25px}.topbar>.flex-1{display:flex;flex-direction:column-reverse}.topbar h1{font-size:24px;color:#650e20}.header-date{background:#fff;border:1px solid #efd7bf;border-radius:30px;padding:8px 14px;font-size:13px;font-weight:700}.topbar+div{padding:14px;max-width:none}.sweet-home{display:grid;gap:13px}.sweet-banner{aspect-ratio:6.1;background:url(banner.jpg) center/100% 100% no-repeat;border-radius:12px;box-shadow:0 5px 15px #7c321b20}.sweet-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sweet-metric{border-radius:16px;border:1px solid #fff9;box-shadow:0 5px 13px #8a412c18;display:flex;align-items:center;gap:12px;padding:15px;text-align:left;min-width:0}.sweet-metric:hover{transform:translateY(-2px)}.sweet-0{background:linear-gradient(135deg,#fff5f7,#f9d7e1);color:#940d3a}.sweet-1{background:linear-gradient(135deg,#fffaf1,#ffebcc);color:#a84c08}.sweet-2{background:linear-gradient(135deg,#f9fff2,#e0f2cf);color:#287b1e}.sweet-3{background:linear-gradient(135deg,#fff8ff,#ead8f5);color:#77339b}.sweet-icon{display:grid;place-items:center;background:#ffffff80;border-radius:16px;width:60px;height:60px;flex-shrink:0}.sweet-metric small{display:block;font-size:12px;font-weight:700;color:#4b201e}.sweet-metric strong{display:block;font-size:clamp(18px,1.8vw,30px);line-height:1.2;color:#4c0b19;font-weight:800;white-space:nowrap}.sweet-middle{display:grid;grid-template-columns:1.55fr 1fr 1.1fr;gap:12px}.sweet-panel{padding:15px;border-radius:17px;background:linear-gradient(140deg,#fffdfa,#fff4e9);box-shadow:0 5px 13px #8a412c16}.sweet-panel h3{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:800;color:#720e25;margin-bottom:12px}.sweet-quick{display:grid;grid-template-columns:1fr 1fr;gap:9px}.sweet-quick button{background:linear-gradient(145deg,#b82e57,#680c28 75%);color:white;border:1px solid #d78c92;border-radius:13px;box-shadow:0 4px 7px #6b122d44,inset 0 1px 2px #fff5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:88px;font-size:13px;font-weight:700;padding:7px}.sweet-quick svg{color:#ffda70}.sweet-quick button:hover{filter:brightness(1.13)}.chart-caption{font-size:11px;color:#80554b}.chart-bars{height:175px;display:flex;gap:5px;align-items:stretch;padding-top:10px}.chart-column{flex:1;min-width:0;display:flex;flex-direction:column;text-align:center;font-size:11px;gap:4px}.chart-column small{font-size:9px;white-space:nowrap}.chart-track{flex:1;display:flex;align-items:flex-end;background:repeating-linear-gradient(to top,transparent 0,transparent 31px,#ead8ce 32px,#ead8ce 33px);border-bottom:1px solid #cba99c}.chart-track>div{width:100%;background:linear-gradient(#ed3877,#a91a4c);border-radius:6px 6px 0 0;min-height:0}.sweet-lot{padding:7px 0;border-bottom:1px solid #efdfd0;font-size:12px}.sweet-lot>div:first-child{display:flex;justify-content:space-between;gap:6px}.lot-track{height:8px;background:#e9d6c5;border-radius:9px;margin:5px 0;overflow:hidden}.lot-track>div{height:100%;background:#42a42c}.sweet-bottom{display:grid;grid-template-columns:1.1fr 1fr;gap:12px}.sweet-alert{display:flex;gap:8px;align-items:center;padding:7px;border-bottom:1px solid #f0e3d8;font-size:13px}.sweet-alert svg{color:#c86b18;flex-shrink:0}.sweet-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-items:center}.sweet-summary button{flex-direction:column;text-align:center;gap:5px;padding:18px 6px}.btn{background:linear-gradient(135deg,#a51e45,#650d28)}.btn-light{background:#fff0df;color:#791c2d;border-color:#eed6bf}.login-hero{background:linear-gradient(135deg,#74251c,#350909)}@media(max-width:1250px){.sweet-middle{grid-template-columns:1.3fr 1fr}.sweet-middle>section:last-child{grid-column:1/-1}.sweet-icon{width:40px;height:40px}.sweet-icon svg{width:24px}.sweet-metric{padding:10px;gap:6px}}@media(max-width:767px){.sweet-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.sweet-middle,.sweet-bottom{grid-template-columns:1fr}.sweet-banner{aspect-ratio:4.8;background-size:cover}.header-date{display:none}.topbar h1{font-size:18px}.topbar+div{padding:10px}.sidebar-premium:after{height:65px}.sweet-metric strong{font-size:19px}.sweet-panel h3{font-size:17px}}
.dashboard-hero{background:linear-gradient(150deg,#651c19,#390909 60%,#641b12)!important}.pdv-shell{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pdv-search,.pdv-cart,.pdv-pay{background:#fffaf4;border:1px solid #ead8c9;border-radius:16px;padding:14px;min-width:0}.pdv-shell h2{font-weight:800;font-size:20px;margin-bottom:8px}.pdv-results{max-height:45vh;overflow:auto;display:grid;gap:5px;margin-top:8px}.pdv-results button{display:grid;grid-template-columns:1fr auto;text-align:left;padding:9px;background:white;border:1px solid #ead8c9;border-radius:10px}.pdv-results span{grid-row:2;font-size:12px}.pdv-results svg{grid-column:2;grid-row:1/3;align-self:center}.pdv-line{display:flex;justify-content:space-between;gap:6px;align-items:center;border-bottom:1px solid #ead8c9;padding:8px 0}.pdv-line small{display:block}.pdv-qty{display:flex;align-items:center;gap:3px}.pdv-qty input{width:65px;padding:5px;text-align:center}.pdv-qty button,.pdv-methods button{background:#fff0df;border:1px solid #e7c9a8;border-radius:8px;padding:8px;font-weight:700}.pdv-pay{grid-column:1/-1;position:sticky;bottom:0;z-index:21;box-shadow:0 -3px 18px #43130915}.pdv-total{display:flex;justify-content:space-between;align-items:center;font-weight:800}.pdv-total strong{font-size:28px}.pdv-methods{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.pdv-methods .selected{background:#641b12;color:white}.pdv-cash{display:flex;align-items:center;gap:10px;margin:6px 0}.pdv-cash input{max-width:140px}.pdv-finish{width:100%;margin-top:6px}.pdv-finish:disabled{opacity:.5}@media(max-width:767px){.pdv-shell{grid-template-columns:1fr;gap:6px}.pdv-search,.pdv-cart,.pdv-pay{padding:8px}.pdv-results{max-height:23dvh}.pdv-cart{max-height:25dvh;overflow:auto}.pdv-shell h2{font-size:16px}.pdv-methods button{font-size:12px;padding:7px}.pdv-pay{bottom:0}.pdv-total strong{font-size:24px}.pdv-cash{font-size:13px}.pdv-shell input{font-size:16px}.pdv-pay{padding-bottom:calc(8px + env(safe-area-inset-bottom))}}
/* Identidade oficial Li Ribeiro Brigadeiria */
:root{--ink:#563014;--accent:#a95f70;--muted:#795d48;--line:#e8d6c6;--brand-gradient:linear-gradient(145deg,#79491f,#563014 65%,#40210e)}
body{background:linear-gradient(135deg,#fffaf5,#f3e5d7);color:var(--ink)}.sidebar-premium,.dashboard-hero,.login-hero{background:var(--brand-gradient)!important}.client-logo{width:210px;max-width:100%;height:auto;border-radius:9px;display:block}.brand-lockup{width:100%}.sidebar-premium>div:first-child .text-xs{font-size:11px;margin-top:7px}.brand-mark.hero-mark,.brand-mark.login-mark{width:min(100%,260px);height:auto;background:none;box-shadow:none}.brand-mark img{width:100%;border-radius:10px}.nav-icon,.sweet-quick svg{color:#f5d5b5}.nav-item.bg-rose{background:linear-gradient(145deg,#ffe7d4,#e7b7a3);color:#563014!important}.nav-item.bg-rose .nav-icon{color:#563014}.btn,.sweet-quick button,.pdv-methods .selected{background:var(--brand-gradient);color:#fff;border-color:#a97954}.btn:hover{background:#805029}.btn-light,.pdv-qty button,.pdv-methods button:not(.selected){background:#f8e9dc;color:#563014;border-color:#e5cbb5}.topbar h1,.sweet-panel h3,.sweet-metric strong{color:#563014}.topbar{background:#fffaf5}.sweet-banner{position:relative;background:var(--brand-gradient);overflow:hidden;min-height:120px}.sweet-banner:before{content:'';position:absolute;inset:0 0 0 40%;background:linear-gradient(90deg,#563014,transparent 22%),url(banner-doces.jpg) center/cover no-repeat}.sweet-banner:after{content:'';position:absolute;inset:8% 60% 8% 3%;background:url(logo-cliente.png) center/contain no-repeat}.sweet-0,.sweet-3{background:linear-gradient(135deg,#fff8f4,#f2d5d8);color:#a95f70}.sweet-1{background:linear-gradient(135deg,#fffaf1,#f0dcc2);color:#986032}.sweet-2{background:linear-gradient(135deg,#fffaf4,#eadbc9);color:#795333}.chart-track>div{background:linear-gradient(#d99aa5,#92563b)}.hero-kicker{color:#f3c9ca}.tag{background:#f7e5e5;color:#925568}input,select,textarea{outline-color:#b87985;border-color:#e8d6c6}.text-rose{color:#c98695!important}button:focus-visible{outline-color:#c98695}.header-date{color:#563014}@media(max-width:767px){.sweet-banner{min-height:100px}.sweet-banner:after{inset:5% 48% 5% 2%}.sweet-banner:before{left:45%}}

/* V8 — menu lateral: uma única rolagem, identidade Li Ribeiro */
html{scrollbar-width:thin;scrollbar-color:#b68c70 #f4e7db}
.sidebar-premium{box-sizing:border-box;flex-shrink:0;height:100vh;height:100dvh;max-height:100dvh;overflow:hidden!important;min-height:0;scrollbar-width:none}
.sidebar-premium>div:first-child,.sidebar-premium>.logout-btn{flex-shrink:0}
.sidebar-premium nav{min-height:0;flex:1 1 0%;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b78b6c transparent;padding-right:4px}
.sidebar-premium nav::-webkit-scrollbar{width:5px}.sidebar-premium nav::-webkit-scrollbar-track{background:transparent}.sidebar-premium nav::-webkit-scrollbar-thumb{background:#b78b6c;border-radius:10px}.sidebar-premium nav::-webkit-scrollbar-thumb:hover{background:#e7b7a3}.sidebar-premium nav::-webkit-scrollbar-button{display:none}
@media(max-width:1023px){.sidebar-premium{position:fixed!important;top:0;bottom:0;left:0;width:min(290px,86vw);z-index:40;transition:transform .32s cubic-bezier(.22,.75,.25,1)!important;transform:translateX(-105%);visibility:hidden}.sidebar-premium.menu-open{transform:translateX(0);visibility:visible}.sidebar-premium:not(.menu-open){transition:transform .32s,visibility 0s .32s!important}.sidebar-premium:after{height:60px}.sidebar-premium .client-logo{max-height:100px;object-fit:contain}.sidebar-premium.menu-open .nav-item>span.flex-1{animation:menu-label-in .35s ease-out both;animation-delay:calc(var(--menu-index,0)*25ms)}.menu-overlay{animation:menu-fade .25s ease-out both}}
@keyframes menu-label-in{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:translateX(0)}}@keyframes menu-fade{from{opacity:0}to{opacity:1}}
@media(max-height:540px){.sidebar-premium:after{display:none}.sidebar-premium .client-logo{max-height:75px;object-fit:contain}}
@media(prefers-reduced-motion:reduce){.sidebar-premium,.sidebar-premium:not(.menu-open){transition:none!important}.sidebar-premium .nav-item>span.flex-1,.menu-overlay{animation:none!important}}

/* V11 — menu desktop compacto */
@media(min-width:1024px){.sidebar-premium nav .nav-item{min-height:32px;padding-top:4px;padding-bottom:4px}.sidebar-premium nav .nav-icon{height:24px}.sidebar-premium nav > .nav-item + .nav-item{margin-top:1px!important}}

/* V13 — aviso de instalação compacto e isolado dos formulários */
#li-install-notice{position:fixed;z-index:99999;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% - 32px);max-width:310px;box-sizing:border-box;background:#fff8f5;color:#563014;border:1px solid #d7b49b;border-radius:15px;padding:13px;box-shadow:0 8px 28px #38200d30;font:13px/1.35 'DM Sans',Arial,sans-serif;overflow-wrap:anywhere}
#li-install-notice .install-head{display:flex;align-items:center;gap:9px}#li-install-notice .install-copy{flex:1;min-width:0}#li-install-notice .install-head img{width:36px;height:36px;flex:none;border-radius:9px}#li-install-notice strong{font-size:15px;display:block}#li-install-notice .install-copy div{font-size:12px;margin-top:2px;color:#795d48}#li-install-notice .install-close{flex:none;width:24px;height:24px;min-height:0;padding:0;border:0;background:transparent;color:#795d48;font-size:20px;line-height:1;cursor:pointer}#li-install-notice .install-action{display:block;width:100%;min-height:36px;margin:10px 0 9px;padding:8px;border:0;border-radius:9px;background:linear-gradient(135deg,#815026,#49260e);color:white;font-size:13px;font-weight:700;cursor:pointer}#li-install-notice label{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;cursor:pointer}#li-install-notice input[type=checkbox]{appearance:auto!important;width:15px!important;height:15px!important;min-width:15px!important;min-height:0!important;max-width:15px!important;padding:0!important;margin:0!important;flex:0 0 15px;accent-color:#815026;border-radius:3px;box-shadow:none}#li-install-notice p{margin:8px 0 0;font-size:12px}@media(max-width:480px){#li-install-notice{max-width:280px;padding:11px;width:calc(100% - 32px)}}
