/* Shisha WebOS 2.1 — complete live-surface skin.
   Protected by /admin/webos-preview/asset and scoped to the private runtime. */
body.webos-runtime-preview{
  --wosc-card:rgba(16,34,56,.91);
  --wosc-card-soft:rgba(255,255,255,.065);
  --wosc-card-hover:rgba(31,57,84,.94);
  --wosc-line:rgba(174,214,255,.20);
  --wosc-line-strong:rgba(174,214,255,.34);
  --wosc-copy:#f8fbff;
  --wosc-muted:#bdcce0;
  --wosc-focus:#65d8ff;
  --wosc-shadow:0 20px 52px rgba(0,0,0,.30);
  padding:0!important;
}
body.webos-runtime-preview .webos-runtime-shell.webos-runtime-light{
  --wosc-card:rgba(255,255,255,.90);
  --wosc-card-soft:rgba(26,57,91,.055);
  --wosc-card-hover:rgba(245,249,255,.98);
  --wosc-line:rgba(35,73,111,.18);
  --wosc-line-strong:rgba(35,73,111,.31);
  --wosc-copy:#132238;
  --wosc-muted:#53657c;
  --wosc-shadow:0 20px 52px rgba(24,50,78,.16);
}

/* Safe-area-aware WebOS chrome. */
body.webos-runtime-preview .webos-runtime-statusbar{height:calc(50px + env(safe-area-inset-top));padding-block-start:calc(7px + env(safe-area-inset-top));padding-inline-start:max(18px,env(safe-area-inset-left));padding-inline-end:max(18px,env(safe-area-inset-right))}
body.webos-runtime-preview .webos-runtime-stage{inset-block-start:calc(64px + env(safe-area-inset-top));inset-block-end:calc(96px + env(safe-area-inset-bottom));inset-inline-end:max(18px,env(safe-area-inset-right))}
body.webos-runtime-preview .webos-runtime-sidebar{inset-block-start:calc(64px + env(safe-area-inset-top));inset-block-end:calc(96px + env(safe-area-inset-bottom));inset-inline-start:max(18px,env(safe-area-inset-left))}
body.webos-runtime-preview .webos-runtime-dock{inset-block-end:calc(13px + env(safe-area-inset-bottom))}
body.webos-runtime-preview .webos-runtime-control{inset-block-start:calc(64px + env(safe-area-inset-top));inset-inline-end:max(18px,env(safe-area-inset-right))}
body.webos-runtime-preview .webos-runtime-control{max-height:calc(100dvh - 82px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain}

/* Chrome typography and targets stay readable independently of legacy rems. */
body.webos-runtime-preview .webos-runtime-brand{min-height:44px}
body.webos-runtime-preview .webos-runtime-brand em{font-size:14px!important}
body.webos-runtime-preview .webos-runtime-private,
body.webos-runtime-preview .webos-runtime-system{font-size:14px!important}
body.webos-runtime-preview .webos-runtime-sidebar header small,
body.webos-runtime-preview .webos-runtime-sidebar nav a>b,
body.webos-runtime-preview .webos-runtime-sidebar footer b,
body.webos-runtime-preview .webos-runtime-titlebar small,
body.webos-runtime-preview .webos-runtime-control small,
body.webos-runtime-preview .webos-runtime-safety small{font-size:14px!important;line-height:1.4!important}
body.webos-runtime-preview .webos-runtime-menubar>div>span small{font-size:14px!important}
body.webos-runtime-preview .webos-runtime-menubar>div>span strong,
body.webos-runtime-preview .webos-runtime-titlebar strong{font-size:15px!important}
body.webos-runtime-preview .webos-runtime-sidebar>header button,
body.webos-runtime-preview .webos-runtime-menubar button,
body.webos-runtime-preview .webos-runtime-menubar a,
body.webos-runtime-preview .webos-runtime-control header button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
body.webos-runtime-preview .webos-runtime-window-controls button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
body.webos-runtime-preview .webos-runtime-text-size button{min-height:44px!important}
body.webos-runtime-preview .webos-runtime-toggles button b,
body.webos-runtime-preview .webos-runtime-languages a{font-size:14px!important}

/* The legacy navigation is deliberately absent inside the private desktop. */
body.webos-runtime-preview .webos-runtime-window-body>.client-v32-mobile-header,
body.webos-runtime-preview .webos-runtime-window-body>.bottom-nav,
body.webos-runtime-preview .webos-runtime-window-body .v20-sidebar,
body.webos-runtime-preview .webos-runtime-window-body .v39-global-sidebar,
body.webos-runtime-preview .webos-runtime-window-body .v20-drawer-backdrop,
body.webos-runtime-preview .webos-runtime-window-body .v39-drawer-backdrop,
body.webos-runtime-preview .webos-runtime-window-body .appbar,
body.webos-runtime-preview .webos-runtime-window-body .client-mini-header{display:none!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-shop-shell,
body.webos-runtime-preview .webos-runtime-window-body .v24-shop-shell,
body.webos-runtime-preview .webos-runtime-window-body .v39-client-shell{display:block!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-main-content,
body.webos-runtime-preview .webos-runtime-window-body .v39-client-main{width:100%!important;min-width:0!important;margin:0!important;padding:clamp(14px,2.2vw,28px)!important}

/* Shared content baseline: readable type, visible focus, consistent controls. */
body.webos-runtime-preview .webos-runtime-window-body{font-size:calc(16px * var(--wos-font-scale))!important;line-height:1.6!important}
body.webos-runtime-preview .webos-runtime-window-body>.shell,
body.webos-runtime-preview .webos-runtime-window-body>.client-page,
body.webos-runtime-preview .webos-runtime-window-body>.track-page-v35,
body.webos-runtime-preview .webos-runtime-window-body>.temp-courier-page,
body.webos-runtime-preview .webos-runtime-window-body>.pwa-download-page,
body.webos-runtime-preview .webos-runtime-window-body>.auth-wrap{width:min(1380px,100%)!important;max-width:1380px!important;margin-inline:auto!important;padding:clamp(16px,2.4vw,30px)!important;padding-bottom:40px!important}
body.webos-runtime-preview .webos-runtime-window-body h1{color:var(--wosc-copy)!important;font-size:clamp(1.75rem,3.5vw,2.65rem)!important;line-height:1.15!important;letter-spacing:-.025em!important}
body.webos-runtime-preview .webos-runtime-window-body h2{color:var(--wosc-copy)!important;font-size:clamp(1.18rem,2.2vw,1.55rem)!important;line-height:1.3!important}
body.webos-runtime-preview .webos-runtime-window-body h3{color:var(--wosc-copy)!important;font-size:max(1rem,16px)!important;line-height:1.4!important}
body.webos-runtime-preview .webos-runtime-window-body p,
body.webos-runtime-preview .webos-runtime-window-body label,
body.webos-runtime-preview .webos-runtime-window-body td,
body.webos-runtime-preview .webos-runtime-window-body th,
body.webos-runtime-preview .webos-runtime-window-body li{color:var(--wosc-copy);font-size:max(.9rem,14px)!important}
body.webos-runtime-preview .webos-runtime-window-body small,
body.webos-runtime-preview .webos-runtime-window-body .muted,
body.webos-runtime-preview .webos-runtime-window-body .field-label,
body.webos-runtime-preview .webos-runtime-window-body .client-field-label{color:var(--wosc-muted)!important;font-size:max(.875rem,calc(14px * var(--wos-font-scale)))!important}
body.webos-runtime-preview .webos-runtime-window-body a:focus-visible,
body.webos-runtime-preview .webos-runtime-window-body button:focus-visible,
body.webos-runtime-preview .webos-runtime-window-body input:focus-visible,
body.webos-runtime-preview .webos-runtime-window-body select:focus-visible,
body.webos-runtime-preview .webos-runtime-window-body textarea:focus-visible{outline:3px solid rgba(101,216,255,.28)!important;outline-offset:2px!important;border-color:var(--wosc-focus)!important}
body.webos-runtime-preview .webos-runtime-window-body input,
body.webos-runtime-preview .webos-runtime-window-body select,
body.webos-runtime-preview .webos-runtime-window-body textarea,
body.webos-runtime-preview .webos-runtime-window-body .input,
body.webos-runtime-preview .webos-runtime-window-body .client-input{width:100%;min-height:46px!important;padding:10px 13px!important;border:1px solid var(--wosc-line)!important;border-radius:14px!important;background:rgba(255,255,255,.07)!important;color:var(--wosc-copy)!important;font-size:16px!important;box-shadow:none!important}
body.webos-runtime-preview .webos-runtime-window-body textarea{min-height:110px!important;resize:vertical}
body.webos-runtime-preview .webos-runtime-window-body input::placeholder,
body.webos-runtime-preview .webos-runtime-window-body textarea::placeholder{color:#a9bbd2!important;opacity:1!important}
body.webos-runtime-preview .webos-runtime-window-body input[type="checkbox"],
body.webos-runtime-preview .webos-runtime-window-body input[type="radio"]{width:20px!important;min-height:20px!important;height:20px!important;padding:0!important;accent-color:var(--wos-accent)}

body.webos-runtime-preview .webos-runtime-window-body :where(.glass,.glass-card,.client-card,.v20-product-card,.v20-ad-card,.v20-empty-card,.temp-card,.track-card,.v43-order-card,.address-card,.review-card,.payment-option,.phase162-payment-card,.phase162-address-card,.checkout-address-card-v159,.cart-fulfillment-box,.checkout-fulfillment-v159,.wallet-transaction,.phase163-notifications-panel,.phase163-notification-item){border:1px solid var(--wosc-line)!important;background:var(--wosc-card)!important;color:var(--wosc-copy)!important;box-shadow:var(--wosc-shadow)!important;backdrop-filter:blur(20px)!important}
body.webos-runtime-preview .webos-runtime-window-body :where(.client-cart-row,.phase162-cart-item,.reward-row,.timeline-row,.track-step,.track-order-item,.temp-item,.temp-kv,.summary-line,.summary-total,.driver-order-meta>div){border-color:var(--wosc-line)!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview .webos-runtime-window-body :where(.btn,button.btn,.v20-add,.phase159-continue-btn,.checkout-submit-final__button){min-height:44px!important;padding:10px 16px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:14px!important;background:linear-gradient(135deg,var(--wos-accent),var(--wos-accent-2))!important;color:#06101d!important;font-size:max(.9rem,14px)!important;font-weight:950!important;box-shadow:0 13px 30px rgba(70,128,224,.24)!important;text-decoration:none!important}
body.webos-runtime-preview .webos-runtime-window-body :where(.btn.secondary,.btn.ghost,.btn-soft,button.ghost){background:rgba(255,255,255,.075)!important;color:var(--wosc-copy)!important;border-color:var(--wosc-line)!important;box-shadow:none!important}
body.webos-runtime-preview .webos-runtime-window-body :where(.btn.danger,.danger,.text-danger,.cart-remove,.v69-age-decline){background:rgba(255,115,130,.12)!important;color:#ffd9de!important;border-color:rgba(255,115,130,.36)!important;box-shadow:none!important}
body.webos-runtime-preview .webos-runtime-window-body :where(button,a.btn,.v20-heart,.v20-menu-btn,.phase94-ad-nav,.cart-qty-btn,.client-qty-stepper button,.temp-status-btn){touch-action:manipulation}

/* Transaction boundary is impossible to confuse with a sandbox. */
body.webos-runtime-preview .webos-runtime-action-warning{position:sticky;z-index:46;inset-block-start:0;min-height:48px;padding:10px 14px;display:flex;align-items:center;justify-content:center;gap:10px;border-bottom:1px solid rgba(255,199,96,.32);background:rgba(70,43,5,.94);color:#fff0c7;font-size:max(.86rem,14px);line-height:1.45;backdrop-filter:blur(20px)}
body.webos-runtime-preview .webos-runtime-action-warning i{color:#ffc760;font-size:18px}
body.webos-runtime-preview .webos-runtime-action-warning strong{color:#fff7e4}

/* Catalog application. */
body.webos-runtime-preview .webos-runtime-window-body .v20-topbar{position:sticky!important;inset-block-start:0!important;z-index:35!important;display:grid!important;grid-template-columns:auto minmax(240px,1fr) auto!important;grid-template-areas:"menu search actions" "chips chips chips"!important;gap:11px!important;margin:0 0 18px!important;padding:13px!important;border:1px solid var(--wosc-line)!important;border-radius:20px!important;background:rgba(8,22,39,.94)!important;box-shadow:0 14px 36px rgba(0,0,0,.22)!important;backdrop-filter:blur(24px)!important}
body.webos-runtime-preview .webos-runtime-light .webos-runtime-window-body .v20-topbar{background:rgba(247,251,255,.94)!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-menu-btn{display:none!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-search{grid-area:search;display:flex;align-items:center;gap:8px;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-search input{margin:0!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-search button{width:46px;min-width:46px;height:46px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--wos-accent),var(--wos-accent-2));color:#06101d;font-size:17px;cursor:pointer}
body.webos-runtime-preview .webos-runtime-window-body .v20-user-actions{grid-area:actions;display:flex;align-items:center;gap:8px}
body.webos-runtime-preview .webos-runtime-window-body .v20-cart-pill,
body.webos-runtime-preview .webos-runtime-window-body .v20-account-link{min-height:46px;padding:9px 13px;display:flex;align-items:center;gap:8px;border:1px solid var(--wosc-line);border-radius:14px;background:var(--wosc-card-soft);color:var(--wosc-copy);font-size:14px;font-weight:850}
body.webos-runtime-preview .webos-runtime-window-body .v20-cart-badge{background:var(--wos-danger)!important;border-color:#0a1830!important;color:white!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-category-chips{grid-area:chips;display:flex;gap:8px;overflow:auto;padding:2px;scrollbar-width:thin}
body.webos-runtime-preview .webos-runtime-window-body .v20-category-chips a{min-height:38px;padding:8px 13px;display:flex;align-items:center;white-space:nowrap;border:1px solid var(--wosc-line);border-radius:999px;background:var(--wosc-card-soft);color:var(--wosc-muted);font-size:14px;font-weight:850}
body.webos-runtime-preview .webos-runtime-window-body .v20-category-chips a.active{border-color:rgba(101,216,255,.55);background:rgba(101,216,255,.16);color:var(--wosc-copy)}
body.webos-runtime-preview .webos-runtime-window-body .v37-catalog-hero{min-height:170px;margin:0 0 20px;padding:clamp(22px,4vw,38px);display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--wosc-line-strong);border-radius:25px;background:radial-gradient(circle at 85% 15%,rgba(143,119,255,.24),transparent 34%),linear-gradient(135deg,rgba(101,216,255,.17),rgba(143,119,255,.11))!important;box-shadow:var(--wosc-shadow)!important}
body.webos-runtime-preview .webos-runtime-window-body .v37-catalog-hero p{max-width:650px;margin-bottom:0;color:var(--wosc-muted)!important;font-size:max(.95rem,15px)!important}
body.webos-runtime-preview .webos-runtime-window-body .hero-badge{width:82px;height:82px;padding:8px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.24);border-radius:24px;background:#fff!important;box-shadow:0 18px 42px rgba(0,0,0,.24)}
body.webos-runtime-preview .webos-runtime-window-body .hero-badge img{width:100%;height:100%;object-fit:contain;border-radius:17px}
body.webos-runtime-preview .webos-runtime-window-body .v20-section{margin:24px 0}
body.webos-runtime-preview .webos-runtime-window-body .v37-section-head,
body.webos-runtime-preview .webos-runtime-window-body .v43-section-title-row,
body.webos-runtime-preview .webos-runtime-window-body .section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
body.webos-runtime-preview .webos-runtime-window-body .v20-section-title{display:flex;align-items:center;gap:9px;margin:0!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-section-title i{color:var(--wos-accent)}
body.webos-runtime-preview .webos-runtime-window-body .v37-slider-hint{color:var(--wosc-muted)!important;font-size:14px!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-products-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:15px!important;overflow:visible!important;margin:0!important;padding:0!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-product-card{position:relative;min-width:0!important;min-height:100%;padding:13px!important;overflow:hidden;border-radius:21px!important;transition:transform .18s ease,border-color .18s ease!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-product-card:hover{transform:translateY(-4px);border-color:rgba(101,216,255,.48)!important;background:var(--wosc-card-hover)!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-card-top,
body.webos-runtime-preview .webos-runtime-window-body .v20-card-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-rating{padding:6px 9px;border:1px solid rgba(255,199,96,.28);border-radius:999px;background:rgba(255,199,96,.12)!important;color:#ffe3aa!important;font-size:14px!important;font-weight:900}
body.webos-runtime-preview .webos-runtime-window-body .v20-heart{width:44px!important;height:44px!important;display:grid;place-items:center;border:1px solid var(--wosc-line)!important;border-radius:14px!important;background:var(--wosc-card-soft)!important;color:#ff9aab!important;font-size:17px;cursor:pointer}
body.webos-runtime-preview .webos-runtime-window-body .v20-product-image{height:190px!important;margin:12px 0!important;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:18px!important;background:radial-gradient(circle at 50% 35%,rgba(101,216,255,.16),rgba(255,255,255,.025))!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-product-image img{width:100%!important;height:100%!important;object-fit:cover!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-product-info h3{min-height:2.7em!important;margin:0 0 6px!important;color:var(--wosc-copy)!important;font-size:16px!important;line-height:1.35!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-unit{margin:0 0 10px!important;color:var(--wosc-muted)!important;font-size:14px!important}
body.webos-runtime-preview .webos-runtime-window-body .v20-price{color:#9ae8ff!important;font-size:18px!important;font-weight:950}
body.webos-runtime-preview .webos-runtime-window-body .v20-add{width:46px!important;min-width:46px!important;height:46px!important;padding:0!important;border-radius:15px!important;font-size:21px!important}
body.webos-runtime-preview .webos-runtime-window-body .v43-category-view-all{min-height:44px;padding:9px 12px;display:flex;align-items:center;gap:7px;border:1px solid var(--wosc-line);border-radius:12px;background:var(--wosc-card-soft);font-size:14px;font-weight:850}
body.webos-runtime-preview .webos-runtime-window-body .v43-category-product-count{min-width:30px;height:30px;padding:0 7px;display:inline-grid;place-items:center;border-radius:9px;background:rgba(101,216,255,.15);color:#9ae8ff;font-size:14px}

/* Ads, media and catalog product dialog. */
body.webos-runtime-preview .webos-runtime-window-body .phase94-ad-slider-section{margin:20px 0;padding:17px;border:1px solid var(--wosc-line);border-radius:22px;background:rgba(255,255,255,.035)}
body.webos-runtime-preview .webos-runtime-window-body .phase94-ad-slider-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body.webos-runtime-preview .webos-runtime-window-body .phase94-ad-slider-title-wrap{display:flex;align-items:center;gap:10px}.webos-runtime-window-body .phase94-ad-slider-title-wrap h2{margin:0!important}
body.webos-runtime-preview .webos-runtime-window-body .phase94-ad-slider-controls{display:flex;gap:7px}.webos-runtime-window-body .phase94-ad-nav{width:44px;height:44px;border:1px solid var(--wosc-line);border-radius:14px;background:var(--wosc-card-soft);color:var(--wosc-copy)}
body.webos-runtime-preview .webos-runtime-window-body .v137-ad-card,
body.webos-runtime-preview .webos-runtime-window-body .v57-social-ad-card{overflow:hidden;border:1px solid var(--wosc-line)!important;border-radius:20px!important;background:var(--wosc-card)!important;color:var(--wosc-copy)!important;box-shadow:var(--wosc-shadow)!important}
body.webos-runtime-preview .webos-runtime-window-body .v137-ad-card__actions,
body.webos-runtime-preview .webos-runtime-window-body .v137-ad-card__reactions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.webos-runtime-preview .webos-runtime-window-body .ad-react{min-height:44px;padding:9px 11px;border:1px solid var(--wosc-line);border-radius:12px;background:var(--wosc-card-soft);color:var(--wosc-copy);font-size:14px}
body.webos-runtime-preview .webos-runtime-window-body .v24-product-modal{position:fixed!important;z-index:300!important;inset:0!important;padding:16px!important;display:grid!important;place-items:center!important;overflow:auto;background:rgba(2,7,15,.72)!important;backdrop-filter:blur(9px)!important}
body.webos-runtime-preview .webos-runtime-window-body .v24-product-modal[hidden]{display:none!important}
body.webos-runtime-preview .webos-runtime-window-body .v24-product-modal__panel{position:relative!important;width:min(920px,100%)!important;max-height:calc(100% - 18px)!important;padding:17px!important;display:grid!important;grid-template-columns:minmax(260px,.9fr) 1fr!important;gap:18px!important;overflow:auto!important;border:1px solid var(--wosc-line-strong)!important;border-radius:24px!important;background:rgba(8,19,35,.98)!important;color:#f8fbff!important;box-shadow:0 35px 100px rgba(0,0,0,.55)!important}
body.webos-runtime-preview .webos-runtime-window-body .v24-product-modal__close{position:absolute;z-index:3;inset-block-start:11px;inset-inline-end:11px;width:44px;height:44px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:rgba(7,17,31,.82);color:#fff}
body.webos-runtime-preview .webos-runtime-window-body .v24-product-modal__media img{width:100%;height:100%;min-height:320px;max-height:520px;object-fit:cover;border-radius:19px}
body.webos-runtime-preview .webos-runtime-window-body .v24-product-modal__body{display:grid;align-content:start;gap:13px}
body.webos-runtime-preview .webos-runtime-window-body .v24-price-options{display:grid;gap:8px}.webos-runtime-window-body .v24-price-options>*{padding:11px;border:1px solid var(--wosc-line);border-radius:13px;background:var(--wosc-card-soft)}
body.webos-runtime-preview .webos-runtime-window-body .v24-modal-total{padding:13px;display:flex;align-items:center;justify-content:space-between;border:1px solid var(--wosc-line);border-radius:14px;background:rgba(101,216,255,.08)}

/* Client pages, account, orders, wallet, invoices, profile and addresses. */
body.webos-runtime-preview .webos-runtime-window-body .client-page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 18px!important;padding:0!important}
body.webos-runtime-preview .webos-runtime-window-body .client-page-head h1{margin:0!important}
body.webos-runtime-preview .webos-runtime-window-body .client-grid{display:grid!important;gap:16px!important}
body.webos-runtime-preview .webos-runtime-window-body .client-account-grid,
body.webos-runtime-preview .webos-runtime-window-body .client-addresses-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.webos-runtime-preview .webos-runtime-window-body .client-grid-cart,
body.webos-runtime-preview .webos-runtime-window-body .client-grid-checkout{grid-template-columns:minmax(0,1fr) minmax(310px,380px)!important;align-items:start!important}
body.webos-runtime-preview .webos-runtime-window-body .client-card{padding:clamp(17px,2.2vw,24px)!important;border-radius:21px!important}
body.webos-runtime-preview .webos-runtime-window-body .client-account-tile{min-height:150px;display:grid;align-content:center;gap:7px;text-decoration:none;transition:transform .18s ease,border-color .18s ease}
body.webos-runtime-preview .webos-runtime-window-body .client-account-tile:hover{transform:translateY(-3px);border-color:rgba(101,216,255,.48)!important;background:var(--wosc-card-hover)!important}
body.webos-runtime-preview .webos-runtime-window-body .client-actions-row,
body.webos-runtime-preview .webos-runtime-window-body .v43-order-card__actions,
body.webos-runtime-preview .webos-runtime-window-body .v43-address-actions,
body.webos-runtime-preview .webos-runtime-window-body .v43-form-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
body.webos-runtime-preview .webos-runtime-window-body .v43-orders-grid,
body.webos-runtime-preview .webos-runtime-window-body .v43-recent-orders-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(290px,1fr))!important;gap:15px!important}
body.webos-runtime-preview .webos-runtime-window-body .v43-order-card{padding:18px!important;border-radius:20px!important}
body.webos-runtime-preview .webos-runtime-window-body .v43-order-card__top,
body.webos-runtime-preview .webos-runtime-window-body .v43-address-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.webos-runtime-preview .webos-runtime-window-body .v43-order-card__details{display:grid;gap:7px;margin:14px 0}
body.webos-runtime-preview .webos-runtime-window-body .v43-order-card__details p{margin:0!important;padding:9px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--wosc-line)}
body.webos-runtime-preview .webos-runtime-window-body :where(.v43-status-badge,.status-badge,.pill,.track-count){min-height:30px;padding:5px 9px;display:inline-flex;align-items:center;border:1px solid rgba(101,216,255,.28);border-radius:999px;background:rgba(101,216,255,.11)!important;color:#a9edff!important;font-size:14px!important;font-weight:900}
body.webos-runtime-preview .webos-runtime-window-body .v43-address-card{margin:10px 0!important;padding:15px!important;border-radius:17px!important}
body.webos-runtime-preview .webos-runtime-window-body .grid-form{display:grid;gap:13px}.webos-runtime-window-body .grid2,.webos-runtime-window-body .client-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
body.webos-runtime-preview .webos-runtime-window-body form:not(.logout-form){color:var(--wosc-copy)}
body.webos-runtime-preview .webos-runtime-window-body .wallet-balance-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;background:linear-gradient(135deg,rgba(101,216,255,.16),rgba(143,119,255,.12))!important}
body.webos-runtime-preview .webos-runtime-window-body .wallet-balance-hero__icon{width:64px;height:64px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(135deg,var(--wos-accent),var(--wos-accent-2));color:#06101d;font-size:24px}
body.webos-runtime-preview .webos-runtime-window-body .wallet-balance-hero strong{color:#a8edff;font-size:clamp(1.7rem,4vw,2.5rem)}
body.webos-runtime-preview .webos-runtime-window-body .wallet-transaction-list{display:grid;gap:10px}.webos-runtime-window-body .wallet-transaction{padding:13px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-radius:15px!important}.webos-runtime-window-body .wallet-transaction__amount{text-align:end}.webos-runtime-window-body .wallet-transaction__amount b{color:#9af0c9;font-size:17px}
body.webos-runtime-preview .webos-runtime-window-body .phase163-notifications-list{display:grid;gap:9px}.webos-runtime-window-body .phase163-notification-item{padding:12px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:start;border-radius:15px!important}.webos-runtime-window-body .phase163-notification-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:rgba(101,216,255,.14);color:#9ae8ff}.webos-runtime-window-body .phase163-notification-read{width:44px;height:44px;border:1px solid var(--wosc-line);border-radius:13px;background:var(--wosc-card-soft);color:var(--wosc-copy)}
body.webos-runtime-preview .webos-runtime-window-body .table-wrap,
body.webos-runtime-preview .webos-runtime-window-body .loyalty-table-wrap{overflow:auto;border:1px solid var(--wosc-line);border-radius:16px}.webos-runtime-window-body table{width:100%;border-collapse:collapse;background:transparent!important}.webos-runtime-window-body th,.webos-runtime-window-body td{padding:12px!important;border-bottom:1px solid var(--wosc-line)!important;text-align:start!important}.webos-runtime-window-body th{background:rgba(101,216,255,.08)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview .webos-runtime-window-body .client-invoice-frame{width:100%;min-height:680px;border:1px solid var(--wosc-line)!important;border-radius:18px;background:white}

/* Cart and checkout: preserve the real forms while replacing every phase skin. */
body.webos-runtime-preview .webos-runtime-window-body .phase162-stepper{margin:0 0 18px;padding:11px 13px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--wosc-line);border-radius:18px;background:var(--wosc-card)}
body.webos-runtime-preview .webos-runtime-window-body .phase162-step{min-width:0;display:flex;align-items:center;gap:8px;color:var(--wosc-muted)}.webos-runtime-window-body .phase162-step>span{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border:1px solid var(--wosc-line);border-radius:11px;background:var(--wosc-card-soft);font-weight:950}.webos-runtime-window-body .phase162-step.is-active{color:var(--wosc-copy)}.webos-runtime-window-body .phase162-step.is-active>span{background:linear-gradient(135deg,var(--wos-accent),var(--wos-accent-2));color:#06101d}.webos-runtime-window-body .phase162-stepper>i{width:min(7vw,70px);height:1px;background:var(--wosc-line)}
body.webos-runtime-preview .webos-runtime-window-body .client-cart-items{display:grid;gap:11px}.webos-runtime-window-body .client-cart-row{display:grid;grid-template-columns:84px minmax(0,1fr) 154px 96px 44px;gap:13px;align-items:center;padding:13px;border:1px solid var(--wosc-line)!important;border-radius:18px!important}.webos-runtime-window-body .client-cart-row>img{width:84px;height:84px;object-fit:cover;border-radius:15px}.webos-runtime-window-body .client-cart-info{min-width:0}.webos-runtime-window-body .client-cart-info>b{display:block;overflow:hidden;text-overflow:ellipsis}.webos-runtime-window-body .client-cart-unit-price{color:var(--wosc-muted);font-size:14px}.webos-runtime-window-body .client-qty-stepper,.webos-runtime-window-body .phase162-qty{min-height:54px;padding:5px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--wosc-line);border-radius:14px;background:var(--wosc-card-soft)}.webos-runtime-window-body .client-qty-stepper button,.webos-runtime-window-body .cart-qty-btn{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border:0;border-radius:12px;background:rgba(101,216,255,.15);color:var(--wosc-copy)}.webos-runtime-window-body .client-qty-stepper input{width:48px!important;min-height:44px!important;height:44px!important;padding:0!important;text-align:center!important;border:0!important;background:transparent!important}.webos-runtime-window-body .cart-remove{width:44px;height:44px;padding:0!important;display:grid;place-items:center}
body.webos-runtime-preview .webos-runtime-window-body .client-summary-card,
body.webos-runtime-preview .webos-runtime-window-body .phase162-order-summary{position:sticky;inset-block-start:10px;padding:19px!important;border-radius:20px!important}.webos-runtime-window-body .summary-line,.webos-runtime-window-body .summary-total{min-height:45px;padding:10px 0!important;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0!important;border-bottom:1px solid var(--wosc-line)!important;background:transparent!important}.webos-runtime-window-body .summary-total{border-bottom:0!important;color:#9ae8ff!important;font-size:18px!important}.webos-runtime-window-body .coupon-box{display:flex;gap:8px}
body.webos-runtime-preview .webos-runtime-window-body :where(.cart-fulfillment-v151,.checkout-fulfillment-v159,.checkout-delivery-options,.phase162-address-editor,.phase162-cart-details){padding:16px!important;border:1px solid var(--wosc-line)!important;border-radius:19px!important;background:var(--wosc-card)!important;color:var(--wosc-copy)!important;box-shadow:var(--wosc-shadow)!important}
body.webos-runtime-preview .webos-runtime-window-body :where(.cart-fulfillment-options,.checkout-fulfillment-options-v159,.checkout-delivery-options__chips,.payment-options,.phase161-address-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.webos-runtime-preview .webos-runtime-window-body :where(.cart-fulfillment-option,.checkout-fulfillment-option-v159,.payment-option,.payment-option-v159,.checkout-delivery-chip){min-height:76px;padding:12px!important;display:flex!important;align-items:center!important;gap:11px!important;border:1px solid var(--wosc-line)!important;border-radius:16px!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important;cursor:pointer}
body.webos-runtime-preview .webos-runtime-window-body :where(.cart-fulfillment-option.is-active,.checkout-fulfillment-option-v159.is-active,.payment-option:has(input:checked),.payment-option-v159:has(input:checked),.checkout-delivery-chip.is-active){border-color:rgba(101,216,255,.58)!important;background:linear-gradient(135deg,rgba(101,216,255,.15),rgba(143,119,255,.12))!important}
body.webos-runtime-preview .webos-runtime-window-body .phase162-reference-checkout{display:grid;gap:16px}.webos-runtime-window-body .phase162-step{border-radius:17px}.webos-runtime-window-body .phase162-address-card{padding:14px!important;border-radius:16px!important}.webos-runtime-window-body .phase159-card-title,.webos-runtime-window-body .checkout-delivery-options__head{display:flex;align-items:center;gap:9px;margin-bottom:11px}.webos-runtime-window-body .phase159-method-icon,.webos-runtime-window-body .payment-option__icon,.webos-runtime-window-body .cart-choice-icon{width:46px;height:46px;display:grid;place-items:center;flex:0 0 46px;border-radius:14px;background:linear-gradient(135deg,rgba(101,216,255,.22),rgba(143,119,255,.20));color:#a9edff}
body.webos-runtime-preview .webos-runtime-window-body .checkout-submit-final{padding:15px;border:1px solid rgba(255,199,96,.30);border-radius:18px;background:rgba(255,199,96,.085)}.webos-runtime-window-body .checkout-submit-final__summary{margin-bottom:10px;color:#ffe7b4!important}.webos-runtime-window-body .checkout-submit-final__button{width:100%!important;min-height:52px!important;background:linear-gradient(135deg,#4ee1a0,#65d8ff)!important}
body.webos-runtime-preview .webos-runtime-window-body :where(.checkout-confirm-modal,.checkout-terms-modal){position:fixed!important;z-index:340!important;inset:0!important;padding:15px!important;display:grid!important;place-items:center!important;background:rgba(2,7,15,.74)!important;backdrop-filter:blur(9px)!important}.webos-runtime-window-body :where(.checkout-confirm-modal,.checkout-terms-modal)[hidden]{display:none!important}.webos-runtime-window-body :where(.checkout-confirm-modal__panel,.checkout-terms-modal__panel){position:relative;width:min(720px,100%);max-height:calc(100% - 20px);padding:22px;overflow:auto;border:1px solid var(--wosc-line-strong);border-radius:22px;background:rgba(8,19,35,.98);color:#f8fbff;box-shadow:0 35px 100px rgba(0,0,0,.55)}

/* Loyalty, reviews and order tracking. */
body.webos-runtime-preview .webos-runtime-window-body .loyalty-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.7fr);gap:16px}.webos-runtime-window-body .loyalty-points-card{padding:22px!important;background:linear-gradient(135deg,rgba(101,216,255,.18),rgba(143,119,255,.13))!important}.webos-runtime-window-body .loyalty-stamp-card{padding:20px!important}.webos-runtime-window-body .loyalty-stamp-grid{display:grid;grid-template-columns:repeat(var(--stamp-count,5),minmax(34px,1fr));gap:9px}.webos-runtime-window-body .loyalty-stamp-grid>span{aspect-ratio:1;display:grid;place-items:center;border:1px solid var(--wosc-line);border-radius:15px;background:var(--wosc-card-soft);color:var(--wosc-muted)}.webos-runtime-window-body .loyalty-stamp-grid>span.filled{background:linear-gradient(135deg,#4ee1a0,#65d8ff);color:#06101d}.webos-runtime-window-body .reward-row{padding:12px!important;border:1px solid var(--wosc-line)!important;border-radius:15px!important}.webos-runtime-window-body .reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.webos-runtime-window-body .review-card{padding:17px!important;border-radius:18px!important}
body.webos-runtime-preview .webos-runtime-window-body .track-page-v35{display:grid;gap:16px}.webos-runtime-window-body .track-hero-card{display:flex;align-items:center;gap:16px;margin:0!important;padding:22px!important}.webos-runtime-window-body .track-hero-icon{width:64px;height:64px;display:grid;place-items:center;flex:0 0 64px;border-radius:20px;background:linear-gradient(135deg,var(--wos-accent),var(--wos-accent-2));color:#06101d;font-size:24px}.webos-runtime-window-body .track-hero-copy{min-width:0;flex:1}.webos-runtime-window-body .track-hero-actions{display:flex;gap:9px;flex-wrap:wrap}.webos-runtime-window-body .track-order-strip{display:flex;gap:8px;overflow:auto;padding-bottom:5px}.webos-runtime-window-body .track-order-pill{min-width:190px;padding:11px;border:1px solid var(--wosc-line);border-radius:14px;background:var(--wosc-card-soft)}.webos-runtime-window-body .track-order-pill.active{border-color:rgba(101,216,255,.56);background:rgba(101,216,255,.13)}.webos-runtime-window-body .track-steps,.webos-runtime-window-body .track-timeline-list{display:grid;gap:10px}.webos-runtime-window-body .track-step,.webos-runtime-window-body .track-timeline-row{padding:12px 14px;border:1px solid var(--wosc-line);border-inline-start:4px solid var(--wosc-line-strong)!important;border-radius:15px;background:var(--wosc-card-soft)}.webos-runtime-window-body .track-step.done,.webos-runtime-window-body .track-timeline-row.is-done{border-inline-start-color:var(--wos-success)!important}.webos-runtime-window-body .track-order-item{padding:10px!important;display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:12px;align-items:center;border-radius:14px!important}.webos-runtime-window-body .track-order-item img{width:58px;height:58px;object-fit:cover;border-radius:12px}.webos-runtime-window-body .driver-location-box{padding:14px;border:1px solid var(--wosc-line);border-radius:15px;background:var(--wosc-card-soft)}

/* Authentication, informational and PWA screens. */
body.webos-runtime-preview .webos-runtime-window-body .auth-wrap{min-height:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,440px))!important;place-content:center!important;gap:17px!important}.webos-runtime-window-body .auth-card{padding:clamp(22px,3vw,32px)!important;border-radius:22px!important}.webos-runtime-window-body .auth-card form{display:grid;gap:12px}.webos-runtime-window-body .social-login-wrap{display:grid;gap:10px;margin-top:14px}.webos-runtime-window-body .social-login-divider{display:flex;align-items:center;gap:10px;color:var(--wosc-muted)}.webos-runtime-window-body .social-login-divider::before,.webos-runtime-window-body .social-login-divider::after{content:"";height:1px;flex:1;background:var(--wosc-line)}.webos-runtime-window-body .client-about-hero,.webos-runtime-window-body .pwa-download-hero{padding:clamp(22px,4vw,38px)!important;display:flex;align-items:center;gap:18px;background:linear-gradient(135deg,rgba(101,216,255,.17),rgba(143,119,255,.12))!important}.webos-runtime-window-body .client-about-icon,.webos-runtime-window-body .pwa-download-icon{width:72px;height:72px;display:grid;place-items:center;flex:0 0 72px;border-radius:22px;background:linear-gradient(135deg,var(--wos-accent),var(--wos-accent-2));color:#06101d;font-size:27px}.webos-runtime-window-body .pwa-download-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:16px 0}.webos-runtime-window-body .pwa-device-card,.webos-runtime-window-body .pwa-download-note{padding:22px!important;border-radius:20px!important}.webos-runtime-window-body .pwa-device-card>i{font-size:38px;color:#9ae8ff}.webos-runtime-window-body .pwa-ios-steps{display:grid;gap:8px;padding-inline-start:22px}.webos-runtime-window-body .pwa-download-actions,.webos-runtime-window-body .client-about-actions{display:flex;gap:9px;flex-wrap:wrap}

/* Driver and temporary courier applications. */
body.webos-runtime-preview .webos-runtime-window-body .driver-page{display:grid;gap:17px}.webos-runtime-window-body .driver-hero,.webos-runtime-window-body .temp-hero{padding:22px!important;display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:22px!important;background:linear-gradient(135deg,rgba(101,216,255,.16),rgba(143,119,255,.11))!important}.webos-runtime-window-body .eyebrow{min-height:30px;padding:5px 9px;display:inline-flex;align-items:center;border:1px solid rgba(101,216,255,.26);border-radius:999px;background:rgba(101,216,255,.10)!important;color:#a9edff!important;font-size:14px!important}.webos-runtime-window-body .driver-order-grid,.webos-runtime-window-body .driver-wallet-grid,.webos-runtime-window-body .temp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.webos-runtime-window-body .driver-order-card,.webos-runtime-window-body .driver-wallet-card{padding:18px!important;border-radius:19px!important}.webos-runtime-window-body .driver-order-head,.webos-runtime-window-body .temp-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.webos-runtime-window-body .driver-order-meta{display:grid;gap:7px;margin:13px 0}.webos-runtime-window-body .driver-order-total{color:#9ae8ff;font-size:20px}.webos-runtime-window-body .driver-status.online{color:#83f3bf}.webos-runtime-window-body .temp-courier-page{display:grid;gap:16px}.webos-runtime-window-body .temp-card{padding:18px!important;border-radius:19px!important}.webos-runtime-window-body .temp-kv{min-height:46px;padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--wosc-line)!important}.webos-runtime-window-body .temp-address,.webos-runtime-window-body .temp-note,.webos-runtime-window-body .temp-location-state{padding:12px;border:1px solid var(--wosc-line);border-radius:14px;background:var(--wosc-card-soft)}.webos-runtime-window-body .temp-actions-sticky{position:sticky!important;z-index:20;inset-block-end:8px;padding:13px!important;border-radius:19px!important}.webos-runtime-window-body .temp-signature-modal{position:fixed!important;z-index:350!important;inset:0!important;display:grid!important;place-items:center!important;padding:15px;background:rgba(2,7,15,.76);backdrop-filter:blur(9px)}.webos-runtime-window-body .temp-signature-modal[hidden]{display:none!important}.webos-runtime-window-body .temp-signature-dialog{position:relative;width:min(780px,100%);max-height:calc(100% - 20px);padding:20px!important;overflow:auto;border-radius:22px!important}.webos-runtime-window-body .temp-signature-canvas{width:100%;max-width:100%;border:1px solid var(--wosc-line);border-radius:15px;background:#fff}

/* Legacy overlays remain functional but visually belong to WebOS. */
body.webos-runtime-preview :where(.v57-ad-popup,.pwa-install-modal,.age-modal,.v68-modal){z-index:1200!important}
body.webos-runtime-preview :where(.v57-ad-popup-card,.pwa-install-card,.v69-age-box,.v68-modal-panel){border:1px solid var(--wosc-line-strong)!important;border-radius:24px!important;background:rgba(8,19,35,.98)!important;color:#f8fbff!important;box-shadow:0 36px 110px rgba(0,0,0,.58)!important;backdrop-filter:blur(28px)!important}
body.webos-runtime-preview :where(.v57-ad-popup-card,.pwa-install-card,.v69-age-box,.v68-modal-panel) :where(h1,h2,h3,p,strong,span,small){color:inherit}
body.webos-runtime-preview :where(.v57-ad-popup-close,.v68-modal-close){width:44px!important;height:44px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:14px!important;background:rgba(255,255,255,.08)!important;color:#fff!important}
body.webos-runtime-preview :where(.pwa-install-modal,.age-modal,.v57-ad-popup,.v68-modal)[hidden]{display:none!important}
body.webos-runtime-preview .webos-runtime-languages{display:grid;gap:9px;padding-top:2px}.webos-runtime-languages>span{font-weight:900}.webos-runtime-languages>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.webos-runtime-languages a{min-height:44px;padding:9px 10px;display:flex;align-items:center;justify-content:center;border:1px solid var(--wos-border);border-radius:12px;background:var(--wos-card);color:var(--wos-muted);font-size:14px;font-weight:850;text-decoration:none}.webos-runtime-languages a.active{border-color:rgba(101,216,255,.48);background:rgba(101,216,255,.14);color:var(--wos-text)}

/* Responsive WebOS workspace: no content is covered by a legacy fixed bar. */
@media(max-width:1100px){
  body.webos-runtime-preview .webos-runtime-stage{inset-inline-start:max(18px,env(safe-area-inset-left))}
}
@media(max-width:900px){
  body.webos-runtime-preview{font-size:calc(16px * var(--wos-font-scale))!important}
  body.webos-runtime-preview .webos-runtime-statusbar{height:calc(46px + env(safe-area-inset-top));padding-inline-start:max(11px,env(safe-area-inset-left));padding-inline-end:max(11px,env(safe-area-inset-right));grid-template-columns:1fr;justify-items:center}
  body.webos-runtime-preview .webos-runtime-system{display:none!important}
  body.webos-runtime-preview .webos-runtime-stage{inset-block-start:calc(55px + env(safe-area-inset-top));inset-block-end:calc(86px + env(safe-area-inset-bottom));inset-inline-start:max(8px,env(safe-area-inset-left));inset-inline-end:max(8px,env(safe-area-inset-right))}
  body.webos-runtime-preview .webos-runtime-stage{grid-template-rows:54px minmax(0,1fr)}
  body.webos-runtime-preview .webos-runtime-menubar button,
  body.webos-runtime-preview .webos-runtime-menubar a{width:44px!important;height:44px!important}
  body.webos-runtime-preview .webos-runtime-window{grid-template-rows:minmax(0,1fr)}
  body.webos-runtime-preview .webos-runtime-titlebar{display:none!important}
  body.webos-runtime-preview .webos-runtime-sidebar{inset-block-start:calc(55px + env(safe-area-inset-top));inset-block-end:calc(82px + env(safe-area-inset-bottom));inset-inline-start:max(8px,env(safe-area-inset-left))}
  body.webos-runtime-preview .webos-runtime-control{inset-block-start:calc(55px + env(safe-area-inset-top));inset-inline-start:max(8px,env(safe-area-inset-left));inset-inline-end:max(8px,env(safe-area-inset-right))}
  body.webos-runtime-preview .webos-runtime-dock{inset-block-end:calc(10px + env(safe-area-inset-bottom))}
  body.webos-runtime-preview .webos-runtime-window-body .v20-main-content,
  body.webos-runtime-preview .webos-runtime-window-body .v39-client-main{padding:12px!important}
  body.webos-runtime-preview .webos-runtime-window-body>.shell,
  body.webos-runtime-preview .webos-runtime-window-body>.client-page,
  body.webos-runtime-preview .webos-runtime-window-body>.track-page-v35,
  body.webos-runtime-preview .webos-runtime-window-body>.temp-courier-page,
  body.webos-runtime-preview .webos-runtime-window-body>.pwa-download-page,
  body.webos-runtime-preview .webos-runtime-window-body>.auth-wrap{width:100%!important;padding:12px!important;padding-bottom:30px!important}
  body.webos-runtime-preview .webos-runtime-window-body .v20-topbar{position:relative!important;grid-template-columns:1fr!important;grid-template-areas:"search" "actions" "chips"!important;border-radius:17px!important}
  body.webos-runtime-preview .webos-runtime-window-body .v20-user-actions{justify-content:space-between}.webos-runtime-window-body .v20-cart-pill,.webos-runtime-window-body .v20-account-link{flex:1;justify-content:center}
  body.webos-runtime-preview .webos-runtime-window-body .v37-catalog-hero{min-height:130px;padding:20px;border-radius:20px}.webos-runtime-window-body .hero-badge{display:none!important}
  body.webos-runtime-preview .webos-runtime-window-body .v20-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.webos-runtime-preview .webos-runtime-window-body .v20-product-card{padding:10px!important;border-radius:17px!important}.webos-runtime-window-body .v20-product-image{height:150px!important;border-radius:15px!important}
  body.webos-runtime-preview .webos-runtime-window-body .client-account-grid,
  body.webos-runtime-preview .webos-runtime-window-body .client-addresses-grid,
  body.webos-runtime-preview .webos-runtime-window-body .client-grid-cart,
  body.webos-runtime-preview .webos-runtime-window-body .client-grid-checkout,
  body.webos-runtime-preview .webos-runtime-window-body .loyalty-grid{grid-template-columns:1fr!important}
  body.webos-runtime-preview .webos-runtime-window-body .client-summary-card,
  body.webos-runtime-preview .webos-runtime-window-body .phase162-order-summary{position:static!important}
  body.webos-runtime-preview .webos-runtime-window-body .client-cart-row{grid-template-columns:72px minmax(0,1fr) 44px!important;gap:10px!important}.webos-runtime-window-body .client-cart-row>img{width:72px;height:72px}.webos-runtime-window-body .client-qty-stepper{grid-column:2}.webos-runtime-window-body .client-line-total{grid-column:2}.webos-runtime-window-body .cart-remove{grid-column:3;grid-row:1/4}
  body.webos-runtime-preview .webos-runtime-window-body .auth-wrap{grid-template-columns:1fr!important;place-content:start center!important}.webos-runtime-window-body .pwa-download-grid{grid-template-columns:1fr}
  body.webos-runtime-preview .webos-runtime-window-body .v24-product-modal__panel{grid-template-columns:1fr!important}.webos-runtime-window-body .v24-product-modal__media img{min-height:200px;max-height:300px}
  body.webos-runtime-preview .webos-runtime-action-warning{justify-content:flex-start;padding:10px 12px;font-size:14px}
}
@media(max-width:560px){
  body.webos-runtime-preview .webos-runtime-window-body .phase162-step b{display:none}.webos-runtime-window-body .phase162-stepper{justify-content:space-between}.webos-runtime-window-body .phase162-stepper>i{flex:1}
  body.webos-runtime-preview .webos-runtime-window-body .v20-product-info h3{font-size:14px!important}.webos-runtime-window-body .v20-product-image{height:132px!important}.webos-runtime-window-body .v20-price{font-size:16px!important}.webos-runtime-window-body .v20-add{width:44px!important;min-width:44px!important;height:44px!important}
  body.webos-runtime-preview .webos-runtime-window-body :where(.cart-fulfillment-options,.checkout-fulfillment-options-v159,.checkout-delivery-options__chips,.payment-options,.phase161-address-grid){grid-template-columns:1fr!important}
  body.webos-runtime-preview .webos-runtime-window-body .grid2,
  body.webos-runtime-preview .webos-runtime-window-body .client-form-grid{grid-template-columns:1fr}
  body.webos-runtime-preview .webos-runtime-window-body .wallet-balance-hero{grid-template-columns:auto 1fr}.webos-runtime-window-body .wallet-balance-hero .btn{grid-column:1/-1}
  body.webos-runtime-preview .webos-runtime-window-body .track-hero-card,
  body.webos-runtime-preview .webos-runtime-window-body .driver-hero,
  body.webos-runtime-preview .webos-runtime-window-body .temp-hero,
  body.webos-runtime-preview .webos-runtime-window-body .client-about-hero,
  body.webos-runtime-preview .webos-runtime-window-body .pwa-download-hero{align-items:flex-start;flex-direction:column}
  body.webos-runtime-preview .webos-runtime-window-body .v43-orders-grid,
  body.webos-runtime-preview .webos-runtime-window-body .v43-recent-orders-grid,
  body.webos-runtime-preview .webos-runtime-window-body .reviews-grid,
  body.webos-runtime-preview .webos-runtime-window-body .driver-order-grid,
  body.webos-runtime-preview .webos-runtime-window-body .driver-wallet-grid,
  body.webos-runtime-preview .webos-runtime-window-body .temp-grid{grid-template-columns:1fr!important}
}
@media(max-width:370px){
  body.webos-runtime-preview .webos-runtime-window-body .v20-products-grid{grid-template-columns:1fr!important}
  body.webos-runtime-preview .webos-runtime-window-body .v20-product-image{height:190px!important}
}
@media(prefers-contrast:more){
  body.webos-runtime-preview{--wosc-line:rgba(255,255,255,.45);--wosc-line-strong:rgba(255,255,255,.65);--wosc-muted:#dce8f7}
}
@media(prefers-reduced-motion:reduce){
  body.webos-runtime-preview .webos-runtime-window-body *,
  body.webos-runtime-preview .webos-runtime-window-body *::before,
  body.webos-runtime-preview .webos-runtime-window-body *::after{animation:none!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
}

/* Final cascade hardening: the private WebOS layer must win over legacy Phase162 rules. */
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .v20-category-chips a{min-height:44px!important;padding-block:9px!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.phase94-ad-nav,.phase103-upsell-nav,.phase101-cart-upsell-add,.ad-image-lightbox-close,.v24-product-modal__close){width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase94-ad-dots{gap:0!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase94-ad-dot{position:relative!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;display:grid!important;place-items:center!important;background:transparent!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase94-ad-dot::before{content:"";display:block;width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,.34);transition:width .18s ease,background .18s ease}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase94-ad-dot.active::before{width:26px;background:var(--wos-accent)}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.phase94-ad-slider-head>span,.phase101-cart-upsell-more,.phase94-related-card b,.phase94-related-card span,.checkout-confirm-modal__notice,.checkout-confirm-modal__terms .checkout-terms-modal__content){font-size:max(.875rem,calc(14px * var(--wos-font-scale)))!important;line-height:1.5!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.phase162-reference-cart,.phase162-reference-checkout){
  --p162-bg:transparent;--p162-card:var(--wosc-card);--p162-card2:var(--wosc-card-soft);--p162-border:var(--wosc-line);--p162-text:var(--wosc-copy);--p162-muted:var(--wosc-muted);--p162-gold:#9ae8ff;--p162-pink:var(--wos-accent);--p162-pink2:var(--wos-accent-2);
  width:100%!important;max-width:1120px!important;min-height:0!important;margin-inline:auto!important;padding:0 0 48px!important;overflow:visible!important;background:transparent!important;color:var(--wosc-copy)!important
}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .client-grid-cart,
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .client-grid-checkout{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr)!important;align-items:start!important;gap:16px!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart :is(.glass,.client-card),
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout :is(.glass,.client-card){padding:18px!important;border:1px solid var(--wosc-line)!important;border-radius:20px!important;background:var(--wosc-card)!important;color:var(--wosc-copy)!important;box-shadow:var(--wosc-shadow)!important;backdrop-filter:blur(20px)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.phase162-reference-cart,.phase162-reference-checkout) :is(small,.field-label,.client-field-label,.phase162-step b,.payment-option-v159 strong){font-size:max(.875rem,calc(14px * var(--wos-font-scale)))!important;line-height:1.45!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.phase162-reference-cart,.phase162-reference-checkout) :is(button,a.btn,.checkout-action-btn,.checkout-delivery-chip){min-height:44px!important;font-size:max(.875rem,calc(14px * var(--wos-font-scale)))!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-stepper{direction:inherit!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;margin:0 0 18px!important;padding:11px 13px!important;border:1px solid var(--wosc-line)!important;border-radius:18px!important;background:var(--wosc-card)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-step{display:flex!important;align-items:center!important;justify-items:initial!important;gap:8px!important;min-width:0!important;color:var(--wosc-muted)!important;text-align:start!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-step span{width:44px!important;height:44px!important;flex:0 0 44px!important;border:1px solid var(--wosc-line)!important;border-radius:13px!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important;box-shadow:none!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-step.is-active span{border-color:transparent!important;background:linear-gradient(135deg,var(--wos-accent),var(--wos-accent-2))!important;color:#06101d!important;box-shadow:0 10px 24px rgba(101,216,255,.18)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-stepper>i{display:block!important;flex:1 1 50px!important;width:min(7vw,70px)!important;height:1px!important;margin:0!important;background:var(--wosc-line)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-cart-item{border:1px solid var(--wosc-line)!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-cart-item .phase162-qty{min-height:54px!important;padding:5px!important;border:1px solid var(--wosc-line)!important;border-radius:14px!important;background:rgba(101,216,255,.06)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-cart-item .phase162-qty button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border-radius:12px!important;background:rgba(101,216,255,.15)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-cart-item .phase162-qty input{width:48px!important;height:44px!important;min-height:44px!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout :is(.checkout-fulfillment-option-v159,.payment-option-v159,.checkout-delivery-chip){border:1px solid var(--wosc-line)!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important;box-shadow:none!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout :is(.checkout-fulfillment-option-v159.is-active,.payment-option-v159:has(input:checked),.checkout-delivery-chip.is-active){border-color:rgba(101,216,255,.58)!important;background:linear-gradient(135deg,rgba(101,216,255,.16),rgba(143,119,255,.13))!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .payment-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .payment-option-v159 .payment-option__icon{width:46px!important;height:46px!important;border-radius:14px!important;background:linear-gradient(135deg,rgba(101,216,255,.22),rgba(143,119,255,.20))!important;color:#a9edff!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .checkout-submit-final{position:static!important;inset:auto!important;left:auto!important;bottom:auto!important;transform:none!important;z-index:auto!important;width:100%!important;margin-top:14px!important;padding:15px!important;border:1px solid rgba(101,216,255,.28)!important;border-radius:18px!important;background:rgba(101,216,255,.075)!important;box-shadow:none!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .checkout-submit-final__summary{display:flex!important;color:var(--wosc-muted)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .checkout-submit-final__button{min-height:54px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:15px!important;background:linear-gradient(135deg,var(--wos-accent),var(--wos-accent-2))!important;color:#06101d!important;box-shadow:0 13px 30px rgba(70,128,224,.24)!important;font-size:max(1rem,calc(16px * var(--wos-font-scale)))!important}

/* Dialogs stay pinned to the WebOS window rather than the scrolling document. */
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .v24-product-modal,
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.checkout-confirm-modal,.checkout-terms-modal),
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .temp-signature-modal{position:fixed!important;inset:0!important;display:grid!important;place-items:center!important;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;overflow:auto!important;background:rgba(2,7,15,.78)!important;backdrop-filter:blur(10px)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.v24-product-modal,.checkout-confirm-modal,.checkout-terms-modal,.temp-signature-modal)[hidden]{display:none!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .v24-product-modal{z-index:390!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.checkout-confirm-modal,.checkout-terms-modal){z-index:400!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .temp-signature-modal{z-index:410!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .v24-product-modal__panel{position:relative!important;width:min(960px,calc(100% - 24px))!important;max-height:calc(100% - 24px)!important;overflow:auto!important;border:1px solid var(--wosc-line-strong)!important;border-radius:24px!important;background:rgba(8,19,35,.98)!important;color:var(--wosc-copy)!important;box-shadow:0 35px 100px rgba(0,0,0,.55)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .checkout-confirm-modal .checkout-terms-modal__panel,
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .checkout-terms-modal .checkout-terms-modal__panel{position:relative!important;width:min(720px,calc(100% - 24px))!important;max-height:calc(100% - 24px)!important;padding:22px!important;overflow:auto!important;border:1px solid var(--wosc-line-strong)!important;border-radius:22px!important;background:rgba(8,19,35,.98)!important;color:var(--wosc-copy)!important;box-shadow:0 35px 100px rgba(0,0,0,.55)!important;text-align:start!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .checkout-confirm-modal .checkout-terms-modal__close{width:44px!important;height:44px!important;border:1px solid var(--wosc-line)!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .temp-signature-dialog{width:min(780px,calc(100% - 24px))!important;max-height:calc(100% - 24px)!important;overflow:auto!important;border:1px solid var(--wosc-line-strong)!important;background:rgba(8,19,35,.98)!important;color:var(--wosc-copy)!important}

/* Overlays rendered outside the shell still inherit the private WebOS language and palette. */
body.webos-runtime-preview.client-v43-app :is(.v57-ad-popup-card,.pwa-install-card,.v69-age-box,.v68-modal-panel){border:1px solid var(--wosc-line-strong)!important;border-radius:24px!important;background:rgba(8,19,35,.98)!important;color:var(--wosc-copy)!important;box-shadow:0 36px 110px rgba(0,0,0,.58)!important}
body.webos-runtime-preview.client-v43-app .v69-age-box :is(.v69-age-brand,.v69-age-brand span,h2,.v69-age-body,.v69-age-legal,.v69-age-denied){color:var(--wosc-copy)!important}
body.webos-runtime-preview.client-v43-app .v69-age-box .v69-age-legal{border-color:var(--wosc-line)!important;background:rgba(101,216,255,.09)!important}
body.webos-runtime-preview.client-v43-app .v69-age-actions .btn{min-height:52px!important;border-radius:15px!important}
body.webos-runtime-preview.client-v43-app .v69-age-actions .v69-age-confirm{border-color:transparent!important;background:linear-gradient(135deg,var(--wos-accent),var(--wos-accent-2))!important;color:#06101d!important}
body.webos-runtime-preview.client-v43-app .v69-age-actions .v69-age-decline{border-color:var(--wosc-line)!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview.client-v43-app :is(.pwa-install-card,.v57-ad-popup-card) :is(p,small,span,strong,h2,h3){color:inherit!important;font-size:max(.875rem,calc(14px * var(--wos-font-scale)))!important}

@media(max-width:900px){
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .client-grid-cart,
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .client-grid-checkout{grid-template-columns:1fr!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .v43-catalog-section .v20-products-grid,
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .v20-featured-grid.v37-mobile-slider{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;overflow:visible!important;scroll-snap-type:none!important;width:100%!important;max-width:100%!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .v43-catalog-section .v20-products-grid>.v20-product-card,
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .v20-featured-grid.v37-mobile-slider>.v20-product-card{flex:initial!important;width:auto!important;min-width:0!important;max-width:none!important;min-height:0!important;scroll-snap-align:none!important}
}
@media(max-width:560px){
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-step{min-width:0!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-step b{display:none!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .payment-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .payment-option-v159 strong{font-size:max(.875rem,calc(14px * var(--wos-font-scale)))!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.v24-product-modal__panel,.checkout-terms-modal__panel,.temp-signature-dialog){width:100%!important;max-height:100%!important;border-radius:20px!important}
}
@media(max-width:370px){
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .v43-catalog-section .v20-products-grid,
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .v20-featured-grid.v37-mobile-slider{grid-template-columns:1fr!important}
}

/* Customer surfaces 2.1: explicit final-pass conversion for all live client views. */
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body{color:var(--wosc-copy)!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body :is(.empty-state,.reviews-empty,.phase163-notifications-empty){min-height:120px;padding:20px;display:grid;place-items:center;align-content:center;gap:9px;border:1px dashed var(--wosc-line-strong);border-radius:18px;background:var(--wosc-card-soft);color:var(--wosc-muted);text-align:center}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body :is(.client-back-link,.back-link){min-height:44px;padding:8px 12px;display:inline-flex!important;align-items:center;gap:8px;border:1px solid var(--wosc-line);border-radius:13px;background:var(--wosc-card-soft);color:var(--wosc-copy)!important;font-size:max(.875rem,14px)!important;font-weight:850;text-decoration:none}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body :is(.phase162-reference-cart,.phase162-reference-checkout) .client-page-head{display:flex!important;visibility:visible!important;min-height:44px!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body :is(button.text-danger,.v43-address-actions .text-danger){min-width:44px!important;min-height:44px!important;padding:9px 12px!important}

/* Hidden WebOS chrome must not remain in the keyboard tab order. */
body.webos-runtime-preview .webos-runtime-control{visibility:hidden}
body.webos-runtime-preview .webos-runtime-control.open{visibility:visible}
@media(max-width:1100px){
  body.webos-runtime-preview .webos-runtime-sidebar{visibility:hidden;pointer-events:none}
  body.webos-runtime-preview .webos-runtime-shell.sidebar-open .webos-runtime-sidebar{visibility:visible;pointer-events:auto}
}

/* Account and catalog media share one predictable, responsive WebOS player. */
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .v43-account-ad-strip{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;gap:15px!important;margin-bottom:20px!important}
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .v43-account-ad-card{display:grid!important;align-content:start!important;gap:13px!important}
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .v43-account-ad-head,
body.webos-runtime-preview[data-webos-client-surface="catalog"] .webos-runtime-window-body .v137-ad-card__head{display:flex!important;align-items:center!important;gap:11px!important;padding:13px!important}
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .v43-account-ad-icon,
body.webos-runtime-preview[data-webos-client-surface="catalog"] .webos-runtime-window-body .v57-ad-avatar{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;flex:0 0 44px!important;border-radius:14px!important;background:linear-gradient(135deg,rgba(101,216,255,.22),rgba(143,119,255,.20))!important;color:#a9edff!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body :is(.v43-account-ad-media,.v57-social-ad-media,.shisha-youtube-shell,.shisha-video-shell,.shisha-video-pending){position:relative!important;width:100%!important;overflow:hidden!important;border:1px solid var(--wosc-line)!important;border-radius:17px!important;background:#050d18!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body :is(.shisha-youtube-shell,.shisha-video-shell,.shisha-video-pending){aspect-ratio:16/9!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body :is(.shisha-youtube-shell iframe,.shisha-html5-video,.shisha-video-pending img,.ad-image-lightbox-trigger img){width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;border:0!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .ad-image-lightbox-trigger{width:100%!important;min-height:180px!important;padding:0!important;overflow:hidden!important;border:0!important;background:transparent!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .shisha-video-load{position:absolute!important;z-index:2!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;min-height:44px!important;padding:10px 14px!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:14px!important;background:rgba(5,13,24,.86)!important;color:#fff!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .shisha-video-stage{position:absolute!important;z-index:2!important;inset:auto 10px 10px!important;padding:6px 9px!important;border-radius:10px!important;background:rgba(5,13,24,.80)!important;color:#eaf6ff!important;font-size:14px!important}
body.webos-runtime-preview[data-webos-client-surface="catalog"] .webos-runtime-window-body :is(.v137-ad-card__titles,.v137-ad-card__actions){min-width:0!important;padding-inline:13px!important}
body.webos-runtime-preview[data-webos-client-surface="catalog"] .webos-runtime-window-body :is(.v137-ad-card__title,.v137-ad-card__body){color:var(--wosc-copy)!important;font-size:max(.9rem,14px)!important;line-height:1.55!important}
body.webos-runtime-preview[data-webos-client-surface="catalog"] .webos-runtime-window-body .v137-ad-card__cta{min-height:44px!important;padding:9px 13px!important;display:inline-flex!important;align-items:center!important;border:1px solid var(--wosc-line)!important;border-radius:12px!important;background:rgba(101,216,255,.13)!important;color:#b9efff!important}
body.webos-runtime-preview[data-webos-client-surface="catalog"] .webos-runtime-window-body .v43-home-category-section{padding:17px!important;border:1px solid var(--wosc-line)!important;border-radius:21px!important;background:rgba(255,255,255,.035)!important}
body.webos-runtime-preview[data-webos-client-surface="catalog"] .webos-runtime-window-body .v43-home-category-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:13px!important}
body.webos-runtime-preview[data-webos-client-surface="catalog"] .webos-runtime-window-body :is(.phase117-flavor-picker,.phase94-related-products){padding:14px!important;border:1px solid var(--wosc-line)!important;border-radius:16px!important;background:var(--wosc-card-soft)!important}
body.webos-runtime-preview[data-webos-client-surface="catalog"] .webos-runtime-window-body :is(.v24-qty-label,.v106-amount-buy){color:var(--wosc-copy)!important;font-size:max(.875rem,14px)!important}

/* Account notifications keep readable text and 44px actions over Phase163 !important rules. */
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .phase163-notifications-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:13px!important;margin-bottom:13px!important}
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .phase163-notifications-head p,
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .phase163-notification-copy p,
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .phase163-notification-copy small,
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .phase163-notification-link,
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .phase163-notifications-tile h2 span{font-size:max(.875rem,calc(14px * var(--wos-font-scale)))!important;line-height:1.5!important}
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .phase163-notification-copy{min-width:0!important;display:grid!important;gap:5px!important}
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .phase163-notification-link{width:max-content!important;min-height:44px!important;padding:8px 11px!important;display:inline-flex!important;align-items:center!important;border:1px solid var(--wosc-line)!important;border-radius:12px!important;background:var(--wosc-card-soft)!important;color:#a9edff!important}
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .phase163-notification-read{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .v43-order-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;margin:11px 0!important;color:var(--wosc-muted)!important}

/* Cart and checkout secondary states. */
body.webos-runtime-preview[data-webos-client-surface="cart"] .webos-runtime-window-body .client-cart-flavor{margin-top:6px!important;display:flex!important;align-items:center!important;gap:6px!important;color:#9af0c9!important;font-size:14px!important}
body.webos-runtime-preview[data-webos-client-surface="cart"] .webos-runtime-window-body .cart-option-edit{margin-top:8px!important;display:grid!important;gap:6px!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .phase160-soft-banner{min-height:54px!important;padding:11px 13px!important;display:flex!important;align-items:center!important;gap:11px!important;border:1px solid rgba(101,216,255,.30)!important;border-radius:15px!important;background:rgba(101,216,255,.09)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview[data-webos-client-surface="cart"] .webos-runtime-window-body :is(.phase101-cart-upsell,.cart-personal-promo-card,.cart-delivery-zone-panel,.cart-fulfillment-location){padding:15px!important;border:1px solid var(--wosc-line)!important;border-radius:18px!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview[data-webos-client-surface="cart"] .webos-runtime-window-body .phase101-cart-upsell-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important}
body.webos-runtime-preview[data-webos-client-surface="cart"] .webos-runtime-window-body .phase103-upsell-actions{display:flex!important;gap:7px!important}
body.webos-runtime-preview[data-webos-client-surface="cart"] .webos-runtime-window-body .phase103-upsell-nav{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border:1px solid var(--wosc-line)!important;border-radius:13px!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview[data-webos-client-surface="cart"] .webos-runtime-window-body .phase101-cart-upsell-rail{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:clamp(220px,72vw,340px)!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-inline:contain!important;scroll-snap-type:inline mandatory!important;scroll-padding-inline:4px!important;-webkit-overflow-scrolling:touch!important;padding-bottom:10px!important}
body.webos-runtime-preview[data-webos-client-surface="cart"] .webos-runtime-window-body .phase101-cart-upsell-card{min-width:0!important;padding:11px!important;display:grid!important;grid-template-columns:64px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;scroll-snap-align:start!important;scroll-snap-stop:always!important;border:1px solid var(--wosc-line)!important;border-radius:15px!important;background:var(--wosc-card)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview[data-webos-client-surface="cart"] .webos-runtime-window-body .phase101-cart-upsell-card img{width:64px!important;height:64px!important;object-fit:cover!important;border-radius:12px!important}
body.webos-runtime-preview[data-webos-client-surface="cart"] .webos-runtime-window-body :is(.cart-fulfillment-note,.personal-delivery-note,.summary-note){color:var(--wosc-muted)!important;font-size:max(.875rem,14px)!important;line-height:1.5!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] .webos-runtime-window-body :is(.phase162-address-summary,.checkout-fulfillment-location-v159,.bit-payment-box){padding:13px!important;border:1px solid var(--wosc-line)!important;border-radius:15px!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] .webos-runtime-window-body .phase162-address-summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] .webos-runtime-window-body :is(.phase162-address-editor__body,.phase161-primary-fields,.phase161-optional-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] .webos-runtime-window-body .phase161-more-details{padding:11px!important;border:1px solid var(--wosc-line)!important;border-radius:14px!important;background:rgba(255,255,255,.035)!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] .webos-runtime-window-body .checkout-fulfillment-location-v159{margin-top:11px!important;display:flex!important;align-items:center!important;gap:11px!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] .webos-runtime-window-body .payment-option__body{min-width:0!important;display:grid!important;gap:4px!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] .webos-runtime-window-body .payment-option-v159 small{display:block!important;visibility:visible!important;color:var(--wosc-muted)!important;font-size:max(.875rem,calc(14px * var(--wos-font-scale)))!important;line-height:1.45!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] .webos-runtime-window-body .payment-option__balance{width:max-content!important;max-width:100%!important;margin-top:4px!important;padding:5px 8px!important;border:1px solid rgba(78,225,160,.28)!important;border-radius:10px!important;background:rgba(78,225,160,.09)!important;color:#aaf5d1!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] .webos-runtime-window-body .bit-payment-box{margin-top:12px!important;display:grid!important;gap:9px!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] .webos-runtime-window-body .bit-payment-box[hidden]{display:none!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] .checkout-confirm-modal__icon{width:64px!important;height:64px!important;display:grid!important;place-items:center!important;border-radius:20px!important;background:linear-gradient(135deg,var(--wos-accent),var(--wos-accent-2))!important;color:#06101d!important;font-size:24px!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] :is(.checkout-confirm-modal__lead,.checkout-confirm-modal__notice){font-size:max(.9rem,14px)!important;line-height:1.55!important}
body.webos-runtime-preview[data-webos-client-surface="checkout"] .checkout-terms-modal__actions{display:flex!important;gap:9px!important;flex-wrap:wrap!important}

/* Loyalty wallet, interactive stamp demo and customer history. */
body.webos-runtime-preview[data-webos-client-surface="loyalty"] .webos-runtime-window-body .client-loyalty-page,
body.webos-runtime-preview[data-webos-client-surface="loyalty-stamp-demo"] .webos-runtime-window-body .loyalty-stamp-demo-page{display:grid!important;gap:16px!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty"] .webos-runtime-window-body .loyalty-stamp-wallet{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))!important;gap:14px!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .loyalty-stamp-card-head,
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .loyalty-stamp-card-foot{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:13px!important;flex-wrap:wrap!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .loyalty-stamp-eyebrow{min-height:30px!important;padding:5px 9px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;border:1px solid rgba(255,199,96,.28)!important;border-radius:999px!important;background:rgba(255,199,96,.11)!important;color:#ffe3aa!important;font-size:14px!important;font-weight:900!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty"] .webos-runtime-window-body .loyalty-stamp-card.reward-ready{border-color:rgba(78,225,160,.48)!important;background:linear-gradient(135deg,rgba(78,225,160,.12),rgba(101,216,255,.08))!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty"] .webos-runtime-window-body :is(.loyalty-rewards-panel,.loyalty-cart-panel,.loyalty-history-panel,.loyalty-activity-panel){padding:19px!important;border-radius:20px!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty"] .webos-runtime-window-body :is(.loyalty-rewards-list,.loyalty-activity-list){display:grid!important;gap:10px!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty"] .webos-runtime-window-body .loyalty-history-panel{grid-column:1/-1!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty"] .webos-runtime-window-body .loyalty-activity-panel{grid-column:1/-1!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty-stamp-demo"] .webos-runtime-window-body .loyalty-stamp-demo-hero{padding:clamp(22px,4vw,38px)!important;border:1px solid var(--wosc-line-strong)!important;border-radius:24px!important;background:radial-gradient(circle at 85% 15%,rgba(143,119,255,.24),transparent 35%),linear-gradient(135deg,rgba(101,216,255,.16),rgba(143,119,255,.11))!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty-stamp-demo"] .webos-runtime-window-body .loyalty-stamp-demo-badge{min-height:34px!important;margin:12px 0!important;padding:6px 10px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;border-radius:999px!important;background:rgba(143,119,255,.18)!important;color:#dcd4ff!important;font-size:14px!important;font-weight:900!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty-stamp-demo"] .webos-runtime-window-body .loyalty-stamp-demo-notice{padding:14px!important;display:flex!important;align-items:center!important;gap:12px!important;border:1px solid rgba(78,225,160,.28)!important;border-radius:17px!important;background:rgba(78,225,160,.09)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty-stamp-demo"] .webos-runtime-window-body .loyalty-stamp-demo-card .loyalty-stamp-grid{grid-template-columns:repeat(auto-fit,minmax(44px,1fr))!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty-stamp-demo"] .webos-runtime-window-body .loyalty-stamp-demo-status{margin-top:14px!important;padding:12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;border-radius:14px!important;background:var(--wosc-card-soft)!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty-stamp-demo"] .webos-runtime-window-body .loyalty-stamp-demo-actions{margin-top:14px!important;display:flex!important;gap:9px!important;flex-wrap:wrap!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty-stamp-demo"] .webos-runtime-window-body .loyalty-stamp-demo-reward{padding:18px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;border-color:rgba(78,225,160,.45)!important;background:linear-gradient(135deg,rgba(78,225,160,.13),rgba(101,216,255,.09))!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty-stamp-demo"] .webos-runtime-window-body .loyalty-stamp-demo-reward[hidden]{display:none!important}
body.webos-runtime-preview[data-webos-client-surface="loyalty-stamp-demo"] .webos-runtime-window-body .loyalty-stamp-demo-gift{width:62px!important;height:62px!important;display:grid!important;place-items:center!important;border-radius:19px!important;background:linear-gradient(135deg,#4ee1a0,#65d8ff)!important;color:#06101d!important;font-size:23px!important}

/* Tracking cards expose order facts and progress without inheriting the old skin. */
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body :is(.track-picker-card,.track-summary-card,.track-progress-card,.track-driver-card,.track-items-card,.track-timeline-card,.track-empty-card){padding:clamp(17px,2.2vw,24px)!important;border-radius:21px!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .track-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:11px!important;margin-bottom:12px!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body :is(.pill-number,.pill-meta){display:block!important;color:var(--wosc-copy)!important;font-size:max(.875rem,14px)!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .pill-meta{color:var(--wosc-muted)!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .track-summary-card{display:grid!important;grid-template-columns:minmax(190px,.55fr) minmax(0,1.45fr)!important;gap:15px!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .summary-main{padding:14px!important;border:1px solid var(--wosc-line)!important;border-radius:16px!important;background:rgba(101,216,255,.08)!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .summary-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .summary-stats>div{min-height:72px!important;padding:11px!important;display:grid!important;gap:4px!important;border:1px solid var(--wosc-line)!important;border-radius:14px!important;background:var(--wosc-card-soft)!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .track-address-line{grid-column:1/-1!important;padding:11px!important;border:1px solid var(--wosc-line)!important;border-radius:14px!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .track-step{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;align-items:center!important;gap:10px!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .step-dot{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;border:1px solid var(--wosc-line)!important;border-radius:14px!important;background:var(--wosc-card-soft)!important;color:var(--wosc-muted)!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .track-step.done .step-dot{border-color:rgba(78,225,160,.42)!important;background:rgba(78,225,160,.14)!important;color:#9af0c9!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .track-timeline-row{display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;gap:10px!important}
body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .timeline-dot{width:12px!important;height:12px!important;margin-top:6px!important;border-radius:50%!important;background:var(--wos-accent)!important;box-shadow:0 0 0 5px rgba(101,216,255,.12)!important}

/* Authentication, profile, addresses, reviews and informational pages. */
body.webos-runtime-preview[data-webos-client-surface="login"] .webos-runtime-window-body .alert,
body.webos-runtime-preview[data-webos-client-surface="profile"] .webos-runtime-window-body .client-alert,
body.webos-runtime-preview[data-webos-client-surface="reviews"] .webos-runtime-window-body .alert{padding:12px 14px!important;border:1px solid rgba(255,115,130,.35)!important;border-radius:14px!important;background:rgba(255,115,130,.11)!important;color:#ffd9de!important;font-size:max(.9rem,14px)!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body :is(.client-alert.success,.alert.ok){border-color:rgba(78,225,160,.36)!important;background:rgba(78,225,160,.10)!important;color:#bcf8dc!important}
body.webos-runtime-preview[data-webos-client-surface="login"] .webos-runtime-window-body .social-login-btn{min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;border:1px solid var(--wosc-line)!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important;box-shadow:none!important}
body.webos-runtime-preview[data-webos-client-surface="login"] .webos-runtime-window-body .social-icon{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:rgba(255,255,255,.10)!important;color:var(--wosc-copy)!important;font-size:16px!important;font-weight:950!important}
body.webos-runtime-preview[data-webos-client-surface="profile"] .webos-runtime-window-body .client-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .client-check-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .client-check{min-height:48px!important;padding:10px!important;display:flex!important;align-items:center!important;gap:9px!important;border:1px solid var(--wosc-line)!important;border-radius:14px!important;background:var(--wosc-card-soft)!important}
body.webos-runtime-preview[data-webos-client-surface="addresses"] .webos-runtime-window-body .client-address-list{display:grid!important;gap:10px!important}
body.webos-runtime-preview[data-webos-client-surface="addresses"] .webos-runtime-window-body .client-address-card{padding:14px!important;border:1px solid var(--wosc-line)!important;border-radius:17px!important;background:var(--wosc-card-soft)!important}
body.webos-runtime-preview[data-webos-client-surface="reviews"] .webos-runtime-window-body .review-card-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important}
body.webos-runtime-preview[data-webos-client-surface="about"] .webos-runtime-window-body .client-about-content{padding:clamp(20px,3vw,30px)!important;line-height:1.75!important}
body.webos-runtime-preview[data-webos-client-surface="download-app"] .webos-runtime-window-body :is(.pwa-kicker,.pwa-ios-card){color:var(--wosc-copy)!important}
body.webos-runtime-preview[data-webos-client-surface="checkout-error"] .webos-runtime-window-body .checkout-error-card{width:min(680px,100%)!important;margin-inline:auto!important;padding:clamp(22px,4vw,38px)!important;text-align:center!important}

/* Payment return belongs to the same surface palette even though its route is outside client-v43-app. */
body.webos-runtime-preview[data-webos-client-surface="payment-return"] .webos-runtime-window-body .webos-payment-return-card{border-color:var(--wosc-line-strong)!important;background:var(--wosc-card)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview[data-webos-client-surface="payment-return"] .webos-runtime-window-body .webos-payment-return-card dl{border-color:var(--wosc-line)!important;background:var(--wosc-card-soft)!important}
body.webos-runtime-preview[data-webos-client-surface="payment-return"] .webos-runtime-window-body .webos-payment-return-card :is(dt,dd){font-size:max(.9rem,14px)!important;color:var(--wosc-copy)!important}

@media(max-width:760px){
  body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .v43-account-ad-strip,
  body.webos-runtime-preview[data-webos-client-surface="loyalty"] .webos-runtime-window-body .loyalty-stamp-wallet,
  body.webos-runtime-preview[data-webos-client-surface="profile"] .webos-runtime-window-body .client-profile-grid{grid-template-columns:1fr!important}
  body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .track-summary-card{grid-template-columns:1fr!important}
  body.webos-runtime-preview[data-webos-client-surface="checkout"] .webos-runtime-window-body :is(.phase162-address-editor__body,.phase161-primary-fields,.phase161-optional-grid){grid-template-columns:1fr!important}
}
@media(max-width:560px){
  body.webos-runtime-preview[data-webos-client-surface="account"] .webos-runtime-window-body .phase163-notifications-head,
  body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .loyalty-stamp-card-head,
  body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .loyalty-stamp-card-foot{align-items:stretch!important;flex-direction:column!important}
  body.webos-runtime-preview[data-webos-client-surface="track"] .webos-runtime-window-body .summary-stats,
  body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .client-check-grid{grid-template-columns:1fr!important}
  body.webos-runtime-preview[data-webos-client-surface="loyalty-stamp-demo"] .webos-runtime-window-body .loyalty-stamp-demo-reward{grid-template-columns:1fr!important;text-align:center!important}
  body.webos-runtime-preview[data-webos-client-surface="payment-return"] .webos-runtime-window-body .webos-payment-return-card dl>div{align-items:flex-start!important;flex-direction:column!important}
}

/* Native mobile product sheet: portal above the dock, one scroll owner, visible action. */
body.webos-runtime-preview .webos-runtime-shell>.v24-product-modal[data-webos-runtime-portal="product"]{position:fixed!important;inset:0!important;z-index:1400!important;background:rgba(0,0,0,.78)!important}
body.webos-runtime-preview .webos-runtime-shell>.v24-product-modal[data-webos-runtime-portal="product"] .v24-product-modal__panel{background:var(--wosc-card)!important;color:var(--wosc-copy)!important;border-color:var(--wosc-line-strong)!important}
@media(max-width:900px){
  body.webos-runtime-preview .webos-runtime-shell.has-product-modal .webos-runtime-dock{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
  body.webos-runtime-preview[data-webos-runtime="public"] :is(.v68-floating-language,.v68-floating-accessibility){display:none!important}
}
@media(max-width:760px){
  body.webos-runtime-preview .webos-runtime-shell>.v24-product-modal[data-webos-runtime-portal="product"]{display:flex!important;align-items:flex-end!important;justify-content:center!important;padding:0!important;overflow:hidden!important}
  body.webos-runtime-preview .webos-runtime-shell>.v24-product-modal[data-webos-runtime-portal="product"][hidden]{display:none!important}
  body.webos-runtime-preview .webos-runtime-shell>.v24-product-modal[data-webos-runtime-portal="product"] .v24-product-modal__panel{width:100%!important;max-width:100%!important;height:min(94dvh,calc(100dvh - env(safe-area-inset-top) - 8px))!important;max-height:min(94dvh,calc(100dvh - env(safe-area-inset-top) - 8px))!important;display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;overflow:hidden!important;border-radius:26px 26px 0 0!important}
  body.webos-runtime-preview .webos-runtime-shell>.v24-product-modal[data-webos-runtime-portal="product"] .v24-product-modal__media{width:100%!important;height:clamp(130px,25dvh,210px)!important;min-height:clamp(130px,25dvh,210px)!important;flex:0 0 auto!important;overflow:hidden!important}
  body.webos-runtime-preview .webos-runtime-shell>.v24-product-modal[data-webos-runtime-portal="product"] .v24-product-modal__media img{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:contain!important;border-radius:0!important}
  body.webos-runtime-preview .webos-runtime-shell>.v24-product-modal[data-webos-runtime-portal="product"] .v24-product-modal__body{flex:1 1 auto!important;min-height:0!important;max-height:none!important;display:block!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important;padding:16px 16px calc(16px + env(safe-area-inset-bottom))!important}
  body.webos-runtime-preview .webos-runtime-shell>.v24-product-modal[data-webos-runtime-portal="product"] #productModalAdd{position:sticky!important;inset-block-end:max(8px,env(safe-area-inset-bottom))!important;z-index:10!important;width:100%!important;min-height:54px!important;margin-top:12px!important}
  body.webos-runtime-preview .webos-runtime-shell>.v24-product-modal[data-webos-runtime-portal="product"] .v24-product-modal__close{width:48px!important;height:48px!important}
}

/* WebOS 2.2 market visual QA: stop legacy light-theme text from leaking onto dark
   cart/checkout cards, keep narrow screens fluid, and lift checkout confirmation
   above the phone dock without changing any order or payment behavior. */
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .cart-fulfillment-v151 .cart-fulfillment-head h3,
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .checkout-delivery-options__head>strong{color:var(--wosc-copy)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart :is(.cart-option-edit>span,.cart-delivery-zone-label>span),
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .checkout-delivery-options__head>span{color:var(--wosc-muted)!important;opacity:1!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .cart-fulfillment-city{min-height:48px!important;border-color:var(--wosc-line)!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .phase101-cart-upsell-more{min-height:44px!important;padding:9px 12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.phase162-reference-cart,.phase162-reference-checkout) :is(.cart-fulfillment-head,.checkout-delivery-options__head,.cart-choice-copy,.payment-option__body){min-width:0!important}
body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.phase162-reference-cart,.phase162-reference-checkout) :is(.cart-fulfillment-head h3,.checkout-delivery-options__head>strong,.checkout-delivery-options__head>span,.cart-choice-copy b,.cart-choice-copy small,.payment-option__body strong,.payment-option__body small){overflow-wrap:anywhere!important}

body.webos-runtime-preview .webos-runtime-shell>.checkout-terms-modal[data-webos-runtime-portal="checkout"]{position:fixed!important;inset:0!important;z-index:1450!important;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;display:grid!important;place-items:center!important;overflow:hidden!important;background:rgba(0,0,0,.82)!important;backdrop-filter:blur(10px)!important}
body.webos-runtime-preview .webos-runtime-shell>.checkout-terms-modal[data-webos-runtime-portal="checkout"][hidden]{display:none!important}
body.webos-runtime-preview .webos-runtime-shell>.checkout-terms-modal[data-webos-runtime-portal="checkout"] .checkout-terms-modal__backdrop{position:absolute!important;inset:0!important}
body.webos-runtime-preview .webos-runtime-shell>.checkout-terms-modal[data-webos-runtime-portal="checkout"] .checkout-terms-modal__panel{position:relative!important;z-index:1!important;width:min(720px,100%)!important;max-height:calc(100dvh - 24px)!important;padding:clamp(18px,4vw,26px)!important;overflow:auto!important;border:1px solid var(--wosc-line-strong)!important;border-radius:24px!important;background:var(--wos-panel-strong)!important;color:var(--wosc-copy)!important;box-shadow:0 35px 100px rgba(0,0,0,.60)!important;text-align:start!important}
body.webos-runtime-preview .webos-runtime-shell>.checkout-terms-modal[data-webos-runtime-portal="checkout"] :is(h2,.checkout-confirm-modal__lead,.checkout-confirm-modal__notice,.checkout-terms-modal__content){color:var(--wosc-copy)!important}
body.webos-runtime-preview .webos-runtime-shell>.checkout-terms-modal[data-webos-runtime-portal="checkout"] .checkout-confirm-modal__lead{color:var(--wosc-muted)!important}
body.webos-runtime-preview .webos-runtime-shell>.checkout-terms-modal[data-webos-runtime-portal="checkout"] .checkout-terms-modal__close{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border:1px solid var(--wosc-line)!important;background:var(--wosc-card-soft)!important;color:var(--wosc-copy)!important}
body.webos-runtime-preview .webos-runtime-shell.has-checkout-modal .webos-runtime-dock{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

@media(max-width:420px){
  body.webos-runtime-preview[data-webos-client-surface] .webos-runtime-window-body .loyalty-stamp-card .loyalty-stamp-grid{grid-template-columns:repeat(auto-fit,minmax(44px,1fr))!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.phase162-reference-cart,.phase162-reference-checkout){width:100%!important;max-width:100%!important;padding-inline:0!important;overflow-x:clip!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.phase162-reference-cart,.phase162-reference-checkout) :is(.glass,.client-card){min-width:0!important;padding:14px!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .client-cart-row{min-width:0!important;grid-template-columns:60px minmax(0,1fr) 44px!important;grid-template-areas:"img info remove" "img qty qty" "img total total"!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .client-cart-row>img{grid-area:img!important;width:60px!important;height:60px!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .client-cart-info{grid-area:info!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .client-qty-stepper{grid-area:qty!important;justify-self:stretch!important;width:100%!important;max-width:220px!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .client-line-total{grid-area:total!important;justify-self:start!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .cart-remove{grid-area:remove!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .phase162-cart-item{min-width:0!important;grid-template-columns:60px minmax(0,1fr)!important;grid-template-areas:"img info" "qty qty" "total total"!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .phase162-cart-item>img{grid-area:img!important;width:60px!important;height:60px!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .phase162-cart-item__info{grid-area:info!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .phase162-cart-item .phase162-qty{grid-area:qty!important;justify-self:stretch!important;width:100%!important;max-width:220px!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .phase162-cart-item .client-line-total{grid-area:total!important;justify-self:start!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.phase162-reference-cart,.phase162-reference-checkout) .client-qty-stepper{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;min-width:0!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.phase162-reference-cart,.phase162-reference-checkout) .client-qty-stepper input{width:100%!important;min-width:0!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .cart-fulfillment-options,
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout :is(.checkout-fulfillment-options-v159,.payment-options){grid-template-columns:1fr!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body :is(.phase162-reference-cart,.phase162-reference-checkout) :is(.cart-fulfillment-option,.checkout-fulfillment-option-v159,.payment-option-v159){width:100%!important;min-width:0!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .payment-option__balance{width:auto!important;max-width:100%!important;overflow-wrap:anywhere!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .phase101-cart-upsell-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .phase103-upsell-actions{width:100%!important;justify-content:flex-start!important;flex-wrap:wrap!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-cart .phase101-cart-upsell-more{flex:1 1 100%!important;width:100%!important;min-width:0!important;white-space:normal!important;text-align:center!important}
  body.webos-runtime-preview.client-v43-app .webos-runtime-window-body .phase162-reference-checkout .checkout-submit-final__button{width:100%!important;white-space:normal!important}
  body.webos-runtime-preview .webos-runtime-shell>.checkout-terms-modal[data-webos-runtime-portal="checkout"]{padding:0!important;align-items:end!important}
  body.webos-runtime-preview .webos-runtime-shell>.checkout-terms-modal[data-webos-runtime-portal="checkout"] .checkout-terms-modal__panel{width:100%!important;max-height:94dvh!important;border-radius:26px 26px 0 0!important;padding:18px 16px calc(18px + env(safe-area-inset-bottom))!important}
}
