/* Shinpo POS v0.54: separación visual entre Reportes y Marketing; tenant data unchanged. */
.v50-brand{display:flex;align-items:center;gap:7px;overflow:hidden}.v54-official-logo{height:48px;max-width:174px;object-fit:contain;object-position:left center;min-width:0}.v54-pos-word{color:#d5e9df;font-size:11px;font-weight:800;letter-spacing:1px}
.v54-analytics,.v52-marketing{width:100%;max-width:none!important;box-sizing:border-box;padding:18px 22px!important}
.v54-analytics{background:linear-gradient(135deg,#f6f9ff,#f9fcfb 52%,#fff);border-radius:20px;color:#142741}
.v54-analytics-hero{border-radius:20px;min-height:155px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 30px;background:linear-gradient(115deg,#0d263f 0%,#142f69 57%,#3049a6 100%);color:white;position:relative;overflow:hidden;margin:0 0 18px}
.v54-analytics-hero:after{content:'';position:absolute;right:20%;bottom:-100px;width:380px;height:230px;border:22px solid #53daf055;border-radius:50%;transform:rotate(-20deg);pointer-events:none}
.v54-analytics-hero small{font-size:11px;letter-spacing:2px;font-weight:800;color:#8cecd7}.v54-analytics-hero h1{font-size:clamp(27px,3vw,42px);color:white;margin:5px 0}.v54-analytics-hero p{margin:0;color:#c4e0f4;font-size:14px}.v54-period{z-index:1;display:grid;gap:6px;font-size:12px;font-weight:700;background:#ffffff16;backdrop-filter:blur(8px);padding:11px 14px;border:1px solid #ffffff55;border-radius:12px;color:white}
.v54-period select{border:0;background:white;color:#162946;border-radius:8px;padding:10px;font:inherit;min-width:230px}
.v54-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:15px}.v54-kpi{display:flex;align-items:center;gap:15px;padding:18px;border-radius:17px;border:1px solid #e1eaf0;min-width:0}.v54-kpi-green{background:#e8f9ee}.v54-kpi-blue{background:#e8f3ff}.v54-kpi-violet{background:#f3ecfe}.v54-kpi-amber{background:#fff6e4}.v54-kpi-icon{font-size:25px;display:grid;place-items:center;flex-shrink:0;width:47px;height:47px;border-radius:12px;background:#ffffffa3;color:#118c58}.v54-kpi-blue .v54-kpi-icon{color:#167bd1}.v54-kpi-violet .v54-kpi-icon{color:#8651d3}.v54-kpi-amber .v54-kpi-icon{color:#b67b13}.v54-kpi small,.v54-kpi strong,.v54-kpi em{display:block}.v54-kpi small{font-size:12px;font-weight:700;color:#405771}.v54-kpi strong{font-size:clamp(17px,1.8vw,25px);letter-spacing:-.6px;white-space:nowrap}.v54-kpi em{font-size:11px;font-style:normal;color:#6a7884}
.v54-chart-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(275px,.8fr);gap:15px}.v54-tile{background:white;border:1px solid #dce7ee;border-radius:18px;padding:21px;box-shadow:0 7px 27px #223d5b0b;min-width:0}.v54-tile-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.v54-tile h2{font-size:20px;margin:0 0 5px;color:#152a43}.v54-tile p{margin:0;color:#677888;font-size:13px}.v54-soft-tag{padding:5px 10px;border-radius:20px;background:#e9f8ed;color:#19794d;font-size:11px;font-weight:800}.v54-graph canvas{width:100%;max-width:100%;height:290px}.v54-graph .legend{display:flex;gap:16px;margin-top:10px;color:#576779}.v54-donut{--share:50%;width:min(250px,84%);aspect-ratio:1;border-radius:50%;background:conic-gradient(#00b981 0 var(--share),#5b8ff7 var(--share) 100%);display:grid;place-items:center;margin:20px auto;position:relative}.v54-donut:before{content:'';position:absolute;inset:24%;background:white;border-radius:50%}.v54-donut>div{position:relative;text-align:center}.v54-donut small{display:block;color:#748092;font-size:11px}.v54-donut strong{font-size:clamp(13px,1.4vw,20px)}.v54-distribution-key{display:grid;gap:10px}.v54-distribution-key span{display:flex;align-items:center;gap:9px;color:#536676}.v54-distribution-key b{margin-left:auto;color:#17344d}.v54-distribution-key i{width:11px;height:11px;border-radius:50%}.v54-key-local{background:#00b981}.v54-key-web{background:#5b8ff7}.v54-bottom{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-top:16px}.v54-bottom small{color:#0e9371;font-size:11px;font-weight:800}.v54-bottom p{max-width:530px}.v54-cost-note{background:#f0f8fc;padding:15px;border-radius:12px;color:#31546d;max-width:510px;font-size:13px;line-height:1.5}
/* Marketing is clearly not a sales reporting page. */
.v52-marketing{background:linear-gradient(155deg,#f6fff8,#fcfffd 55%,#fff)}.v532-tenant-banner{margin-bottom:12px}.v52-head.v54-marketing-hero{display:grid!important;grid-template-columns:190px minmax(220px,1fr) auto;align-items:center;gap:20px;min-height:195px;background:linear-gradient(112deg,#e2ffe8,#e5fff7 69%,#c2fda9)!important;border-radius:22px;padding:17px 30px 17px 0;overflow:hidden;position:relative}.v54-marketing-hero-logo{height:160px;width:180px;background:#15221c;border-radius:0 90px 90px 0;display:grid;place-items:center;box-shadow:10px 0 40px #12543222}.v54-marketing-hero-logo img{width:170px;height:105px;object-fit:cover;object-position:17% 50%;border-radius:10px}.v54-hero-copy{z-index:1}.v54-hero-copy small{color:#087844;letter-spacing:1.7px}.v54-hero-copy h1{font-size:clamp(30px,3vw,42px);margin:5px 0;color:#163c2c}.v54-hero-copy p{max-width:650px;font-size:15px;line-height:1.5;color:#356650}.v54-marketing-hero .v52-main{position:relative;z-index:1;box-shadow:0 10px 25px #09683c25;border-radius:30px;font-size:14px;padding:16px 21px;white-space:nowrap}
.v52-marketing{display:flex;flex-direction:column}.v532-tenant-banner{order:0}.v54-marketing-hero{order:1}.v54-settings-outer{order:2;margin:0 0 16px}.v54-report-area{order:3}.v54-market-extra{order:4}.v54-settings-outer .v531-tools{width:100%}.v54-settings-outer .v531-configuration{padding:10px;background:transparent;border:0;box-shadow:none}.v54-settings-outer .v531-configuration>h2,.v54-settings-outer .v531-configuration>p{display:none}.v54-settings-outer form{display:grid;grid-template-columns:minmax(200px,1fr) minmax(200px,1fr) auto;gap:12px;align-items:start}.v54-settings-outer #v52-profile-details,.v54-settings-outer #v531-schedule-details{margin:0!important;background:white;border:1px solid #d9e9e0;border-radius:14px}.v54-settings-outer #v52-profile-summary{padding:14px;font-size:13px}.v54-settings-outer .v531-schedule-details>summary{padding:12px}.v54-settings-outer .v531-save{width:auto;margin:0;align-self:stretch;min-height:59px;white-space:nowrap}
.v54-report-area{width:100%;margin:6px 0 16px}.v54-report-heading{color:#178253;font-size:12px;font-weight:800;letter-spacing:1px;margin:4px 0 10px}.v54-report-area .v531-report-panel{width:100%;min-height:320px;padding:22px 25px;box-sizing:border-box}.v54-report-title{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e2ede8;margin-bottom:15px;padding-bottom:10px}.v54-report-title small{color:#119166;font-size:11px;letter-spacing:1.5px;font-weight:800}.v54-report-title h2{font-size:25px;margin:4px 0}.v54-report-title p{font-size:13px;color:#647c71}.v54-report-decoration{font-size:48px;color:#0fa979}.v54-report-area .v52-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v54-report-area .v52-stat{background:linear-gradient(135deg,#eaffef,#e9f7f5);padding:19px;border:1px solid #d2e9d8}.v54-report-area .v52-stat:nth-child(2){background:#e9f4ff}.v54-report-area .v52-stat:nth-child(3){background:#f1efff}.v54-report-area .v52-stat:nth-child(4){background:#fff8e8}.v54-report-area .v52-stat strong{font-size:23px;margin-top:7px}.v54-tip-card,.v54-prompt-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 20px;align-items:center;padding:17px 18px;border-radius:13px}.v54-tip-card>strong,.v54-prompt-card>strong{font-size:16px}.v54-tip-card>p,.v54-prompt-card>p{grid-column:1;line-height:1.5;margin:2px 0}.v54-tip-card .v53-feedback,.v54-prompt-card .v53-feedback{grid-column:2;grid-row:1/span 2;border-top:0;margin:0;padding:0;justify-content:flex-end}.v54-tip-card .v53-feedback span,.v54-prompt-card .v53-feedback span{width:100%;text-align:center}.v54-prompt-card>button,.v54-prompt-card>a{grid-column:1;justify-self:start}.v54-prompt-card .v53-feedback{grid-row:1/span 4}.v54-market-extra{margin-top:10px}
@media(max-width:1180px){.v54-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v54-chart-grid{grid-template-columns:1fr}.v52-head.v54-marketing-hero{grid-template-columns:130px 1fr;min-height:0}.v54-marketing-hero-logo{width:125px}.v54-marketing-hero-logo img{width:115px}.v54-marketing-hero .v52-main{grid-column:2;justify-self:start}.v54-settings-outer form{grid-template-columns:1fr 1fr}.v54-settings-outer .v531-save{grid-column:1/-1;min-height:46px}}
@media(max-width:730px){.v54-analytics,.v52-marketing{padding:10px!important}.v54-analytics-hero{display:block;padding:21px}.v54-period{margin-top:16px}.v54-kpi-grid{grid-template-columns:1fr 1fr;gap:8px}.v54-kpi{padding:12px;gap:7px}.v54-kpi-icon{width:34px;height:34px;font-size:18px}.v54-kpi strong{font-size:16px}.v54-bottom{display:block}.v54-cost-note{margin-top:14px}.v52-head.v54-marketing-hero{display:block!important;padding:18px}.v54-marketing-hero-logo{display:none}.v54-marketing-hero .v52-main{margin-top:12px;white-space:normal}.v54-settings-outer form{display:block}.v54-settings-outer form>details,.v54-settings-outer form>button{margin-bottom:10px!important;width:100%}.v54-report-area .v52-metrics{grid-template-columns:1fr 1fr}.v54-tip-card,.v54-prompt-card{display:block}.v54-tip-card .v53-feedback,.v54-prompt-card .v53-feedback{justify-content:flex-start;margin-top:12px}}

/* v0.54.1 — identidad consistente y filtros cotidianos */
.v50-brand{justify-content:center;min-height:64px;gap:0!important}
.v541-sidebar-mascot{display:block;max-height:52px;max-width:52px;width:52px;height:52px;object-fit:cover;border-radius:16px}
.v541-sidebar-title{display:inline-block!important;opacity:1!important;font-size:17px!important;font-weight:800!important;color:#fff!important;white-space:nowrap!important;overflow:hidden;max-width:180px;transition:max-width .18s,opacity .18s}
.v50-sidebar:not(:hover):not(:focus-within) .v541-sidebar-title{max-width:0!important;opacity:0!important;width:0!important}
@media(max-width:800px){.v50-sidebar .v541-sidebar-title{max-width:180px!important;opacity:1!important;width:auto!important}}
.v52-head.v54-marketing-hero{grid-template-columns:240px minmax(250px,1fr) auto;padding-left:0;min-height:200px}
.v54-marketing-hero-logo{width:230px;height:190px;background:transparent;box-shadow:none;overflow:hidden;border-radius:0}
.v54-marketing-hero-logo img{width:225px;height:182px;max-width:none;object-fit:cover;object-position:center;border-radius:0;mask-image:linear-gradient(to right,black 85%,transparent 100%)}
.v541-period-controls{display:flex;flex-direction:column;gap:8px;align-items:flex-end;z-index:2;position:relative}
.v541-custom-dates{display:flex;gap:8px;align-items:flex-end;background:#fff;color:#183351;border-radius:12px;padding:10px;flex-wrap:wrap}
.v541-custom-dates[hidden]{display:none!important}
.v541-custom-dates label{display:flex;flex-direction:column;gap:3px;font-size:11px;font-weight:700}
.v541-custom-dates input{border:1px solid #cbdee5;border-radius:8px;padding:7px;max-width:148px}
.v541-custom-dates button{border:0;border-radius:8px;background:#087f5b;color:#fff;padding:9px 12px;cursor:pointer}
.v541-app-credit{display:flex;align-items:center;justify-content:center;gap:6px;padding:11px 6px;color:#7e8892;font-size:11px}
.v541-app-credit img,.v541-footer-credit img{width:48px;height:18px;max-width:48px;object-fit:contain;vertical-align:middle}
.v541-footer-credit{text-align:center;padding:10px 0;color:#7d8690;font-size:11px}
@media(max-width:1180px){.v52-head.v54-marketing-hero{grid-template-columns:155px minmax(0,1fr)}.v54-marketing-hero-logo{width:150px;height:160px}.v54-marketing-hero-logo img{width:150px;height:160px}}
@media(max-width:730px){.v54-marketing-hero-logo{display:block!important;width:120px;height:100px;margin-bottom:8px}.v54-marketing-hero-logo img{width:120px;height:100px}.v541-period-controls{align-items:stretch}.v541-custom-dates{justify-content:start}}

/* v0.54.2: corregir imagen cortada en el hero de Marketing */
.v52-head.v54-marketing-hero{grid-template-columns:260px minmax(240px,1fr) auto;gap:15px;padding-left:14px}
.v54-marketing-hero-logo{width:250px;height:175px;overflow:visible;display:flex;align-items:center;justify-content:center;background:transparent!important;box-shadow:none!important}
.v54-marketing-hero-logo img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;border-radius:16px;mask-image:none!important;-webkit-mask-image:none!important}
@media(max-width:1180px){.v52-head.v54-marketing-hero{grid-template-columns:170px minmax(0,1fr)}.v54-marketing-hero-logo{width:165px;height:135px}}
@media(max-width:730px){.v52-head.v54-marketing-hero{display:block!important;padding:16px!important}.v54-marketing-hero-logo{display:flex!important;width:170px;height:100px;overflow:visible;margin:0 auto 8px}.v54-marketing-hero-logo img{width:100%;height:100%;object-fit:contain}}

/* v0.56.1: espacio visual entre isotipo oficial y nombre expandido. */
.v50-sidebar:hover .v50-brand,.v50-sidebar:focus-within .v50-brand{gap:15px!important;justify-content:flex-start!important;padding-left:13px!important}
.v50-sidebar:not(:hover):not(:focus-within) .v50-brand{gap:0!important;justify-content:center!important}
.v50-sidebar .v541-sidebar-mascot{flex-shrink:0}
@media(max-width:800px){.v50-sidebar .v50-brand{gap:13px!important;justify-content:flex-start!important}}
