/* Panel del emprendedor — estilo "tienda" (claro, redondeado). Para volver al diseño anterior basta quitar este archivo del index.html. */
html:has(body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app),html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal){background:#fff!important;background-image:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal)::before,html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .lp-bg,html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .wl-blob{display:none!important;animation:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) :is(body>main,.layout,#join-card,#join-card.card,#ready-view,#app-container){margin:0!important;padding:0!important;max-width:none!important;width:100%!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app{--glass-ink:#14181f;--glass-muted:#5b6372;--im-ink:#14181f;--im-muted:#5b6372;--im-border:#e6e8ec;--lg-surface:#fff;--lg-edge:#e6e8ec;--lg-field:#f2f3f5;--lg-tint:#fff;--lg-rim:transparent;--lg-hi:transparent;--lg-bevel:none;--lg-shadow:0 1px 2px #0b11180d,0 8px 24px #0b11180f;--glass-dialog:#fff;--glass-fill:#fff;--glass-surface:#fff;--glass-line:#e6e8ec;--glass-input:#f2f3f5;--glass-focus:#4a74d1;--glass-button-edge:#e6e8ec;--bn-line:#e6e8ec;--bn-fill:#fff;--bn-fill2:#fff;--ic-a1:#ffd2a8;--ic-a2:#f09246;--ic-on:#3b1608;
 display:block!important;min-height:100vh;background:#fff!important;color:#14181f!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:0!important;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,"Segoe UI",system-ui,sans-serif}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app *{text-shadow:none!important}
/* contenido */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-main{margin:0!important;padding:18px clamp(14px,4vw,56px) 110px 104px!important;max-width:1500px;background:transparent!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-topbar{border:0!important;padding:0 0 4px!important;margin:0 0 6px!important;background:transparent!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-topbar>span{font-size:13px!important;letter-spacing:0!important;color:#7b8290!important;font-weight:600;text-transform:none}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-page-heading h1{font-size:clamp(28px,4.2vw,46px)!important;font-weight:800!important;letter-spacing:-.04em!important;color:#14181f!important;line-height:1.05!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-page-heading p{color:#5b6372!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(h1,h2,h3,h4,strong,b,label,legend){color:inherit}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(.im-help,.im-muted,small,.im-kicker){color:#5b6372}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-kicker{display:none!important}
/* tarjetas */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(.im-panel,.im-stat,.im-notice,.im-pf-card,.im-ledger,.im-credit-preview,.im-product,.im-picker,.im-up-card,.im-sale-side,.im-sale-pos>*,.im-inline-form,.im-qr,.im-dialog-content,.im-plan-card,.card){background:#fff!important;background-image:none!important;border:1px solid #eceef1!important;border-radius:26px!important;box-shadow:0 1px 2px #0b11180d,0 8px 24px #0b11180f!important;color:#14181f!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(.im-panel,.im-stat,.im-product)::after,html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(.im-panel,.im-stat,.im-product)::before{display:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(.im-panel,.im-stat,.im-product):hover{transform:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-notice{border-radius:20px!important;background:#fff8f0!important;border-color:#ffd9b3!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-stat span,html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-stat small{color:#5b6372!important;opacity:1!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-stat strong{color:#14181f!important;letter-spacing:-.03em}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-bento .im-stat.im-hero{background:linear-gradient(135deg,#ffd9b3 0,#f5a45f 55%,#e8772e 130%)!important;border:0!important;box-shadow:0 14px 34px #e8772e44!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-bento .im-stat.im-hero :is(span,strong,small){color:#3a1b0c!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-week span:is(.x,.d){color:#7b8290!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-quick .im-qbtn{background:#fff!important;background-image:none!important;border:1px solid #eceef1!important;border-radius:26px!important;box-shadow:0 1px 2px #0b11180d,0 8px 24px #0b11180f!important;color:#14181f!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-quick .im-qbtn svg,html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-quick .im-qbtn .ii{color:#e8772e!important;stroke:currentColor}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-quick .im-qbtn:hover{box-shadow:0 12px 30px #0b111826!important}
/* botones */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(button.im-button,a.im-button,button.primary,a.primary):not(.secondary):not(.danger):not(.im-theme){background:linear-gradient(180deg,#ffd2a8,#f09246)!important;color:#3b1608!important;border:0!important;border-radius:999px!important;box-shadow:0 8px 20px #e8772e40!important;font-weight:800;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(button.im-button.secondary,button.im-small,button.im-button.danger,.im-row-actions button,.im-actions button.secondary){background:#fff!important;background-image:none!important;color:#14181f!important;border:1px solid #e6e8ec!important;border-radius:999px!important;box-shadow:0 1px 2px #0b11180d!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app button.im-button.danger{color:#c2332f!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app button:disabled{opacity:.5}
/* campos */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){background:#f2f3f5!important;border:1px solid #e6e8ec!important;border-radius:16px!important;color:#14181f!important;box-shadow:none!important;color-scheme:light}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(input,select,textarea)::placeholder{color:#7b8290!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(input,select,textarea):focus-visible{outline:2px solid #4a74d1!important;outline-offset:1px;background:#fff!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(input[type=search],.im-search input){border-radius:999px!important}
/* pestañas y chips */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(.im-chip,.im-tab,.im-seg-b){background:#fff!important;background-image:none!important;color:#14181f!important;border:1px solid #e6e8ec!important;border-radius:999px!important;box-shadow:0 1px 2px #0b11180d!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(.im-chip.is-on,.im-tab[aria-pressed=true],.im-seg-b.is-on,.im-seg-b[aria-pressed=true],.im-tab.is-on){background:#14181f!important;color:#fff!important;border-color:#14181f!important}
/* tablas y filas */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(.im-table,.im-ledger-row,.im-pf-row,.im-trow,.im-row){background:transparent!important;color:#14181f!important;border-color:#eceef1!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(.im-table thead,.im-thead) :is(th,span,div){color:#7b8290!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(.im-table td,.im-table th,.im-ledger-row){border-color:#eceef1!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-tname small{color:#7b8290!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-placeholder,html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-logo.im-placeholder{background:linear-gradient(135deg,#fff4e6,#ffd2a8)!important;color:#e8772e!important;border:0!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-picker .im-product,html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-picker-list>*{border-radius:22px!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-pick-badge{background:#14181f!important;color:#fff!important}
/* menú: dock flotante a la izquierda con el logo de Inventate */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar{position:fixed!important;left:16px!important;top:50%!important;transform:translateY(-50%)!important;height:auto!important;max-height:calc(100dvh - 32px)!important;width:72px!important;max-width:72px!important;padding:10px!important;gap:6px!important;border-radius:36px!important;background:#fff!important;background-image:none!important;border:0!important;box-shadow:0 10px 36px #0b111826,0 0 0 1px #e6e8ec!important;z-index:50;overflow:hidden!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar:is(:hover,:focus-within){width:236px!important;max-width:236px!important;box-shadow:0 18px 50px #0b111833,0 0 0 1px #e6e8ec!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar>.im-brand{min-height:52px!important;gap:12px!important;padding:0!important;background:transparent!important}

html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar>.im-brand .im-inv-logo{display:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar>.im-brand strong{color:#14181f!important;font-size:15px!important;opacity:0;max-width:150px}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar:is(:hover,:focus-within)>.im-brand strong{opacity:1}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar>nav{gap:4px!important;margin:4px 0 0!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar .im-nav{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;color:#14181f!important;min-height:52px!important;height:52px!important;padding:0 0 0 15px!important;border-radius:26px!important;gap:14px!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar .im-nav svg,html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar .im-nav .ii{color:#14181f!important;stroke:currentColor}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar .im-nav:hover{background:#f2f3f5!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar .im-nav[aria-current=page]{background:linear-gradient(180deg,#ffd2a8,#f09246)!important;color:#3b1608!important;box-shadow:0 6px 16px #e8772e55!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar .im-nav[aria-current=page] svg{color:#3b1608!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar .im-nav-sell:not([aria-current=page]) svg{color:#e8772e!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar>.im-role{display:none!important}
/* ventanas */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-dialog,html body.dashboard-open :is(dialog.im-dialog,.im-dialog){background:#0b111880!important}
html body.dashboard-open .im-dialog-content{background:#fff!important;color:#14181f!important;border:0!important;border-radius:28px!important;box-shadow:0 30px 80px #0006!important}
html body.dashboard-open .im-dialog-content :is(h1,h2,h3,label,p,span,strong){color:inherit}
/* móvil: barra de iconos abajo */
@media(max-width:760px){
 html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-main{padding:10px 14px 110px!important}
 html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar{left:12px!important;right:12px!important;top:auto!important;bottom:max(12px,env(safe-area-inset-bottom))!important;transform:none!important;width:auto!important;max-width:none!important;height:68px!important;max-height:68px!important;padding:8px 10px!important;border-radius:34px!important;flex-direction:row!important;align-items:center;overflow:hidden!important}
 html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar:is(:hover,:focus-within){width:auto!important;max-width:none!important}
 html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar>.im-brand{display:none!important}
 html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar>nav{flex-direction:row!important;overflow-x:auto!important;overflow-y:hidden!important;margin:0!important;gap:6px!important;width:100%}
 html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar .im-nav{flex:0 0 52px;width:52px!important;padding:0!important;justify-content:center!important}
 html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar .im-nav{font-size:0!important}
}

html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-bars .im-bar i{background:linear-gradient(180deg,#b9ccf2,#4a74d1)!important;box-shadow:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-bars .im-bar.is-today i{background:linear-gradient(180deg,#ffd2a8,#f09246)!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-bars .im-bar span{color:#7b8290!important;opacity:1!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar{top:16px!important;bottom:16px!important;transform:none!important;margin:auto 0!important;height:fit-content!important;max-height:calc(100dvh - 32px)!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar>.im-brand{height:52px;flex:none}
@media(max-width:760px){html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar{top:auto!important;bottom:max(12px,env(safe-area-inset-bottom))!important;margin:0!important;height:68px!important}}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) :is(body>main,.layout,#join-card,#join-card.card,#ready-view,#app-container){transform:none!important;filter:none!important;contain:none!important;will-change:auto!important;perspective:none!important;animation:none!important;overflow:visible!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal)>main>header .brand,html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal)>main>header .brand *{color:#14181f!important;-webkit-text-fill-color:#14181f!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-inline-form{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar .im-nav[aria-current=page]::before,html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar .im-nav[aria-current=page]::after{display:none!important}
/* ventanas (dialog) */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(dialog.im-dialog,.im-picker){--glass-window-tint:#fff;background:#fff!important;background-image:none!important;border:0!important;border-radius:30px!important;box-shadow:0 30px 80px #0b111855!important;color:#14181f!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app dialog.im-dialog::backdrop{background:#0b111880!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app dialog.im-dialog>header{background:#fff!important;background-image:none!important;border-bottom:1px solid #eceef1!important;color:#14181f!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app dialog.im-dialog>header h2{color:#14181f!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-close{background:#f2f3f5!important;background-image:none!important;color:#14181f!important;border:0!important;box-shadow:none!important;outline:0}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-dialog-content{border:0!important;box-shadow:none!important;border-radius:0!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-pf-card{box-shadow:none!important;border:1px solid #eceef1!important;border-radius:22px!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-pf-foot{background:#fff!important}
/* más ancho: aprovecha toda la pantalla */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-main{max-width:none!important;width:auto!important}
/* formulario de venta/compra fijo a la derecha */
@media(min-width:901px){
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side{position:sticky!important;top:16px!important;align-self:start!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;z-index:5}
}
/* pie de página legible */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) footer.ft,html body.catalog-open footer.ft{color:#5b6372!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) footer.ft :is(a,b,span,p,div,button),html body.catalog-open footer.ft :is(a,b,span,p,div,button){color:#5b6372!important;opacity:1}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) footer.ft b,html body.catalog-open footer.ft b{color:#14181f!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) footer.ft{padding-left:104px}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app :is(.im-dialog-content,.im-panel,form.im-sale-pos):has(>.im-sale-side),html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-dialog-content{overflow:visible!important}
/* barra superior de la página: solo "Cerrar sesión" a la derecha en PC */
@media(min-width:761px){
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal)>main>header{justify-content:flex-end!important;padding:12px clamp(14px,4vw,56px) 0 104px!important;margin:0!important;background:transparent!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal)>main>header .brand{display:none!important}
}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal)>main>header :is(.pill,.lp-login,.lp-join){display:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal)>main>header button.logout{background:#fff!important;color:#14181f!important;border:1px solid #e6e8ec!important;border-radius:999px!important;box-shadow:0 1px 2px #0b11180d!important;font-weight:700;padding:9px 18px;opacity:1!important;letter-spacing:0!important;text-transform:none!important;font-size:14px!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal)>main>header button.logout[hidden]{display:none!important}

/* logo del emprendedor en el menú */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar>.im-brand .im-logo{display:grid!important;place-items:center;width:52px!important;height:52px!important;min-width:52px!important;border-radius:50%!important;object-fit:cover;overflow:hidden;flex:none;box-shadow:0 0 0 1px #e6e8ec}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-sidebar>.im-brand .im-logo svg{width:24px;height:24px}
/* lista de venta/compra: compacta, con scroll propio y botón siempre visible */
@media(min-width:901px){
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side{display:flex!important;flex-direction:column;gap:10px!important;padding:16px!important;overflow-y:auto!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side>*{flex:none}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side .im-sale-cart{max-height:min(30vh,260px)!important;overflow-y:auto!important;overscroll-behavior:contain;padding-right:4px;flex:0 1 auto;min-height:0}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side>button.im-button[type=submit]{position:sticky!important;bottom:0!important;margin-top:auto;z-index:4;box-shadow:0 -12px 14px -4px #fff,0 8px 20px #e8772e40!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side .im-sale-cart>*{padding-top:8px!important;padding-bottom:8px!important}
}

/* panel lateral compacto: sin espacios en blanco, el botón siempre dentro de la pantalla */
@media(min-width:901px){
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side{max-height:calc(100dvh - 130px)!important;gap:10px!important;padding:14px 16px!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side :is(.im-field,label){gap:3px!important;margin:0!important;padding:0!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:0!important;height:40px!important;padding:6px 14px!important;font-size:14px!important;border-radius:14px!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side textarea{height:56px!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side :is(.im-field span,label>span,legend){font-size:12.5px!important;margin:0!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side .im-form{gap:6px!important;margin:0!important;padding:0!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side :is(.im-help,.im-muted,small){font-size:12px!important;line-height:1.35!important;margin:0!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side :is(h2,h3,h4){font-size:15px!important;margin:2px 0!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side :is(.im-chip,.im-seg-b){padding:6px 12px!important;min-height:0!important;font-size:13px!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side .im-sale-cart{max-height:min(26vh,220px)!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side button.im-button{min-height:0!important;padding:10px 16px!important;font-size:15px!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side>button.im-button[type=submit]{padding:12px 16px!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos>.im-sale-side details{margin:0!important;padding:2px 0!important}
}
/* selector de cliente/proveedor */
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-contact-row{background:#fff!important;border:1px solid #eceef1!important;color:#14181f!important;box-shadow:none!important;border-radius:16px!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-contact-row:hover,html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-contact-row:focus-visible{background:#fff4e6!important;border-color:#f0b27a!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-contact-new{background:#fff4e6!important;border-color:#f0b27a!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-contact-row strong{color:#14181f!important;font-size:15px}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-contact-row small{color:#5b6372!important;opacity:1}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app .im-contact-dialog input[type=search]{height:46px!important;border-radius:999px!important}
/* compra: dos campos por línea para que quepa la lista de productos */
@media(min-width:901px){
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos.im-pur-pos>.im-sale-side{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;row-gap:8px;align-content:start}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos.im-pur-pos>.im-sale-side>*{grid-column:1/-1}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos.im-pur-pos>.im-sale-side>label.im-field:not(:has(textarea)){grid-column:auto}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos.im-pur-pos>.im-sale-side .im-sale-cart{max-height:min(34vh,300px)!important}
}
@media(min-width:901px){
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos.im-pur-pos>.im-sale-side>label.im-field .im-help{display:none!important}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app form.im-sale-pos.im-pur-pos>.im-sale-side select{padding-left:10px!important;padding-right:6px!important;font-size:13px!important;text-overflow:ellipsis}
}
html body.dashboard-open:not(.catalog-open):not(.tema-mercado):not(.tema-cristal) .im-app{color-scheme:light}
/* Cerrar sesión: se sale desde "Salir" en el menú, no desde la esquina */
html body.dashboard-open:not(.catalog-open) #logout,html body.dashboard-open:not(.catalog-open)>main>header button.logout{display:none!important}
