/**
 * @generated compatibility entry — static URL …/gui/slider_styles.css
 * Canonical source: ./modal/css/slider_styles.css
 * Inlined for direct-selector compatibility.
 */

/* Live proof: read in browser via getComputedStyle(document.documentElement).getPropertyValue('--amount-slider-css-version') */
:root {
  --amount-slider-css-version: unified-wide-v3;
}

.amount-slider-overlay {
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  direction: ltr;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px))
    max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  z-index: var(--z-amount-slider-overlay);
}

@media (max-width: 640px) {
  .amount-slider-overlay {
    max-width: 100vw;
    min-height: 100dvh;
    overflow-y: auto;
  }
}

@media (max-width: 640px) {
  .amount-slider-overlay {
    max-width: 100vw;
    min-height: 100dvh;
    overflow-y: auto;
  }
}

.amount-slider-overlay.is-open {
  display: flex;
}

.amount-slider-modal .amount-slider-step0-shell[hidden],
.amount-slider-modal .amount-slider-step1-shell[hidden],
.amount-slider-modal .amount-slider-unified-shell[hidden],
.amount-slider-modal .amount-slider-body-rest[hidden],
.amount-slider-modal .amount-slider-footer[hidden] {
  display: none !important;
}

.amount-slider-overlay .step-editor-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
}

.amount-slider-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 24px), calc((min(92vh, 900px) - 40px) * 9 / 16));
  max-width: min(360px, calc(100vw - 24px));
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: min(92vh, 900px);
  overflow: hidden;
  background: #ffffff;
  color: #0f172a;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
  padding: 12px 22px 18px;
  direction: rtl;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.amount-slider-modal.amount-slider-modal--unified {
  aspect-ratio: auto;
  width: min(440px, calc(100vw - 32px));
  max-width: min(440px, calc(100vw - 32px));
  max-height: min(86vh, 820px);
  overflow: hidden;
  border-radius: 16px;
  padding: 18px 22px 20px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
}

.amount-slider-unified-shell {
  padding: 8px 4px 16px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.amount-slider-unified-saved-panel {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.amount-slider-unified-saved-head {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 650;
  color: #0f172a;
}

.amount-slider-unified-saved-lead {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

.amount-slider-unified-saved-lead code {
  font-size: 0.72rem;
  word-break: break-all;
}

.amount-slider-unified-cards-empty {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.amount-slider-modal .amount-slider-unified-saved-tile {
  margin: 0;
  cursor: pointer;
}

.amount-slider-modal .amount-slider-unified-saved-tile:focus-visible {
  outline: 2px solid #9b7ed8;
  outline-offset: 3px;
}

.amount-slider-unified-shell .amount-slider-step1-select {
  min-height: 48px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.amount-slider-unified-amount-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 8px;
  margin-top: 7px;
}

.amount-slider-unified-nav-panel {
  position: sticky;
  top: -8px;
  z-index: 4;
  margin: 2px 0 14px;
  padding: 12px;
  border: 1px solid #e4dafb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 18px rgba(69, 44, 122, 0.08);
}

.amount-slider-unified-nav-title {
  margin: 0;
  color: #241743;
  font-size: 1rem;
}

.amount-slider-unified-nav-help {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.4;
}

.amount-slider-unified-family-summary {
  margin-top: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f4f0ff;
  color: #4b327e;
  font-size: 0.78rem;
  font-weight: 650;
}

.amount-slider-unified-amount-chip {
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #d8cafa;
  border-radius: 12px;
  background: #faf8ff;
  color: #35265f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.amount-slider-unified-amount-chip:hover,
.amount-slider-unified-amount-chip:focus-visible {
  border-color: #8b5cf6;
  background: #f1ebff;
  outline: none;
}

.amount-slider-unified-amount-chip.is-active {
  border-color: #6d3ee8;
  background: #6d3ee8;
  color: #fff;
  box-shadow: 0 4px 12px rgba(109, 62, 232, 0.25);
  transform: translateY(-1px);
}

.amount-slider-unified-media-block {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.amount-slider-step3-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 12px;
}

.amount-slider-step3-slider-counter {
  font-weight: 700;
  min-width: 9rem;
  text-align: center;
  color: #0f172a;
}

.amount-slider-unified-h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 650;
}

.amount-slider-unified-sub {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: #64748b;
}

.amount-slider-unified-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.amount-slider-unified-cover-wrap {
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: visible;
  min-width: 0;
}

#amount-slider-unified-cover-preview-wrap:not([hidden]) {
  cursor: pointer;
}

.amount-slider-unified-cover-img,
#amount-slider-unified-cover-preview.amount-slider-unified-cover-img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-inline: auto;
  box-sizing: border-box;
}

.amount-slider-unified-shell .amount-slider-unified-gallery-thumbs.step3-images-gallery,
.amount-slider-unified-shell .amount-slider-unified-gallery-thumbs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  grid-template-columns: unset;
}

.amount-slider-unified-shell .amount-slider-unified-gallery-thumbs.step3-images-gallery--single {
  display: flex;
}

.amount-slider-step3-selection-panel {
  margin: 16px 0;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.02);
}

.amount-slider-step3-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.amount-slider-step3-selection-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 8px;
  background: #fff;
}

.amount-slider-step3-selection-head {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.amount-slider-step3-selection-meta {
  font-size: 0.82rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.amount-slider-step3-selection-preview {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  overflow: hidden;
}

.amount-slider-step3-selection-preview img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.amount-slider-step3-selection-status-badge[data-status="USER SELECTED"] {
  color: #0a7a2f;
  font-weight: 600;
}

.amount-slider-step3-selection-status-badge[data-status="NEEDS USER SELECTION"],
.amount-slider-step3-selection-status-badge[data-status="INVALID FALLBACK"] {
  color: #b45309;
  font-weight: 600;
}

.amount-slider-step3-selection-status-badge[data-status="MISSING IMAGE"] {
  color: #b91c1c;
  font-weight: 600;
}

.amount-slider-unified-gallery-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  border-radius: 10px;
  overflow: visible;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.amount-slider-unified-gallery-card img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(85vh, 920px);
  object-fit: contain;
  object-position: center;
  display: block;
  margin-inline: auto;
  cursor: pointer;
}

.amount-slider-unified-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-amount-slider-modal);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

@media (max-width: 640px) {
  .amount-slider-unified-gallery-lightbox {
    padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    overflow-y: auto;
  }
}

@media (max-width: 640px) {
  .amount-slider-unified-gallery-lightbox {
    padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    overflow-y: auto;
  }
}

.amount-slider-unified-gallery-lightbox--scroll .amount-slider-unified-gallery-lightbox-multi-inner {
  max-height: min(82vh, 880px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
  box-sizing: border-box;
}

.amount-slider-unified-gallery-lightbox-panel {
  position: relative;
  max-width: min(560px, calc(100vw - 32px));
  width: 100%;
  box-sizing: border-box;
}

.amount-slider-unified-gallery-lightbox .amount-slider-unified-cover-wrap {
  margin: 0;
}

.amount-slider-unified-gallery-lightbox-close {
  position: absolute;
  top: 4px;
  inset-inline-start: 4px;
  z-index: 2;
}

.amount-slider-unified-gallery-remove {
  position: absolute;
  top: 4px;
  inset-inline-start: 4px;
  padding: 2px 6px;
  font-size: 0.75rem;
  min-width: auto;
  line-height: 1.2;
}

.amount-slider-unified-save {
  width: 100%;
  margin-top: 16px;
}

.amount-slider-close--float {
  position: sticky;
  top: 0;
  align-self: flex-start;
  flex: 0 0 auto;
  margin: 0 0 6px;
  inset-inline-start: auto;
  z-index: 5;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.amount-slider-step0-shell {
  padding: 8px 4px 16px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.amount-slider-step0-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.amount-slider-step0-legend {
  font-size: 1.05rem;
  font-weight: 650;
  padding: 0 0 8px;
}

.amount-slider-step0-hint {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.45;
}

.amount-slider-step0-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
  max-height: min(280px, 40vh);
  overflow: auto;
}

.amount-slider-step0-data-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #f8fafc;
}

.amount-slider-step0-lab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: #475569;
}

.amount-slider-step0-lab input {
  font-size: 0.95rem;
  padding: 8px 9px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  direction: rtl;
}

.amount-slider-step0-remove {
  flex-shrink: 0;
  padding: 8px 10px;
  min-width: 40px;
}

.amount-slider-step0-add {
  width: 100%;
  margin-bottom: 10px;
}

.amount-slider-step0-continue {
  width: 100%;
}

.amount-slider-step1-shell,
.amount-slider-step2-shell {
  padding: 8px 4px 16px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.amount-slider-body-rest {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.amount-slider-step1-select,
.amount-slider-step2-select {
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  padding: 12px 10px;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  background: #fff;
  direction: rtl;
}

.amount-slider-footer .amount-slider-next--hide-step-pick {
  display: none;
}

.amount-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.amount-slider-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
}

.amount-slider-stage-h3,
.amount-slider-stage-desc,
.amount-slider-stage-cover-frame,
.amount-slider-gallery-main,
.amount-slider-summary-thumb-wrap {
  position: relative;
}

.amount-slider-stage-desc {
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #475569;
  white-space: pre-wrap;
}

.amount-slider-layout-editor-rows {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.amount-slider-field--pos > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.amount-slider-pos-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.amount-slider-pos-lab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: #64748b;
}

.amount-slider-pos-lab input[type="number"] {
  width: 4.25rem;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
}

.amount-slider-pos-nudge {
  flex: 0 0 auto;
  min-width: 2rem;
  padding: 4px 8px;
  font-size: 0.85rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  cursor: pointer;
}

.amount-slider-close {
  border: none;
  background: #e2e8f0;
  color: #0f172a;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.amount-slider-close:hover {
  background: #cbd5f5;
}

.amount-slider-step-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 10px;
}

.amount-slider-description {
  margin: 0 0 14px;
  line-height: 1.55;
  font-size: 0.95rem;
  white-space: pre-wrap;
  direction: rtl;
  text-align: right;
}

.amount-slider-image-wrap {
  margin: 0 auto 16px;
  border-radius: 10px;
  overflow: visible;
  background: #f8fafc;
  min-height: 120px;
  max-height: min(85vh, 920px);
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amount-slider-image-wrap img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(85vh, 920px);
  object-fit: contain;
  object-position: center;
  display: none;
}

.amount-slider-image-wrap img.is-visible {
  display: block;
}

.amount-slider-image-wrap iframe.amount-slider-step3-preview {
  width: 100%;
  min-height: 260px;
  height: min(420px, 50vh);
  border: 0;
  display: block;
  background: #fff;
}

.amount-slider-image-placeholder {
  font-size: 0.9rem;
  color: #94a3b8;
}

.amount-slider-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  flex-shrink: 0;
}

.amount-slider-btn {
  flex: 1;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  padding: 10px 12px;
  font-size: 0.95rem;
  cursor: pointer;
  background: #f8fafc;
}

.amount-slider-btn.primary {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #ffffff;
}

.amount-slider-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.amount-slider-btn:not(:disabled):hover {
  filter: brightness(0.97);
}

.amount-slider-overlay--visitor .amount-slider-editor-panel,
.amount-slider-overlay--visitor .amount-slider-editor-hint {
  display: none !important;
}

.amount-slider-overlay--visitor .amount-slider-image-placeholder {
  display: none !important;
}

.amount-slider-dynamic-workspace {
  width: 100%;
  margin-bottom: 12px;
}

.amount-slider-ws-step3-frame {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  min-height: 200px;
  max-height: min(420px, 48vh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.amount-slider-ws-step3-img {
  max-width: 100%;
  max-height: min(400px, 46vh);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.amount-slider-ws-step3-placeholder {
  padding: 20px;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
}

.amount-slider-ws-step3-slide-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 100%;
  font: inherit;
}

.amount-slider-ws-step3-slide-open-label {
  font-size: 0.95rem;
  color: #2563eb;
  text-decoration: underline;
}

.amount-slider-ws-hint {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
}

.amount-slider-ws-summary {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
  margin-bottom: 10px;
}

.amount-slider-ws-summary-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.amount-slider-ws-summary-dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.amount-slider-ws-summary-dl > div {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.amount-slider-ws-summary-dl dt {
  margin: 0;
  font-weight: 600;
  color: #475569;
  min-width: 3.5em;
}

.amount-slider-ws-summary-dl dd {
  margin: 0;
  color: #0f172a;
}

.amount-slider-ws-gallery-btn {
  width: 100%;
  max-width: 320px;
}

.amount-slider-step-indicator--header {
  margin-bottom: 4px;
  font-size: 0.85rem;
  color: #64748b;
}

.amount-slider-stage-root {
  width: 100%;
  margin: 10px 0 14px;
}

.amount-slider-stage-h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.amount-slider-stage-cover-frame,
.amount-slider-gallery-main {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  min-height: 220px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
}

.amount-slider-gallery-main {
  overflow: hidden;
}

.amount-slider-stage-cover-frame {
  overflow: visible;
}

.amount-slider-gallery-main {
  gap: 10px;
}

.amount-slider-gallery-hint {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.amount-slider-gallery-mount,
.amount-slider-step4-gallery-mount {
  width: 100%;
  flex: 1 1 auto;
  min-height: 200px;
  box-sizing: border-box;
}

.amount-slider-stage-cover-img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(85vh, 920px);
  display: block;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  border-radius: 8px;
  box-sizing: border-box;
}

.amount-slider-stage-placeholder,
.amount-slider-muted {
  color: #64748b;
  text-align: center;
  padding: 16px;
  font-size: 0.95rem;
}

.amount-slider-stage-actions,
.amount-slider-gallery-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}

.amount-slider-step0-amount-pick {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.amount-slider-step0-amount-pick .amount-slider-step0-amount-select {
  width: 100%;
  max-width: 100%;
}

.amount-slider-step0-property {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 14px;
}

.amount-slider-step0-property-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

.amount-slider-step0-property .amount-slider-step1-select {
  width: 100%;
  max-width: 100%;
}

.amount-slider-step0-radio-host {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.amount-slider-step0-radio-row {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.amount-slider-summary-name {
  margin-bottom: 12px;
}

.amount-slider-summary-thumb-wrap {
  margin: 12px 0;
}

.amount-slider-summary-thumb {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  display: block;
  margin-inline: auto;
}

.amount-slider-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-viewport-shell > #amount-slider-overlay.amount-slider-overlay,
.app-layout > .mobile-viewport-shell > #amount-slider-overlay.amount-slider-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
}

.mobile-viewport-shell > #amount-slider-overlay .amount-slider-modal,
.app-layout > .mobile-viewport-shell > #amount-slider-overlay .amount-slider-modal {
  width: min(360px, calc(100% - 24px), calc((min(100%, 900px) - 40px) * 9 / 16));
  max-width: min(360px, calc(100% - 24px));
  max-height: min(calc(100% - 40px), 900px);
}

.mobile-viewport-shell > #amount-slider-overlay .amount-slider-modal.amount-slider-modal--unified,
.app-layout > .mobile-viewport-shell > #amount-slider-overlay .amount-slider-modal.amount-slider-modal--unified {
  width: min(440px, calc(100vw - 32px));
  max-width: min(440px, calc(100vw - 32px));
  max-height: min(calc(100dvh - 48px), 820px);
}

@media (max-width: 640px) {
  .amount-slider-modal.amount-slider-modal--unified {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 16px 14px 18px;
  }
}
