.jelly-form-groups,
.jelly-choices,
.jelly-date-shortcuts,
.jelly-ticket-summary {
  display: none;
}

html[data-web-skin="light-jelly"] {
  --jelly-paper: #f6f5fa;
  --jelly-card: #fff;
  --jelly-soft: #f2eeff;
  --jelly-soft-ink: #4a2fe0;
  --jelly-primary: #5b3df5;
  --jelly-lime: #cdff57;
  --jelly-lime-ink: #14131a;
  --jelly-ink: #14131a;
  --jelly-muted: #615b73;
  --jelly-line: #e5e0f0;
  --jelly-outline: #b5aacd;
  --jelly-warn: #814013;
  --jelly-warn-bg: #fff4e0;
  --jelly-danger: #952e4a;
  --jelly-shadow: 0 12px 34px -23px #51408b45;
  --jelly-focus: #5b3df5;
}

html[data-web-skin="light-jelly"].lg-dark {
  --jelly-paper: #211d2c;
  --jelly-card: #2a263a;
  --jelly-soft: #3b3156;
  --jelly-soft-ink: #d1c5ff;
  --jelly-ink: #f7f3ff;
  --jelly-muted: #cbc2d8;
  --jelly-line: #443b54;
  --jelly-outline: #75678c;
  --jelly-warn: #ffe0ac;
  --jelly-warn-bg: #47331f;
  --jelly-danger: #ffadc2;
  --jelly-shadow: 0 12px 32px -20px #120e1b91;
  --jelly-focus: #c1afff;
}

html[data-web-skin="light-jelly"] #lg-toolbar:has(#web-skin-options:not([hidden])) {
  z-index: 40;
}

html[data-web-skin="light-jelly"] #web-skin-options {
  background: var(--jelly-card);
  border-color: var(--jelly-line);
}

html[data-web-skin="light-jelly"] #web-skin-options > button {
  color: var(--jelly-ink);
}

html[data-web-skin="light-jelly"] #web-skin-options > button:is(:hover, [aria-pressed="true"]) {
  background: var(--jelly-soft);
  color: var(--jelly-soft-ink);
}

/* Apply the new shell only while either of the two review surfaces is open. */
html[data-web-skin="light-jelly"]:has(#orders-workspace[data-order-page="create"]:not(.hidden), .order-workflow-drawer)
  :is(#app-view > .sidebar, #lg-toolbar) {
  background: var(--jelly-card) !important;
  color: var(--jelly-ink) !important;
  border-color: var(--jelly-line) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-web-skin="light-jelly"]:has(#orders-workspace[data-order-page="create"]:not(.hidden))
  #app-view > .sidebar :is(.sidebar-tool.active, .lg-tool-row.lg-current) {
  background: var(--jelly-soft) !important;
  color: var(--jelly-soft-ink) !important;
  border-radius: 12px;
}

html[data-web-skin="light-jelly"]:has(#orders-workspace[data-order-page="create"]:not(.hidden))
  #app-view > .sidebar .sidebar-tool.active strong {
  color: var(--jelly-soft-ink) !important;
}

html[data-web-skin="light-jelly"] :is(#orders-workspace[data-order-page="create"], .order-workflow-drawer) {
  --lg-accent: var(--jelly-primary);
  --lg-text: var(--jelly-ink);
  --lg-panel: var(--jelly-card);
  --muted: var(--jelly-muted);
  --line: var(--jelly-line);
  --workbench-text: var(--jelly-ink);
  --workbench-muted: var(--jelly-muted);
  --workbench-edge: var(--jelly-line);
  --workbench-glass: var(--jelly-card);
  --workbench-glint: transparent;
  --workbench-rim: var(--jelly-shadow);
  --workbench-blur: none;
  --workbench-solid: var(--jelly-card);
  --workbench-panel: var(--jelly-card);
  --workbench-field: var(--jelly-card);
  --workbench-field-raised: var(--jelly-card);
  --workbench-focus-edge: var(--jelly-focus);
  --workbench-focus-shadow: none;
  --workbench-accent: var(--jelly-primary);
  --workbench-menu: var(--jelly-card);
  --workbench-selection: var(--jelly-soft);
  color: var(--jelly-ink);
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
}

html[data-web-skin="light-jelly"] #app-view > .workspace > #orders-workspace[data-order-page="create"] {
  background: var(--jelly-paper) !important;
  background-image: radial-gradient(ellipse at 92% 0, var(--jelly-soft), transparent 49%) !important;
  scroll-padding-block: 77px 95px;
}

html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"] .orders-page {
  box-sizing: border-box;
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: 30px clamp(22px, 4vw, 48px) 16px;
}

html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"] .orders-page-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 0 4px;
  min-height: 0;
  margin: 0 0 20px;
}

html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"] .orders-page-header > div {
  display: grid;
  justify-items: start;
}

html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"] .orders-eyebrow {
  color: var(--jelly-soft-ink) !important;
  background: var(--jelly-soft);
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 650;
}

html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"] #orders-page-title {
  margin: 10px 0 0;
  color: var(--jelly-ink) !important;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}

html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"] .order-create-top {
  gap: 10px 16px;
  margin: 0 0 14px;
  padding: 11px 13px 11px 16px;
  border: 1px solid var(--jelly-line);
  border-radius: 14px;
  background: var(--jelly-soft) !important;
  box-shadow: none !important;
}

html[data-web-skin="light-jelly"] #orders-workspace .order-local-note {
  color: var(--jelly-soft-ink);
  font-size: 13px;
  font-weight: 600;
}

html[data-web-skin="light-jelly"] #orders-workspace .order-local-note > i {
  background: var(--jelly-primary);
  box-shadow: none;
}

html[data-web-skin="light-jelly"] #orders-workspace :is(.order-create-top,.order-create-form)
  button:not(.order-section-toggle):not(.order-product-color-swatch-button) {
  border-radius: 999px;
  border-color: var(--jelly-line);
  min-height: 38px;
  font-size: 13px;
}

html[data-web-skin="light-jelly"] #orders-workspace .order-create-top button {
  border-color: transparent !important;
  background: var(--jelly-card) !important;
  color: var(--jelly-soft-ink) !important;
  font-weight: 650;
}

html[data-web-skin="light-jelly"] .order-create-form {
  gap: 14px;
}

html[data-web-skin="light-jelly"] .jelly-form-groups {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  background: var(--jelly-paper);
  border: 1px solid var(--jelly-line);
  border-radius: 15px;
}

html[data-web-skin="light-jelly"] #orders-workspace .jelly-form-groups button {
  display: grid;
  gap: 5px;
  text-align: center;
  align-content: center;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 7px;
  background: transparent !important;
  color: var(--jelly-muted) !important;
}

html[data-web-skin="light-jelly"] .jelly-form-groups button::before {
  content: '';
  height: 3px;
  border-radius: 3px;
  background: var(--jelly-outline);
  opacity: .55;
}

html[data-web-skin="light-jelly"] #orders-workspace .jelly-form-groups button[aria-current="location"] {
  background: var(--jelly-card) !important;
  color: var(--jelly-soft-ink) !important;
  font-weight: 700;
}

html[data-web-skin="light-jelly"] #orders-workspace .jelly-form-groups button {
  box-shadow: none;
}

html[data-web-skin="light-jelly"] .jelly-form-groups button[aria-current="location"]::before {
  background: var(--jelly-primary);
  opacity: 1;
}

html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"] :is(.order-form-section, .order-products) {
  background: var(--jelly-card) !important;
  border: 1px solid var(--jelly-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--jelly-shadow) !important;
}

html[data-web-skin="light-jelly"] .order-create-form :is(.order-section-heading, .order-products-heading) {
  min-height: 54px;
  padding-inline-start: 20px;
  border-color: var(--jelly-line) !important;
}

html[data-web-skin="light-jelly"] .order-create-form :is(.order-section-heading, .order-products-heading) h3 {
  font-size: 16px;
  font-weight: 750;
  color: var(--jelly-ink);
}

html[data-web-skin="light-jelly"] .order-create-form :is(.order-section-heading h3 > span, .order-products-heading h3 > b) {
  background: var(--jelly-soft);
  color: var(--jelly-soft-ink);
  border-radius: 9px;
}

html[data-web-skin="light-jelly"] .order-create-form :is(label,legend) {
  color: var(--jelly-ink);
  font-weight: 600;
  font-size: 13px;
}

@media (min-width: 681px) {
  html[data-web-skin="light-jelly"] .order-create-form .order-field-row-three:has(#order-type)
    :is(.order-field) {
    min-width: 0;
  }
  html[data-web-skin="light-jelly"] .order-create-form .order-field-row-three:has(#order-type) {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
  html[data-web-skin="light-jelly"] .order-create-form .order-field-row-three:has(#order-type)
    .order-field:has(#order-urgentReason) {
    grid-column: 1 / -1;
  }
}

html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"]
  :is(.order-field > input:not([type="file"]), .order-field > select, .order-field > textarea,
      .order-multi-select > summary, .order-user-panel input) {
  min-height: 43px;
  border: 1px solid var(--jelly-outline) !important;
  border-radius: 11px !important;
  background: var(--jelly-card) !important;
  color: var(--jelly-ink) !important;
  font-size: 14px;
}

html[data-web-skin="light-jelly"] .order-create-form :is(input, textarea)::placeholder,
html[data-web-skin="light-jelly"] .order-create-form .order-multi-placeholder {
  color: var(--jelly-muted) !important;
  opacity: 1;
}

html[data-web-skin="light-jelly"] .order-create-form .order-multi-options {
  background: var(--jelly-card) !important;
  border-color: var(--jelly-outline) !important;
  color: var(--jelly-ink) !important;
}

html[data-web-skin="light-jelly"] .order-create-form select[data-jelly-chipped] {
  display: none;
}

html[data-web-skin="light-jelly"] :is(.jelly-choices, .jelly-date-shortcuts, .jelly-extra-choices:not([hidden])) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

html[data-web-skin="light-jelly"] .jelly-extra-choices {
  flex-basis: 100%;
}

html[data-web-skin="light-jelly"] #orders-workspace :is(.jelly-choices,.jelly-date-shortcuts) button {
  min-height: 40px;
  padding: 6px 12px;
  background: var(--jelly-card) !important;
  color: var(--jelly-ink) !important;
  border: 1px solid var(--jelly-outline) !important;
  line-height: 1.2;
}

html[data-web-skin="light-jelly"] #orders-workspace .order-create-form
  :is(.jelly-choices,.jelly-date-shortcuts) button[aria-pressed="true"] {
  background: var(--jelly-soft) !important;
  color: var(--jelly-soft-ink) !important;
  border-color: var(--jelly-focus) !important;
  font-weight: 750;
}

html[data-web-skin="light-jelly"] #orders-workspace .order-create-form .jelly-choices
  button:has(+ .jelly-extra-choices) {
  border-style: dashed !important;
}

html[data-web-skin="light-jelly"] #orders-workspace button[hidden],
html[data-web-skin="light-jelly"] .jelly-extra-choices[hidden] {
  display: none !important;
}

html[data-web-skin="light-jelly"] #orders-workspace :is(.order-product-card, .order-product-images, .order-image-dropzone) {
  border-color: var(--jelly-line);
  border-radius: 13px;
}

html[data-web-skin="light-jelly"] #orders-workspace .order-validation:not(:empty) {
  border: 1px solid var(--jelly-line);
  border-radius: 12px;
  background: var(--jelly-soft);
  color: var(--jelly-ink);
  padding: 12px 15px;
}

html[data-web-skin="light-jelly"] #orders-workspace .order-form-footer {
  position: sticky;
  z-index: 11;
  bottom: 0;
  gap: 7px 15px;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  margin-bottom: 0;
  background: var(--jelly-card);
  border: 1px solid var(--jelly-line);
  border-radius: 15px 15px 0 0;
  box-shadow: 0 -8px 30px -23px #3b285b91;
}

html[data-web-skin="light-jelly"] #orders-workspace .order-form-footer strong {
  color: var(--jelly-ink);
  font-weight: 700;
  font-size: 14px;
}

html[data-web-skin="light-jelly"] #orders-workspace .order-form-footer :is(span, [data-save-status]) {
  color: var(--jelly-muted);
  font-size: 12px;
}

html[data-web-skin="light-jelly"] #orders-workspace .order-create-form [data-form-action="submit"].orders-primary,
html[data-web-skin="light-jelly"] .order-workflow-drawer .orders-primary {
  min-height: 44px;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  padding-inline: 17px;
  background: var(--jelly-lime) !important;
  color: var(--jelly-lime-ink) !important;
  font-weight: 750;
}

html[data-web-skin="light-jelly"] :is(#orders-workspace[data-order-page="create"], .order-workflow-drawer)
  :is(button, input, summary, textarea, select):focus-visible {
  outline: 2px solid var(--jelly-focus) !important;
  outline-offset: 2px;
}

/* Order drawer and the existing six-stage timeline. */
html[data-web-skin="light-jelly"] .order-workflow-backdrop {
  background: #26203860;
}

html[data-web-skin="light-jelly"] .order-workflow-drawer {
  width: min(790px, 94vw);
  background: var(--jelly-paper) !important;
  border-color: var(--jelly-line) !important;
  box-shadow: -12px 0 48px #251a46a0;
}

html[data-web-skin="light-jelly"] .order-workflow-drawer > header {
  padding: 16px 24px;
  border-color: var(--jelly-line);
  background: var(--jelly-card);
}

html[data-web-skin="light-jelly"] .order-workflow-drawer > header h3 {
  color: var(--jelly-ink);
  font-size: 18px;
  margin-bottom: 3px;
}

html[data-web-skin="light-jelly"] .order-workflow-drawer > header span {
  color: var(--jelly-muted);
  font-size: 13px;
}

html[data-web-skin="light-jelly"] .order-workflow-body {
  padding: 20px 23px 28px;
  background: var(--jelly-paper) !important;
}

html[data-web-skin="light-jelly"] .order-workflow-body > :is(section, details) {
  margin-bottom: 13px;
  padding: 16px;
  border: 1px solid var(--jelly-line);
  border-radius: 16px;
  background: var(--jelly-card);
  color: var(--jelly-ink);
  box-shadow: var(--jelly-shadow);
}

html[data-web-skin="light-jelly"] .order-workflow-body :is(h4, summary) {
  color: var(--jelly-ink);
  font-size: 16px;
  font-weight: 750;
}

html[data-web-skin="light-jelly"] .order-workflow-body > .jelly-ticket-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 18px;
  background: linear-gradient(115deg, #2a1e5c, #5137d2) !important;
  color: #fff;
}

.jelly-ticket-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e0d6ff9e;
  border-radius: 13px;
  color: #fff;
  background: #d2c2ff2b;
}

.jelly-ticket-mark svg {
  width: 22px;
  height: 22px;
}

html[data-web-skin="light-jelly"] .jelly-ticket-summary h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  color: #fff;
  overflow-wrap: anywhere;
}

.jelly-ticket-summary p {
  margin: 5px 0 0;
  color: #f0eaff;
  font-size: 13px;
  line-height: 1.45;
}

.jelly-ticket-status {
  justify-self: start;
  align-self: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eee8ff;
  color: #38218e;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

html[data-web-skin="light-jelly"] .order-progress {
  --progress-muted: var(--jelly-muted);
  --progress-ink: var(--jelly-ink);
  --progress-line: var(--jelly-line);
  --progress-detail: var(--jelly-soft);
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr);
  gap: 9px 17px;
  align-items: start;
}

html[data-web-skin="light-jelly"] .order-progress > :is(h4, .order-workflow-timing, .order-workflow-blocked) {
  grid-column: 1 / -1;
}

html[data-web-skin="light-jelly"] .order-progress > h4 {
  margin: 0 0 4px;
}

html[data-web-skin="light-jelly"] .order-progress > .order-progress-track {
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  padding: 0;
}

html[data-web-skin="light-jelly"] .order-progress-track > li {
  position: relative;
  display: block;
  padding: 0;
}

html[data-web-skin="light-jelly"] .order-progress-track > li:not(:last-child)::after {
  display: block;
  content: '';
  position: absolute;
  width: 2px;
  height: auto;
  top: 30px;
  bottom: -18px;
  left: 22px;
  right: auto;
  border: 0;
  background: var(--jelly-outline);
  z-index: 0;
}

html[data-web-skin="light-jelly"] .order-progress-track > li.is-done::after {
  background: var(--jelly-primary);
}

html[data-web-skin="light-jelly"] .order-progress-track button {
  display: grid;
  position: relative;
  grid-template-columns: 26px minmax(36px, auto) minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  text-align: start;
  padding: 6px 9px;
  gap: 7px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--jelly-ink);
  z-index: 1;
}

html[data-web-skin="light-jelly"] .order-progress-track button > i {
  width: 26px;
  height: 26px;
  margin: 0;
  border-radius: 50%;
  border: 1px solid var(--jelly-outline);
  color: var(--jelly-muted);
  background: var(--jelly-card);
}

html[data-web-skin="light-jelly"] .order-progress-track .is-done button > i {
  background: var(--jelly-primary);
  color: #fff;
  border-color: var(--jelly-primary);
}

html[data-web-skin="light-jelly"] .order-progress-track .is-current button > i {
  border-color: var(--jelly-focus);
  color: var(--jelly-soft-ink);
  box-shadow: 0 0 0 3px var(--jelly-soft);
}

html[data-web-skin="light-jelly"] .order-progress-track button:is([aria-expanded="true"], :hover),
html[data-web-skin="light-jelly"] .order-progress-track .is-current button {
  background: var(--jelly-soft);
  border-color: var(--jelly-line);
}

html[data-web-skin="light-jelly"] .order-progress-track button > span {
  font-size: 13px;
  font-weight: 750;
  margin: 0;
  color: var(--jelly-ink);
}

html[data-web-skin="light-jelly"] .order-progress-track button > strong,
html[data-web-skin="light-jelly"] .order-workflow-timing :is(dt, dd) {
  color: var(--jelly-muted);
  font-size: 12px;
}

html[data-web-skin="light-jelly"] .order-progress-detail {
  margin: 0;
  border-color: var(--jelly-line);
  background: var(--jelly-soft);
  color: var(--jelly-ink);
}

html[data-web-skin="light-jelly"] .order-workflow-timing {
  border-color: var(--jelly-line);
}

html[data-web-skin="light-jelly"] .order-workflow-blocked {
  background: var(--jelly-warn-bg);
  color: var(--jelly-warn);
  border-color: var(--jelly-line);
}

html[data-web-skin="light-jelly"] .order-workflow-drawer :is(header button, .order-workflow-controls button, textarea, select, input) {
  border-color: var(--jelly-outline);
  color: var(--jelly-ink);
  background-color: var(--jelly-card);
}

html[data-web-skin="light-jelly"] #orders-workspace .order-create-form
  :is(input:not([type="file"]), textarea, select, summary):focus {
  transform: none;
}

html[data-web-skin="light-jelly"] .order-workflow-drawer :is([data-workflow-close], .order-workflow-controls button) {
  min-height: 44px;
  border-radius: 999px;
}

html[data-web-skin="light-jelly"] .order-workflow-drawer [data-workflow-close] {
  min-width: 44px;
}

html[data-web-skin="light-jelly"] .order-workflow-drawer .order-workflow-danger {
  color: var(--jelly-danger);
}

html[data-web-skin="light-jelly"] .order-workflow-body .order-preview-details {
  color: var(--jelly-ink);
}

html[data-web-skin="light-jelly"] .order-workflow-body .order-preview-details :is(dt, small),
html[data-web-skin="light-jelly"] .order-workflow-history :is(small, time) {
  color: var(--jelly-muted);
  font-size: 12px;
}

html[data-web-skin="light-jelly"] .order-workflow-body .order-preview-details dd {
  color: var(--jelly-ink);
  overflow-wrap: anywhere;
}

html[data-web-skin="light-jelly"] .order-workflow-history li {
  border-color: var(--jelly-line);
}

@media (max-width: 680px) {
  html[data-web-skin="light-jelly"] #app-view > .workspace > #orders-workspace[data-order-page="create"] {
    scroll-padding-block: 62px 132px;
  }
  html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"] .orders-page {
    padding: 16px 13px 8px;
  }
  html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"] .orders-page-header {
    margin-bottom: 10px;
  }
  html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"] .orders-eyebrow {
    display: none;
  }
  html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"] #orders-page-title {
    margin: 0;
    font-size: 28px;
  }
  html[data-web-skin="light-jelly"] #orders-workspace[data-order-page="create"] .order-create-top {
    padding: 8px 9px;
  }
  html[data-web-skin="light-jelly"] #orders-workspace .order-create-form :is(.order-form-grid, .order-field-row) {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  html[data-web-skin="light-jelly"] #orders-workspace .order-create-form .order-form-grid {
    padding: 14px;
  }
  html[data-web-skin="light-jelly"] #orders-workspace :is(.order-create-top, .order-create-form) button {
    touch-action: manipulation;
  }
  html[data-web-skin="light-jelly"] #orders-workspace :is(.jelly-choices,.jelly-date-shortcuts) button,
  html[data-web-skin="light-jelly"] #orders-workspace .jelly-form-groups button {
    min-height: 44px;
  }
  html[data-web-skin="light-jelly"] .order-create-form :is(.order-section-heading, .order-products-heading) {
    padding-inline-start: 14px;
  }
  html[data-web-skin="light-jelly"] #orders-workspace .order-form-footer {
    padding: 8px 9px max(8px, env(safe-area-inset-bottom));
    gap: 5px;
  }
  html[data-web-skin="light-jelly"] .order-form-footer > div:first-child {
    display: none;
  }
  html[data-web-skin="light-jelly"] .order-form-footer .order-action-group {
    gap: 5px;
    justify-content: space-between;
    width: 100%;
  }
  html[data-web-skin="light-jelly"] #orders-workspace .order-form-footer .order-action-group button {
    padding-inline: 9px;
  }
  html[data-web-skin="light-jelly"] .order-form-footer [data-form-action="submit"] {
    flex: 1 1 auto;
  }
  html[data-web-skin="light-jelly"] .order-workflow-drawer {
    width: 100vw;
    border: 0 !important;
  }
  html[data-web-skin="light-jelly"] .order-workflow-drawer > header {
    padding: max(10px, env(safe-area-inset-top)) 13px 10px;
    gap: 7px;
  }
  html[data-web-skin="light-jelly"] .order-workflow-drawer > header h3 {
    font-size: 16px;
  }
  html[data-web-skin="light-jelly"] .order-workflow-body {
    padding: 12px 12px max(18px, env(safe-area-inset-bottom));
  }
  html[data-web-skin="light-jelly"] .order-workflow-body > .jelly-ticket-summary {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px;
    gap: 7px 11px;
  }
  html[data-web-skin="light-jelly"] .jelly-ticket-summary h4 {
    font-size: 17px;
  }
  .jelly-ticket-summary .jelly-ticket-status {
    grid-column: 2;
  }
  html[data-web-skin="light-jelly"] .order-progress {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  html[data-web-skin="light-jelly"] .order-progress-track button {
    grid-template-columns: 26px 40px minmax(0, 1fr);
  }
  html[data-web-skin="light-jelly"] .order-workflow-drawer .order-workflow-controls {
    align-items: stretch;
  }
  html[data-web-skin="light-jelly"] .order-workflow-drawer .order-workflow-controls > label {
    flex-basis: 100%;
    min-width: 0;
  }
  html[data-web-skin="light-jelly"] .order-workflow-drawer:has(.order-workflow-controls > .orders-primary:is(
      [data-workflow-action="approve"], [data-workflow-action="claim"], [data-workflow-action="edit"]
    )) .order-workflow-body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
  html[data-web-skin="light-jelly"] .order-workflow-drawer .order-workflow-controls > .orders-primary:is(
      [data-workflow-action="approve"], [data-workflow-action="claim"], [data-workflow-action="edit"]
    ) {
    position: fixed;
    z-index: 3;
    inset-inline: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    box-shadow: 0 0 0 8px var(--jelly-card), 0 5px 22px 5px #31234a30;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html[data-web-skin="light-jelly"] :is(.jelly-choices, .jelly-date-shortcuts) button:active {
    transform: scale(.97);
  }
}
