﻿/* Unified responsive shell */

body:not(.mobile-simple-en) :is(#app-shell-topbar, #app-shell-sidebar-shell, #app-shell-nav) {
  display: none !important;
}

:is(html.mobile-simple-en-pre, body.mobile-simple-en) {
  --shell-safe-t: env(safe-area-inset-top, 0px);
  --shell-safe-r: env(safe-area-inset-right, 0px);
  --shell-safe-b: env(safe-area-inset-bottom, 0px);
  --shell-safe-l: env(safe-area-inset-left, 0px);
  --shell-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell-topbar-h: 58px;
  --shell-sidebar-w: 248px;
  --shell-content-max: 1080px;
  --shell-bottom-h: 58px;
  --shell-desktop-content-w: min(var(--shell-content-max), calc(100vw - var(--shell-sidebar-w) - 56px));
  --shell-desktop-content-left: max(
    calc(var(--shell-safe-l) + var(--shell-sidebar-w) + 28px),
    calc((100vw - var(--shell-desktop-content-w)) / 2)
  );
  --shell-line: color-mix(in srgb, var(--border) 74%, transparent);
  --shell-bg: color-mix(in srgb, var(--panel) 98%, transparent);
  --shell-hover: color-mix(in srgb, var(--panel) 78%, var(--bg));
  --shell-active: var(--btn-primary-bg);
  --shell-shadow-soft: 0 24px 54px -40px rgba(5, 10, 25, 0.48);
  --shell-shadow-pop: 0 32px 60px -36px rgba(6, 11, 24, 0.58);
  --shell-utility-size: 40px;
  --shell-utility-radius: 14px;
  --shell-nav-size: 42px;
  --shell-nav-radius: 13px;
  --shell-brand-mark-line: rgba(17, 24, 39, 0.18);
  --shell-brand-mark-bg: #ffffff;
  --shell-topbar-btn-fg: color-mix(in srgb, var(--fg) 78%, transparent);
  --shell-topbar-btn-border: color-mix(in srgb, var(--border) 72%, transparent);
  --shell-topbar-btn-bg: transparent;
  --shell-topbar-btn-hover-fg: var(--fg);
  --shell-topbar-btn-hover-border: color-mix(in srgb, var(--border) 88%, transparent);
  --shell-topbar-btn-hover-bg: var(--shell-hover);
  --shell-menu-border: color-mix(in srgb, var(--border) 72%, transparent);
  --shell-menu-bg: color-mix(in srgb, var(--panel) 97%, transparent);
  --shell-menu-item-fg: color-mix(in srgb, var(--fg) 82%, transparent);
  --shell-menu-item-hover-fg: var(--fg);
  --shell-menu-item-hover-bg: var(--shell-hover);
  --shell-app-menu-body-fg: color-mix(in srgb, var(--fg) 72%, transparent);
  --shell-app-menu-btn-border: color-mix(in srgb, var(--border) 72%, transparent);
  --shell-app-menu-btn-bg: var(--shell-hover);
  --shell-app-menu-btn-fg: var(--fg);
  --shell-app-menu-btn-hover-border: color-mix(in srgb, var(--border) 88%, transparent);
  --shell-app-menu-btn-hover-bg: color-mix(in srgb, var(--panel) 88%, var(--bg));
  --shell-nav-bg: color-mix(in srgb, var(--panel) 98%, transparent);
  --shell-nav-border: color-mix(in srgb, var(--border) 72%, transparent);
  --shell-nav-shadow: 0 16px 34px -24px rgba(5, 10, 25, 0.52), inset 0 1px 0 color-mix(in srgb, var(--fg) 5%, transparent);
  --shell-action-fg: color-mix(in srgb, var(--fg) 58%, transparent);
  --shell-action-hover-fg: var(--fg);
  --shell-action-hover-bg: var(--shell-hover);
  --shell-overflow-menu-border: color-mix(in srgb, var(--border) 72%, transparent);
  --shell-overflow-menu-bg: color-mix(in srgb, var(--panel) 98%, transparent);
  --shell-overflow-item-fg: color-mix(in srgb, var(--fg) 76%, transparent);
  --shell-overflow-item-hover-fg: var(--fg);
  --shell-overflow-item-hover-bg: var(--shell-hover);
  min-height: 100dvh;
  min-block-size: 100dvh;
  overflow-x: clip;
}

body.mobile-simple-en {
  min-height: 100dvh;
  margin: 0;
  padding:
    calc(var(--shell-safe-t) + 16px)
    calc(var(--shell-safe-r) + 16px)
    calc(var(--shell-safe-b) + var(--shell-bottom-h) + var(--shell-bottom-gap) + 8px)
    calc(var(--shell-safe-l) + 16px);
  background-color: var(--canvas-bg-mid);
  background-image: var(--app-canvas-bg);
  background-attachment: fixed;
  transition:
    padding-left 300ms var(--shell-ease),
    padding-right 300ms var(--shell-ease),
    padding-top 300ms var(--shell-ease),
    padding-bottom 300ms var(--shell-ease);
}

body.mobile-simple-en[data-shell-range="compact"] {
  padding-inline: calc(var(--shell-safe-l) + 20px) calc(var(--shell-safe-r) + 20px);
}

body.mobile-simple-en[data-shell-range="desktop"] {
  padding:
    calc(var(--shell-safe-t) + 20px)
    calc(var(--shell-safe-r) + 28px)
    28px
    calc(var(--shell-safe-l) + 28px);
}

:is(html.mobile-simple-en-pre, body.mobile-simple-en) :is(.header, #quick-guide) {
  display: none !important;
}

:is(html.mobile-simple-en-pre, body.mobile-simple-en) :is(.page, .layout, .content, .card--app) {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

:is(html.mobile-simple-en-pre, body.mobile-simple-en) .page {
  position: relative;
  min-height: 0;
}

:is(html.mobile-simple-en-pre, body.mobile-simple-en) .layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 0;
}

body.mobile-simple-en[data-shell-range="desktop"] .layout,
body.mobile-simple-en[data-shell-range="desktop"] .content,
body.mobile-simple-en[data-shell-range="desktop"] .page {
  max-width: none;
}

body.mobile-simple-en[data-shell-range="desktop"] #app-shell-topbar,
body.mobile-simple-en[data-shell-range="desktop"] .page {
  width: var(--shell-desktop-content-w);
  max-width: none;
  margin-left: var(--shell-desktop-content-left);
  margin-right: 0;
}

:is(html.mobile-simple-en-pre, body.mobile-simple-en) :is(.card, .card--app) {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

:is(html.mobile-simple-en-pre, body.mobile-simple-en) :is(.panel, .guide) {
  border: 1px solid color-mix(in srgb, var(--border) 68%, transparent);
  background: color-mix(in srgb, var(--panel) 98%, transparent);
  border-radius: 20px;
  box-shadow: 0 20px 44px -34px rgba(6, 11, 24, 0.24);
  padding: 14px;
}

:is(html.mobile-simple-en-pre, body.mobile-simple-en)
  :is(input, select, textarea, .mrz-editor__textarea, .field, .mrz-gen__input) {
  font-size: 16px;
}

:is(html.mobile-simple-en-pre, body.mobile-simple-en) .preview {
  min-height: 180px;
  max-height: 46dvh;
  border-radius: 16px;
}

body.mobile-simple-en .preview:not(.has-image),
body.mobile-simple-en .dropzone,
body.mobile-simple-en #bulk-results.panel {
  background: transparent;
  box-shadow: none;
}

body.mobile-simple-en .preview:not(.has-image),
body.mobile-simple-en .dropzone {
  border-style: dashed;
}

body.mobile-simple-en[data-shell-range="desktop"] .preview {
  min-height: 260px;
  max-height: 54dvh;
}

:is(html.mobile-simple-en-pre, body.mobile-simple-en) .disclaimer {
  margin-top: 14px;
  text-align: center;
  font-size: 0.68rem;
}

body.mobile-simple-en #app-shell-topbar {
  position: relative;
  z-index: 20;
  min-height: var(--shell-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(100%, var(--shell-content-max));
  margin: 0 auto 18px;
}

body.mobile-simple-en .app-shell-topbar__left,
body.mobile-simple-en .app-shell-topbar__right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.mobile-simple-en .app-shell-topbar__logo {
  width: var(--shell-utility-size);
  height: var(--shell-utility-size);
  border-radius: var(--shell-utility-radius);
  background: var(--shell-brand-mark-bg);
  border: 1px solid var(--shell-brand-mark-line);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
}

body.mobile-simple-en .app-shell-topbar__logo-mark {
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  -webkit-mask: url("/img/logo-mark.svg?v=20260321mark2") center / contain no-repeat;
  mask: url("/img/logo-mark.svg?v=20260321mark2") center / contain no-repeat;
}

body.mobile-simple-en[data-shell-range="desktop"] .app-shell-topbar__logo {
  display: none;
}

body.mobile-simple-en .app-shell-topbar__btn {
  width: var(--shell-utility-size);
  height: var(--shell-utility-size);
  border: 1px solid var(--shell-topbar-btn-border);
  border-radius: var(--shell-utility-radius);
  background: var(--shell-topbar-btn-bg);
  color: var(--shell-topbar-btn-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 180ms var(--shell-ease),
    background-color 180ms var(--shell-ease),
    color 180ms var(--shell-ease),
    transform 180ms var(--shell-ease),
    box-shadow 180ms var(--shell-ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body.mobile-simple-en .app-shell-topbar__btn:hover,
body.mobile-simple-en .app-shell-topbar__btn:focus-visible,
body.mobile-simple-en .app-shell-topbar__btn.is-active {
  color: var(--shell-topbar-btn-hover-fg);
  background: var(--shell-topbar-btn-hover-bg);
  border-color: var(--shell-topbar-btn-hover-border);
}

body.mobile-simple-en .app-shell-topbar__btn--app {
  width: auto;
  min-width: var(--shell-utility-size);
  padding: 0 14px;
  gap: 8px;
  border-color: color-mix(in srgb, var(--btn-primary-bg) 72%, transparent);
  background: color-mix(in srgb, var(--btn-primary-bg) 92%, transparent);
  color: var(--btn-primary-fg);
}

body.mobile-simple-en .app-shell-topbar__btn--app:hover,
body.mobile-simple-en .app-shell-topbar__btn--app:focus-visible,
body.mobile-simple-en .app-shell-topbar__btn--app.is-active {
  color: var(--btn-primary-fg);
  background: var(--btn-primary-hover-bg);
  border-color: var(--btn-primary-hover-border);
}

body.mobile-simple-en .app-shell-topbar__btn-label {
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

body.mobile-simple-en #app-shell-lang-button {
  display: none !important;
}

body.mobile-simple-en :is(.app-shell-theme, .app-shell-app) {
  position: relative;
  display: inline-flex;
  align-items: center;
}

body.mobile-simple-en .app-shell-theme-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 188px;
  border: 1px solid var(--shell-menu-border);
  border-radius: 16px;
  background: var(--shell-menu-bg);
  box-shadow: var(--shell-shadow-pop);
  padding: 8px;
  z-index: 120;
  backdrop-filter: blur(18px);
}

body.mobile-simple-en .app-shell-theme-menu[hidden] {
  display: none !important;
}

body.mobile-simple-en .app-shell-app-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, calc(100vw - 32px));
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 97%, transparent);
  box-shadow: var(--shell-shadow-pop);
  padding: 14px;
  z-index: 120;
  backdrop-filter: blur(18px);
}

body.mobile-simple-en .app-shell-app-menu[hidden] {
  display: none !important;
}

body.mobile-simple-en .app-shell-app-menu__title {
  margin: 0 0 8px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--fg);
}

body.mobile-simple-en .app-shell-app-menu__body {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--shell-app-menu-body-fg);
}

body.mobile-simple-en .app-shell-app-menu__btn {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 12px;
  min-height: 36px;
  border: 1px solid var(--shell-app-menu-btn-border);
  border-radius: 12px;
  padding: 0 12px;
  background: var(--shell-app-menu-btn-bg);
  color: var(--shell-app-menu-btn-fg);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

body.mobile-simple-en .app-shell-app-menu__btn:hover,
body.mobile-simple-en .app-shell-app-menu__btn:focus-visible {
  border-color: var(--shell-app-menu-btn-hover-border);
  background: var(--shell-app-menu-btn-hover-bg);
}

body.mobile-simple-en .app-shell-app[data-app-open="true"] .app-shell-topbar__btn--app {
  color: var(--btn-primary-fg);
  background: color-mix(in srgb, var(--btn-primary-bg) 100%, transparent);
  border-color: color-mix(in srgb, var(--btn-primary-bg) 100%, transparent);
}
body.mobile-simple-en .app-shell-icon {
  width: 18px;
  height: 18px;
  display: block;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

body.mobile-simple-en .app-shell-icon--globe {
  -webkit-mask-image: url("/img/icons/ix/globe.svg");
  mask-image: url("/img/icons/ix/globe.svg");
}

body.mobile-simple-en .app-shell-icon--sun {
  -webkit-mask-image: url("/img/icons/ix/sun.svg");
  mask-image: url("/img/icons/ix/sun.svg");
}

body.mobile-simple-en .app-shell-icon--moon {
  -webkit-mask-image: url("/img/icons/ix/moon.svg");
  mask-image: url("/img/icons/ix/moon.svg");
}

body.mobile-simple-en .app-shell-icon--monitor {
  -webkit-mask-image: url("/img/icons/ix/notebook.svg");
  mask-image: url("/img/icons/ix/notebook.svg");
}

body.mobile-simple-en .app-shell-icon--plus {
  -webkit-mask-image: url("/img/icons/ix/add-application.svg");
  mask-image: url("/img/icons/ix/add-application.svg");
}

html.app-enter-from-landing body.mobile-simple-en[data-shell-range="desktop"] #app-shell-sidebar {
  animation: shellSidebarEnter 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.app-enter-from-landing body.mobile-simple-en[data-shell-range="desktop"] #app-shell-topbar,
html.app-enter-from-landing body.mobile-simple-en[data-shell-range="desktop"] .page {
  animation: shellMainEnter 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes shellSidebarEnter {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shellMainEnter {
  from {
    opacity: 0;
    transform: translateY(-34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}













body.mobile-simple-en .app-shell-theme-menu__item {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  padding: 0 12px;
  background: transparent;
  color: var(--shell-menu-item-fg);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 180ms var(--shell-ease),
    color 180ms var(--shell-ease);
}


body.mobile-simple-en .app-shell-theme-menu__item:hover,
body.mobile-simple-en .app-shell-theme-menu__item:focus-visible {
  background: var(--shell-hover);
  color: var(--fg);
}

body.mobile-simple-en .app-shell-theme-menu__item.is-active {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
}

body.mobile-simple-en #app-shell-sidebar-shell[hidden] {
  display: none !important;
}

body.mobile-simple-en #app-shell-sidebar-shell {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 96;
  pointer-events: auto;
}

body.mobile-simple-en #app-shell-sidebar {
  position: relative;
  width: var(--shell-sidebar-w);
  max-width: none;
  height: 100dvh;
  border-right: 1px solid var(--shell-line);
  background: var(--shell-bg);
  box-shadow: none;
  transform: none;
  overflow: hidden;
  pointer-events: auto;
}

body.mobile-simple-en .app-shell-sidebar__head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: calc(var(--shell-safe-t) + 14px) 14px 10px;
}

body.mobile-simple-en .app-shell-sidebar__brand {
  min-width: 0;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

body.mobile-simple-en .app-shell-sidebar__brand-mark {
  width: var(--shell-utility-size);
  height: var(--shell-utility-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: var(--shell-utility-radius);
  background: var(--shell-brand-mark-bg);
  border: 1px solid var(--shell-brand-mark-line);
  color: #111;
}

body.mobile-simple-en .app-shell-sidebar__brand-mark::before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  -webkit-mask: url("/img/logo-mark.svg?v=20260321mark2") center / contain no-repeat;
  mask: url("/img/logo-mark.svg?v=20260321mark2") center / contain no-repeat;
}

body.mobile-simple-en .app-shell-sidebar__brand-word,
body.mobile-simple-en .app-shell-sidebar__link-label {
  transition: opacity 200ms ease, transform 200ms ease;
}

body.mobile-simple-en .app-shell-sidebar__brand-word {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

:root[data-theme="dark"] body.mobile-simple-en .app-shell-sidebar__brand,
:root[data-theme="dark"] body.mobile-simple-en .app-shell-sidebar__brand-word {
  color: #fff;
}

:root[data-theme="dark"] body.mobile-simple-en {
  --shell-brand-mark-line: rgba(140, 159, 210, 0.18);
  --shell-brand-mark-bg: #161d30;
}

:root[data-theme="dark"] body.mobile-simple-en .app-shell-topbar__logo,
:root[data-theme="dark"] body.mobile-simple-en .app-shell-sidebar__brand-mark {
  color: #fff;
}

body.mobile-simple-en .app-shell-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: calc(100% - 60px);
  overflow-y: auto;
  padding: 12px 14px 18px;
  scrollbar-width: thin;
}

body.mobile-simple-en .app-shell-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  border-radius: 12px;
  padding: 10px;
  color: color-mix(in srgb, var(--fg) 70%, transparent);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    color 200ms var(--shell-ease),
    background-color 200ms var(--shell-ease),
    transform 200ms var(--shell-ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body.mobile-simple-en .app-shell-sidebar__link:hover,
body.mobile-simple-en .app-shell-sidebar__link:focus-visible {
  color: var(--fg);
  background: var(--shell-hover);
}

body.mobile-simple-en .app-shell-sidebar__link.is-active {
  color: var(--btn-primary-fg);
  background: var(--shell-active);
}

body.mobile-simple-en .app-shell-sidebar__link-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: block;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

body.mobile-simple-en .app-shell-sidebar__link-label {
  min-width: 0;
  white-space: nowrap;
}

body.mobile-simple-en .app-shell-sidebar__link-icon--home,
body.mobile-simple-en .app-shell-action__icon--home {
  -webkit-mask-image: url("/img/icons/ix/eye-focus.svg");
  mask-image: url("/img/icons/ix/eye-focus.svg");
}

body.mobile-simple-en .app-shell-sidebar__link-icon--bulk,
body.mobile-simple-en .app-shell-action__icon--bulk {
  -webkit-mask-image: url("/img/icons/ix/analyze.svg");
  mask-image: url("/img/icons/ix/analyze.svg");
}

body.mobile-simple-en .app-shell-sidebar__link-icon--generator,
body.mobile-simple-en .app-shell-action__icon--generator {
  -webkit-mask-image: url("/img/icons/ix/contact-details.svg");
  mask-image: url("/img/icons/ix/contact-details.svg");
}

body.mobile-simple-en .app-shell-sidebar__link-icon--barcode,
body.mobile-simple-en .app-shell-action__icon--barcode {
  -webkit-mask-image: url("/img/icons/ix/bar-code.svg");
  mask-image: url("/img/icons/ix/bar-code.svg");
}

body.mobile-simple-en .app-shell-sidebar__link-icon--report,
body.mobile-simple-en .app-shell-action__icon--report {
  -webkit-mask-image: url("/img/icons/ix/report-text.svg");
  mask-image: url("/img/icons/ix/report-text.svg");
}

body.mobile-simple-en .app-shell-sidebar__link-icon--package,
body.mobile-simple-en .app-shell-action__icon--package {
  -webkit-mask-image: url("/img/icons/ix/card-layout.svg");
  mask-image: url("/img/icons/ix/card-layout.svg");
}

body.mobile-simple-en[data-shell-range="desktop"] .app-shell-sidebar__head,
body.mobile-simple-en[data-shell-range="desktop"] .app-shell-sidebar__nav {
  padding-inline: 14px;
}

body.mobile-simple-en #app-shell-nav[hidden],
body.mobile-simple-en[data-shell-range="desktop"] #app-shell-nav {
  display: none !important;
}

body.mobile-simple-en[data-shell-range="mobile"] #app-shell-sidebar-shell,
body.mobile-simple-en[data-shell-range="compact"] #app-shell-sidebar-shell {
  display: none !important;
}

body.mobile-simple-en #app-shell-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 92;
  transform: translateX(-50%);
  padding: 0 0 calc(var(--shell-safe-b) + var(--shell-bottom-gap));
}

body.mobile-simple-en #app-shell-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  max-width: calc(100vw - 20px);
  min-height: var(--shell-bottom-h);
  margin-inline: auto;
  border: 1px solid var(--shell-nav-border);
  border-radius: 999px;
  background: var(--shell-nav-bg);
  box-shadow: var(--shell-nav-shadow);
  padding: 7px;
}

body.mobile-simple-en .app-shell-action {
  width: var(--shell-nav-size);
  min-width: var(--shell-nav-size);
  height: var(--shell-nav-size);
  border: 0;
  border-radius: var(--shell-nav-radius);
  background: transparent;
  color: var(--shell-action-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    color 180ms var(--shell-ease),
    background-color 180ms var(--shell-ease),
    transform 180ms var(--shell-ease),
    box-shadow 180ms var(--shell-ease);
}

body.mobile-simple-en .app-shell-action:hover {
  color: var(--fg);
  background: var(--shell-hover);
}

body.mobile-simple-en .app-shell-action.is-active {
  color: var(--btn-primary-fg);
  background: var(--btn-primary-bg);
}

body.mobile-simple-en .app-shell-action:active {
  transform: none;
}

body.mobile-simple-en .app-shell-action__icon {
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

body.mobile-simple-en .app-shell-action__label {
  display: none;
}

body.mobile-simple-en:not([data-shell-range="desktop"]) :is(#view-bulk .bulk-table-wrap, #bulk-results) {
  overflow-x: hidden;
  scrollbar-width: none;
}

body.mobile-simple-en:not([data-shell-range="desktop"]) #view-bulk .bulk-table {
  min-width: 0;
  width: 100%;
}

body.mobile-simple-en #view-bulk .bulk-detail-mrz,
body.mobile-simple-en #view-home .mrz-editor__textarea,
body.mobile-simple-en #view-mrz-generator .mrz-editor__textarea {
  font-size: clamp(0.9rem, 2.65vw, 1.02rem);
}

body.mobile-simple-en:not([data-shell-range="desktop"]) #view-home .mrz-result--preview-priority {
  margin-top: 12px;
}

body.mobile-simple-en #app-shell-pwa-install {
  position: fixed;
  inset: 0;
  width: 0;
  height: 0;
  overflow: visible;
  z-index: 2147483640;
}


body.mobile-simple-en :is(#app-shell-pwa-install .install-dialog .install-description, .install-dialog .install-description) {
  text-align: left;
}

body.mobile-simple-en :is(.app-shell-action:disabled, .app-shell-topbar__btn:disabled) {
  opacity: 0.56;
  cursor: not-allowed;
}

body.mobile-simple-en.mobile-simple-select-guard :is(#view-home select, #view-bulk select, #view-mrz-generator select) {
  touch-action: manipulation;
}

@media (max-width: 420px) {
  body.mobile-simple-en #app-shell-actions {
    max-width: calc(100vw - 16px);
  }
}

@media (max-width: 760px) {
  body.mobile-simple-en:not([data-shell-range="desktop"]) #view-home > .panel:first-child > .row:first-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  body.mobile-simple-en:not([data-shell-range="desktop"]) #view-home > .panel:first-child > .row:first-child .field--select {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    font-size: 0.76rem;
    padding-right: 40px;
  }

  body.mobile-simple-en:not([data-shell-range="desktop"]) #view-home > .panel:first-child > .row:first-child #btn-check,
  body.mobile-simple-en:not([data-shell-range="desktop"]) #view-home > .panel:first-child > .row:first-child #btn-sample {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding-inline: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 420px) {
  body.mobile-simple-en #app-shell-actions {
    max-width: calc(100vw - 16px);
  }

  body.mobile-simple-en:not([data-shell-range="desktop"]) #view-home > .panel:first-child > .row:first-child {
    gap: 6px;
  }

  body.mobile-simple-en:not([data-shell-range="desktop"]) #view-home > .panel:first-child > .row:first-child .field--select {
    font-size: 0.72rem;
  }

  body.mobile-simple-en:not([data-shell-range="desktop"]) #view-home > .panel:first-child > .row:first-child #btn-check,
  body.mobile-simple-en:not([data-shell-range="desktop"]) #view-home > .panel:first-child > .row:first-child #btn-sample {
    font-size: 0.66rem;
    padding-inline: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {  body.mobile-simple-en * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}











body.mobile-simple-en .app-shell-app[hidden] {
  display: none !important;
}




/* Light-mode shell variables */
:root:not([data-theme="dark"]) body.mobile-simple-en {
  --shell-hover: rgba(17, 24, 39, 0.06);
  --shell-active: var(--btn-primary-bg);
  --shell-topbar-btn-fg: #111827;
  --shell-topbar-btn-border: rgba(17, 24, 39, 0.14);
  --shell-topbar-btn-bg: rgba(255, 255, 255, 0.9);
  --shell-topbar-btn-hover-fg: #111827;
  --shell-topbar-btn-hover-border: rgba(17, 24, 39, 0.2);
  --shell-topbar-btn-hover-bg: #ffffff;
  --shell-menu-border: rgba(17, 24, 39, 0.12);
  --shell-menu-bg: rgba(255, 255, 255, 0.98);
  --shell-menu-item-fg: #111827;
  --shell-menu-item-hover-fg: #111827;
  --shell-menu-item-hover-bg: rgba(17, 24, 39, 0.06);
  --shell-app-menu-body-fg: rgba(17, 24, 39, 0.74);
  --shell-app-menu-btn-border: rgba(17, 24, 39, 0.12);
  --shell-app-menu-btn-bg: rgba(255, 255, 255, 0.94);
  --shell-app-menu-btn-fg: #111827;
  --shell-app-menu-btn-hover-border: rgba(17, 24, 39, 0.2);
  --shell-app-menu-btn-hover-bg: #ffffff;
  --shell-nav-bg: rgba(255, 255, 255, 0.96);
  --shell-nav-border: rgba(17, 24, 39, 0.08);
  --shell-nav-shadow: 0 16px 34px -24px rgba(17, 24, 39, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --shell-action-fg: rgba(17, 24, 39, 0.78);
  --shell-action-hover-fg: #111827;
  --shell-action-hover-bg: rgba(17, 24, 39, 0.06);
  --shell-overflow-menu-border: rgba(17, 24, 39, 0.1);
  --shell-overflow-menu-bg: rgba(255, 255, 255, 0.98);
  --shell-overflow-item-fg: #111827;
  --shell-overflow-item-hover-fg: #111827;
  --shell-overflow-item-hover-bg: rgba(17, 24, 39, 0.06);
}

body.mobile-simple-en .app-shell-action__icon--more {
  -webkit-mask-image: url("/img/icons/ix/more-menu.svg");
  mask-image: url("/img/icons/ix/more-menu.svg");
}

body.mobile-simple-en #app-shell-nav {
  position: fixed;
}

body.mobile-simple-en #app-shell-overflow-menu {
  position: absolute;
  right: 6px;
  bottom: calc(100% + 12px);
  display: grid;
  gap: 6px;
  min-width: 154px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel) 98%, transparent);
  box-shadow: var(--shell-shadow-pop);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform-origin: calc(100% - 22px) 100%;
  transform: translateY(10px) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 220ms var(--shell-ease),
    opacity 220ms var(--shell-ease);
}

body.mobile-simple-en #app-shell-nav[data-overflow-open="true"] #app-shell-overflow-menu {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

body.mobile-simple-en #app-shell-nav[data-overflow-open="true"] #app-shell-actions {
  transform: translateX(-28px);
}

body.mobile-simple-en #app-shell-actions {
  transition: transform 220ms var(--shell-ease), box-shadow 180ms var(--shell-ease), background-color 180ms var(--shell-ease), border-color 180ms var(--shell-ease);
}

:root:not([data-theme="dark"]) body.mobile-simple-en #app-shell-overflow-menu {
  border-color: rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

/* Bottom nav sizing */
:is(html.mobile-simple-en-pre, body.mobile-simple-en) {
  --shell-bottom-h: 62px;
  --shell-nav-size: 48px;
  --shell-nav-radius: 15px;
  --shell-nav-gap: 2px;
  --shell-nav-padding: 4px;
  --shell-nav-action-width: 64px;
  --shell-nav-action-height: 54px;
  --shell-nav-action-padding: 4px 3px 3px;
  --shell-nav-action-icon-size: 25px;
  --shell-nav-label-size: 0.56rem;
  --shell-nav-label-letter-spacing: 0.03em;
  --shell-overflow-item-height: 42px;
  --shell-overflow-item-padding: 0 12px;
  --shell-overflow-item-gap: 10px;
  --shell-overflow-item-label-size: 0.8rem;
  --shell-bottom-gap: 8px;
}

body.mobile-simple-en #app-shell-nav[data-overflow-open="true"] #app-shell-actions {
  transform: none;
}

@media (max-width: 760px) {
  body.mobile-simple-en {
    padding-top: calc(var(--shell-safe-t) + 10px);
    padding-left: calc(var(--shell-safe-l) + 12px);
    padding-right: calc(var(--shell-safe-r) + 12px);
    padding-bottom: calc(var(--shell-safe-b) + var(--shell-bottom-h) + var(--shell-bottom-gap) + 8px);
  }

  body.mobile-simple-en #app-shell-topbar {
    margin-bottom: 10px;
  }
}

body.mobile-simple-en .app-shell-action__icon {
  width: var(--shell-nav-action-icon-size);
  height: var(--shell-nav-action-icon-size);
}

body.mobile-simple-en #app-shell-actions {
  gap: var(--shell-nav-gap);
  padding: var(--shell-nav-padding);
}

body.mobile-simple-en .app-shell-topbar__logo-mark,
body.mobile-simple-en .app-shell-icon {
  width: 18px;
  height: 18px;
}

body.mobile-simple-en .app-shell-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: var(--shell-nav-action-width);
  min-width: var(--shell-nav-action-width);
  height: var(--shell-nav-action-height);
  padding: var(--shell-nav-action-padding);
}

body.mobile-simple-en .app-shell-action__label {
  display: block;
  max-width: 100%;
  font-size: var(--shell-nav-label-size);
  line-height: 1;
  font-weight: 800;
  letter-spacing: var(--shell-nav-label-letter-spacing);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.mobile-simple-en .app-shell-action--overflow {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  height: var(--shell-overflow-item-height);
  padding: var(--shell-overflow-item-padding);
  gap: var(--shell-overflow-item-gap);
}

body.mobile-simple-en .app-shell-action--overflow .app-shell-action__icon {
  flex: 0 0 auto;
}

body.mobile-simple-en .app-shell-action--overflow .app-shell-action__label {
  flex: 1 1 auto;
  font-size: var(--shell-overflow-item-label-size);
  line-height: 1.1;
  font-weight: 700;
  text-align: left;
}


