/* Cabecera y recorrido de la fábrica */
.home-page .home-app-fallback {
    margin: 12px 0;
    color: #dcebf2;
}
.home-page .home-app-fallback a,
.portada .home-factory-more {
    color: #b5eef3;
    text-decoration: underline;
    text-underline-offset: .24em;
}
.portada .factory-view {
    flex-direction: column;
    gap: 12px;
}
.portada .home-factory-more {
    align-self: end;
    font-size: .9rem;
}
@media (max-width: 760px) {
    /* Deja libres el dispositivo y sus controles mientras se explora la demostración. */
    .home-page.home-apps-in-view .jd-launcher {
        position: fixed;
        top: calc((var(--header-height) - 38px) / 2);
        right: 72px;
        bottom: auto;
        z-index: 1001;
        height: 38px;
        padding: 4px 9px;
        gap: 4px;
    }
}
@media (max-width: 400px) {
    .home-page.home-apps-in-view .jd-launcher > span:first-child {
        display: none;
    }
    .home-page.home-apps-in-view .jd-launcher__symbol {
        padding: 0 2px;
        font-size: 0;
    }
    .home-page.home-apps-in-view .jd-launcher__symbol::before {
        content: "IA";
        font: 700 13px/1 system-ui, sans-serif;
    }
}
.portada {
    padding: clamp(45px, 5vw, 76px) 0;
    background: radial-gradient(ellipse at 78% 49%, #103553 0, #091f34 42%, #071a2f 73%);
}
.portada::before {
    opacity: .27;
    mask-image: linear-gradient(96deg, transparent 0%, #000 58%, #000);
}
:where(.portada) .portada-grid {
    display: grid;
    grid-template-columns: .93fr 1.07fr;
    gap: clamp(24px,4vw,62px);
    align-items: center;
}
:where(.portada) .portada-copy {
    min-width: 0;
}
:where(.portada) .portada-copy::before {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    margin: 0 0 24px;
    background: var(--orange);
}
:where(.portada) .portada-copy h1 {
    color: #f8fcff;
    font-size: clamp(47px,4.55vw,68px);
    font-weight: 750;
    line-height: .99;
    letter-spacing: -.055em;
    text-wrap: initial;
    margin: 0 0 27px;
}
:where(.portada) .portada-copy h1 span {
    color: #99e7f3;
}
:where(.portada) .portada-copy .junto {
    white-space: nowrap;
}
:where(.portada) .portada-copy p {
    font-size: clamp(16px,1.38vw,20px);
    line-height: 1.55;
    color: #c1d5e3;
    max-width: 49ch;
    margin: 0 0 30px;
}
.portada .button-primary {
    background: #ff964d;
    color: var(--navy);
}
.portada .button-primary:hover {
    background: #ffb078;
}
.portada .button {
    border-radius: 10px;
    min-height: 48px;
    padding: 12px 17px;
    font-size: .97rem;
}
.portada .button-ghost {
    border: 1px solid #7992a6;
}
.portada .button-primary span {
    font-size: 1.15em;
    line-height: 1;
}
.portada .factory-lab__stage {
    display: flex;
    flex-direction: column;
    background: radial-gradient(ellipse at 55% 58%, #103955, #061827 70%);
    transform: none;
    box-shadow: 0 18px 50px rgba(0,10,21,.21);
    border-color: #365569;
    border-radius: 19px;
}
:where(.portada) .scene-heading {
    order: -1;
    position: relative;
    z-index: 4;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 21px;
    padding: 17px 0 13px;
    border-bottom: 1px solid rgba(146,194,220,.2);
    color: #e9f3fa;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.25;
}
:where(.portada) .scene-heading span:last-child {
    color: #abc6d8;
    font: .66rem/1.25 var(--font-data);
    text-transform: uppercase;
    letter-spacing: .1em;
}
.portada canvas {
    height: auto;
    aspect-ratio: 1.85;
}
.portada .factory-lab__fallback {
    inset: 49px 0 106px;
}
:where(.portada) .scene-steps {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: start;
    margin: 0 20px;
    padding: 12px 0 0;
    border-top: 1px solid #264153;
    list-style: none;
}
:where(.portada) .scene-steps li {
    position: relative;
    flex: 1;
    color: #b8cbd7;
    text-align: left;
    font-size: clamp(.68rem,.9vw,.81rem);
    line-height: 1.3;
    font-weight: 550;
}
:where(.portada) .scene-steps li::before {
    display: block;
    content: "";
    height: 3px;
    margin: -14px 3px 8px 0;
    background: transparent;
}
:where(.portada) .scene-steps li.done::before {
    background: #4d8999;
}
:where(.portada) .scene-steps li.current {
    color: #f3faff;
}
:where(.portada) .scene-steps li.current::before {
    background: #73def4;
}
:where(.portada) .scene-steps li:nth-child(2).current::before {
    background: #ff9a4a;
}
:where(.portada) .scene-steps li:nth-child(3).current::before {
    background: #69e3b4;
}
.portada .factory-motion-toggle {
    position: relative;
    align-self: end;
    right: auto;
    bottom: auto;
    min-height: 36px;
    margin: 10px 15px 8px;
    border-color: transparent;
    background: transparent;
    color: #c2d8e5;
    font-size: .72rem;
}
.portada .factory-motion-toggle[hidden] {
    display: none;
}
.portada .factory-motion-toggle:hover {
    color: white;
    background: #163447;
}
.portada .factory-motion-toggle__icon {
    transform: scale(.8);
}
.portada [data-complete] .factory-motion-toggle__icon {
    width: auto;
    height: auto;
    border: 0;
    transform: none;
    font-size: 1.15rem;
    line-height: 1;
}
.portada [data-complete] .factory-motion-toggle__icon::before {
    content: "↻";
}
.portada .factory-lab__stage::after {
    opacity: .07;
}
:where(.home-page) .corporate-projects {
    padding-top: clamp(36px,4.4vw,66px);
}
@media (min-width: 1021px) {
    :where(.home-page) .site-nav {
        gap: 13px;
    }
    :where(.home-page) .site-nav ul a {
        white-space: nowrap;
        padding-inline: 8px;
    }
    :where(.home-page) .site-nav .nav-cta {
        white-space: nowrap;
    }
}
@media (min-width: 1021px) and (max-width: 1180px) {
    :where(.home-page) .site-nav {
        gap: 9px;
    }
    :where(.home-page) .site-nav ul a {
        padding-inline: 6px;
    }
    :where(.home-page) .brand img {
        width: 150px;
    }
}
@media (max-width: 820px) {
    .portada {
        padding: 40px 0;
    }
    :where(.portada) .portada-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 650px;
    }
    :where(.portada) .portada-copy::before {
        margin-bottom: 17px;
    }
    :where(.portada) .portada-copy h1 {
        max-width: 17ch;
        margin-bottom: 16px;
        font-size: clamp(39px,7.2vw,61px);
        line-height: 1.02;
    }
    :where(.portada) .portada-copy p {
        max-width: 57ch;
        margin-bottom: 21px;
    }
    .portada .factory-lab__stage {
        margin-inline: 0;
    }
}
@media (max-width: 500px) {
    .portada {
        padding: 28px 0 32px;
    }
    :where(.portada) .portada-grid {
        gap: 23px;
    }
    :where(.portada) .portada-copy h1 {
        letter-spacing: -.05em;
    }
    .portada .button-row {
        gap: 8px;
    }
    .portada .button {
        font-size: .86rem;
        min-height: 44px;
        padding: 11px 12px;
    }
    :where(.portada) .scene-heading {
        margin-inline: 14px;
        font-size: .9rem;
        padding: 12px 0;
    }
    :where(.portada) .scene-steps {
        margin-inline: 14px;
    }
    .portada .factory-motion-toggle {
        margin-top: 4px;
        margin-bottom: 4px;
    }
}
@media (min-width: 355px) and (max-width: 500px) {
    .portada .button-row .button {
        width: auto;
        flex: 0 0 auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    .portada .factory-motion-toggle {
        display: none;
    }
    .portada .scene-steps {
        margin-bottom: 15px;
    }
    html:has(> body.home-page) {
        scroll-behavior: auto;
    }
}
@media print {
    .portada .factory-lab__stage {
        display: none;
    }
    .portada h1,
    .portada h1 span,
    .portada p {
        color: black;
    }
}

/* Pantalla de inicio y navegación del teléfono */
.portada {
    padding: clamp(26px,3.3vw,55px) 0 clamp(32px,4vw,60px);
    background: radial-gradient(ellipse at 76% 42%,#153751 0,#0b2237 36%,#081b2e 72%);
}
:where(.portada) .portada-grid {
    grid-template-columns: .97fr 1.03fr;
    gap: clamp(20px,3vw,52px);
}
@media (min-width:821px) {
    :where(.portada) .portada-copy h1 {
        font-size: clamp(47px,4.15vw,62px);
        max-width: none;
    }
}
:where(.portada) .preview-show {
    min-width: 0;
    position: relative;
    isolation: isolate;
}
:where(.portada) .preview-show [hidden] {
    display: none !important;
}
:where(.portada) .show-switch {
    display: flex;
    position: relative;
    z-index: 2;
    justify-self: center;
    width: max-content;
    margin: 0 auto 19px;
    padding: 3px;
    background: #071b2a;
    border: 1px solid #435d6d;
    border-radius: 30px;
}
:where(.portada) .show-switch button,
:where(.portada) .show-tools button,
:where(.portada) .app-rail button,
:where(.portada) .native-grid button,
:where(.portada) .device-close {
    appearance: none;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    font: inherit;
}
:where(.portada) .show-switch button {
    border: 0;
    border-radius: 30px;
    background: transparent;
    color: #d6e2e9;
    padding: 8px 17px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
}
:where(.portada) .show-switch button[aria-pressed=true] {
    background: #d3f3f3;
    color: #0c2936;
    box-shadow: 0 1px 3px #0006;
}
:where(.portada) .app-scene {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto minmax(140px,175px);
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: center;
    column-gap: clamp(19px,2vw,38px);
    row-gap: 23px;
    padding: 9px 0 0;
}
:where(.portada) .stage-light {
    position: absolute;
    z-index: -1;
    inset: -9px -3% 0;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(ellipse 54% 50% at 43% 66%,#7ab9c43d,transparent 99%);
    mask-image: linear-gradient(0deg,transparent,#000 8%,#000 95%,transparent);
}
:where(.portada) .stage-light:before,
:where(.portada) .stage-light:after {
    content: "";
    position: absolute;
    border: 1px solid #a1eef019;
    border-radius: 50%;
    width: 80%;
    height: 13%;
    bottom: 7.4%;
    left: 0%;
    transform: rotate(-5deg);
}
:where(.portada) .stage-light:after {
    width: 70%;
    left: 5%;
    height: 9%;
    bottom: 9.1%;
    border-color: #a1eef022;
}
:where(.portada) .device {
    width: 258px;
    height: 433px;
    position: relative;
    border-radius: 34px;
    padding: 5px;
    box-shadow: 1px 1px 0 #050e17,1px 2px 2px #0008,4px 8px 12px #06101a88,11px 18px 30px #020e1a90;
    background: linear-gradient(115deg,#c5d3d4 0%,#5e717d 9%,#15222f 36%,#405661 67%,#a2b6be 91%,#34414f 100%);
    border: 1px solid #748691;
}
:where(.portada) .device:before,
:where(.portada) .device:after {
    content: "";
    position: absolute;
    width: 2px;
    background: linear-gradient(#7c8c94,#364552);
    border-radius: 1px;
}
:where(.portada) .device:before {
    left: -3px;
    top: 91px;
    height: 38px;
}
:where(.portada) .device:after {
    right: -3px;
    top: 110px;
    height: 44px;
}
:where(.portada) .device-glass {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    background: #091c29;
    border: 2px solid #070b0e;
}
:where(.portada) .device[data-phase="app"] .device-glass::after {
    content: "";
    pointer-events: none;
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(to bottom,#0e1b24 25px,transparent 25px,transparent calc(100% - 16px),#0e1b24 calc(100% - 16px));
}
:where(.portada) .phone-status {
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 15px 0;
    color: #f4f9fb;
    font: 650 10px/1 system-ui,sans-serif;
    pointer-events: none;
}
:where(.portada) .phone-status i {
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 8px;
    border-radius: 8px;
    background: #070c10;
}
:where(.portada) .phone-signal {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 7px;
}
:where(.portada) .phone-status b {
    display: inline-block;
    width: 13px;
    height: 6px;
    border: 1px solid currentColor;
    border-radius: 2px;
    background: linear-gradient(to right,currentColor 76%,transparent 76%);
}
:where(.portada) .device-home {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 53px 15px 47px;
    overflow: hidden;
    background: radial-gradient(ellipse at 2% -2%,#598a94 0%,transparent 39%),radial-gradient(ellipse 150% 62% at 85% 100%,#ffaa68 0%,#ba704a 15%,#375e72 35%,#193c54 46%,transparent 47%),linear-gradient(154deg,#1d4052,#071929 57%,#112e46);
}
:where(.portada) .device-home::before {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 7% -66% -12% -30%;
    border-radius: 50%;
    border: 1px solid #a4dfe03f;
    transform: rotate(-27deg);
}
:where(.portada) .home-word,
:where(.portada) .native-grid {
    position: relative;
}
:where(.portada) .home-word small {
    display: block;
    font-size: 9px;
    font-weight: 650;
    color: #abd7df;
    letter-spacing: .15em;
    line-height: 1.3;
}
:where(.portada) .home-word strong {
    display: block;
    margin-top: 6px;
    font: 650 38px/.99 var(--font-body,system-ui);
    color: white;
    letter-spacing: -.065em;
}
:where(.portada) .native-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 19px 4px;
    align-items: start;
}
:where(.portada) .native-grid button {
    display: grid;
    gap: 5px;
    justify-items: center;
    background: none;
    border: 0;
    padding: 0;
    color: white;
    font-size: 11px;
    line-height: 1.22;
    font-weight: 600;
    text-shadow: 0 1px 3px #000;
}
:where(.portada) .native-grid img {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    box-shadow: 0 2px 5px #0005;
}
:where(.portada) .native-grid button:hover img,
:where(.portada) .native-grid button:focus-visible img {
    outline: 2px solid white;
    outline-offset: 3px;
}
:where(.portada) .device-app {
    position: absolute;
    z-index: 2;
    inset: 25px 0 16px;
    background: #f4f3ed;
    color: #142d35;
    opacity: 0;
    pointer-events: none;
    transform: translate(var(--ox,0px),var(--oy,0px)) scale(.12);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .43s cubic-bezier(.23,.83,.24,1),opacity .29s ease,border-radius .4s;
}
:where(.portada) .device[data-phase="app"] .device-app {
    transform: translate(0,0) scale(1);
    border-radius: 0;
    opacity: 1;
    pointer-events: auto;
}
:where(.portada) .device[data-phase="closing"] .device-app {
    transition-duration: .38s;
}
:where(.portada) .device-close {
    display: none;
    position: absolute;
    top: 26px;
    right: 4px;
    z-index: 3;
    background: #e9edef;
    border: 1px solid #98a9ae;
    border-radius: 50%;
    color: #233b44;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    font: 600 16px/1 system-ui;
}
:where(.portada) .device[data-phase="app"] .device-close {
    display: flex;
}
:where(.portada) .device-handle {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    border-radius: 3px;
    background: #d4dee1;
    z-index: 4;
}
:where(.portada) .app-rail {
    display: grid;
    gap: 3px;
    align-self: center;
}
:where(.portada) .app-rail button {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 7px 10px;
    text-align: left;
    color: #ddeaf0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    min-width: 0;
}
:where(.portada) .app-rail img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex: none;
}
:where(.portada) .app-rail strong,
:where(.portada) .app-rail small {
    display: block;
}
:where(.portada) .app-rail strong {
    color: inherit;
    font-size: 15px;
    line-height: 1.24;
    font-weight: 680;
}
:where(.portada) .app-rail small {
    font-size: 11.5px;
    line-height: 1.4;
    color: #b6ced9;
}
:where(.portada) .app-rail button:hover,
:where(.portada) .app-rail button:focus-visible {
    background: #1a3b4d;
}
:where(.portada) .app-rail button[aria-pressed=true] {
    background: #224454;
    border-color: #517485;
    color: white;
}
:where(.portada) .show-tools {
    position: relative;
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding-top: 11px;
    border-top: 1px solid #49627196;
}
:where(.portada) .time-label {
    font-size: 12px;
    color: #d2e4ec;
    line-height: 1.3;
}
:where(.portada) .time-label span {
    color: #b1c8d5;
}
:where(.portada) .play-tools {
    display: flex;
    gap: 5px;
}
:where(.portada) .show-tools button {
    border: 1px solid #4d6878;
    border-radius: 7px;
    background: #10293b;
    color: #e8f3f5;
    line-height: 1.3;
    padding: 6px 8px;
    font-size: 12px;
}
:where(.portada) .show-tools button:hover {
    background: #224752;
}
:where(.portada) .factory-view {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 492px;
}
:where(.portada) .factory-view .factory-lab__stage {
    width: 100%;
}
@media (max-width:1130px) and (min-width:821px) {
    :where(.portada) .portada-grid {
        grid-template-columns: .85fr 1.15fr;
        gap: 20px;
    }
    :where(.portada) .app-scene {
        column-gap: 13px;
        grid-template-columns: auto minmax(115px,145px);
    }
    :where(.portada) .app-rail button {
        padding-inline: 4px;
        gap: 6px;
    }
}
@media (max-width:970px) and (min-width:821px) {
    :where(.portada) .app-scene {
        grid-template-columns: auto 45px;
    }
    :where(.portada) .app-rail button {
        padding: 5px;
    }
    :where(.portada) .app-rail button span {
        display: none;
    }
}
@media (max-width:820px) {
    :where(.portada) .portada-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .portada {
        padding: 29px 0 34px;
    }
    :where(.portada) .show-switch {
        margin-bottom: 12px;
    }
}
@media (max-width:510px) {
    :where(.portada) .app-scene {
        grid-template-columns: minmax(0,1fr) 43px;
        column-gap: 9px;
        row-gap: 17px;
        max-width: 360px;
        margin: auto;
    }
    :where(.portada) .device {
        justify-self: center;
        width: 245px;
        height: 410px;
    }
    :where(.portada) .app-rail {
        padding-right: 3px;
        gap: 5px;
    }
    :where(.portada) .app-rail button {
        width: 40px;
        height: 40px;
        justify-content: center;
        padding: 3px;
    }
    :where(.portada) .app-rail button span {
        display: none;
    }
    :where(.portada) .app-rail img {
        width: 29px;
        height: 29px;
    }
    :where(.portada) .show-switch button {
        padding: 7px 12px;
    }
    :where(.portada) .show-tools {
        flex-wrap: wrap;
    }
    :where(.portada) .time-label,
    :where(.portada) .show-tools button {
        font-size: 11px;
    }
    :where(.portada) .factory-view {
        min-height: 365px;
    }
    :where(.portada) .portada-copy h1 {
        max-width: 19ch;
    }
    :where(.portada) .device-home {
        padding: 48px 13px 40px;
    }
}
@media (max-width:355px) {
    :where(.portada) .device {
        width: 224px;
        height: 397px;
    }
    :where(.portada) .app-scene {
        column-gap: 5px;
        grid-template-columns: minmax(0,1fr) 37px;
    }
    :where(.portada) .app-rail button {
        width: 35px;
    }
    :where(.portada) .show-tools {
        justify-content: center;
    }
    :where(.portada) .time-label span {
        display: none;
    }
}
@media (prefers-reduced-motion:reduce) {
    :where(.portada) .device-app,
    :where(.portada) .preview-show * {
        transition: none !important;
        animation: none !important;
    }
}

/* Previsualizaciones de gestión y almacén */
:where(.portada) .device-app .demo-pane {
    --app-ink: #25201f;
    --app-tone: #604a41;
    --app-pale: #f0e7df;
    --app-rule: #d8cec4;
    display: none;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    color: var(--app-ink);
    background: #fbf8f3;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 450;
    line-height: 1.25;
    text-align: left;
    overflow: hidden;
}
:where(.portada) .device-app .demo-pane *,
:where(.portada) .device-app .demo-pane *::before {
    box-sizing: border-box;
}
:where(.portada) .device-app[data-device-product="erp"] .demo-erp,
:where(.portada) .device-app[data-device-product="pos"] .demo-pos,
:where(.portada) .device-app[data-device-product="wms"] .demo-wms {
    display: block;
}
:where(.portada) .device-app .demo-pos {
    --app-tone: #942d30;
    --app-pale: #f7e6e3;
    --app-rule: #dfceca;
    background: #fff9f5;
}
:where(.portada) .device-app .demo-wms {
    --app-tone: #9c430f;
    --app-pale: #f8e8d6;
    --app-rule: #e3d2bb;
    background: #fcf8f0;
}
:where(.portada) .demo-pane .demo-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    min-height: 36px;
    margin: 0;
    padding: 7px 14px;
    border-bottom: 1px solid var(--app-rule);
    color: var(--app-tone);
    background: var(--app-pale);
    font-size: 15px;
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -.04em;
}
:where(.portada) .demo-pane .demo-section-name {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .01em;
}
:where(.portada) .demo-pane .demo-content {
    padding: 12px 13px 8px;
}
:where(.portada) .demo-pane .demo-page-title {
    margin: 0 0 11px;
    font-size: 25px;
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: -.055em;
}
:where(.portada) .demo-pane .demo-slip,
:where(.portada) .demo-pane .demo-cart {
    padding: 11px 12px 10px;
    border: 1px solid var(--app-rule);
    border-radius: 11px;
    background: #fffdf9;
    box-shadow: 0 2px 2px #3b272205;
}
:where(.portada) .demo-pane .demo-slip-line,
:where(.portada) .demo-pane .demo-detail,
:where(.portada) .demo-pane .demo-summary,
:where(.portada) .demo-pane .demo-total,
:where(.portada) .demo-pane .demo-action,
:where(.portada) .demo-pane .demo-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
:where(.portada) .demo-pane .demo-ref {
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    font-weight: 740;
    letter-spacing: .06em;
}
:where(.portada) .demo-pane .demo-status {
    padding: 3px 7px;
    border-radius: 20px;
    background: var(--app-pale);
    color: var(--app-tone);
    font-size: 10px;
    font-weight: 700;
}
:where(.portada) .device-app[data-step="3"] .demo-pane .demo-status {
    background: #e0f0e4;
    color: #245b42;
}
:where(.portada) .demo-pane .demo-caption {
    display: block;
    margin: 12px 0 3px;
    color: #635c53;
    font-size: 11px;
}
:where(.portada) .demo-pane .demo-amount {
    display: block;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.065em;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}
:where(.portada) .demo-pane .demo-amount small {
    font-size: .70em;
    font-weight: 500;
}
:where(.portada) .demo-pane .demo-rule {
    height: 1px;
    margin: 10px 0 7px;
    background: var(--app-rule);
}
:where(.portada) .demo-pane .demo-detail {
    color: #615952;
    font-size: 11px;
}
:where(.portada) .demo-pane .demo-detail b,
:where(.portada) .demo-pane .demo-summary b {
    font-weight: 650;
    color: var(--app-ink);
}
:where(.portada) .demo-pane .demo-summary {
    min-height: 34px;
    padding: 6px 1px;
    color: #625a52;
    font-size: 11px;
}
:where(.portada) .demo-pane .demo-summary b {
    overflow-wrap: anywhere;
}
:where(.portada) .demo-pane .demo-action,
:where(.portada) .demo-pane .demo-success {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #fff;
    background: var(--app-tone);
    font-size: 12px;
    font-weight: 650;
}
:where(.portada) .demo-pane .demo-action i,
:where(.portada) .demo-pane .demo-locations i {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}
:where(.portada) .demo-pane .demo-success {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #e2f1e7;
    color: #235a3e;
}
:where(.portada) .demo-pane .demo-success i {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: #39754f;
    font-style: normal;
    font-size: 12px;
}
:where(.portada) .demo-pane .demo-press {
    box-shadow: inset 0 0 0 2px #ffffff40;
}
:where(.portada) .demo-pane .demo-menu-item {
    justify-content: start;
    gap: 10px;
    margin: 0 0 9px;
}
:where(.portada) .demo-pane .demo-product-icon {
    display: grid;
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    place-items: center;
    color: var(--app-tone);
    background: var(--app-pale);
    border-radius: 11px;
}
:where(.portada) .demo-pane .demo-menu-name {
    display: grid;
    gap: 3px;
}
:where(.portada) .demo-pane .demo-menu-name b {
    font-size: 14px;
    font-weight: 680;
}
:where(.portada) .demo-pane .demo-menu-name > span {
    font-size: 10.5px;
    color: #605851;
}
:where(.portada) .demo-pane .demo-cart {
    margin-bottom: 10px;
}
:where(.portada) .demo-pane .demo-total {
    font-size: 13px;
    font-weight: 650;
}
:where(.portada) .demo-pane .demo-total b {
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -.05em;
}
:where(.portada) .demo-pane .demo-detail .demo-value,
:where(.portada) .demo-pane .demo-summary .demo-value {
    color: var(--app-tone);
}
:where(.portada) .demo-pane .demo-locations {
    display: grid;
    grid-template-columns: 1fr 16px 1fr;
    gap: 6px;
    padding: 8px 11px;
    align-items: center;
    border: 1px solid var(--app-rule);
    background: #fffdf9;
    border-radius: 9px;
}
:where(.portada) .demo-pane .demo-locations div {
    display: grid;
    gap: 3px;
}
:where(.portada) .demo-pane .demo-locations div > span {
    font-size: 10px;
    color: #625950;
}
:where(.portada) .demo-pane .demo-locations b {
    color: var(--app-tone);
    font-size: 18px;
    line-height: 1;
    letter-spacing: -.04em;
}
:where(.portada) .demo-pane .demo-locations i {
    color: #9c735c;
}
:where(.portada) .demo-pane .demo-stage,
:where(.portada) .demo-pane .demo-final,
:where(.portada) .demo-pane .demo-post-first,
:where(.portada) .demo-pane .demo-locations .demo-stage-1 {
    display: none;
}
:where(.portada) .device-app[data-step="1"] .demo-pane .demo-stage-1,
:where(.portada) .device-app[data-step="2"] .demo-pane .demo-stage-2,
:where(.portada) .device-app[data-step="3"] .demo-pane .demo-stage-3 {
    display: block;
}
:where(.portada) .device-app[data-step="2"] .demo-pane .demo-post-first,
:where(.portada) .device-app[data-step="3"] .demo-pane .demo-post-first,
:where(.portada) .device-app[data-step="3"] .demo-pane .demo-final {
    display: inline;
}
:where(.portada) .device-app[data-step="3"] .demo-pane .demo-pre-final {
    display: none;
}
:where(.portada) .demo-erp .demo-stage-3 {
    padding-top: 12px;
}

/* Previsualizaciones de sala, cocina y ventas */
:where(.portada) .device-app[data-device-product=order] .demo-order,
:where(.portada) .device-app[data-device-product=kds] .demo-kds,
:where(.portada) .device-app[data-device-product=board] .demo-board {
    display: block;
}
:where(.portada) .device-app .demo-order {
    --app-tone: #77600e;
    --app-pale: #f5edcb;
    --app-rule: #dcd2ae;
}
:where(.portada) .device-app .demo-board {
    --app-tone: #196b52;
    --app-pale: #dceee3;
    --app-rule: #c5d9cc;
}
:where(.portada) .device-app .demo-kds {
    --app-tone: #8c255d;
    --app-pale: #f6e4ed;
    --app-rule: #deccd5;
}
:where(.portada) .device-app .demo-head {
    padding-right: 35px;
}
:where(.portada) .device-app .demo-content {
    padding-top: 18px;
}
:where(.portada) .area-tabs {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 2px 0 9px;
    font-size: 11px;
    color: #6c665c;
}
:where(.portada) .area-tabs b {
    color: var(--app-tone);
    border-bottom: 2px solid currentColor;
}
:where(.portada) .table-map {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    padding: 11px 10px;
    gap: 10px 7px;
    background: #eee6da;
    border-radius: 8px;
}
:where(.portada) .table-map i {
    display: grid;
    place-items: center;
    border: 2px solid #a2977f;
    border-radius: 5px;
    background: #fffdf8;
    color: #554e40;
    height: 27px;
    font: 600 12px/1 system-ui;
}
:where(.portada) .table-map i:last-child {
    border-color: #8a4c2d;
    box-shadow: 0 0 0 2px #ac745b44;
    background: #f4d7bf;
}
:where(.portada) .kds-ticket {
    background: white;
    border: 1px solid var(--app-rule);
    border-top: 3px solid var(--app-tone);
    border-radius: 9px;
    padding: 11px;
}
:where(.portada) .kds-ticket div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed var(--app-rule);
    padding-bottom: 6px;
    margin-bottom: 8px;
}
:where(.portada) .kds-ticket div span {
    font-size: 10px;
    color: #416173;
    letter-spacing: .1em;
}
:where(.portada) .kds-ticket b {
    color: #274c63;
    font-size: 21px;
    line-height: 1;
}
:where(.portada) .kds-ticket strong,
:where(.portada) .kds-ticket small {
    display: block;
}
:where(.portada) .kds-ticket strong {
    font-size: 15px;
}
:where(.portada) .kds-ticket small {
    margin-top: 2px;
    font-size: 11px;
}
:where(.portada) .board-amount {
    margin: 8px 0 12px;
    color: #185d49;
}
:where(.portada) .board-bars {
    margin: 12px 0;
    font-size: 11px;
}
:where(.portada) .board-bars div {
    display: grid;
    grid-template-columns: 10px 1fr 38px;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}
:where(.portada) .board-bars i {
    background: #38a77e;
    height: 9px;
    border-radius: 2px;
}
:where(.portada) .board-bars div+div i {
    width: 60%;
    background: #7897a9;
}
:where(.portada) .board-detail {
    display: grid;
    gap: 3px;
    color: #18543d;
    background: #e3f0e7;
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 8px;
}
:where(.portada) .board-detail span,
:where(.portada) .board-detail small {
    font-size: 11px;
}
:where(.portada) .board-detail strong {
    font-size: 20px;
}
:where(.portada) .device-app button.demo-action {
    appearance: none;
    border: 0;
    width: 100%;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}
:where(.portada) .device-app button.demo-action:hover {
    filter: brightness(1.1);
}
:where(.portada) .device[data-phase=app] .demo-press::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    right: 18px;
    bottom: 7px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 5px #ffffff45;
    pointer-events: none;
    animation: indroid-home-phone-touch 1.5s ease-out 1 both;
}
:where(.portada) .demo-press {
    position: relative;
}
@keyframes indroid-home-phone-touch {
    0%,
    34% {
        opacity: 0;
        transform: scale(1.3);
    }
    52% {
        opacity: .95;
        transform: scale(.75);
    }
    92%,
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}
@media (prefers-reduced-motion:reduce) {
    :where(.portada) .device[data-phase=app] .demo-press::after {
        display: none;
    }
}
