:root {
  --lg-ink: #121721;
  --lg-ink-soft: #344052;
  --lg-muted: #6d7888;
  --lg-panel: rgba(255, 255, 255, 0.58);
  --lg-panel-strong: rgba(255, 255, 255, 0.76);
  --lg-panel-solid: rgba(255, 255, 255, 0.9);
  --lg-stroke: rgba(255, 255, 255, 0.68);
  --lg-hairline: rgba(31, 42, 68, 0.1);
  --lg-blue: #2478ff;
  --lg-cyan: #3bd7e8;
  --lg-green: #35c76f;
  --lg-amber: #ffbd2e;
  --lg-red: #ff5c64;
  --lg-yellow: #ffd84d;
  --lg-shadow: 0 28px 70px rgba(31, 45, 70, 0.16);
  --lg-shadow-soft: 0 16px 40px rgba(31, 45, 70, 0.11);
  --lg-blur: saturate(190%) blur(28px);
  --lg-duration: 220ms;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Segoe UI", Arial, sans-serif;
}

body:has(.procurement-dashboard) {
  min-width: 320px;
  color: var(--lg-ink);
  background:
    linear-gradient(180deg, rgba(244, 249, 255, 0.94), rgba(238, 246, 252, 0.92) 48%, rgba(247, 250, 252, 0.98)),
    url("/ui/liquid-glass-day.png") center top / 980px auto fixed;
  letter-spacing: 0;
}

body:has(.procurement-dashboard)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 216, 77, 0.18), transparent 34%),
    linear-gradient(245deg, rgba(59, 215, 232, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
}

body:has(.procurement-dashboard)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.62;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.52) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.46) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

body:has(.procurement-dashboard) .workspace {
  min-height: 100dvh;
  padding-top: 88px;
  background: transparent;
}

body:has(.procurement-dashboard) .topbar {
  left: 50%;
  right: auto;
  top: 14px;
  width: min(calc(100vw - 32px), 1180px);
  height: 58px;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid var(--lg-stroke);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.38)),
    rgba(255, 255, 255, 0.36);
  color: var(--lg-ink);
  box-shadow: var(--lg-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transform: translateX(-50%);
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
}

body:has(.procurement-dashboard) .topbar::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.54), transparent 38%),
    linear-gradient(260deg, rgba(36, 120, 255, 0.12), transparent 48%);
  pointer-events: none;
}

body:has(.procurement-dashboard) .top-brand-button,
body:has(.procurement-dashboard) .hamburger {
  min-width: 46px;
  width: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--lg-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 24px rgba(31, 45, 70, 0.1);
}

body:has(.procurement-dashboard) .top-brand-button img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

body:has(.procurement-dashboard) .top-title {
  color: var(--lg-ink);
  font-weight: 820;
}

body:has(.procurement-dashboard) .top-venue-control,
body:has(.procurement-dashboard) .top-lang-control,
body:has(.procurement-dashboard) .topbar .theme-toggle {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 21px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.34)),
    rgba(255, 255, 255, 0.38);
  color: var(--lg-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
}

body:has(.procurement-dashboard) .topbar .venue-select,
body:has(.procurement-dashboard) .topbar .lang-select {
  color: var(--lg-ink);
  font-weight: 760;
}

body:has(.procurement-dashboard) .page.procurement-dashboard {
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  margin: 0 auto;
  padding: 18px 0 56px;
  background: transparent;
}

body:has(.procurement-dashboard) .page.procurement-dashboard > * {
  animation: liquid-rise 520ms cubic-bezier(0.2, 0.9, 0.24, 1) both;
}

body:has(.procurement-dashboard) .page.procurement-dashboard > *:nth-child(2) {
  animation-delay: 60ms;
}

body:has(.procurement-dashboard) .page.procurement-dashboard > *:nth-child(3) {
  animation-delay: 100ms;
}

.home-ops-hero,
.home-primary-card,
.home-shortcut,
.home-store-center,
.home-store-task,
.home-module-card,
.dashboard-controls.procurement-filter-panel-top,
.procurement-total-card,
.procurement-panel,
.procurement-stat-grid article,
.summary-strip,
.activity-list article,
.home-bottom-nav {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--lg-stroke);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.38)),
    var(--lg-panel);
  box-shadow: var(--lg-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: var(--lg-blur);
  -webkit-backdrop-filter: var(--lg-blur);
}

.home-ops-hero::before,
.home-primary-card::before,
.home-shortcut::before,
.home-store-center::before,
.home-module-card::before,
.dashboard-controls.procurement-filter-panel-top::before,
.procurement-total-card::before,
.procurement-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.12) 32%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle at var(--lg-x, 50%) var(--lg-y, 0%), rgba(255, 255, 255, 0.6), transparent 34%);
  opacity: 0.76;
  transition: opacity var(--lg-duration) ease;
}

.home-ops-hero::after,
.home-primary-card::after,
.home-shortcut::after,
.home-module-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(36, 120, 255, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(255, 216, 77, 0.12), transparent 46%);
  opacity: 0.72;
}

.home-action-hub {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 18px;
  margin: 18px 0;
}

.home-action-primary,
.home-shortcut-row,
.home-module-grid,
.home-store-center {
  min-width: 0;
}

.home-action-primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-shortcut-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-store-center {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
  border-radius: 30px;
}

.home-module-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-ops-hero {
  min-height: 312px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 36px;
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48) 42%, rgba(255, 255, 255, 0.22)),
    rgba(255, 255, 255, 0.44);
}

.home-ops-hero .home-hero-copy {
  position: relative;
  z-index: 2;
  width: min(560px, 58%);
}

.home-hero-copy h1 {
  margin: 0;
  color: var(--lg-ink);
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.02;
  font-weight: 860;
}

.home-hero-copy p {
  max-width: 430px;
  margin: 12px 0 28px;
  color: var(--lg-ink-soft);
  font-size: clamp(15px, 1.8vw, 20px);
  line-height: 1.42;
  font-weight: 640;
}

.home-hero-art {
  position: absolute;
  right: 0;
  bottom: -16px;
  width: min(66%, 720px);
  height: calc(100% + 32px);
  object-fit: cover;
  object-position: right center;
  opacity: 0.9;
  transform: translate3d(calc(var(--liquid-px, 0) * -10px), calc(var(--liquid-py, 0) * -8px), 0) scale(1.03);
  filter: saturate(1.08) contrast(1.02);
  transition: transform 320ms ease;
}

.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 132px));
  gap: 12px;
}

.home-hero-stats article {
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  align-content: center;
  gap: 7px 8px;
  padding: 15px 15px 13px;
  border-radius: 24px;
}

.home-hero-stats article span {
  grid-column: 1 / -1;
  color: var(--lg-muted);
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.home-hero-stats article strong {
  color: var(--lg-ink);
  font-size: 32px;
  line-height: 1;
  font-weight: 860;
}

.home-hero-stats article svg {
  align-self: end;
  color: var(--lg-blue);
}

.home-primary-card,
.home-shortcut,
.home-store-task,
.home-module-card,
.home-module-links button,
.home-bottom-nav button {
  overflow: hidden;
  transform:
    perspective(900px)
    rotateX(calc(var(--lg-ry, 0) * -1deg))
    rotateY(calc(var(--lg-rx, 0) * 1deg))
    translateY(var(--lg-lift, 0));
  transition:
    transform var(--lg-duration) cubic-bezier(0.2, 0.9, 0.24, 1),
    box-shadow var(--lg-duration) ease,
    background var(--lg-duration) ease,
    border-color var(--lg-duration) ease;
  will-change: transform;
}

.home-primary-icon svg,
.home-action-icon svg,
.home-store-icon svg,
.home-store-task svg,
.home-module-card header svg,
.home-module-links button svg,
.home-bottom-nav button svg,
.home-hero-stats article svg {
  stroke-width: 2.05 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-primary-card:hover,
.home-shortcut:hover,
.home-store-task:hover,
.home-module-card:hover {
  --lg-lift: -4px;
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow: var(--lg-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.home-primary-card:active,
.home-shortcut:active,
.home-store-task:active,
.home-module-links button:active,
.home-bottom-nav button:active {
  --lg-lift: 1px;
  transform: scale(0.985);
}

.home-primary-card {
  min-height: 154px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 28px;
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
  border-radius: 32px;
}

.home-primary-card.order {
  border-color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(135deg, rgba(36, 120, 255, 0.92), rgba(59, 215, 232, 0.64)),
    rgba(255, 255, 255, 0.5);
  color: #fff;
}

.home-primary-card.receive {
  color: var(--lg-ink);
}

.home-primary-card.order::before {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.78), transparent 42%),
    radial-gradient(circle at var(--lg-x, 60%) var(--lg-y, 20%), rgba(255, 255, 255, 0.72), transparent 34%);
}

.home-primary-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.42);
  color: var(--lg-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.home-primary-card.order .home-primary-icon,
.home-primary-card.order .home-primary-arrow,
.home-primary-card.order .home-primary-text strong,
.home-primary-card.order .home-primary-text small {
  color: #fff;
}

.home-primary-text {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.home-primary-text strong {
  color: var(--lg-ink);
  font-size: clamp(24px, 2.5vw, 31px);
  line-height: 1.06;
  font-weight: 850;
  white-space: normal;
}

.home-primary-text small {
  color: var(--lg-muted);
  font-size: 15px;
  font-weight: 680;
}

.home-primary-arrow {
  justify-self: end;
  color: var(--lg-ink-soft);
  opacity: 0.8;
}

.home-shortcut {
  min-height: 126px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 18px 10px;
  border-radius: 28px;
  color: var(--lg-ink);
  text-align: center;
}

.home-action-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
    rgba(255, 255, 255, 0.42);
  color: var(--lg-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.home-shortcut:first-child {
  background:
    linear-gradient(145deg, rgba(36, 120, 255, 0.22), rgba(59, 215, 232, 0.1)),
    rgba(255, 255, 255, 0.54);
  color: var(--lg-blue);
}

.home-shortcut:first-child .home-action-icon {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.42)),
    rgba(36, 120, 255, 0.12);
  color: var(--lg-blue);
}

.home-shortcut span,
.home-shortcut .home-action-label {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: currentColor;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 780;
  white-space: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-store-center header,
.home-store-center header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-store-center header {
  justify-content: space-between;
}

.home-store-icon,
.home-module-card header .home-action-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.4)),
    rgba(255, 255, 255, 0.42);
  color: var(--lg-blue);
}

.home-store-center header strong {
  color: var(--lg-ink);
  font-size: 24px;
  line-height: 1.12;
  font-weight: 850;
}

.home-store-center header button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--lg-stroke);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--lg-ink-soft);
  font-weight: 760;
}

.home-store-tasks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-store-task {
  min-height: 112px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  text-align: left;
}

.home-store-task svg {
  color: var(--lg-blue);
}

.home-store-task.amber svg,
.home-store-task.warning svg {
  color: var(--lg-amber);
}

.home-store-task.green svg {
  color: var(--lg-green);
}

.home-store-task.indigo svg,
.home-store-task.blue svg {
  color: var(--lg-blue);
}

.home-store-task span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-store-task strong {
  display: block;
  overflow: hidden;
  color: var(--lg-ink);
  font-size: 15px;
  line-height: 1.18;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-store-task small {
  color: var(--lg-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 650;
}

.home-store-task.indigo small {
  width: fit-content;
  min-width: 34px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(36, 120, 255, 0.14);
  color: var(--lg-blue);
  text-align: center;
  font-weight: 850;
}

.home-module-card {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
  border-radius: 28px;
}

.home-module-card header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-module-card header strong {
  color: var(--lg-ink);
  font-size: 23px;
  line-height: 1.12;
  font-weight: 850;
}

.home-module-links {
  display: grid;
  gap: 8px;
}

.home-module-links button {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--lg-ink-soft);
  font-size: 14px;
  font-weight: 720;
}

.home-module-links button:hover {
  background: rgba(255, 255, 255, 0.66);
  color: var(--lg-ink);
}

.home-module-links button svg {
  flex: 0 0 auto;
  transform: rotate(-90deg);
  color: var(--lg-blue);
}

.dashboard-controls.procurement-filter-panel-top {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(0, 1fr) 160px minmax(260px, 0.9fr);
  gap: 14px;
  align-items: end;
  min-height: 92px;
  margin: 16px 0;
  padding: 18px;
  border-radius: 28px;
}

.home-section-title {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 10px;
  color: var(--lg-ink);
}

.home-section-title strong {
  font-size: 16px;
  font-weight: 820;
}

.date-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.date-row label {
  min-width: 0;
  color: var(--lg-muted);
  font-size: 12px;
  font-weight: 720;
}

.home-date-input,
.dashboard-controls.procurement-filter-panel-top > select,
.procurement-current-venue {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.home-date-input {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  padding: 0 11px;
}

.home-date-input input {
  width: 100%;
  min-height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lg-ink);
  box-shadow: none;
}

.dashboard-controls.procurement-filter-panel-top > select {
  width: 100%;
  min-height: 42px;
  color: var(--lg-ink);
  font-weight: 720;
}

.procurement-current-venue {
  min-height: 64px;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
}

.procurement-current-venue span,
.procurement-current-venue small {
  color: var(--lg-muted);
}

.procurement-current-venue strong {
  overflow: hidden;
  color: var(--lg-ink);
  font-size: 14px;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.procurement-hero-grid,
.procurement-chart-grid,
.procurement-detail-grid {
  gap: 16px;
  margin: 16px 0;
}

.procurement-total-card,
.procurement-panel,
.procurement-stat-grid article {
  border-radius: 28px;
}

.procurement-total-card {
  min-height: 280px;
  padding: 24px;
}

.procurement-total-card strong {
  color: var(--lg-blue);
  font-weight: 860;
}

.procurement-stat-grid strong,
.procurement-panel h2 {
  color: var(--lg-ink);
}

.procurement-empty {
  border-color: rgba(31, 42, 68, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.28);
  color: var(--lg-muted);
}

.home-bottom-nav {
  display: none;
}

.liquid-ripple {
  position: absolute;
  left: var(--ripple-x, 50%);
  top: var(--ripple-y, 50%);
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: liquid-ripple 560ms ease-out forwards;
}

html.liquid-home-active .home-primary-card,
html.liquid-home-active .home-shortcut,
html.liquid-home-active .home-store-task,
html.liquid-home-active .home-module-card {
  cursor: pointer;
}

html.liquid-home-active .liquid-inview {
  animation: liquid-rise 520ms cubic-bezier(0.2, 0.9, 0.24, 1) both;
}

@keyframes liquid-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.992);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes liquid-ripple {
  0% {
    opacity: 0.54;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(24);
  }
}

@media (max-width: 1080px) {
  .home-action-hub {
    grid-template-columns: 1fr;
  }

  .home-store-center,
  .home-module-grid {
    grid-column: auto;
    grid-row: auto;
  }

  .home-store-tasks,
  .home-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-controls.procurement-filter-panel-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body:has(.procurement-dashboard) {
    background:
      linear-gradient(180deg, rgba(244, 249, 255, 0.96), rgba(236, 245, 253, 0.95) 48%, rgba(247, 250, 252, 0.99)),
      url("/ui/liquid-glass-day.png") center top / 620px auto fixed;
  }

  body:has(.procurement-dashboard) .workspace {
    padding-top: 102px;
  }

  body:has(.procurement-dashboard) .topbar {
    top: max(8px, env(safe-area-inset-top));
    width: min(calc(100vw - 18px), 480px);
    height: 82px;
    min-height: 82px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: 34px 34px;
    gap: 6px 8px;
    padding: 8px;
    border-radius: 28px;
  }

  body:has(.procurement-dashboard) .top-brand-button,
  body:has(.procurement-dashboard) .hamburger {
    grid-row: 1 / span 2;
    align-self: center;
    min-width: 44px;
    width: 44px;
    min-height: 44px;
  }

  body:has(.procurement-dashboard) .top-brand-button > :not(img):not(svg),
  body:has(.procurement-dashboard) .hamburger > :not(img):not(svg),
  body:has(.procurement-dashboard) .top-title {
    display: none !important;
  }

  body:has(.procurement-dashboard) .top-brand-button img {
    width: 28px;
    height: 28px;
  }

  body:has(.procurement-dashboard) .top-controls-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px 62px;
    grid-template-rows: 34px 34px;
    gap: 6px;
  }

  body:has(.procurement-dashboard) .top-controls-row::before {
    content: "MOMENTI";
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: center;
    color: var(--lg-ink);
    font-size: 21px;
    line-height: 1;
    font-weight: 860;
  }

  body:has(.procurement-dashboard) .top-venue-control {
    grid-column: 1;
    grid-row: 2;
  }

  body:has(.procurement-dashboard) .topbar .theme-toggle {
    grid-column: 2;
    grid-row: 2;
  }

  body:has(.procurement-dashboard) .top-lang-control {
    grid-column: 3;
    grid-row: 2;
  }

  body:has(.procurement-dashboard) .top-venue-control,
  body:has(.procurement-dashboard) .top-lang-control,
  body:has(.procurement-dashboard) .topbar .theme-toggle {
    min-height: 34px;
    border-radius: 17px;
  }

  body:has(.procurement-dashboard) .top-venue-control {
    padding: 0 8px 0 10px;
  }

  body:has(.procurement-dashboard) .topbar .venue-select,
  body:has(.procurement-dashboard) .topbar .lang-select {
    height: 32px;
    min-height: 32px;
    font-size: 12px;
  }

  body:has(.procurement-dashboard) .topbar .theme-toggle {
    width: 40px;
    min-width: 40px;
  }

  body:has(.procurement-dashboard) .topbar .theme-toggle span {
    display: none;
  }

  body:has(.procurement-dashboard) .top-lang-control {
    padding: 0 8px;
  }

  body:has(.procurement-dashboard) .page.procurement-dashboard {
    width: min(calc(100vw - 18px), 480px);
    padding: 8px 0 calc(108px + env(safe-area-inset-bottom));
  }

  .home-ops-hero {
    min-height: 244px;
    padding: 23px 18px 16px;
    border-radius: 32px;
  }

  .home-ops-hero .home-hero-copy {
    width: 68%;
  }

  .home-hero-copy h1 {
    font-size: 32px;
  }

  .home-hero-copy p {
    max-width: 220px;
    margin: 8px 0 50px;
    font-size: 13px;
    line-height: 1.35;
  }

  .home-hero-art {
    right: -74px;
    bottom: 18px;
    width: 78%;
    height: 76%;
    opacity: 0.78;
  }

  .home-hero-stats {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .home-hero-stats article {
    min-height: 70px;
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 4px;
    padding: 10px 9px;
    border-radius: 22px;
  }

  .home-hero-stats article span {
    font-size: 10px;
  }

  .home-hero-stats article strong {
    font-size: 24px;
  }

  .home-hero-stats article svg {
    width: 17px;
    height: 17px;
  }

  .home-action-hub {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 12px 0;
  }

  .home-action-primary {
    gap: 9px;
  }

  .home-primary-card {
    min-height: 94px;
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    gap: 9px;
    padding: 13px 12px;
    border-radius: 26px;
  }

  .home-primary-icon {
    width: 44px;
    height: 44px;
    border-radius: 17px;
  }

  .home-primary-icon svg {
    width: 23px;
    height: 23px;
  }

  .home-primary-text strong {
    font-size: clamp(17px, 5vw, 20px);
  }

  .home-primary-text small {
    font-size: 11px;
    line-height: 1.2;
  }

  .home-shortcut-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .home-shortcut {
    min-height: 82px;
    gap: 7px;
    padding: 9px 4px;
    border-radius: 24px;
  }

  .home-action-icon {
    width: 32px;
    height: 32px;
    border-radius: 14px;
  }

  .home-shortcut span {
    font-size: 10.5px;
  }

  .home-store-center {
    gap: 12px;
    padding: 15px;
    border-radius: 28px;
  }

  .home-store-center header strong {
    max-width: 210px;
    font-size: 20px;
  }

  .home-store-icon {
    width: 36px;
    height: 36px;
    border-radius: 15px;
  }

  .home-store-center header button {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
  }

  .home-store-tasks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-store-task {
    min-height: 78px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 11px;
    border-radius: 21px;
  }

  .home-store-task svg {
    width: 24px;
    height: 24px;
  }

  .home-store-task strong {
    font-size: 12px;
  }

  .home-store-task small {
    font-size: 10px;
  }

  .home-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 92px;
  }

  .home-module-card {
    min-height: 154px;
    gap: 10px;
    padding: 13px;
    border-radius: 25px;
  }

  .home-module-card header {
    gap: 8px;
  }

  .home-module-card header .home-action-icon {
    width: 33px;
    height: 33px;
    border-radius: 14px;
  }

  .home-module-card header strong {
    font-size: 18px;
  }

  .home-module-links {
    gap: 6px;
  }

  .home-module-links button {
    min-height: 34px;
    padding: 0 9px;
    border-radius: 14px;
    font-size: 12px;
  }

  .dashboard-controls.procurement-filter-panel-top {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 12px 0;
    padding: 14px;
    border-radius: 25px;
  }

  .home-section-title strong {
    font-size: 15px;
  }

  .date-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .date-row label {
    font-size: 10.5px;
  }

  .home-date-input,
  .dashboard-controls.procurement-filter-panel-top > select {
    min-height: 38px;
    border-radius: 16px;
  }

  .home-date-input input {
    min-height: 34px;
    font-size: 11px;
  }

  .procurement-current-venue {
    min-height: 60px;
  }

  .procurement-hero-grid,
  .procurement-chart-grid,
  .procurement-detail-grid {
    gap: 10px;
    margin: 10px 0;
  }

  .procurement-total-card,
  .procurement-panel,
  .procurement-stat-grid article {
    border-radius: 24px;
  }

  .procurement-total-card {
    min-height: 138px;
    padding: 16px;
  }

  .procurement-total-card strong {
    font-size: 38px;
  }

  .procurement-stat-grid {
    gap: 8px;
  }

  .procurement-stat-grid article {
    min-height: 74px;
    padding: 11px;
  }

  .procurement-panel {
    padding: 14px;
  }

  .home-bottom-nav {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    width: min(calc(100vw - 22px), 458px);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    padding: 6px;
    border-radius: 30px;
    transform: translateX(-50%);
  }

  .home-bottom-nav button {
    min-height: 54px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    padding: 5px 3px;
    border: 0;
    border-radius: 22px;
    background: transparent;
    color: var(--lg-ink-soft);
    font-size: 11px;
    font-weight: 760;
  }

  .home-bottom-nav button.active {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.4)),
      rgba(36, 120, 255, 0.14);
    color: var(--lg-blue);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  }

  .home-bottom-nav button svg {
    width: 21px;
    height: 21px;
  }
}

@media (max-width: 420px) {
  body:has(.procurement-dashboard) .page.procurement-dashboard {
    width: calc(100vw - 14px);
  }

  .home-ops-hero {
    min-height: 238px;
    padding-inline: 15px;
  }

  .home-hero-copy h1 {
    font-size: 29px;
  }

  .home-hero-copy p {
    max-width: 190px;
    font-size: 12px;
  }

  .home-primary-card {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 90px;
  }

  .home-primary-arrow {
    display: none;
  }

  .home-primary-icon {
    width: 40px;
    height: 40px;
  }

  .home-primary-text strong {
    font-size: 17px;
  }
}

:root[data-theme="dark"] body:has(.procurement-dashboard) {
  background:
    linear-gradient(180deg, rgba(9, 14, 23, 0.96), rgba(12, 18, 29, 0.95) 50%, rgba(10, 13, 19, 0.98)),
    url("/ui/liquid-glass-night.png") center top / 980px auto fixed;
}

:root[data-theme="dark"] {
  --lg-ink: #f6f8fc;
  --lg-ink-soft: #d9e2f1;
  --lg-muted: #9da9bc;
  --lg-panel: rgba(20, 27, 40, 0.58);
  --lg-panel-strong: rgba(29, 37, 53, 0.74);
  --lg-panel-solid: rgba(20, 27, 40, 0.9);
  --lg-stroke: rgba(255, 255, 255, 0.14);
  --lg-hairline: rgba(255, 255, 255, 0.12);
  --lg-shadow: 0 28px 76px rgba(0, 0, 0, 0.32);
  --lg-shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] body:has(.procurement-dashboard)::before {
  background:
    linear-gradient(118deg, rgba(255, 216, 77, 0.11), transparent 34%),
    linear-gradient(245deg, rgba(59, 215, 232, 0.12), transparent 42%);
}

:root[data-theme="dark"] .home-primary-card.receive,
:root[data-theme="dark"] .home-shortcut,
:root[data-theme="dark"] .home-store-center,
:root[data-theme="dark"] .home-store-task,
:root[data-theme="dark"] .home-module-card,
:root[data-theme="dark"] .dashboard-controls.procurement-filter-panel-top,
:root[data-theme="dark"] .procurement-total-card,
:root[data-theme="dark"] .procurement-panel,
:root[data-theme="dark"] .procurement-stat-grid article,
:root[data-theme="dark"] .summary-strip,
:root[data-theme="dark"] .activity-list article,
:root[data-theme="dark"] .home-bottom-nav,
:root[data-theme="dark"] body:has(.procurement-dashboard) .topbar,
:root[data-theme="dark"] body:has(.procurement-dashboard) .top-venue-control,
:root[data-theme="dark"] body:has(.procurement-dashboard) .top-lang-control,
:root[data-theme="dark"] body:has(.procurement-dashboard) .topbar .theme-toggle {
  border-color: var(--lg-stroke);
  background:
    linear-gradient(180deg, rgba(34, 44, 64, 0.66), rgba(16, 23, 35, 0.44)),
    var(--lg-panel);
  color: var(--lg-ink);
}

:root[data-theme="dark"] .home-module-links button,
:root[data-theme="dark"] .home-date-input,
:root[data-theme="dark"] .dashboard-controls.procurement-filter-panel-top > select,
:root[data-theme="dark"] .procurement-current-venue {
  border-color: var(--lg-stroke);
  background: rgba(255, 255, 255, 0.06);
  color: var(--lg-ink);
}

@media (prefers-reduced-motion: reduce) {
  .home-primary-card,
  .home-shortcut,
  .home-store-task,
  .home-module-card,
  .home-hero-art,
  .liquid-ripple,
  body:has(.procurement-dashboard) .page.procurement-dashboard > * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    transform: none !important;
  }
}

.liquid-mobile-workbench {
  display: none;
}

@media (max-width: 760px) {
  body:has(.liquid-mobile-workbench) {
    --lg-mobile-bg: #eef4fb;
    min-width: 320px;
    background:
      linear-gradient(180deg, rgba(249, 252, 255, 0.96), rgba(235, 244, 253, 0.94) 46%, rgba(245, 248, 252, 0.98)),
      url("/ui/liquid-glass-day.png") center top / 620px auto fixed;
    color: var(--lg-ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }

  body:has(.liquid-mobile-workbench)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
      radial-gradient(circle at 12% -4%, rgba(255, 216, 77, 0.24), transparent 30%),
      radial-gradient(circle at 92% 10%, rgba(36, 120, 255, 0.2), transparent 32%),
      radial-gradient(circle at 46% 38%, rgba(53, 199, 111, 0.11), transparent 34%);
  }

  body:has(.liquid-mobile-workbench) .workspace {
    padding-top: 96px;
    background: transparent;
  }

  body:has(.liquid-mobile-workbench) .topbar {
    left: 50%;
    right: auto;
    top: max(8px, env(safe-area-inset-top));
    width: min(calc(100vw - 18px), 480px);
    height: 78px;
    min-height: 78px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: 31px 33px;
    gap: 6px 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 27px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.38)),
      rgba(255, 255, 255, 0.42);
    color: var(--lg-ink);
    box-shadow: 0 18px 42px rgba(31, 45, 70, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.78);
    transform: translateX(-50%);
    backdrop-filter: blur(26px) saturate(190%);
    -webkit-backdrop-filter: blur(26px) saturate(190%);
  }

  body:has(.liquid-mobile-workbench) .top-brand-button,
  body:has(.liquid-mobile-workbench) .hamburger {
    grid-row: 1 / span 2;
    align-self: center;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42)),
      rgba(255, 255, 255, 0.42);
    color: var(--lg-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 22px rgba(31, 45, 70, 0.11);
  }

  body:has(.liquid-mobile-workbench) .top-brand-button > :not(img):not(svg),
  body:has(.liquid-mobile-workbench) .hamburger > :not(img):not(svg),
  body:has(.liquid-mobile-workbench) .top-title,
  body:has(.liquid-mobile-workbench) .datacenter,
  body:has(.liquid-mobile-workbench) .user-pill,
  body:has(.liquid-mobile-workbench) .employee-select {
    display: none !important;
  }

  body:has(.liquid-mobile-workbench) .top-brand-button img {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  body:has(.liquid-mobile-workbench) .top-controls-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px 60px;
    grid-template-rows: 31px 33px;
    gap: 6px;
  }

  body:has(.liquid-mobile-workbench) .top-controls-row::before {
    content: "MOMENTI";
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: center;
    color: var(--lg-ink);
    font-size: 21px;
    line-height: 1;
    font-weight: 850;
  }

  body:has(.liquid-mobile-workbench) .top-venue-control {
    grid-column: 1;
    grid-row: 2;
  }

  body:has(.liquid-mobile-workbench) .topbar .theme-toggle {
    grid-column: 2;
    grid-row: 2;
  }

  body:has(.liquid-mobile-workbench) .top-lang-control {
    grid-column: 3;
    grid-row: 2;
  }

  body:has(.liquid-mobile-workbench) .top-venue-control,
  body:has(.liquid-mobile-workbench) .top-lang-control,
  body:has(.liquid-mobile-workbench) .topbar .theme-toggle {
    min-height: 33px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.46);
    color: var(--lg-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
    backdrop-filter: blur(16px) saturate(165%);
    -webkit-backdrop-filter: blur(16px) saturate(165%);
  }

  body:has(.liquid-mobile-workbench) .top-venue-control {
    padding: 0 8px 0 10px;
  }

  body:has(.liquid-mobile-workbench) .topbar .venue-select,
  body:has(.liquid-mobile-workbench) .topbar .lang-select {
    height: 31px;
    min-height: 31px;
    color: var(--lg-ink);
    font-size: 12px;
    font-weight: 740;
  }

  body:has(.liquid-mobile-workbench) .topbar .theme-toggle {
    width: 38px;
    min-width: 38px;
  }

  body:has(.liquid-mobile-workbench) .topbar .theme-toggle span {
    display: none;
  }

  body:has(.liquid-mobile-workbench) .top-lang-control {
    padding: 0 8px;
  }

  body:has(.liquid-mobile-workbench) .page.procurement-dashboard {
    width: min(calc(100vw - 18px), 480px);
    max-width: none;
    margin: 0 auto;
    padding: 0 0 calc(102px + env(safe-area-inset-bottom));
    background: transparent;
  }

  body:has(.liquid-mobile-workbench) .page.procurement-dashboard > :not(.liquid-mobile-workbench) {
    display: none !important;
  }

  .liquid-mobile-workbench {
    display: grid;
    gap: 14px;
  }

  .liquid-mobile-workbench,
  .liquid-mobile-workbench * {
    box-sizing: border-box;
    letter-spacing: 0;
  }

  .liquid-mobile-workbench button {
    -webkit-tap-highlight-color: transparent;
  }

  .lg-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .lg-symbol svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.05;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .lg-hero,
  .lg-action,
  .lg-chip,
  .lg-task-panel,
  .lg-module,
  .lg-overview,
  .lg-export,
  .lg-tabbar {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.66);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.36)),
      rgba(255, 255, 255, 0.42);
    box-shadow: 0 16px 38px rgba(31, 45, 70, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(26px) saturate(190%);
    -webkit-backdrop-filter: blur(26px) saturate(190%);
  }

  .lg-hero::before,
  .lg-action::before,
  .lg-chip::before,
  .lg-task-panel::before,
  .lg-module::before,
  .lg-overview::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background:
      linear-gradient(124deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.12) 38%, rgba(255, 255, 255, 0) 66%),
      radial-gradient(circle at var(--lg-x, 50%) var(--lg-y, 0%), rgba(255, 255, 255, 0.62), transparent 38%);
    opacity: 0.7;
  }

  .lg-hero {
    min-height: 246px;
    display: grid;
    align-content: space-between;
    gap: 18px;
    padding: 22px 17px 14px;
    border-radius: 34px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.44) 43%, rgba(204, 232, 255, 0.3)),
      rgba(255, 255, 255, 0.42);
  }

  .lg-hero-main {
    position: relative;
    z-index: 2;
    width: 70%;
    min-width: 0;
  }

  .lg-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(36, 120, 255, 0.1);
    color: #1d63d8;
    font-size: 11px;
    font-weight: 820;
  }

  .lg-hero h1 {
    margin: 10px 0 6px;
    color: var(--lg-ink);
    font-size: 39px;
    line-height: 0.94;
    font-weight: 860;
  }

  .lg-hero p {
    max-width: 230px;
    margin: 0;
    color: var(--lg-ink-soft);
    font-size: 13px;
    line-height: 1.36;
    font-weight: 650;
  }

  .lg-orbit {
    position: absolute;
    right: -30px;
    top: 20px;
    width: 190px;
    height: 152px;
    pointer-events: none;
  }

  .lg-orbit::before {
    content: "";
    position: absolute;
    inset: 22px 14px 16px 0;
    border: 1px solid rgba(36, 120, 255, 0.18);
    border-radius: 48px;
    transform: rotate(-13deg);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.08)),
      rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.78), 0 18px 34px rgba(31, 45, 70, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .lg-orbit i {
    position: absolute;
    display: block;
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.38)),
      rgba(36, 120, 255, 0.16);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.8), 0 12px 24px rgba(31, 45, 70, 0.14);
    animation: lg-float 5.2s ease-in-out infinite;
  }

  .lg-orbit i:nth-child(1) {
    right: 36px;
    top: 4px;
    width: 56px;
    height: 56px;
  }

  .lg-orbit i:nth-child(2) {
    right: 102px;
    top: 72px;
    width: 36px;
    height: 36px;
    animation-delay: -1.4s;
  }

  .lg-orbit i:nth-child(3) {
    right: 16px;
    top: 102px;
    width: 28px;
    height: 28px;
    animation-delay: -2.1s;
  }

  .lg-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .lg-stats article {
    min-width: 0;
    min-height: 72px;
    display: grid;
    align-content: center;
    gap: 3px;
    padding: 10px 9px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.7);
  }

  .lg-stats span,
  .lg-stats em {
    overflow: hidden;
    color: var(--lg-muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 720;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lg-stats strong {
    color: var(--lg-ink);
    font-size: 25px;
    line-height: 1;
    font-weight: 850;
  }

  .lg-primary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .lg-action,
  .lg-chip,
  .lg-module-link,
  .lg-tab-button {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    color: var(--lg-ink);
    text-align: left;
    cursor: pointer;
    transform:
      perspective(900px)
      rotateX(calc(var(--lg-ry, 0) * -1deg))
      rotateY(calc(var(--lg-rx, 0) * 1deg))
      translateY(var(--lg-lift, 0));
    transition:
      transform 220ms cubic-bezier(0.2, 0.9, 0.24, 1),
      box-shadow 220ms ease,
      background 220ms ease,
      border-color 220ms ease;
  }

  .lg-action:active,
  .lg-chip:active,
  .lg-module-link:active,
  .lg-tab-button:active {
    transform: scale(0.985);
  }

  .lg-action {
    min-height: 96px;
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 13px;
    border-radius: 27px;
  }

  .lg-action.is-primary {
    background:
      linear-gradient(135deg, rgba(36, 120, 255, 0.94), rgba(59, 215, 232, 0.68)),
      rgba(255, 255, 255, 0.4);
    color: #fff;
  }

  .lg-action.is-primary .lg-symbol,
  .lg-action.is-primary strong,
  .lg-action.is-primary small {
    color: #fff;
  }

  .lg-action.is-compact {
    min-height: 78px;
    border-radius: 24px;
  }

  .lg-action .lg-symbol,
  .lg-chip .lg-symbol {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
      rgba(255, 255, 255, 0.42);
    color: var(--lg-blue);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.72);
  }

  .lg-action-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
  }

  .lg-action strong {
    overflow: hidden;
    color: currentColor;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 830;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lg-action small {
    overflow: hidden;
    color: var(--lg-muted);
    font-size: 11px;
    line-height: 1.22;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lg-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    min-width: 30px;
    height: 20px;
    display: grid;
    place-items: center;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(36, 120, 255, 0.14);
    color: var(--lg-blue);
    font-size: 10px;
    font-weight: 850;
  }

  .lg-section {
    display: grid;
    gap: 9px;
  }

  .lg-section > header,
  .lg-overview > header {
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
  }

  .lg-section > header strong,
  .lg-overview > header span {
    color: var(--lg-ink);
    font-size: 17px;
    font-weight: 830;
  }

  .lg-section > header span {
    color: var(--lg-muted);
    font-size: 12px;
    font-weight: 680;
  }

  .lg-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .lg-chip {
    min-height: 82px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 7px;
    padding: 9px 4px;
    border-radius: 24px;
    text-align: center;
  }

  .lg-chip .lg-symbol {
    width: 32px;
    height: 32px;
    border-radius: 14px;
  }

  .lg-chip span {
    max-width: 100%;
    overflow: hidden;
    color: var(--lg-ink);
    font-size: 11px;
    line-height: 1.18;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lg-task-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 13px;
    border-radius: 28px;
  }

  .lg-task-panel > header {
    grid-column: 1 / -1;
    padding: 0 2px 2px;
  }

  .lg-task-panel .lg-action {
    box-shadow: none;
  }

  .lg-module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .lg-module {
    min-height: 154px;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 13px;
    border-radius: 26px;
  }

  .lg-module header {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .lg-module header .lg-symbol {
    width: 33px;
    height: 33px;
    border-radius: 14px;
    background: rgba(36, 120, 255, 0.1);
    color: var(--lg-blue);
  }

  .lg-module header strong {
    color: var(--lg-ink);
    font-size: 18px;
    font-weight: 830;
  }

  .lg-module > div {
    display: grid;
    gap: 6px;
  }

  .lg-module-link {
    position: relative;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 9px 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.38);
    color: var(--lg-ink-soft);
    font-size: 12px;
    font-weight: 710;
  }

  .lg-module-link i {
    width: 6px;
    height: 6px;
    border-top: 1.7px solid currentColor;
    border-right: 1.7px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.65;
  }

  .lg-overview {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 28px;
  }

  .lg-overview header {
    padding: 0;
  }

  .lg-overview header > div {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .lg-overview header .lg-symbol {
    width: 32px;
    height: 32px;
    border-radius: 14px;
    background: rgba(36, 120, 255, 0.1);
    color: var(--lg-blue);
  }

  .lg-overview header strong {
    color: var(--lg-blue);
    font-size: 24px;
    line-height: 1;
    font-weight: 850;
  }

  .lg-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .lg-overview-grid article {
    min-height: 78px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.36);
  }

  .lg-overview-grid span,
  .lg-overview-grid small {
    overflow: hidden;
    color: var(--lg-muted);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 680;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lg-overview-grid strong {
    color: var(--lg-ink);
    font-size: 21px;
    line-height: 1;
    font-weight: 840;
  }

  .lg-export {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 9px;
    border-radius: 26px;
  }

  .lg-export .lg-chip {
    min-height: 58px;
    grid-template-columns: 28px minmax(0, 1fr);
    justify-items: start;
    align-content: center;
    text-align: left;
    border-radius: 20px;
    box-shadow: none;
  }

  .lg-tabbar {
    position: fixed;
    left: 50%;
    bottom: max(9px, env(safe-area-inset-bottom));
    z-index: 80;
    width: min(calc(100vw - 22px), 458px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    padding: 6px;
    border-radius: 30px;
    transform: translateX(-50%);
  }

  .lg-tab-button {
    min-height: 54px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    padding: 5px 3px;
    border-radius: 22px;
    background: transparent;
    color: var(--lg-ink-soft);
    text-align: center;
  }

  .lg-tab-button.active {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.4)),
      rgba(36, 120, 255, 0.14);
    color: var(--lg-blue);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.72);
  }

  .lg-tab-button .lg-symbol {
    width: 22px;
    height: 22px;
  }

  .lg-tab-button span {
    font-size: 11px;
    line-height: 1;
    font-weight: 760;
  }

  .liquid-ripple {
    position: absolute;
    left: var(--ripple-x, 50%);
    top: var(--ripple-y, 50%);
    z-index: 2;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: liquid-ripple 560ms ease-out forwards;
  }

  .lg-action.is-missing,
  .lg-chip.is-missing,
  .lg-tab-button.is-missing {
    outline: 2px solid rgba(255, 92, 100, 0.44);
  }

  @keyframes lg-float {
    0%,
    100% {
      transform: translate3d(0, 0, 0);
    }
    50% {
      transform: translate3d(0, -8px, 0);
    }
  }
}

@media (max-width: 380px) {
  .lg-hero {
    min-height: 236px;
    padding-inline: 14px;
  }

  .lg-hero h1 {
    font-size: 34px;
  }

  .lg-action {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 90px;
    padding: 11px;
  }

  .lg-action .lg-symbol {
    width: 40px;
    height: 40px;
  }

  .lg-action strong {
    font-size: 16px;
  }

  .lg-task-panel,
  .lg-module-grid {
    gap: 7px;
  }

  .lg-module {
    padding: 11px;
  }
}


:root[data-theme="dark"] body:has(.liquid-mobile-workbench) {
  background:
    linear-gradient(180deg, rgba(10, 14, 22, 0.96), rgba(13, 19, 31, 0.95) 48%, rgba(9, 12, 18, 0.98)),
    url("/ui/liquid-glass-night.png") center top / 620px auto fixed;
}

:root[data-theme="dark"] body:has(.liquid-mobile-workbench)::before {
  background:
    radial-gradient(circle at 12% -4%, rgba(255, 216, 77, 0.11), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(36, 120, 255, 0.18), transparent 32%),
    radial-gradient(circle at 46% 38%, rgba(53, 199, 111, 0.08), transparent 34%);
}

@media (max-width: 760px) {
  body:has(.liquid-mobile-workbench) {
    --lg-ink: #1d1d1f;
    --lg-ink-soft: #3a3a3c;
    --lg-muted: #6e6e73;
    --lg-blue: #007aff;
    --lg-green: #34c759;
    --lg-amber: #ffcc00;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 245, 247, 0.96) 34%, #f5f5f7),
      #f5f5f7;
  }

  body:has(.liquid-mobile-workbench)::before {
    background:
      radial-gradient(circle at 18% 0%, rgba(0, 122, 255, 0.08), transparent 30%),
      radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.88), transparent 28%);
  }

  body:has(.liquid-mobile-workbench)::after {
    opacity: 0.22;
    background-image: linear-gradient(rgba(255, 255, 255, 0.72) 1px, transparent 1px);
    background-size: 1px 22px;
  }

  body:has(.liquid-mobile-workbench) .workspace {
    padding-top: 112px !important;
  }

  body:has(.liquid-mobile-workbench) .topbar {
    position: fixed !important;
    top: max(10px, env(safe-area-inset-top)) !important;
    left: 50% !important;
    right: auto !important;
    width: min(calc(100vw - 18px), 480px) !important;
    height: 78px !important;
    min-height: 78px !important;
    margin: 0 !important;
    border-color: rgba(255, 255, 255, 0.76) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52)),
      rgba(255, 255, 255, 0.44) !important;
    box-shadow:
      0 12px 34px rgba(60, 60, 67, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
    transform: translateX(-50%) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  }

  body:has(.liquid-mobile-workbench) .top-controls-row::before {
    color: #1d1d1f;
    font-size: 20px;
    font-weight: 760;
  }

  body:has(.liquid-mobile-workbench) .top-brand-button,
  body:has(.liquid-mobile-workbench) .hamburger,
  body:has(.liquid-mobile-workbench) .top-venue-control,
  body:has(.liquid-mobile-workbench) .top-lang-control,
  body:has(.liquid-mobile-workbench) .topbar .theme-toggle {
    border-color: rgba(255, 255, 255, 0.72) !important;
    background: rgba(255, 255, 255, 0.52) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
  }

  .liquid-mobile-workbench {
    gap: 13px;
  }

  .lg-hero,
  .lg-action,
  .lg-chip,
  .lg-task-panel,
  .lg-module,
  .lg-overview,
  .lg-export,
  .lg-tabbar {
    border-color: rgba(255, 255, 255, 0.76);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.52)),
      rgba(255, 255, 255, 0.42);
    box-shadow:
      0 12px 30px rgba(60, 60, 67, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(28px) saturate(175%);
    -webkit-backdrop-filter: blur(28px) saturate(175%);
  }

  .lg-hero::before,
  .lg-action::before,
  .lg-chip::before,
  .lg-task-panel::before,
  .lg-module::before,
  .lg-overview::before {
    background:
      linear-gradient(130deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.14) 40%, transparent 68%),
      radial-gradient(circle at var(--lg-x, 50%) var(--lg-y, 0%), rgba(255, 255, 255, 0.48), transparent 34%);
    opacity: 0.62;
  }

  .lg-hero {
    min-height: 224px;
    padding: 20px 16px 13px;
    border-radius: 32px;
  }

  .lg-hero-main {
    width: 74%;
  }

  .lg-eyebrow {
    min-height: 24px;
    background: rgba(0, 122, 255, 0.08);
    color: #0066d6;
    font-size: 11px;
    font-weight: 760;
  }

  .lg-hero h1 {
    margin: 10px 0 6px;
    color: #1d1d1f;
    font-size: 34px;
    line-height: 1.02;
    font-weight: 760;
  }

  .lg-hero p {
    max-width: 236px;
    color: #6e6e73;
    font-size: 13px;
    font-weight: 560;
  }

  .lg-orbit {
    right: -26px;
    top: 20px;
    width: 170px;
    height: 130px;
    opacity: 0.72;
  }

  .lg-orbit::before {
    border-color: rgba(0, 122, 255, 0.1);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.14)),
      rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.82), 0 14px 28px rgba(60, 60, 67, 0.08);
  }

  .lg-orbit i {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.42)),
      rgba(0, 122, 255, 0.08);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.84), 0 10px 22px rgba(60, 60, 67, 0.1);
  }

  .lg-stats article {
    min-height: 68px;
    border-color: rgba(255, 255, 255, 0.66);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.54);
  }

  .lg-stats span,
  .lg-stats em,
  .lg-action small,
  .lg-section > header span,
  .lg-overview-grid span,
  .lg-overview-grid small {
    color: #6e6e73;
    font-weight: 560;
  }

  .lg-stats strong,
  .lg-action strong,
  .lg-chip span,
  .lg-module header strong,
  .lg-overview-grid strong {
    color: #1d1d1f;
    font-weight: 700;
  }

  .lg-action {
    min-height: 92px;
    border-radius: 26px;
  }

  .lg-action.is-primary {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.52)),
      rgba(0, 122, 255, 0.1);
    color: #1d1d1f;
  }

  .lg-action.is-primary .lg-symbol,
  .lg-action.is-primary strong,
  .lg-action.is-primary small {
    color: inherit;
  }

  .lg-action .lg-symbol,
  .lg-chip .lg-symbol,
  .lg-module header .lg-symbol,
  .lg-overview header .lg-symbol {
    border-color: transparent;
    background: rgba(0, 122, 255, 0.09);
    color: #007aff;
    box-shadow: none;
  }

  .lg-symbol svg {
    stroke-width: 1.75;
  }

  .lg-action .lg-symbol svg,
  .lg-chip .lg-symbol svg,
  .lg-tab-button .lg-symbol svg {
    width: 78%;
    height: 78%;
  }

  .lg-primary-grid {
    gap: 8px;
  }

  .lg-quick-grid,
  .lg-module-grid,
  .lg-task-panel {
    gap: 8px;
  }

  .lg-chip {
    min-height: 78px;
    border-radius: 23px;
  }

  .lg-task-panel {
    border-radius: 27px;
  }

  .lg-module {
    border-radius: 25px;
  }

  .lg-module-link {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.42);
    color: #3a3a3c;
  }

  .lg-overview header strong {
    color: #007aff;
    font-weight: 740;
  }

  .lg-tabbar {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.58)),
      rgba(255, 255, 255, 0.5);
  }

  .lg-tab-button {
    color: #3a3a3c;
  }

  .lg-tab-button.active {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  body:has(.liquid-mobile-workbench) .workspace {
    padding-top: 86px !important;
  }

  body:has(.liquid-mobile-workbench) .workspace::before,
  body:has(.liquid-mobile-workbench) .workspace::after {
    content: none !important;
    display: none !important;
  }

  body:has(.liquid-mobile-workbench) .topbar {
    height: 58px !important;
    min-height: 58px !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    grid-template-rows: 42px !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 8px !important;
    border-radius: 29px !important;
    overflow: hidden !important;
  }

  body:has(.liquid-mobile-workbench) .topbar::before,
  body:has(.liquid-mobile-workbench) .topbar::after {
    content: none !important;
    display: none !important;
  }

  body:has(.liquid-mobile-workbench) .top-brand-button,
  body:has(.liquid-mobile-workbench) .hamburger {
    grid-row: 1 !important;
    align-self: center !important;
    width: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  body:has(.liquid-mobile-workbench) .top-controls-row {
    grid-template-columns: minmax(0, 1fr) 40px 58px !important;
    grid-template-rows: 42px !important;
    align-items: center !important;
    gap: 6px !important;
  }

  body:has(.liquid-mobile-workbench) .top-controls-row::before {
    display: none !important;
    content: none !important;
  }

  body:has(.liquid-mobile-workbench) .top-venue-control,
  body:has(.liquid-mobile-workbench) .topbar .theme-toggle,
  body:has(.liquid-mobile-workbench) .top-lang-control {
    grid-row: 1 !important;
    min-height: 40px !important;
    border-radius: 20px !important;
  }

  body:has(.liquid-mobile-workbench) .top-venue-control {
    grid-column: 1 !important;
  }

  body:has(.liquid-mobile-workbench) .topbar .theme-toggle {
    grid-column: 2 !important;
    width: 40px !important;
    min-width: 40px !important;
    position: relative;
    color: #1d1d1f;
  }

  body:has(.liquid-mobile-workbench) .top-lang-control {
    grid-column: 3 !important;
  }

  body:has(.liquid-mobile-workbench) .topbar .venue-select,
  body:has(.liquid-mobile-workbench) .topbar .lang-select {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 12px !important;
  }

  body:has(.liquid-mobile-workbench) .topbar .theme-toggle img,
  body:has(.liquid-mobile-workbench) .topbar .theme-toggle svg,
  body:has(.liquid-mobile-workbench) .topbar .theme-toggle span {
    display: none !important;
  }

  body:has(.liquid-mobile-workbench) .topbar .theme-toggle::before {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    border: 1.9px solid currentColor;
    border-radius: 999px;
    box-shadow: inset -5px -2px 0 -3px currentColor;
  }

  .lg-hero {
    min-height: 218px;
  }
}

/* Apple-style mobile refinement: neutral Liquid Glass, SF-like glyphs. */
@media (max-width: 760px) {
  :root {
    --lg-ink: #1d1d1f;
    --lg-ink-soft: #3a3a3c;
    --lg-muted: #86868b;
    --lg-blue: #007aff;
    --lg-hairline: rgba(0, 0, 0, 0.07);
    --lg-stroke: rgba(255, 255, 255, 0.72);
    --lg-panel: rgba(255, 255, 255, 0.58);
    --lg-panel-strong: rgba(255, 255, 255, 0.74);
    --lg-shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.08);
    --lg-shadow: 0 22px 58px rgba(0, 0, 0, 0.11);
    --lg-blur: blur(30px) saturate(180%);
  }

  body:has(.liquid-mobile-workbench) {
    background:
      linear-gradient(180deg, rgba(251, 251, 253, 0.98), rgba(242, 244, 247, 0.96) 42%, rgba(250, 250, 252, 0.98)),
      linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(228, 232, 238, 0.54) 58%, rgba(255, 255, 255, 0.72));
  }

  body:has(.liquid-mobile-workbench)::before {
    background:
      linear-gradient(122deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 44%),
      linear-gradient(248deg, rgba(218, 224, 232, 0.46), rgba(255, 255, 255, 0) 52%);
    opacity: 1;
  }

  body:has(.liquid-mobile-workbench)::after,
  body:has(.liquid-mobile-workbench) .workspace::before,
  body:has(.liquid-mobile-workbench) .workspace::after,
  body:has(.liquid-mobile-workbench) .topbar::before,
  body:has(.liquid-mobile-workbench) .topbar::after {
    display: none !important;
  }

  body:has(.liquid-mobile-workbench) .workspace {
    padding-top: 92px;
  }

  body:has(.liquid-mobile-workbench) .topbar {
    height: 72px !important;
    min-height: 72px !important;
    padding: 7px !important;
    border: 1px solid rgba(255, 255, 255, 0.76) !important;
    border-radius: 28px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 247, 250, 0.5)),
      rgba(255, 255, 255, 0.54) !important;
    box-shadow:
      0 18px 42px rgba(0, 0, 0, 0.09),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(0, 0, 0, 0.04) !important;
    backdrop-filter: var(--lg-blur) !important;
    -webkit-backdrop-filter: var(--lg-blur) !important;
  }

  body:has(.liquid-mobile-workbench) .top-brand-button,
  body:has(.liquid-mobile-workbench) .hamburger,
  body:has(.liquid-mobile-workbench) .top-venue-control,
  body:has(.liquid-mobile-workbench) .topbar .theme-toggle,
  body:has(.liquid-mobile-workbench) .top-lang-control {
    border: 1px solid rgba(0, 0, 0, 0.055) !important;
    background: rgba(255, 255, 255, 0.55) !important;
    color: #1d1d1f !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.84),
      0 6px 16px rgba(0, 0, 0, 0.045) !important;
  }

  body:has(.liquid-mobile-workbench) .top-brand-button,
  body:has(.liquid-mobile-workbench) .hamburger {
    width: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 21px !important;
  }

  body:has(.liquid-mobile-workbench) .top-brand-button img {
    width: 25px !important;
    height: 25px !important;
  }

  body:has(.liquid-mobile-workbench) .top-controls-row {
    grid-template-columns: minmax(0, 1fr) 38px 58px !important;
    gap: 6px !important;
  }

  body:has(.liquid-mobile-workbench) .top-venue-control,
  body:has(.liquid-mobile-workbench) .topbar .theme-toggle,
  body:has(.liquid-mobile-workbench) .top-lang-control {
    min-height: 38px !important;
    border-radius: 19px !important;
  }

  body:has(.liquid-mobile-workbench) .topbar .venue-select,
  body:has(.liquid-mobile-workbench) .topbar .lang-select {
    height: 36px !important;
    min-height: 36px !important;
    color: #1d1d1f !important;
    font-size: 12px !important;
    font-weight: 590 !important;
  }

  body:has(.liquid-mobile-workbench) .page.procurement-dashboard {
    width: min(calc(100vw - 18px), 480px);
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .liquid-mobile-workbench {
    gap: 13px;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  .lg-symbol svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.62;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .lg-symbol svg path,
  .lg-symbol svg rect,
  .lg-symbol svg circle {
    vector-effect: non-scaling-stroke;
  }

  .lg-hero,
  .lg-action,
  .lg-chip,
  .lg-task-panel,
  .lg-module,
  .lg-overview,
  .lg-export,
  .lg-tabbar {
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(246, 247, 250, 0.46)),
      rgba(255, 255, 255, 0.52) !important;
    box-shadow:
      var(--lg-shadow-soft),
      inset 0 1px 0 rgba(255, 255, 255, 0.88),
      inset 0 -1px 0 rgba(0, 0, 0, 0.04) !important;
    backdrop-filter: var(--lg-blur) !important;
    -webkit-backdrop-filter: var(--lg-blur) !important;
  }

  .lg-hero::before,
  .lg-action::before,
  .lg-chip::before,
  .lg-task-panel::before,
  .lg-module::before,
  .lg-overview::before {
    background:
      linear-gradient(130deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.16) 42%, rgba(255, 255, 255, 0) 68%),
      radial-gradient(circle at var(--lg-x, 52%) var(--lg-y, 0%), rgba(255, 255, 255, 0.5), transparent 34%);
    opacity: 0.58;
  }

  .lg-hero {
    min-height: 226px;
    padding: 22px 17px 14px;
    border-radius: 32px;
  }

  .lg-hero::after {
    content: "";
    position: absolute;
    right: -22px;
    top: 28px;
    z-index: 0;
    width: 168px;
    height: 118px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 42px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.18)),
      rgba(255, 255, 255, 0.22);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.82),
      0 18px 38px rgba(0, 0, 0, 0.07);
    transform: rotate(-8deg);
    pointer-events: none;
  }

  .lg-orbit {
    display: none !important;
  }

  .lg-hero-main {
    position: relative;
    z-index: 2;
    width: 72%;
  }

  .lg-eyebrow {
    min-height: 24px;
    padding: 0 10px;
    border: 1px solid rgba(0, 0, 0, 0.045);
    background: rgba(118, 118, 128, 0.1);
    color: #6e6e73;
    font-size: 11px;
    font-weight: 650;
  }

  .lg-hero h1 {
    margin: 10px 0 6px;
    color: #1d1d1f;
    font-size: 38px;
    line-height: 0.98;
    font-weight: 720;
  }

  .lg-hero p {
    max-width: 238px;
    color: #6e6e73;
    font-size: 13px;
    line-height: 1.36;
    font-weight: 500;
  }

  .lg-stats {
    position: relative;
    z-index: 2;
  }

  .lg-stats article,
  .lg-overview-grid article,
  .lg-module-link {
    border: 1px solid rgba(0, 0, 0, 0.045) !important;
    background: rgba(255, 255, 255, 0.44) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
  }

  .lg-stats span,
  .lg-stats em,
  .lg-section > header span,
  .lg-overview-grid span,
  .lg-overview-grid small,
  .lg-action small {
    color: #86868b !important;
    font-weight: 520 !important;
  }

  .lg-stats strong {
    color: #1d1d1f;
    font-size: 25px;
    font-weight: 690;
  }

  .lg-action,
  .lg-chip,
  .lg-module-link,
  .lg-tab-button {
    transition:
      transform 180ms cubic-bezier(0.2, 0.9, 0.24, 1),
      box-shadow 180ms ease,
      background 180ms ease,
      border-color 180ms ease,
      color 180ms ease;
  }

  .lg-action {
    min-height: 92px;
    border-radius: 26px;
  }

  .lg-action.is-primary {
    border-color: rgba(0, 122, 255, 0.22) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 248, 252, 0.54)),
      rgba(255, 255, 255, 0.56) !important;
    color: #1d1d1f !important;
  }

  .lg-action.is-primary::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 10px;
    height: 2px;
    border-radius: 999px;
    background: rgba(0, 122, 255, 0.42);
  }

  .lg-action.is-primary .lg-symbol,
  .lg-action.is-primary strong,
  .lg-action.is-primary small {
    color: inherit;
  }

  .lg-action .lg-symbol,
  .lg-chip .lg-symbol,
  .lg-module header .lg-symbol,
  .lg-overview header .lg-symbol {
    border: 1px solid rgba(0, 0, 0, 0.045) !important;
    background: rgba(118, 118, 128, 0.1) !important;
    color: #1d1d1f !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  }

  .lg-action.is-primary .lg-symbol,
  .lg-tab-button.active .lg-symbol,
  .lg-overview header .lg-symbol {
    color: var(--lg-blue) !important;
  }

  .lg-action strong,
  .lg-section > header strong,
  .lg-overview > header span,
  .lg-module header strong,
  .lg-chip span,
  .lg-tab-button span {
    color: #1d1d1f;
    font-weight: 650;
  }

  .lg-action strong {
    font-size: 18px;
    line-height: 1.12;
  }

  .lg-action small {
    font-size: 11px;
  }

  .lg-chip {
    min-height: 80px;
    border-radius: 24px;
  }

  .lg-chip .lg-symbol {
    width: 31px;
    height: 31px;
    border-radius: 14px;
  }

  .lg-chip span {
    font-size: 11px;
    line-height: 1.18;
    white-space: normal;
  }

  .lg-task-panel {
    gap: 8px;
    padding: 12px;
    border-radius: 28px;
  }

  .lg-task-panel .lg-action {
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    background: rgba(255, 255, 255, 0.36) !important;
  }

  .lg-action.is-compact {
    min-height: 76px;
    border-radius: 23px;
  }

  .lg-module {
    min-height: 150px;
    border-radius: 25px;
  }

  .lg-module header .lg-symbol,
  .lg-overview header .lg-symbol {
    width: 32px;
    height: 32px;
    border-radius: 14px;
  }

  .lg-module-link {
    color: #3a3a3c;
    font-weight: 560;
  }

  .lg-module-link i {
    border-width: 1.45px;
    opacity: 0.46;
  }

  .lg-overview {
    border-radius: 28px;
  }

  .lg-overview header strong {
    color: #007aff;
    font-size: 23px;
    font-weight: 690;
  }

  .lg-overview-grid strong {
    color: #1d1d1f;
    font-size: 21px;
    font-weight: 650;
  }

  .lg-export {
    padding: 8px;
    border-radius: 25px;
  }

  .lg-export .lg-chip {
    min-height: 56px;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    background: rgba(255, 255, 255, 0.34) !important;
  }

  .lg-tabbar {
    bottom: max(9px, env(safe-area-inset-bottom));
    padding: 6px;
    border-color: rgba(255, 255, 255, 0.78) !important;
    border-radius: 30px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(246, 247, 250, 0.54)),
      rgba(255, 255, 255, 0.58) !important;
  }

  .lg-tab-button {
    min-height: 54px;
    border-radius: 22px;
    color: #6e6e73;
  }

  .lg-tab-button .lg-symbol {
    width: 22px;
    height: 22px;
  }

  .lg-tab-button .lg-symbol,
  .lg-tab-button span {
    color: currentColor;
  }

  .lg-tab-button.active {
    background: rgba(0, 122, 255, 0.1) !important;
    color: var(--lg-blue) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68) !important;
  }

  .liquid-ripple {
    background: rgba(0, 122, 255, 0.12);
  }
}

@media (max-width: 380px) {
  .lg-hero h1 {
    font-size: 34px;
  }

  .lg-hero-main {
    width: 74%;
  }

  .lg-action strong {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  :root[data-theme="dark"] {
    --lg-ink: #f5f5f7;
    --lg-ink-soft: #d1d1d6;
    --lg-muted: #98989d;
    --lg-hairline: rgba(255, 255, 255, 0.12);
    --lg-stroke: rgba(255, 255, 255, 0.16);
    --lg-panel: rgba(28, 28, 30, 0.58);
    --lg-panel-strong: rgba(44, 44, 46, 0.72);
    --lg-shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.3);
  }

  :root[data-theme="dark"] body:has(.liquid-mobile-workbench) {
    background:
      linear-gradient(180deg, rgba(8, 8, 10, 0.98), rgba(20, 20, 23, 0.96) 48%, rgba(5, 5, 7, 0.98)),
      linear-gradient(135deg, rgba(55, 55, 60, 0.5), rgba(0, 0, 0, 0.9));
  }

  :root[data-theme="dark"] body:has(.liquid-mobile-workbench) .topbar,
  :root[data-theme="dark"] .lg-hero,
  :root[data-theme="dark"] .lg-action,
  :root[data-theme="dark"] .lg-chip,
  :root[data-theme="dark"] .lg-task-panel,
  :root[data-theme="dark"] .lg-module,
  :root[data-theme="dark"] .lg-overview,
  :root[data-theme="dark"] .lg-export,
  :root[data-theme="dark"] .lg-tabbar {
    border-color: rgba(255, 255, 255, 0.16) !important;
    background:
      linear-gradient(180deg, rgba(44, 44, 46, 0.72), rgba(22, 22, 24, 0.52)),
      rgba(28, 28, 30, 0.58) !important;
    color: #f5f5f7;
  }

  :root[data-theme="dark"] body:has(.liquid-mobile-workbench) .top-brand-button,
  :root[data-theme="dark"] body:has(.liquid-mobile-workbench) .hamburger,
  :root[data-theme="dark"] body:has(.liquid-mobile-workbench) .top-venue-control,
  :root[data-theme="dark"] body:has(.liquid-mobile-workbench) .topbar .theme-toggle,
  :root[data-theme="dark"] body:has(.liquid-mobile-workbench) .top-lang-control,
  :root[data-theme="dark"] .lg-action .lg-symbol,
  :root[data-theme="dark"] .lg-chip .lg-symbol,
  :root[data-theme="dark"] .lg-module header .lg-symbol,
  :root[data-theme="dark"] .lg-overview header .lg-symbol,
  :root[data-theme="dark"] .lg-stats article,
  :root[data-theme="dark"] .lg-overview-grid article,
  :root[data-theme="dark"] .lg-module-link {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #f5f5f7 !important;
  }

  :root[data-theme="dark"] .lg-action.is-primary {
    border-color: rgba(10, 132, 255, 0.28) !important;
    background:
      linear-gradient(180deg, rgba(58, 58, 60, 0.7), rgba(30, 30, 32, 0.55)),
      rgba(28, 28, 30, 0.58) !important;
  }

  :root[data-theme="dark"] .lg-hero h1,
  :root[data-theme="dark"] .lg-action strong,
  :root[data-theme="dark"] .lg-section > header strong,
  :root[data-theme="dark"] .lg-overview > header span,
  :root[data-theme="dark"] .lg-module header strong,
  :root[data-theme="dark"] .lg-chip span,
  :root[data-theme="dark"] .lg-tab-button span,
  :root[data-theme="dark"] .lg-stats strong,
  :root[data-theme="dark"] .lg-overview-grid strong {
    color: #f5f5f7;
  }

  :root[data-theme="dark"] .lg-hero p,
  :root[data-theme="dark"] .lg-stats span,
  :root[data-theme="dark"] .lg-stats em,
  :root[data-theme="dark"] .lg-action small,
  :root[data-theme="dark"] .lg-section > header span,
  :root[data-theme="dark"] .lg-overview-grid span,
  :root[data-theme="dark"] .lg-overview-grid small {
    color: #98989d !important;
  }
}

/* Second mobile pass: remove icon wells and tighten the workbench layout. */
@media (max-width: 760px) {
  body:has(.liquid-mobile-workbench) .workspace {
    padding-top: 88px;
  }

  .liquid-mobile-workbench {
    gap: 12px;
  }

  .lg-hero {
    min-height: 198px;
    padding: 18px 16px 12px;
    border-radius: 30px;
  }

  .lg-hero::after {
    right: -42px;
    top: 22px;
    width: 178px;
    height: 104px;
    border-radius: 38px;
    opacity: 0.72;
  }

  .lg-hero-main {
    width: 78%;
  }

  .lg-eyebrow {
    min-height: 22px;
    padding: 0 9px;
    background: rgba(255, 255, 255, 0.5);
    color: #6e6e73;
    font-size: 10.5px;
    font-weight: 560;
  }

  .lg-hero h1 {
    margin-top: 9px;
    font-size: 35px;
    font-weight: 700;
  }

  .lg-hero p {
    max-width: 258px;
    font-size: 12.5px;
    line-height: 1.35;
  }

  .lg-stats {
    gap: 7px;
  }

  .lg-stats article {
    min-height: 58px;
    gap: 2px;
    padding: 9px 9px 8px;
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.34) !important;
  }

  .lg-stats span,
  .lg-stats em {
    font-size: 9.5px;
  }

  .lg-stats strong {
    font-size: 23px;
  }

  .lg-primary-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lg-primary-grid .lg-action {
    min-height: 76px;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 11px 14px;
    border-radius: 24px;
  }

  .lg-primary-grid .lg-action.is-primary {
    min-height: 82px;
    border-color: rgba(0, 122, 255, 0.2) !important;
    box-shadow:
      0 16px 38px rgba(0, 122, 255, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.88),
      inset 0 -1px 0 rgba(0, 0, 0, 0.035) !important;
  }

  .lg-primary-grid .lg-action.is-primary::after {
    left: auto;
    right: 14px;
    top: 50%;
    bottom: auto;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(0, 122, 255, 0.14);
    border-radius: 999px;
    background: rgba(0, 122, 255, 0.08);
    transform: translateY(-50%);
  }

  .lg-primary-grid .lg-action.is-primary::before {
    opacity: 0.42;
  }

  .lg-action strong {
    font-size: 18px;
  }

  .lg-action small {
    font-size: 11.5px;
  }

  .lg-action .lg-symbol,
  .lg-chip .lg-symbol,
  .lg-module header .lg-symbol,
  .lg-overview header .lg-symbol,
  .lg-tab-button .lg-symbol {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #1d1d1f !important;
  }

  .lg-action .lg-symbol {
    width: 34px;
    height: 34px;
  }

  .lg-action.is-primary .lg-symbol {
    color: #007aff !important;
  }

  .lg-action:not(.is-primary) .lg-symbol {
    color: #3a3a3c !important;
  }

  .lg-symbol svg {
    stroke-width: 1.55;
  }

  .lg-section > header,
  .lg-overview > header {
    min-height: 24px;
    padding: 0 5px;
  }

  .lg-section > header strong,
  .lg-overview > header span {
    font-size: 16px;
    font-weight: 650;
  }

  .lg-section > header span {
    font-size: 11.5px;
  }

  .lg-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(246, 247, 250, 0.45)),
      rgba(255, 255, 255, 0.5);
    box-shadow:
      var(--lg-shadow-soft),
      inset 0 1px 0 rgba(255, 255, 255, 0.86),
      inset 0 -1px 0 rgba(0, 0, 0, 0.035);
    backdrop-filter: var(--lg-blur);
    -webkit-backdrop-filter: var(--lg-blur);
  }

  .lg-chip {
    min-height: 70px;
    gap: 5px;
    border: 0 !important;
    border-radius: 20px;
    background: transparent !important;
    box-shadow: none !important;
  }

  .lg-chip::before {
    opacity: 0;
  }

  .lg-chip:active,
  .lg-chip:focus-visible {
    background: rgba(0, 122, 255, 0.08) !important;
  }

  .lg-chip .lg-symbol {
    width: 25px;
    height: 25px;
    color: #1d1d1f !important;
  }

  .lg-chip span {
    font-size: 10.8px;
    font-weight: 560;
  }

  .lg-task-panel {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    border-radius: 28px;
  }

  .lg-task-panel > header {
    min-height: 28px;
    padding: 2px 6px 8px;
  }

  .lg-task-panel .lg-action {
    min-height: 58px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 10px;
    border: 0 !important;
    border-radius: 18px;
    background: transparent !important;
  }

  .lg-task-panel .lg-action + .lg-action {
    border-top: 1px solid rgba(0, 0, 0, 0.055) !important;
  }

  .lg-task-panel .lg-action .lg-symbol {
    width: 26px;
    height: 26px;
  }

  .lg-task-panel .lg-action strong {
    font-size: 16px;
    font-weight: 640;
  }

  .lg-task-panel .lg-action small {
    font-size: 11px;
  }

  .lg-module-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lg-module {
    min-height: auto;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 12px;
    border-radius: 24px;
  }

  .lg-module header {
    align-items: center;
    gap: 8px;
    padding-top: 4px;
  }

  .lg-module header .lg-symbol {
    width: 25px;
    height: 25px;
  }

  .lg-module header strong {
    font-size: 16px;
    font-weight: 650;
  }

  .lg-module > div {
    gap: 5px;
  }

  .lg-module-link {
    min-height: 34px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.32) !important;
    font-size: 12px;
  }

  .lg-overview {
    gap: 10px;
    padding: 12px;
    border-radius: 26px;
  }

  .lg-overview header .lg-symbol {
    width: 25px;
    height: 25px;
    color: #007aff !important;
  }

  .lg-overview header strong {
    font-size: 22px;
  }

  .lg-overview-grid {
    gap: 7px;
  }

  .lg-overview-grid article {
    min-height: 68px;
    border-radius: 18px;
  }

  .lg-export {
    gap: 0;
    padding: 7px;
  }

  .lg-export .lg-chip {
    min-height: 48px;
    grid-template-columns: 24px minmax(0, 1fr);
    border-radius: 17px;
  }

  .lg-tabbar {
    padding: 5px;
  }

  .lg-tab-button {
    min-height: 52px;
  }

  .lg-tab-button.active {
    background: rgba(0, 122, 255, 0.09) !important;
  }

  .lg-tab-button.active .lg-symbol,
  .lg-tab-button.active span {
    color: #007aff !important;
  }
}

@media (max-width: 380px) {
  .lg-hero {
    min-height: 194px;
  }

  .lg-hero h1 {
    font-size: 32px;
  }

  .lg-module {
    grid-template-columns: 74px minmax(0, 1fr);
  }
}

/* Final mobile layout pass: compact primary actions and no decorative icon wells. */
@media (max-width: 760px) {
  .lg-primary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .lg-primary-grid .lg-action {
    min-height: 90px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 13px 11px;
  }

  .lg-primary-grid .lg-action.is-primary::after {
    display: none !important;
    content: none !important;
  }

  .lg-primary-grid .lg-action .lg-symbol {
    width: 28px;
    height: 28px;
  }

  .lg-primary-grid .lg-action strong {
    font-size: 17px;
    line-height: 1.12;
  }

  .lg-primary-grid .lg-action small {
    display: block;
    max-width: 100%;
    font-size: 11px;
    white-space: normal;
  }

  .lg-action .lg-symbol,
  .lg-chip .lg-symbol,
  .lg-module header .lg-symbol,
  .lg-overview header .lg-symbol,
  .lg-tab-button .lg-symbol {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

@media (max-width: 380px) {
  .lg-primary-grid .lg-action {
    min-height: 86px;
    grid-template-columns: 26px minmax(0, 1fr);
    padding: 12px 10px;
  }

  .lg-primary-grid .lg-action .lg-symbol {
    width: 25px;
    height: 25px;
  }

  .lg-primary-grid .lg-action strong {
    font-size: 16px;
  }
}

/* v12 mobile shell fixes: true fixed tabbar, fuller venue text, and SF-like theme glyphs. */
@media (max-width: 760px) {
  body:has(.liquid-mobile-workbench) .page.procurement-dashboard > .liquid-mobile-workbench {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }

  body:has(.liquid-mobile-workbench) .workspace {
    padding-top: 82px !important;
  }

  body:has(.liquid-mobile-workbench) .topbar {
    width: min(calc(100vw - 10px), 480px) !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 6px !important;
    padding: 7px 6px !important;
  }

  body:has(.liquid-mobile-workbench) .top-brand-button,
  body:has(.liquid-mobile-workbench) .hamburger {
    width: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  body:has(.liquid-mobile-workbench) .top-brand-button img {
    width: 25px !important;
    height: 25px !important;
  }

  body:has(.liquid-mobile-workbench) .top-controls-row {
    grid-template-columns: minmax(0, 1fr) 36px 48px !important;
    gap: 4px !important;
  }

  body:has(.liquid-mobile-workbench) .top-venue-control {
    display: grid !important;
    grid-template-columns: 15px minmax(0, 1fr) 11px;
    align-items: center;
    gap: 5px;
    padding: 0 6px !important;
    min-width: 0;
  }

  body:has(.liquid-mobile-workbench) .top-venue-control > svg {
    width: 15px;
    height: 15px;
  }

  body:has(.liquid-mobile-workbench) .topbar .venue-select {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 10.6px !important;
    line-height: 1 !important;
    font-weight: 720 !important;
    text-overflow: clip !important;
  }

  body:has(.liquid-mobile-workbench) .topbar .theme-toggle {
    width: 36px !important;
    min-width: 36px !important;
  }

  body:has(.liquid-mobile-workbench) .top-lang-control {
    padding: 0 5px !important;
  }

  body:has(.liquid-mobile-workbench) .topbar .lang-select {
    font-size: 11px !important;
    font-weight: 720 !important;
  }

  body:has(.liquid-mobile-workbench) .topbar .theme-toggle::before {
    width: 16px !important;
    height: 16px !important;
    border-width: 1.8px !important;
    box-shadow: inset -5px -2px 0 -3px currentColor;
  }

  body:has(.liquid-mobile-workbench) .page.procurement-dashboard {
    padding-bottom: calc(118px + env(safe-area-inset-bottom)) !important;
  }

  .lg-tabbar {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: max(6px, env(safe-area-inset-bottom)) !important;
    z-index: 999 !important;
    width: min(calc(100vw - 18px), 458px) !important;
    transform: translate3d(-50%, 0, 0) !important;
    will-change: transform;
  }
}

@media (max-width: 380px) {
  body:has(.liquid-mobile-workbench) .topbar .venue-select {
    font-size: 10px !important;
  }

  body:has(.liquid-mobile-workbench) .top-controls-row {
    grid-template-columns: minmax(0, 1fr) 34px 45px !important;
  }
}
