/* Here you can add your CSS classes */

.btn[data-wallet-icon]:not([hidden]), .btn[data-analytics-export]:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  white-space: normal;
}
.btn[data-wallet-icon]::before, .btn[data-analytics-export]::before {
  content: "";
  flex: 0 0 1em;
  inline-size: 1em;
  block-size: 1em;
  background: currentColor;
  mask: var(--wallet-button-icon) center / contain no-repeat;
}
[data-wallet-icon="back"] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5m7 7-7-7 7-7'/%3E%3C/svg%3E"); }
[data-wallet-icon="next"] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-7-7 7 7-7 7'/%3E%3C/svg%3E"); }
[data-wallet-icon="save"] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h11l5 5v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z M7 3v6h9 M7 21v-8h10v8'/%3E%3C/svg%3E"); }
[data-wallet-icon="add"] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
[data-wallet-icon="refresh"] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7v5h-5m5 0a8 8 0 1 0-2.3 5.7'/%3E%3C/svg%3E"); }
[data-wallet-icon="download"], [data-analytics-export] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M5 16v4h14v-4'/%3E%3C/svg%3E"); }
[data-wallet-icon="upload"] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3m-5 5 5-5 5 5M5 16v4h14v-4'/%3E%3C/svg%3E"); }
[data-wallet-icon="archive"] { --wallet-button-icon: url("assets/icons/tabler/packages.svg"); }
[data-wallet-icon="delete"] { --wallet-button-icon: url("assets/icons/tabler/trash.svg"); }
[data-wallet-icon="media"] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E"); }
[data-wallet-icon="copy"] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2'/%3E%3C/svg%3E"); }
[data-wallet-icon="cancel"] { --wallet-button-icon: url("assets/icons/tabler/x.svg"); }
[data-wallet-icon="preview"] { --wallet-button-icon: url("assets/icons/tabler/eye.svg"); }
[data-wallet-icon="search"] { --wallet-button-icon: url("assets/icons/tabler/search.svg"); }
[data-wallet-icon="zoom-in"] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='6'/%3E%3Cpath d='m15 15 5 5M7.5 10h5M10 7.5v5'/%3E%3C/svg%3E"); }
[data-wallet-icon="zoom-out"] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='6'/%3E%3Cpath d='m15 15 5 5M7.5 10h5'/%3E%3C/svg%3E"); }
[data-wallet-icon="fit"] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4H4v4m12-4h4v4M4 16v4h4m12-4v4h-4'/%3E%3Crect x='8' y='8' width='8' height='8' rx='1'/%3E%3C/svg%3E"); }
[data-wallet-icon="adjustments"] { --wallet-button-icon: url("assets/icons/tabler/adjustments.svg"); }
[data-wallet-icon="check"] { --wallet-button-icon: url("assets/icons/tabler/circle-check.svg"); }
[data-wallet-icon="edit"] { --wallet-button-icon: url("assets/icons/tabler/edit.svg"); }
[data-wallet-icon="revoke"] { --wallet-button-icon: url("assets/icons/tabler/ban.svg"); }
[data-wallet-icon="card"] { --wallet-button-icon: url("assets/icons/tabler/id.svg"); }
[data-wallet-icon="scan"] { --wallet-button-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8V4h4m8 0h4v4m0 8v4h-4m-8 0H4v-4m0-4h16'/%3E%3C/svg%3E"); }
[data-wallet-icon="calendar"] { --wallet-button-icon: url("assets/icons/tabler/calendar.svg"); }
[data-wallet-icon="history"] { --wallet-button-icon: url("assets/icons/tabler/clock.svg"); }

.wallet-action-row:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}
.wallet-action-row > .btn { max-inline-size: 100%; }

.wallet-apple-front-stack > .wallet-notification-under-pass {
  width: min(100%, 348px); margin-inline: auto;
}
.wallet-notification-preview {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1rem; max-inline-size: 29rem;
  border-radius: 1.35rem; border: 1px solid var(--tblr-border-color);
  background: color-mix(in srgb, var(--tblr-bg-surface, #fff) 87%, var(--tblr-primary, #315978));
  box-shadow: 0 .25rem .875rem rgba(20, 33, 46, .09), inset 0 1px rgba(255, 255, 255, .22);
  color: var(--tblr-body-color); line-height: 1.35;
}
.wallet-notification-art {
  position: relative; display: grid; place-items: center; flex: none;
  inline-size: 2.75rem; block-size: 2.75rem; border-radius: .7rem;
  background: var(--tblr-bg-surface, #fff);
}
.wallet-notification-icon { inline-size: 100%; block-size: 100%; object-fit: cover; border-radius: inherit; }
.wallet-notification-fallback { inline-size: 1.5rem; block-size: 1.5rem; }
.wallet-notification-badge {
  position: absolute; inset-inline-end: -.3rem; inset-block-end: -.25rem;
  display: grid; place-items: center; inline-size: 1.3rem; block-size: 1.3rem;
  border: 1px solid #fff; border-radius: .38rem; background: #151c26;
}
.wallet-notification-badge svg { inline-size: 1rem; block-size: 1rem; }
#WalletTplNotificationIconPicker[hidden] { display: none !important; }
.wallet-notification-copy { flex: 1; min-inline-size: 0; overflow-wrap: anywhere; }
.wallet-notification-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .4rem; }
.wallet-notification-heading small { color: var(--tblr-secondary-color); white-space: nowrap; }
.wallet-modal.wallet-notification-dialog,
#WalletTplFieldDialog:has(#WalletTplFieldNotification:not([hidden])) { --wallet-dialog-width: 46rem; }
.wallet-notification-help {
  padding: .8rem 1rem;
  border-inline-start: .25rem solid var(--tblr-info, #4299e1);
  border-radius: .5rem;
  background: color-mix(in srgb, var(--tblr-info, #4299e1) 12%, var(--tblr-bg-surface, #fff));
}
.wallet-notification-editor-grid { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 640px) {
  .wallet-notification-editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.wallet-notification-editor-preview .wallet-notification-preview { max-inline-size: none; }
.wallet-notification-editor-preview h4 { margin-block-end: .5rem; }

#wallet-analytics {
  --wallet-report-blue: var(--smxi-brand, #325d7f);
  --wallet-report-teal: var(--smxi-primary, #48a884);
  --wallet-report-amber: #e59300;
  --wallet-report-pink: #d93870;
  --wallet-report-violet: #7952db;
}
#wallet-analytics [hidden] { display: none !important; }
.wallet-analytics-status:empty, .wallet-analytics-summary:has(> dl:empty) { display: none; }
#wallet-analytics [role="tabpanel"]:focus-visible { outline: 2px solid var(--wallet-report-blue); outline-offset: .25rem; }
.wallet-analytics-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem .8rem; }
.wallet-analytics-controls .btn-group { max-inline-size: 100%; }
.wallet-analytics-controls .btn-group .btn { padding-inline: clamp(.35rem, 1.2vw, .75rem); border-color: var(--tblr-border-color); }
.wallet-analytics-filter-options > summary { list-style: none; }
.wallet-analytics-filter-options > summary::-webkit-details-marker { display: none; }
.wallet-analytics-filter-options[open] { flex: 1 0 100%; min-inline-size: 0; }
.wallet-analytics-filter-options[open] > summary { display: table; margin-block-end: .5rem; margin-inline-start: auto; }
#WalletAnalyticsFilters { display: grid; gap: .6rem; align-items: end; padding: .75rem; }
#WalletAnalyticsFilters > * { min-inline-size: 0; width: auto; padding-inline: 0; margin: 0; }
#WalletAnalyticsFilters .form-label { margin-block-end: .25rem; }
.wallet-analytics-controls [data-analytics-range][aria-pressed="true"] {
  color: var(--tblr-primary); border-color: var(--tblr-primary);
  background: color-mix(in srgb, var(--tblr-primary) 10%, var(--tblr-bg-surface, #fff));
}
.wallet-analytics-charts .card-header { min-block-size: 0; padding: .65rem .9rem; }
.wallet-analytics-charts .card-footer { padding: .65rem .9rem; }
#WalletAnalyticsBreakdown .table :is(th, td) { white-space: normal; }
#WalletAnalyticsBreakdown .table tbody th { overflow-wrap: anywhere; }
#WalletAnalyticsBreakdown .table :is(th, td):nth-child(n + 2) {
  inline-size: 23%; text-align: end; font-variant-numeric: tabular-nums;
}
#WalletAnalyticsBreakdown .table td { font-weight: 600; }
.wallet-analytics-report-toggle { padding: .75rem 1rem; cursor: pointer; font-weight: 600; }
.wallet-analytics-report-tools { display: flex; justify-content: flex-end; padding: .25rem .9rem 0; }
.wallet-analytics-report-notes { margin: 0 .9rem .9rem; }
.wallet-analytics-metrics {
  display: grid; grid-template-columns: minmax(0, 1fr);
  align-items: start; gap: 1rem; padding: .9rem;
}
@media (min-width: 52rem) {
  .wallet-analytics-metrics:has(#WalletAnalyticsLifecycleMetrics > *):has(#WalletAnalyticsWalletMetrics > *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.wallet-analytics-metric-column { display: grid; gap: 1rem; min-inline-size: 0; }
.wallet-analytics-metric-column:not(:has(dl > *, #WalletAnalyticsReceiptPanel:not([hidden]))),
.wallet-analytics-metric-column > section:not(:has(dl > *, #WalletAnalyticsReceiptPanel:not([hidden]))) { display: none; }
.wallet-analytics-metric-column > section { padding: .8rem; border: 1px solid var(--tblr-border-color); border-radius: var(--tblr-border-radius); }
.wallet-analytics-metrics h4 { margin-block-end: .55rem; }
.wallet-analytics-metrics dl { margin: 0; }
.wallet-analytics-metrics .wallet-analytics-metric {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .75rem; padding-block: .5rem;
}
.wallet-analytics-metrics .wallet-analytics-metric + .wallet-analytics-metric { border-block-start: 1px solid var(--tblr-border-color); }
.wallet-analytics-metrics .wallet-analytics-metric dt { color: inherit; text-transform: none; letter-spacing: normal; font-size: inherit; }
.wallet-analytics-metrics .wallet-analytics-metric dd { display: contents; }
.wallet-analytics-metrics .wallet-analytics-metric dd > strong { text-align: end; font-size: .875rem; }
.wallet-analytics-metrics .wallet-analytics-metric-note { grid-column: 1 / -1; }
.wallet-analytics-metrics .wallet-analytics-metric-note::before { content: none; }
.wallet-analytics-receipts {
  display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: .45rem;
  padding: .65rem; margin-block-end: .35rem; border-radius: var(--tblr-border-radius);
  background: var(--tblr-bg-surface-secondary);
}
.wallet-analytics-summary { padding: .8rem 1rem; }
.wallet-analytics-summary:not(:has(> dl:empty)) + #WalletAnalyticsTrends { border-block-start: 1px solid var(--tblr-border-color); }
.wallet-analytics-headline { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.wallet-analytics-headline .wallet-analytics-metric {
  flex: 1 1 8rem; min-inline-size: 0;
  padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent;
}
.wallet-analytics-headline .wallet-analytics-metric dt { font-size: .9rem; color: inherit; letter-spacing: normal; text-transform: none; }
.wallet-analytics-headline .wallet-analytics-metric dd { margin-block-start: .1rem; line-height: 1.25; }
.wallet-analytics-headline .wallet-analytics-metric dd > strong { font-size: clamp(1.45rem, 3vw, 2.15rem); overflow-wrap: anywhere; }
.wallet-analytics-headline .wallet-analytics-metric-note { margin-block-start: .15rem; }
.wallet-analytics-headline .wallet-analytics-metric-note::before { content: none; }
.wallet-analytics-metric dt {
  color: var(--tblr-secondary-color); font-size: .75rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}
.wallet-analytics-metric dd { margin: .3rem 0 0; font-size: clamp(1.4rem, 2vw, 1.95rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.wallet-analytics-metric {
  --wallet-metric-accent: var(--wallet-report-blue);
  display: flex; flex-direction: column;
}
.wallet-analytics-metric:nth-child(5n + 2) { --wallet-metric-accent: var(--wallet-report-teal); }
.wallet-analytics-metric:nth-child(5n + 3) { --wallet-metric-accent: var(--wallet-report-amber); }
.wallet-analytics-metric:nth-child(5n + 4) { --wallet-metric-accent: var(--wallet-report-pink); }
.wallet-analytics-metric:nth-child(5n + 5) { --wallet-metric-accent: var(--wallet-report-violet); }
.wallet-analytics-metric-note {
  display: block; color: var(--tblr-secondary-color);
  font-size: .8125rem; font-weight: 400; line-height: 1.4;
}
.wallet-analytics-metric-note::before {
  content: ''; display: block; flex: none;
  block-size: .25rem; inline-size: 100%; border-radius: 1rem;
  margin-block: .65rem .55rem;
  background-color: var(--wallet-metric-accent);
}
.wallet-analytics-charts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.wallet-analytics-side { display: grid; align-content: start; gap: 1rem; }
.wallet-analytics-side:not(:has(> section:not([hidden]))) { display: none; }
#WalletAnalyticsCharts > * { min-inline-size: 0; }
#WalletAnalyticsOverview > dl { margin-block-end: 0; }
#WalletAnalyticsTrends > .card-body { display: flex; flex-direction: column; }
#WalletAnalyticsTrends > .card-body {
  background: linear-gradient(160deg, color-mix(in srgb, var(--wallet-report-blue) 8%, transparent), transparent 60%);
}
.wallet-analytics-period { margin: 0; font-size: .8125rem; overflow-wrap: anywhere; }
.wallet-analytics-trend-total { font-size: clamp(1.35rem, 3vw, 2.1rem); font-weight: 700; }
.wallet-analytics-trend-plot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem; align-items: stretch; }
.wallet-analytics-trend-scale { display: flex; flex-direction: column; justify-content: space-between; text-align: end; padding: .4rem 0; font-size: .75rem; }
.wallet-analytics-trend-dates { display: flex; justify-content: space-between; gap: .5rem; font-size: .75rem; margin: .25rem .5rem .5rem 1.25rem; }
.wallet-analytics-pager { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-block-start: .4rem; }
.wallet-analytics-pager small { margin-inline-end: auto; color: var(--tblr-secondary-color); }
#wallet-analytics .table thead { background: var(--tblr-bg-surface-secondary, #f6f8fb); }
#wallet-analytics .table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--tblr-bg-surface-secondary, #f6f8fb) 65%, transparent); }
#WalletAnalyticsFunnel .wallet-analytics-bars { min-block-size: 0; }
@media (min-width: 23rem) {
  #WalletAnalyticsFilters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #WalletAnalyticsFilters > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  #WalletAnalyticsFilters { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
  #WalletAnalyticsFilters > :last-child { grid-column: auto; }
  .wallet-analytics-charts:has(.wallet-analytics-side > section:not([hidden])) {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
  }
}
.wallet-analytics-bar-list { display: grid; gap: .75rem; overflow-wrap: anywhere; }
.wallet-analytics-bar-list .progress { margin-block-start: .3rem; }
.wallet-analytics-bar-list strong { flex: none; font-variant-numeric: tabular-nums; }
.wallet-analytics-bars { display: grid; align-content: center; gap: 1.4rem; min-block-size: 10rem; }
#WalletAnalyticsFunnelSteps progress {
  --wallet-funnel-accent: var(--wallet-report-blue);
  appearance: none; display: block; block-size: .35rem; margin-block: .35rem .8rem;
  overflow: hidden; border: 0; border-radius: 1rem;
  background: var(--tblr-bg-surface-secondary, #eef2f5);
}
#WalletAnalyticsFunnelSteps > :nth-child(2) progress { --wallet-funnel-accent: var(--wallet-report-violet); }
#WalletAnalyticsFunnelSteps > :nth-child(3) progress { --wallet-funnel-accent: var(--wallet-report-teal); }
#WalletAnalyticsFunnelSteps progress::-webkit-progress-bar { background: transparent; }
#WalletAnalyticsFunnelSteps progress::-webkit-progress-value { background: var(--wallet-funnel-accent); border-radius: inherit; }
#WalletAnalyticsFunnelSteps progress::-moz-progress-bar { background: var(--wallet-funnel-accent); border-radius: inherit; }
#WalletAnalyticsTrendSeries { --wallet-trend-accent: var(--wallet-report-blue); }
#WalletAnalyticsTrends .card-body:has(option[value="GoogleSaves"]:checked) #WalletAnalyticsTrendSeries {
  --wallet-trend-accent: var(--wallet-report-teal);
}
#WalletAnalyticsTrends .card-body:has(option[value="GoogleRemovals"]:checked) #WalletAnalyticsTrendSeries {
  --wallet-trend-accent: var(--wallet-report-pink);
}
#WalletAnalyticsTrends .card-body:has(option[value="Invalidations"]:checked) #WalletAnalyticsTrendSeries {
  --wallet-trend-accent: var(--wallet-report-amber);
}
#WalletAnalyticsTrends .card-body:has(option[value="GoogleUpdates"]:checked) #WalletAnalyticsTrendSeries {
  --wallet-trend-accent: var(--wallet-report-violet);
}
#WalletAnalyticsTrendSeries svg { display: block; width: 100%; height: clamp(8rem, 20vw, 15rem); overflow: visible; }
.wallet-trend-grid { stroke: var(--tblr-border-color, #dadfe7); vector-effect: non-scaling-stroke; }
.wallet-trend-area { fill: var(--wallet-trend-accent); fill-opacity: .16; }
.wallet-trend-line { fill: none; stroke: var(--wallet-trend-accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.wallet-trend-dot { fill: var(--wallet-trend-accent); stroke: var(--tblr-bg-surface, #fff); stroke-width: 1.5; vector-effect: non-scaling-stroke; }

/* Tabler display utilities must not reveal inactive editor controls. */
#wallet-pass-templates [hidden] {
  display: none !important;
}

.wallet-poster-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  align-items: start;
  gap: 1rem;
  margin-top: 1rem;
}
.wallet-poster-comparison > section > img {
  width: min(100%, 16rem);
  height: auto;
  border-radius: 1rem;
}

.wallet-template-gallery {
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.5rem), 1fr));
  grid-auto-rows: 1fr;
  gap: 1rem;
}
.wallet-gallery-heading,
.wallet-gallery-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1rem;
}
.wallet-gallery-heading > :first-child { flex: 1 1 30rem; }
.wallet-gallery-heading .page-subtitle { margin-block-end: 0; }
.wallet-gallery-heading-actions:not([hidden]),
.wallet-gallery-options { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.wallet-gallery-heading-actions, .wallet-heading-action-stack { margin-inline-start: auto; justify-content: flex-end; min-width: 0; }
.wallet-heading-action-stack { display: grid; justify-items: end; gap: .75rem; }
#wallet-pass-templates:has(#WalletTplEditor[hidden]) > #WalletTplEditorHeader,
#wallet-pass-templates:has(#WalletTplEditor:not([hidden])) > #WalletTplListHeading,
#wallet-pass-templates:has(> #WalletTplRecovery:not([hidden])) > :is(#WalletTplListHeading, .wallet-workspace-content),
#wallet-smarturl-designs:has(#WalletSmartDesignDetails[hidden]) > #WalletSmartDesignEditorHeader,
#wallet-smarturl-designs:has(#WalletSmartDesignDetails:not([hidden])) > #WalletSmartDesignListHeading { display: none; }
#WalletTplRecovery #WalletSmartDesignList:empty { display: none; }
#WalletTplRecovery #WalletSmartDesignEmpty { padding-block-start: 1.25rem; }
:is(#WalletTplEditorHeader, #WalletSmartDesignEditorHeader) > :first-child { flex-basis: 12rem; }
#WalletSmartDesignIssuanceCommands:empty { display: none; }
:is(#wallet-pass-templates, #wallet-smarturl-designs) .wallet-workspace-content:has(:is(#WalletTplBrowse, #WalletSmartDesignBrowse):not([hidden])) { padding: 0; }
:is(#wallet-pass-templates, #wallet-smarturl-designs) .wallet-workspace-content > :is([role="status"], #WalletTplProblems, #WalletSmartDesignProblems):not(:empty) {
  margin: .75rem 1.25rem 0;
}
:is(#WalletTplProblems, #WalletSmartDesignProblems):empty { display: none; }
.wallet-gallery-filters { padding: .875rem 1.25rem; border-bottom: 1px solid var(--tblr-border-color); }
.wallet-gallery-search { flex: 1 1 16rem; max-inline-size: 39rem; }
.wallet-gallery-options { margin-inline-start: auto; }
.wallet-gallery-empty, .wallet-gallery-pagination { padding: 0 1.25rem 1.25rem; margin: 0; }
.wallet-gallery-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--tblr-border-color);
  border-radius: .625rem;
  background: var(--tblr-bg-surface);
}
.wallet-gallery-card-header {
  min-height: 3.5rem;
  padding: .625rem .875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  border-bottom: 1px solid var(--tblr-border-color);
}
.wallet-gallery-card-title { min-width: 0; overflow-wrap: anywhere; }
.wallet-gallery-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
  min-block-size: 2.6em;
  overflow: hidden;
}
.wallet-gallery-metadata {
  display: flex; flex-wrap: wrap; align-content: start;
  min-block-size: calc(3em + .25rem); gap: .25rem .75rem; overflow-wrap: anywhere;
}
.wallet-gallery-card-footer {
  padding: .625rem .875rem;
  border-top: 1px solid var(--tblr-border-color);
  border-radius: 0 0 .625rem .625rem;
  background: var(--tblr-bg-surface-secondary, #f6f8fb);
}
.wallet-template-thumbnail {
  min-height: 17rem;
  display: grid;
  place-items: center;
  margin: .875rem;
  padding: 1rem .375rem;
  border-radius: .75rem;
  background: var(--tblr-bg-surface-secondary, #eef2f5);
  overflow-wrap: anywhere;
}
#wallet-pass-templates .wallet-template-thumbnail { align-items: start; background: transparent; padding-block: .35rem; }
.wallet-gallery-content { display: contents; }
.wallet-gallery-landing {
  inline-size: min(100%, 16rem);
  min-block-size: 13rem;
  display: grid;
  align-items: center;
  padding: .75rem;
  border-radius: .65rem;
  background: var(--tblr-bg-surface);
}
.wallet-gallery-landing-copy {
  min-inline-size: 0;
  text-align: center;
  color: #172535;
  background: #fff;
  border-block-start: .25rem solid #206bc4;
  border-radius: .5rem;
  padding: 1rem .75rem;
  box-shadow: 0 .25rem .75rem #1725351a;
}
.wallet-gallery-landing-copy > :is(h4, p) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.wallet-gallery-content > :first-child { grid-area: 1 / 1; }
.wallet-action-surface { position: relative; min-width: 0; }
.wallet-tile-actions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .65rem;
  min-width: 0; padding: .5rem;
}
.wallet-tile-actions .btn { gap: .6rem; white-space: normal; max-width: 100%; }
.wallet-tile-actions .smxi-icon { margin: 0; }
@media (hover: hover) and (pointer: fine) {
  .wallet-tile-actions {
    position: absolute; inset: 0; z-index: 1; align-content: center;
    background: rgb(255 255 255 / .5); border-radius: inherit;
    opacity: 0;
  }
  #wallet-pass-templates .wallet-tile-actions { flex-direction: column; flex-wrap: nowrap; }
  li:is(:hover, :focus-within) > .wallet-action-surface > .wallet-tile-actions {
    opacity: 1;
  }
}
.wallet-gallery-placeholder { min-height: 8rem; display: grid; align-items: center; }
.wallet-gallery-copy-icon { position: relative; flex: 0 0 1.15rem; height: 1.15rem; }
.wallet-gallery-copy-icon::before, .wallet-gallery-copy-icon::after {
  content: ""; position: absolute; width: .63rem; height: .63rem;
  border: 1px solid currentColor; border-radius: .12rem;
}
.wallet-gallery-copy-icon::before { inset: .06rem auto auto .08rem; }
.wallet-gallery-copy-icon::after { inset: auto .08rem .06rem auto; background: var(--tblr-btn-bg); }
.wallet-preview-face.wallet-gallery-pass {
  --wallet-preview-inset: .55rem;
  width: min(100%, 16rem);
  border-radius: .75rem;
  box-shadow: 0 .35rem 1rem #17253526;
  font-size: .72rem;
  line-height: 1.2;
}
.wallet-gallery-pass .wallet-standard-logo { height: 30px; }
#wallet-smarturl-designs [hidden] { display: none !important; }
.wallet-design-columns { display: grid; gap: 1rem; }
.wallet-design-columns > * { min-width: 0; }
.wallet-template-picker {
  display: flex; gap: .65rem; overflow-x: auto; overscroll-behavior-inline: contain;
  list-style: none; padding: .25rem .25rem .5rem; margin: 0;
}
.wallet-template-picker > li { flex: 0 0 min(100%, 10rem); min-width: 0; display: flex; }
.wallet-template-tile {
  display: flex; flex-direction: column; width: 100%; gap: .35rem; justify-content: start;
  white-space: normal; overflow-wrap: anywhere; padding: .55rem;
  background: var(--tblr-bg-surface); border-color: var(--tblr-border-color);
}
.wallet-template-tile[aria-pressed="true"] { border-color: var(--tblr-success); background: var(--tblr-success-lt); }
.wallet-template-tile-selection { margin-top: auto; }
.wallet-template-tile-face {
  display: flex; flex-direction: column; justify-content: center; gap: .15rem;
  width: 100%; aspect-ratio: 16/9; overflow: hidden; padding: .35rem;
  background: #172535; color: #fff; border-radius: .35rem; font-size: .75rem;
}
.wallet-template-tile-face img { width: 100%; min-height: 0; max-height: 68%; object-fit: contain; }
.wallet-template-tile-face > :is(span, strong) {
  flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wallet-creator-workbench { display: grid; gap: 1rem; align-items: start; }
.wallet-creator-workbench > * { min-width: 0; }
#WalletTplWorkbench { gap: clamp(1.25rem, 2vw, 2rem); }
#WalletTplWorkbench .wallet-creator-settings .form-label > :is(.form-control, .form-select):not([hidden]) {
  margin-block-start: .4rem;
}
.wallet-vpc-artwork-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem 1.25rem;
  margin-block: .85rem;
}
.wallet-vpc-artwork-row strong { display: block; margin-block-end: .2rem; }
.wallet-vpc-artwork-row strong + span { color: var(--tblr-secondary); overflow-wrap: anywhere; }
.wallet-vpc-navigation { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.wallet-vpc-navigation > nav { margin-block-end: 0 !important; }
.wallet-creator-workbench.wallet-smarturl-workbench { grid-template-columns: minmax(0, 1fr); }
.wallet-creator-preview { scroll-margin-block-start: 1rem; overflow-wrap: anywhere; }
.wallet-tab-letter { display: inline-grid; place-items: center; width: 1.15rem; font-weight: 750; }
.wallet-preview-face { --wallet-preview-inset: 1rem; padding: var(--wallet-preview-inset); border-radius: 1rem; box-shadow: 0 3px 10px #0002; }
.wallet-preview-face[data-pass-format="eventTicket"] { border-radius: .65rem; }
.wallet-preview-apple-header { display: grid; grid-template-columns: minmax(0, 1fr) fit-content(50%); align-items: start; gap: .5rem; }
.wallet-preview-apple-header > * { min-width: 0; }
.wallet-preview-apple-brand { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.wallet-preview-apple-brand:only-child { grid-column: 1 / -1; }
.wallet-preview-apple-header .wallet-preview-fields { margin-top: 0 !important; }
.wallet-preview-face [data-placement="header"] { text-align: end; }
.wallet-preview-face [data-placement="header"] .wallet-preview-fields { justify-content: end; }
.wallet-preview-face [data-placement="primary"] dd { font-size: 1.25rem; font-weight: 650; }
.wallet-preview-face .wallet-preview-fields { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: start; }
.wallet-preview-fields > div { min-width: 0; }
.wallet-preview-face .wallet-preview-fields dt { color: var(--wallet-pass-label, currentColor); font-size: .6875rem; text-transform: uppercase; letter-spacing: .035em; }
.wallet-preview-fields dd { margin: 0 0 .35rem; }
.wallet-preview-edit { font: inherit; color: inherit; border: 0; background: transparent; border-radius: .2rem; text-align: inherit; padding: .125rem .25rem; margin-inline-start: -.25rem; overflow-wrap: anywhere; }
.wallet-preview-edit:hover { box-shadow: 0 0 0 1px currentColor; }
.wallet-preview-edit:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.wallet-preview-artwork-edit, .wallet-preview-add { margin: .35rem 0; padding: .25rem .45rem; border: 1px dashed currentColor; font-size: .75rem; }
.wallet-preview-artwork-edit { display: block; }
.wallet-preview-inline { display: block; box-sizing: border-box; width: 100%; min-width: 0; border: 1px solid currentColor; border-radius: .25rem; padding: .25rem .35rem; font: inherit; color: inherit; background: transparent; }
.wallet-preview-inline:focus { outline: 2px solid currentColor; outline-offset: 2px; }
.wallet-preview-copy-slot { position: relative; display: block; }
.wallet-preview-copy-slot > .wallet-preview-inline { position: absolute; z-index: 1; inset-block-start: 0; inset-inline-start: 0; background: #fff; }
.wallet-preview-code { display: grid; justify-items: center; gap: .25rem; margin: 1rem 0 0; clear: both; font-size: .75rem; }
.wallet-preview-code-editable { position: relative; border-radius: .3rem; }
.wallet-preview-code-editable .wallet-preview-barcode-edit { position: absolute; inset: 0; width: 100%; margin: 0; padding: 0; }
.wallet-preview-code > canvas { width: min(100%, 7.25rem); height: auto; border-radius: .25rem; image-rendering: pixelated; }
.wallet-gallery-pass .wallet-preview-code > canvas { width: min(100%, 3.625rem); }
.wallet-preview-face.wallet-gallery-pass :is(h5, .wallet-preview-google-title) { font-size: 1em; }
.wallet-preview-face.wallet-gallery-pass .wallet-preview-fields { gap: .15em .55em; margin-block-end: 0; }
.wallet-preview-face.wallet-gallery-pass .wallet-preview-fields dt { font-size: .8em; }
.wallet-preview-face.wallet-gallery-pass .wallet-preview-fields dd { margin-block-end: .12em; }
.wallet-preview-face.wallet-gallery-pass [data-placement="primary"] dd { font-size: 1.12em; }
:is(.wallet-gallery-pass, .wallet-gallery-pass > .wallet-preview-apple-body) > .mt-2 { margin-block-start: .3em !important; }
.wallet-preview-face.wallet-gallery-pass .wallet-preview-code { margin-block-start: .45em; font-size: .86em; }
.wallet-preview-face.wallet-gallery-pass:has(> .wallet-preview-apple-body) > .wallet-preview-code {
  margin-block-start: auto;
  padding-block-start: .45em;
}
.wallet-barcode-sample { max-width: min(100%, 11rem); height: auto; image-rendering: pixelated; }
.wallet-preview-reverse { width: min(100%, 23.4375rem); margin: .75rem auto 0; padding: 1rem; border: 1px solid var(--tblr-border-color, #cbd5e1); border-radius: 1rem; background: var(--tblr-bg-surface, #fff); overflow-wrap: anywhere; }
.wallet-preview-reverse > p { white-space: pre-wrap; }
.wallet-preview-reverse .wallet-preview-fields > div { padding-block: .55rem; border-top: 1px solid var(--tblr-border-color, #cbd5e1); }
.wallet-preview-reverse dt { font-size: .6875rem; text-transform: uppercase; letter-spacing: .035em; }
.wallet-preview-reverse dd { white-space: pre-wrap; }
.wallet-preview-provider[hidden] { display: none; }
.wallet-preview-single > .wallet-preview-provider { width: 100%; container-type: inline-size; }
.wallet-preview-single .wallet-preview-face { width: min(100%, 23.4375rem); margin-inline: auto; }
@container (min-width: 36rem) {
  .wallet-preview-single .wallet-preview-provider > section {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; column-gap: 1rem;
  }
  .wallet-preview-single .wallet-preview-provider > section > * { grid-column: 1 / -1; }
  .wallet-preview-single .wallet-preview-provider > section > .wallet-preview-face { grid-column: 1; grid-row: 3; }
}
.wallet-apple-device-pair {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem; align-items: start; width: min(100%, calc(696px + 1rem)); margin-inline: auto;
}
#WalletTplWorkbench .wallet-apple-device-pair {
  --wallet-device-gap: clamp(1.5rem, 3vw, 2.5rem);
  gap: var(--wallet-device-gap);
  width: min(100%, calc(696px + var(--wallet-device-gap)));
}
.wallet-apple-phone {
  --wallet-apple-phone-height: clamp(30rem, 75vh, 42rem);
  width: min(100%, 348px); margin-inline: auto; box-sizing: border-box;
  display: grid; grid-template: auto auto minmax(0, 1fr) auto / minmax(0, 1fr);
  block-size: var(--wallet-apple-phone-height);
  border: 7px solid #1c1d21; border-radius: 37px; background: #fff; color: #1c1c1e;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  box-shadow: 0 4px 14px #0003; overflow: hidden;
}
.wallet-apple-phone-status, .wallet-apple-phone-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-inline: 1.1rem;
}
.wallet-apple-phone-status { position: relative; min-height: 39px; font-size: .8rem; font-weight: 650; }
.wallet-apple-phone-island {
  position: absolute; inset-inline-start: 50%; transform: translateX(-50%);
  width: 4.3rem; height: 1.2rem; border-radius: 1rem; background: #000;
}
.wallet-apple-phone-toolbar {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center; min-height: 44px; margin-block-end: .5rem;
}
.wallet-apple-phone-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; font-weight: 600; }
.wallet-apple-phone-close, .wallet-apple-phone-add {
  display: grid; place-items: center; line-height: 1; font-weight: 600; border-radius: 999px;
  min-inline-size: 2rem; block-size: 2rem;
}
.wallet-apple-phone-close {
  --wallet-apple-toolbar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='m4.5 4.5 7 7m0-7-7 7'/%3E%3C/svg%3E");
  flex: 0 0 2rem; inline-size: 2rem; block-size: 2rem;
  background: #e5e5ea; font-size: 0;
}
.wallet-apple-phone-close::before {
  content: ""; inline-size: 1rem; block-size: 1rem; background: currentColor;
  mask: var(--wallet-apple-toolbar-icon) center / contain no-repeat;
}
.wallet-apple-phone-add { background: #0966d5; color: white; padding-inline: .75rem; }
.wallet-apple-phone-share {
  width: 1.2rem; height: 1.45rem; flex: none; background: #7dbbff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 18V2m-4 4 4-4 4 4M7 10H4v16h16V10h-3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wallet-apple-phone-screen { min-width: 0; overflow: auto; scrollbar-width: none; padding: 0 .45rem; }
.wallet-apple-phone-screen:focus-visible { outline: 2px solid #7dbbff; outline-offset: -2px; }
.wallet-apple-phone .wallet-preview-face { width: 100%; overflow: visible; }
.wallet-apple-phone-front .wallet-apple-phone-screen {
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: safe center; padding: .65rem .55rem;
  grid-auto-rows: max-content; container-type: inline-size;
  padding-block-end: calc(.65rem + var(--wallet-apple-phone-height) * .08);
}
.wallet-apple-phone-front .wallet-preview-face[data-pass-format]:not(.wallet-preview-enhanced-face) {
  --wallet-preview-inset: .75rem;
  display: flex; flex-direction: column; min-block-size: calc(100cqi * 41 / 30); aspect-ratio: auto;
  border-radius: .55rem; container-type: inline-size;
}
.wallet-apple-phone-front .wallet-preview-face:not(.wallet-preview-enhanced-face) .wallet-standard-logo {
  height: clamp(1rem, 11cqi, 1.9rem); max-width: min(33cqi, 6.25rem);
}
.wallet-apple-phone-front .wallet-preview-apple-brand { flex-wrap: nowrap; }
.wallet-apple-phone-front .wallet-preview-apple-brand > :is(h5, .wallet-preview-copy-slot) {
  min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wallet-apple-phone-front .wallet-preview-face:not(.wallet-preview-enhanced-face) [data-placement="primary"] dd {
  font-size: clamp(1.25rem, 12.8cqi, 2.7rem); font-weight: 400; line-height: 1.05;
}
.wallet-apple-phone-front .wallet-preview-code { margin-block-start: auto; padding-block-start: .75rem; }
.wallet-apple-phone-front .wallet-preview-face:not(.wallet-preview-enhanced-face) > .wallet-preview-code { flex: none; }
.wallet-apple-phone-front .wallet-preview-face[data-pass-format] > .wallet-preview-code > canvas {
  width: min(100%, 7.25rem);
}
.wallet-apple-phone-front .wallet-preview-code:has(> canvas),
.wallet-preview-enhanced-face > .wallet-preview-code:has(> canvas) {
  justify-self: center; align-self: center; width: 44%; max-width: 100%;
  gap: .25rem;
}
.wallet-apple-phone-front .wallet-preview-code:has(> canvas) { width: 44cqi; }
.wallet-preview-code > .wallet-preview-barcode-label { text-align: center; overflow-wrap: anywhere; }
.wallet-apple-phone-front .wallet-preview-barcode-label,
.wallet-preview-enhanced-face .wallet-preview-barcode-label { font-size: .63rem; line-height: 1.1; }
.wallet-apple-phone-front .wallet-preview-code > figcaption,
.wallet-preview-enhanced-face > .wallet-preview-code > figcaption { display: none; }
.wallet-apple-phone-back { background: #f2f2f7; color: #1c1c1e; }
.wallet-apple-phone-back .wallet-apple-phone-close {
  --wallet-apple-toolbar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 4-4 4 4 4'/%3E%3C/svg%3E");
}
.wallet-apple-phone-back .wallet-apple-phone-share { background: #0966d5; }
.wallet-apple-phone-back .wallet-apple-phone-screen { padding: .5rem .75rem; }
.wallet-apple-details-thumb {
  width: 5.75rem; aspect-ratio: 1.43; margin: 0 auto .5rem; border-radius: .35rem;
  overflow: hidden; display: grid; place-items: center; position: relative; isolation: isolate;
  box-shadow: 0 1px 6px #0003; font-size: .56rem; text-align: center;
}
.wallet-apple-details-thumb > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
}
.wallet-apple-details-thumb > span { padding: .2rem; background: #17171acc; color: #fff; }
.wallet-apple-details-heading { margin: 0 0 1.5rem; text-align: center; font-size: 1.02rem; font-weight: 600; }
.wallet-apple-details-action {
  display: flex; justify-content: space-between; align-items: center; min-block-size: 2.6rem;
  margin-block: .85rem; padding: .55rem .8rem; border-radius: 1rem; background: #fff;
  font-size: .85rem; font-weight: 400;
}
.wallet-apple-details-remove { color: #b42318; }
.wallet-apple-phone-back .wallet-preview-reverse {
  width: 100%; margin: 0; padding: .1rem .8rem; border: 0;
  background: #fff; color: inherit; border-radius: 1rem;
}
.wallet-apple-phone-back .wallet-preview-reverse .wallet-preview-fields { margin-block-start: 0 !important; }
.wallet-apple-phone-back .wallet-preview-reverse .wallet-preview-fields > div {
  display: grid; gap: .2rem; border-top-color: #e5e5ea; font-size: .85rem;
}
.wallet-apple-phone-back .wallet-preview-reverse dt { font-size: inherit; font-weight: 600; text-transform: none; letter-spacing: normal; }
.wallet-apple-phone-back .wallet-preview-reverse dd { margin: 0; color: #56565e; font-weight: 400; }
.wallet-apple-phone-back .wallet-preview-reverse .wallet-preview-fields > div:first-child {
  border-top: 0;
}
.wallet-apple-phone-nav { display: grid; place-items: center; height: 1.4rem; }
.wallet-apple-phone-nav::after { content: ""; width: 29%; height: .2rem; border-radius: 1rem; background: currentColor; }
.wallet-standard-thumbnail, .wallet-standard-icon { object-fit: cover; object-position: center; }
.wallet-standard-logo { display: block; width: auto; max-width: min(100%, 10rem); height: 50px; object-fit: contain; object-position: left center; }
.wallet-preview-face[data-pass-format="storeCard"]:not(.wallet-preview-google) {
  aspect-ratio: 390 / 472;
}
.wallet-preview-face:has(> .wallet-preview-apple-body) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.wallet-preview-face:where(.wallet-gallery-pass, #WalletTplPreviewArea *, #WalletTplPublishedFace *) {
  box-sizing: border-box;
  aspect-ratio: 30 / 41;
  min-block-size: 0;
  overflow: auto;
}
.wallet-preview-face.wallet-preview-google:where(.wallet-gallery-pass, #WalletTplPreviewArea *, #WalletTplPublishedFace *) {
  aspect-ratio: 60 / 91;
}
#WalletTplPreviewArea, #WalletTplPublishedFace { container: wallet-pass-preview / inline-size; }
:is(#WalletTplPreviewArea, #WalletTplPublishedFace) .wallet-preview-face {
  inline-size: min(100%, 23.4375rem);
  margin-inline: auto;
}
@container wallet-pass-preview (max-width: 34rem) {
  :is(#WalletTplPreviewArea, #WalletTplPublishedFace) .wallet-preview-provider { inline-size: 100%; }
}
.wallet-preview-apple-body { display: flow-root; flex: none; }
.wallet-preview-apple-body ~ .wallet-preview-add { align-self: start; }
.wallet-preview-face[data-pass-format="storeCard"]:not(.wallet-preview-google) .wallet-standard-logo {
  max-width: min(100%, 90px);
  height: 28px;
  object-fit: contain;
  object-position: left center;
}
.wallet-preview-face:has(> .wallet-preview-apple-body) > .wallet-preview-code {
  flex: none;
  margin-block-start: auto;
  padding-block-start: .75rem;
}
.wallet-preview-face[data-pass-format="storeCard"]:not(.wallet-preview-google) .wallet-preview-code > canvas {
  width: min(20%, 3.625rem);
}
.wallet-standard-thumbnail { float: inline-end; width: min(33%, 5.625rem); aspect-ratio: 1; }
.wallet-standard-icon { width: 29px; height: 29px; border-radius: .25rem; }
.wallet-standard-strip { position: relative; margin: .625rem 0; min-width: 0; }
.wallet-preview-apple-body > .wallet-standard-strip { margin-inline: calc(-1 * var(--wallet-preview-inset)); }
.wallet-standard-strip > img { display: block; width: 100%; aspect-ratio: 375 / 144; object-fit: cover; }
.wallet-standard-strip.event-strip > img { aspect-ratio: 375 / 98; }
.wallet-strip-fields { position: absolute; inset: 0; padding: .35rem; overflow: auto; background: #0004; color: #fff; }
.wallet-preview-google { width: min(100%, 23.4375rem); margin-inline: auto; }
.wallet-preview-google, .wallet-google-phone-details { font-family: "Google Sans Flex", "Google Sans", Roboto, Arial, sans-serif; }
.wallet-preview-google-brand { display: flex; flex-direction: column; align-items: center; gap: .25rem; text-align: center; }
.wallet-preview-google-title { font-size: clamp(1.15rem, 2.5vw, 1.5rem); line-height: 1.2; margin: .6rem 0 0; text-align: center; }
.wallet-google-phone {
  --wallet-google-device-colour: #f2f5fa;
  --wallet-google-device-ink: #191b20;
  --wallet-google-screen-radius: 32px;
  --wallet-google-nav-height: 1.4rem;
  position: relative; isolation: isolate; box-sizing: border-box;
  width: min(100%, 348px); margin-inline: auto;
  border: 8px solid #18191d; border-radius: 40px;
  background: var(--wallet-google-device-colour);
  background-clip: padding-box;
  color: var(--wallet-google-device-ink);
  box-shadow: 0 0 0 1px #4d5056, 0 .7rem 1.6rem #10162238;
}
.wallet-google-phone::after {
  content: ""; position: absolute; z-index: -1; inset-inline-end: -.51rem; inset-block-start: 5.25rem;
  width: .22rem; height: 2rem; border-radius: 2px;
  background: #3d4149; box-shadow: 0 2.65rem 0 -.03rem #3d4149;
}
.wallet-google-phone-status, .wallet-google-phone-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: 1rem;
}
.wallet-google-phone-status {
  position: relative; min-height: 2.15rem; border-radius: 1.8rem 1.8rem 0 0;
  font-size: .78rem; font-weight: 650; font-variant-numeric: tabular-nums;
}
.wallet-google-phone-camera {
  position: absolute; inset-inline-start: calc(50% - .275rem); width: .55rem; height: .55rem;
  border-radius: 50%; background: radial-gradient(circle at 38% 38%, #484b57 0, #111219 43%, #08090b 70%);
  box-shadow: 0 0 0 1px #76778372;
}
.wallet-google-phone-indicators { display: flex; align-items: center; gap: .17rem; }
.wallet-android-icon {
  display: block; flex: none; width: 1rem; height: 1rem;
  background: currentColor; mask: var(--wallet-android-glyph) center / contain no-repeat;
}
.wallet-android-signal { --wallet-android-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 20h3v-4H3zm5 0h3v-7H8zm5 0h3V9h-3zm5 0h3V5h-3z'/%3E%3C/svg%3E"); }
.wallet-android-wifi { --wallet-android-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 8a15 15 0 0 1 18 0M6 12a10 10 0 0 1 12 0m-9 4a5 5 0 0 1 6 0'/%3E%3Ccircle cx='12' cy='19' r='1' fill='black'/%3E%3C/svg%3E"); }
.wallet-android-battery { --wallet-android-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='6' width='18' height='12' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Crect x='5' y='9' width='12' height='6' rx='.6'/%3E%3Cpath d='M21 10h2v4h-2z'/%3E%3C/svg%3E"); }
.wallet-android-back { --wallet-android-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m11 5-7 7 7 7m-7-7h16'/%3E%3C/svg%3E"); }
.wallet-android-star { --wallet-android-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.6 5.8 6.4.7-4.8 4.4 1.4 6.3-5.6-3.2-5.6 3.2 1.4-6.3L3 9.5l6.4-.7z'/%3E%3C/svg%3E"); }
.wallet-google-phone-screen {
  max-block-size: min(39rem, 66vh); overflow: auto; overscroll-behavior: contain;
  padding-block-end: var(--wallet-google-nav-height);
  border-radius: 0 0 var(--wallet-google-screen-radius) var(--wallet-google-screen-radius);
  background: var(--wallet-google-device-colour); color: var(--wallet-google-device-ink);
  scrollbar-width: none;
}
.wallet-google-phone-screen::-webkit-scrollbar { display: none; }
.wallet-google-phone-screen:focus-visible { outline: 2px solid #80b7ff; outline-offset: -2px; }
.wallet-google-phone-toolbar {
  position: sticky; inset-block-start: 0; z-index: 3; min-height: 2.5rem;
  background: var(--wallet-google-device-colour); color: var(--wallet-google-device-ink);
}
.wallet-google-phone-toolbar .wallet-android-icon { width: 1.2rem; height: 1.2rem; }
.wallet-google-phone .wallet-preview-google {
  inline-size: 100%; min-block-size: 0; aspect-ratio: auto; overflow: hidden;
  padding-block: 3px 18px;
  border-radius: 0 0 24px 24px; box-shadow: none;
}
.wallet-google-phone .wallet-preview-google-brand { gap: 10px; }
.wallet-google-phone .wallet-preview-google-brand > small { font-size: 14.5px; line-height: 1.3; font-weight: 500; }
.wallet-google-phone .wallet-preview-google-title {
  margin-block: 4px 0; font-size: 28px; line-height: 1.18; font-weight: 500;
}
.wallet-google-preview-venue > .wallet-preview-google-title { font-size: 15px; line-height: 20px; }
.wallet-google-phone .wallet-preview-code { position: relative; margin-block-start: 23px; gap: 10px; }
.wallet-google-phone [data-pass-format="generic"] .wallet-preview-code { margin-block-start: 42px; }
.wallet-google-phone [data-pass-format="eventTicket"]:has(.wallet-google-preview-venue) .wallet-preview-code { margin-block-start: 19px; }
.wallet-google-phone .wallet-preview-code > figcaption { display: none; }
.wallet-google-phone .wallet-preview-code + .wallet-preview-google-details { margin-block-start: 21px; }
.wallet-google-phone .wallet-preview-code + .wallet-preview-google-details .wallet-preview-fields { margin-block-start: 0 !important; }
.wallet-google-phone .wallet-preview-google-details {
  margin-inline: 6px;
}
.wallet-google-phone .wallet-preview-google-details .wallet-preview-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 8px;
}
.wallet-google-phone .wallet-preview-google-details .wallet-preview-fields > div:nth-child(even) { text-align: end; }
.wallet-google-phone :is(.wallet-preview-google, .wallet-google-phone-details) .wallet-preview-fields dt {
  font-size: 12px; line-height: 1.35; font-weight: 500; letter-spacing: .02em; text-transform: uppercase;
}
.wallet-google-phone .wallet-preview-fields dd { font-size: 16px; line-height: 1.35; font-weight: 500; margin: 0; }
.wallet-google-phone .wallet-google-extra-fields { margin-block-start: .875rem; }
.wallet-google-phone .wallet-google-logo { width: 64px; height: 64px; }
.wallet-google-phone-screen > .wallet-preview-artwork-edit[data-preview-artwork="googleHero"] { margin-inline: auto; }
.wallet-google-phone .wallet-google-hero-phone { width: 100%; margin: 0; border-radius: 0; }
.wallet-google-phone .wallet-preview-google:has(+ .wallet-google-hero-phone) { position: relative; z-index: 1; }
.wallet-google-phone .wallet-preview-google + .wallet-google-hero-phone { margin-block-start: -24px; }
.wallet-google-phone .wallet-google-hero-phone + .wallet-google-phone-details { position: relative; margin-block-start: -24px; }
.wallet-google-phone-details {
  padding: 20px 12px 24px; border-radius: 24px 24px 0 0;
  background: color-mix(in srgb, var(--wallet-google-device-colour) 92%, var(--wallet-google-device-ink));
  color: var(--wallet-google-device-ink);
}
.wallet-google-phone-dark .wallet-google-phone-details {
  background: color-mix(in srgb, var(--wallet-google-device-colour) 78%, black);
}
.wallet-google-phone .wallet-google-phone-details .wallet-preview-google-details { margin-inline: 0; }
.wallet-google-phone .wallet-google-phone-details .wallet-preview-fields { grid-template-columns: 1fr; row-gap: 3px; }
.wallet-google-phone .wallet-google-phone-details .wallet-preview-google-details .wallet-preview-fields > div {
  padding: 14px 16px; background: color-mix(in srgb, currentColor 10%, transparent);
  border: 0; border-radius: 5px; text-align: start;
}
.wallet-google-phone .wallet-google-phone-details .wallet-preview-fields dt {
  font-size: 13.5px; line-height: 1.4; font-weight: 650; letter-spacing: normal; text-transform: none;
}
.wallet-google-phone .wallet-google-phone-details .wallet-preview-fields dd {
  font-size: 13.5px; line-height: 1.4; font-weight: 400;
}
.wallet-google-phone .wallet-google-phone-details .wallet-preview-fields > div:first-child { border-radius: 16px 16px 5px 5px; }
.wallet-google-phone .wallet-google-phone-details .wallet-preview-fields > div:last-child { border-radius: 5px 5px 16px 16px; }
.wallet-google-phone .wallet-google-phone-details .wallet-preview-fields > div:only-child { border-radius: 16px; }
.wallet-google-phone-details .wallet-preview-google-details + .wallet-preview-google-details { margin-block-start: 12px; }
.wallet-google-phone-nav {
  position: relative; z-index: 4; display: grid; place-items: center;
  height: var(--wallet-google-nav-height); margin-block-start: calc(-1 * var(--wallet-google-nav-height));
  border-radius: 0 0 var(--wallet-google-screen-radius) var(--wallet-google-screen-radius);
  background: linear-gradient(transparent, var(--wallet-google-device-colour));
  pointer-events: none;
}
.wallet-google-phone-nav::after { content: ""; width: 29%; height: .19rem; border-radius: 1rem; background: currentColor; }
.wallet-google-phone .wallet-preview-code > canvas {
  box-sizing: content-box; width: min(144px, calc(100% - 44px)); height: auto;
  padding: 18px 22px;
  border-radius: 20px; background: white;
}
.wallet-google-phone .wallet-preview-barcode-label { font-size: 13.5px; line-height: 17px; font-weight: 500; }
.wallet-google-sample-photo { margin: .75rem 0 0; text-align: center; font-size: .75rem; }
.wallet-google-sample-photo img {
  display: block; width: min(100%, 8rem); aspect-ratio: 1; margin: 0 auto .35rem;
  border-radius: .65rem; background: #d9eaf1; object-fit: cover;
}
.wallet-preview-google-details .wallet-preview-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.5rem), 1fr)); }
.wallet-google-logo { width: 2rem; height: 2rem; flex: none; object-fit: cover; border-radius: 50%; }
.wallet-google-hero { display: block; width: calc(100% + 2 * var(--wallet-preview-inset)); max-width: none; aspect-ratio: 1032 / 812; object-fit: cover; border-radius: inherit; border-end-start-radius: 0; border-end-end-radius: 0; margin: calc(-1 * var(--wallet-preview-inset)) calc(-1 * var(--wallet-preview-inset)) .75rem; }
.wallet-google-hero-middle {
  border-radius: 0;
  margin: .75rem calc(-1 * var(--wallet-preview-inset));
}
.wallet-google-hero-bottom {
  border-radius: inherit;
  border-start-start-radius: 0;
  border-start-end-radius: 0;
  margin: .75rem calc(-1 * var(--wallet-preview-inset)) calc(-1 * var(--wallet-preview-inset));
}
.wallet-phone-preview { max-width: 390px; margin-inline: auto; }
.wallet-landing-preview-image { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.wallet-landing-preview-layout > * { min-width: 0; overflow-wrap: anywhere; }
.wallet-landing-preview-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1rem; }
.wallet-landing-preview-visitor { max-width: 38rem; margin-inline: auto; font: 1rem/1.55 system-ui, sans-serif; text-align: center; white-space: normal; }
.wallet-landing-preview-visitor .wallet-landing-edit-overlay { position: absolute; inset: 0; margin: 0; padding: 0; cursor: pointer; }
.wallet-landing-preview-visitor h3, .wallet-landing-preview-visitor h4 { font-weight: 700; line-height: 1.2; }
.wallet-landing-preview-visitor h3 { font-size: clamp(1.65rem, 4vw, 2.35rem); margin: .65rem 0; }
.wallet-phone-preview .wallet-landing-preview-visitor h3 { font-size: 1.65rem; }
.wallet-landing-preview-visitor h4 { font-size: 1.25rem; margin: .83em 0; }
.wallet-landing-preview-visitor p { margin: 1em 0; }
.wallet-landing-preview-visitor .wallet-landing-preview-copy { white-space: pre-line; }
.wallet-landing-preview-visitor .wallet-landing-preview-actions { justify-content: center; gap: .75rem; margin-block: 1.25rem; }
.wallet-landing-preview-visitor .wallet-landing-preview-actions img { object-position: center; }
.wallet-landing-preview-visitor aside { max-width: 25rem; margin: 1.5rem auto 0; }
.wallet-landing-preview-visitor details .wallet-preview-code { justify-items: start; margin-block-start: 0; }
.wallet-preview-badge { display: block; max-width: 100%; height: 55px; object-fit: contain; object-position: left center; }
.wallet-preview-badge-apple { width: 178px; }
.wallet-preview-badge-google { width: 199px; }
.wallet-preview-badge-print { width: 184px; }
.wallet-landing-preview-card { display: flex; flex-direction: column; justify-content: end; min-height: 10rem; padding: 1rem; border-radius: 1rem; background: #172535; color: #fff; }
.wallet-landing-preview-card-art { align-self: start; max-width: 100%; max-height: 3rem; object-fit: contain; margin-block-end: .25rem; }
.wallet-landing-preview-layout .wallet-preview-code canvas { width: min(100%, var(--wallet-preview-qr-width, 256px)); }
@media (min-width: 1024px) {
  .wallet-design-columns { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .wallet-creator-workbench { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  #WalletTplWorkbench:has([data-wallet-fixed-provider]) { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}
.wallet-modal { width: min(var(--wallet-dialog-width, 50rem), calc(100% - 1.5rem)); max-width: none; max-height: calc(100dvh - 1.5rem); margin: auto; padding: 0; border: 0; border-radius: .85rem; overflow: hidden; background: var(--smxi-surface); color: var(--tblr-body-color); }
.wallet-modal::backdrop { background: rgba(17, 24, 39, .52); }
.wallet-modal-operations { --wallet-dialog-width: 32rem; }
.wallet-modal-share { --wallet-dialog-width: 36rem; }
.wallet-modal-field { --wallet-dialog-width: 27rem; }
.wallet-modal-alert { --wallet-dialog-width: 30rem; }
.wallet-publish-review { --wallet-dialog-width: 48rem; }
.wallet-publish-review .modal-body { display: grid; gap: .75rem; }
.wallet-publish-review :is(p, h4, ul) { margin: 0; }
.wallet-impact-note, .wallet-impact-metric, .wallet-impact-section, .wallet-impact-option {
  padding: .65rem .8rem; border: 1px solid var(--tblr-border-color, #dce1e7); border-radius: .6rem;
  overflow-wrap: anywhere;
}
.wallet-impact-note { background: rgba(var(--tblr-primary-rgb, 49, 91, 122), .08); font-weight: 600; }
.wallet-impact-title { font-size: 1rem; }
.wallet-impact-grid, .wallet-impact-linked {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .5rem;
}
.wallet-impact-metric {
  display: flex; flex-direction: column; justify-content: space-between; gap: .2rem;
  background: var(--smxi-surface-muted, #f4f6f8); font-size: .78rem;
}
.wallet-impact-metric strong { display: block; font-size: 1.35rem; line-height: 1.25; }
.wallet-impact-attention {
  border-color: rgba(var(--tblr-warning-rgb, 245, 159, 0), .45);
  background: rgba(var(--tblr-warning-rgb, 245, 159, 0), .12);
}
.wallet-impact-section { display: grid; gap: .3rem; font-size: .85rem; }
.wallet-impact-section h4 { font-size: .9rem; }
.wallet-impact-section ul { padding-inline-start: 1.1rem; }
.wallet-impact-records { display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; }
.wallet-impact-option { margin: 0 1rem .75rem; background: var(--smxi-surface-muted, #f4f6f8); }
.wallet-modal-field .modal-footer { background: var(--smxi-surface-muted, #f4f6f8); }
.wallet-field-value { display: flex; align-items: flex-start; gap: .35rem; }
.wallet-field-value :is(select, #WalletTplFieldCustomArea, #WalletTplBarcodeDialogCustomRow) { flex: 1; min-width: 0; }
.wallet-barcode-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.wallet-barcode-type { display: flex; align-items: center; justify-content: flex-start; gap: .55rem; padding: .35rem .5rem; min-width: 0; }
.wallet-barcode-type:has(input:checked) { background: var(--tblr-primary); color: white; }
.wallet-barcode-type:has(input:focus-visible) { outline: 2px solid var(--tblr-primary); outline-offset: 2px; }
.wallet-barcode-type:has(input:disabled) { opacity: .65; cursor: not-allowed; }
.wallet-barcode-type-sample { display: grid; place-items: center; flex: 0 0 2.8rem; height: 1.85rem; padding: .15rem; background: white; color: #475569; border: 1px solid #d6dde5; border-radius: .25rem; font-size: .6rem; }
.wallet-barcode-type-sample :is(canvas,img) { max-width: 100%; max-height: 1.45rem; width: auto; height: auto; object-fit: contain; image-rendering: pixelated; }
.wallet-field-value textarea { min-height: var(--tblr-input-height, 2.25rem); resize: vertical; }
.wallet-field-alignment .btn { min-width: 2.5rem; }
.wallet-field-alignment .btn:has(input:checked) { background: var(--tblr-primary); color: white; }
.wallet-field-alignment .btn:has(input:focus-visible) { outline: 2px solid var(--tblr-primary); outline-offset: 2px; }
.wallet-field-alignment .btn .icon { margin: 0; }
.wallet-preview-fields [data-apple-alignment="left"] { text-align: left; }
.wallet-preview-fields [data-apple-alignment="center"] { text-align: center; }
.wallet-preview-fields [data-apple-alignment="right"] { text-align: right; }
.wallet-modal-media { --wallet-dialog-width: 42rem; }
.wallet-modal-mappings { --wallet-dialog-width: 52rem; }
.wallet-modal .modal-content { display: flex; flex-direction: column; max-height: calc(100dvh - 1.5rem); margin: 0; }
.wallet-modal .modal-body { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 1rem; }
.wallet-modal :is(.modal-header, .modal-footer) { flex-shrink: 0; }
.wallet-modal .modal-header { padding: 1rem 1.25rem; }
.wallet-modal .modal-footer { display: flex; align-items: center; justify-content: flex-end; padding: .75rem 1rem; gap: .75rem; flex-wrap: wrap; }
#wallet-media-preview .modal-footer { gap: .5rem; }
#wallet-media-preview-actions { display: contents; }
#wallet-media-close-preview { margin: 0; }
#wallet-media-preview .modal-footer button { white-space: nowrap; }
.wallet-modal .wallet-barcode-dialog-actions {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: .5rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  max-width: 100%;
}
.wallet-modal .wallet-barcode-dialog-actions > .btn:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex: 0 0 auto;
  white-space: nowrap;
  margin: 0;
  padding-inline: .65rem;
}
.wallet-barcode-dialog-actions .btn :is(span, svg) { flex-shrink: 0; white-space: nowrap; }
.wallet-barcode-dialog-actions .btn :is(.smxi-icon, .icon) { margin: 0; }
.wallet-barcode-dialog-actions:focus-visible { outline: 2px solid var(--tblr-primary); outline-offset: -2px; }
.wallet-apple-appearance-previews { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.wallet-apple-appearance-previews > * { min-width: 0; }
#WalletTplPoster { container: wallet-poster-settings / inline-size; }
@container wallet-poster-settings (max-width: 30rem) {
  .wallet-apple-appearance-previews { grid-template-columns: minmax(0, 1fr); }
}
.wallet-apple-action-preview { margin-block-start: .65rem; width: 100%; }
.wallet-action-preview-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.25rem), 1fr)); gap: .5rem; margin: 0; }
.wallet-action-preview-tile {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem;
  min-width: 0;
  overflow-wrap: anywhere;
  border-radius: .8rem;
  background: #f2f2f7;
  color: #1c1c1e;
  font-size: .78rem;
  line-height: 1.2;
}
.wallet-apple-action-icon {
  display: grid; place-items: center; flex: none; inline-size: 1.75rem; block-size: 1.75rem;
  border-radius: 50%; background: var(--action-accent, #0966d5); color: #fff;
}
.wallet-apple-action-icon::before {
  content: ""; inline-size: 1rem; block-size: 1rem; background: currentColor;
  mask: var(--action-icon) center / contain no-repeat;
}
@supports (appearance: base-select) and selector(::picker(select)) {
  .wallet-apple-action-kind-picker,
  .wallet-apple-action-kind-picker::picker(select) { appearance: base-select; }
  .wallet-apple-action-kind-picker { background-image: none; padding-inline-end: .75rem; }
  .wallet-apple-action-kind-picker::picker(select) {
    background: var(--tblr-bg-surface, #fff); color: var(--tblr-body-color, #182433);
    border: 1px solid var(--tblr-border-color, #dadfe5); border-radius: .5rem;
    max-block-size: min(24rem, 60dvh); overflow-y: auto;
  }
  .wallet-apple-action-kind-picker option { display: flex; align-items: center; gap: .5rem; padding: .4rem .65rem; }
  .wallet-apple-action-kind-picker option[data-apple-action-kind]::before {
    content: ''; flex: none; inline-size: 1.2rem; block-size: 1.2rem;
    background: var(--action-accent); mask: var(--action-icon) center / contain no-repeat;
  }
}
[data-apple-action-kind="membershipBenefits"] { --action-accent: #7b4cda; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l2.9 6.1 6.7.9-4.9 4.7 1.2 6.6L12 17.2 6.1 20.3l1.2-6.6L2.4 9l6.7-.9z'/%3E%3C/svg%3E"); }
[data-apple-action-kind="viewSchedule"] { --action-accent: #7460d8; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h14v15H5zM8 3v4m8-4v4M5 10h14m-11 4h2m4 0h2m-8 3h2'/%3E%3C/svg%3E"); }
[data-apple-action-kind="watchTrailer"] { --action-accent: #3478ec; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 5l12 7-12 7z'/%3E%3C/svg%3E"); }
[data-apple-action-kind="listenToMusic"] { --action-accent: #e54f7b; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V6l11-2v11M9 18a3 2 0 1 1-6 0 3 2 0 0 1 6 0zm11-3a3 2 0 1 1-6 0 3 2 0 0 1 6 0z'/%3E%3C/svg%3E"); }
[data-apple-action-kind="call"] { --action-accent: #278842; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4h4l1 4-3 2a12 12 0 0 0 6 6l2-3 4 1v4a2 2 0 0 1-2 2A15 15 0 0 1 4 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
[data-apple-action-kind="place"] { --action-accent: #1679b7; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-7 7-13A7 7 0 0 0 5 9c0 6 7 13 7 13zm0-10a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E"); }
[data-apple-action-kind="addToBalance"] { --action-accent: #23845d; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v14H3zM3 9h18m-9 3v5m-2.5-2.5h5'/%3E%3C/svg%3E"); }
[data-apple-action-kind="order"] { --action-accent: #de6727; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16l-1 16H5zM8 4v4m8-4v4m-7 7 2 2 4-4'/%3E%3C/svg%3E"); }
[data-apple-action-kind="shop"] { --action-accent: #bb5461; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l1 13H4zm4 0V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); }
[data-apple-action-kind="bookAppointment"] { --action-accent: #aa4fb2; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h14v15H5zM8 3v4m8-4v4M5 10h14m-10 5 2 2 4-4'/%3E%3C/svg%3E"); }
[data-apple-action-kind="bookCar"] { --action-accent: #3e70c7; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l2-5h14l2 5v7H3zm0 0h18M6 15h2m8 0h2M5 18v2m14-2v2'/%3E%3C/svg%3E"); }
[data-apple-action-kind="bookFlight"] { --action-accent: #3783bd; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v17M3 15l9-6 9 6M8 21l4-3 4 3'/%3E%3C/svg%3E"); }
[data-apple-action-kind="bookStay"] { --action-accent: #8054bd; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19V7m18 12v-6a3 3 0 0 0-3-3H9v6M3 16h18M6 12h.1'/%3E%3C/svg%3E"); }
[data-apple-action-kind="viewOffersRewards"] { --action-accent: #d16b17; --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h8l9 9-8 8-9-9zm4 4h.01'/%3E%3C/svg%3E"); }
.wallet-google-phone-actions { margin-block-end: .75rem; }
.wallet-google-phone-screen > .wallet-google-phone-actions {
  margin-inline: .75rem;
}
.wallet-google-action-tiles { display: grid; gap: .5rem; }
.wallet-google-action-tile { min-width: 0; overflow-wrap: anywhere; }
.wallet-google-action-primary { text-align: center; }
.wallet-google-action-primary .wallet-google-action-copy > strong {
  display: block;
  padding: .65rem 1rem;
  background: var(--wallet-google-device-ink);
  color: var(--wallet-google-device-colour);
  border-radius: 999px;
}
.wallet-google-action-secondary {
  padding: .8rem 1rem;
  border-radius: 16px;
  background: color-mix(in srgb, currentColor 9%, transparent);
}
.wallet-google-phone-actions .form-hint { color: inherit; opacity: .8; }
.wallet-google-action-artwork-slot { margin-bottom: .5rem; }
.wallet-google-action-artwork { display: block; width: 100%; max-height: 10rem; object-fit: contain; }
.wallet-preview-artwork-replace {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.wallet-preview-artwork-replace:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.wallet-preview-artwork-replace > img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  border-radius: inherit;
  object-fit: inherit;
  object-position: inherit;
}
.wallet-preview-artwork-replace.wallet-standard-logo > img { inline-size: auto; max-inline-size: 100%; }
.wallet-standard-strip > .wallet-preview-artwork-replace {
  display: block;
  inline-size: 100%;
  aspect-ratio: 375 / 144;
  object-fit: cover;
}
.wallet-standard-strip.event-strip > .wallet-preview-artwork-replace { aspect-ratio: 375 / 98; }
.wallet-apple-phone-front .wallet-preview-face:not(.wallet-preview-enhanced-face) .wallet-standard-strip {
  margin-block: .35rem .1rem;
}
.wallet-apple-phone-front .wallet-standard-strip .wallet-strip-fields {
  display: grid; align-content: center; padding-inline: .75rem; background: transparent;
}
.wallet-apple-phone-front .wallet-standard-strip [data-placement="primary"] .wallet-preview-fields > div {
  display: flex; flex-direction: column-reverse;
}
.wallet-apple-phone-front .wallet-standard-strip [data-placement="primary"] dt { text-transform: none; }
.wallet-apple-phone-front .event-strip [data-placement="primary"] dt:not(:has(button)) { display: none; }
.wallet-apple-phone-front .wallet-preview-face[data-pass-format="eventTicket"] [data-placement]:is(
  [data-placement="secondary"], [data-placement="auxiliary"]
) .wallet-preview-fields {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .55rem;
}
.wallet-apple-phone-front .wallet-preview-face[data-pass-format="eventTicket"] :is(
  [data-placement="secondary"], [data-placement="auxiliary"]
) .wallet-preview-fields > div:nth-child(even) { text-align: end; }
.wallet-apple-phone-front [data-pass-format="boardingPass"] > .wallet-preview-apple-body {
  display: flex; flex-direction: column;
}
.wallet-apple-phone-front [data-pass-format="boardingPass"] .wallet-preview-apple-body > [data-placement="secondary"] {
  order: 1; margin-block-start: .65rem !important;
}
.wallet-apple-phone-front [data-pass-format="boardingPass"]
  :is([data-placement="primary"], [data-placement="auxiliary"], [data-placement="secondary"]) .wallet-preview-fields {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem;
}
.wallet-apple-phone-front [data-pass-format="boardingPass"]
  :is([data-placement="auxiliary"], [data-placement="secondary"]) .wallet-preview-fields {
  margin-block-start: 0 !important;
}
.wallet-apple-phone-front [data-pass-format="boardingPass"]
  :is([data-placement="primary"], [data-placement="auxiliary"], [data-placement="secondary"]) .wallet-preview-fields > div:nth-of-type(even) {
  text-align: end;
}
.wallet-apple-phone-front [data-pass-format="boardingPass"] [data-placement="primary"] .wallet-preview-fields:has(> div + div) {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.wallet-apple-phone-front [data-pass-format="boardingPass"] [data-placement="primary"] .wallet-preview-fields:has(> div + div)::before {
  content: ""; grid-column: 2; grid-row: 1; place-self: end center; margin-block-end: .4rem;
  inline-size: clamp(1.25rem, 9cqi, 1.85rem); aspect-ratio: 1;
  background: var(--wallet-pass-label, currentColor);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.4 10.5h-4.8L8.5 3H6.4l4 7.5H6L3.4 8H2l1.3 4L2 16h1.4L6 13.5h4.4l-4 7.5h2.1l8.1-7.5h4.8a1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wallet-apple-phone-front [data-pass-format="boardingPass"] [data-placement="primary"] .wallet-preview-fields:has(> div + div) > div:first-of-type {
  grid-column: 1; grid-row: 1;
}
.wallet-apple-phone-front [data-pass-format="boardingPass"] [data-placement="primary"] .wallet-preview-fields:has(> div + div) > div:nth-of-type(2) {
  grid-column: 3; grid-row: 1;
}
.wallet-apple-phone-front .wallet-preview-face:is([data-pass-format="coupon"], [data-pass-format="storeCard"])
  .wallet-preview-apple-body {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .4rem;
}
.wallet-apple-phone-front .wallet-preview-face:is([data-pass-format="coupon"], [data-pass-format="storeCard"])
  .wallet-preview-apple-body > :not([data-placement="secondary"], [data-placement="auxiliary"]) { grid-column: 1 / -1; }
.wallet-apple-phone-front .wallet-preview-face:is([data-pass-format="coupon"], [data-pass-format="storeCard"])
  :is([data-placement="secondary"], [data-placement="auxiliary"]) .wallet-preview-fields {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 2.4rem), 1fr)); column-gap: .35rem;
}
.wallet-apple-phone-front .wallet-preview-face:is([data-pass-format="coupon"], [data-pass-format="storeCard"])
  :is([data-placement="secondary"], [data-placement="auxiliary"]) :is(dt, dd) {
  font-size: clamp(.55rem, 3.7cqi, .82rem);
}
.wallet-preview-face.wallet-preview-enhanced-face {
  --wallet-preview-inset: .55rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  aspect-ratio: 30 / 41;
  min-block-size: 0;
  container-type: inline-size;
  font-size: clamp(.62rem, 4.2cqi, .78rem); line-height: 1.2;
}
.wallet-apple-phone-front .wallet-preview-face.wallet-preview-enhanced-face {
  grid-template-rows: auto minmax(min-content, 1fr) auto;
  min-block-size: calc(100cqi * 41 / 30); aspect-ratio: auto;
}
.wallet-preview-enhanced-face > .wallet-preview-apple-header { grid-row: 1; }
.wallet-preview-enhanced-face .wallet-preview-apple-brand > img { display: none; }
.wallet-preview-face.wallet-preview-enhanced-face > .wallet-preview-code {
  grid-row: 2; align-self: end; margin: 0 0 .45rem;
}
.wallet-preview-face.wallet-preview-enhanced-face[data-pass-format] > .wallet-preview-code:has(> canvas) > canvas,
.wallet-apple-phone-front .wallet-preview-face[data-pass-format] > .wallet-preview-code:has(> canvas) > canvas {
  /* The canvas already paints the same white QR quiet zone on all four sides. */
  width: calc(100% - .5rem);
}
.wallet-preview-enhanced-face > .wallet-preview-apple-body {
  grid-row: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: .4rem;
}
.wallet-preview-enhanced-face > .wallet-preview-apple-body > [data-placement] { margin-block-start: .15rem !important; }
.wallet-preview-enhanced-face > .wallet-preview-apple-body > [data-placement="auxiliary"] { grid-column: 1 / -1; }
.wallet-preview-enhanced-face [data-placement="primary"] dd { font-size: inherit; font-weight: 500; }
.wallet-preview-enhanced-face .wallet-preview-fields { gap: .2rem .5rem; line-height: 1.1; }
.wallet-preview-enhanced-face .wallet-preview-fields dt { font-size: .73em; }
.wallet-preview-enhanced-face .wallet-preview-fields dd { margin-block-end: .1rem; }
.wallet-preview-enhanced-face .wallet-standard-thumbnail { display: none; }
.wallet-preview-enhanced-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.wallet-preview-enhanced-face:has(.wallet-preview-enhanced-background)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(#0009, #0003 45%, #0009);
  border-radius: inherit;
}
@media (max-width: 767px) {
  .wallet-apple-appearance-previews { grid-template-columns: minmax(0, 1fr); }
}
.wallet-modal-new-pass { position: fixed; inset: 50% auto auto 50%; margin: 0; transform: translate(-50%, -50%); }
.wallet-layout-choice { display: grid; grid-template-columns: auto 2.65rem minmax(0, 1fr); align-items: center; gap: .65rem; padding: .55rem .65rem; cursor: pointer; }
.wallet-layout-choice:has(input:checked) { border-color: var(--tblr-primary); }
.wallet-layout-choice:has(input:focus-visible) { outline: 2px solid var(--tblr-primary); outline-offset: 2px; }
.wallet-layout-thumbnail {
  --thumbnail-colour: #285476;
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: .28rem;
  overflow: hidden;
  background: var(--thumbnail-colour);
}
.wallet-layout-thumbnail::before {
  content: "";
  position: absolute;
  inset: .4rem auto auto .35rem;
  width: 1.25rem;
  height: .15rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .34rem #ffffff88, 0 .63rem #ffffff66;
}
.wallet-layout-thumbnail::after {
  content: "";
  position: absolute;
  inset: auto .55rem .38rem;
  height: .42rem;
  border-radius: .1rem;
  background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 3px, #fff 3px 4px, transparent 4px 6px);
}
.wallet-layout-thumbnail--ticket { --thumbnail-colour: #514080; border-radius: .4rem .4rem .18rem .18rem; }
.wallet-layout-thumbnail--gift { --thumbnail-colour: #8b466f; background-image: linear-gradient(135deg, transparent 39%, #ffffff55 40% 52%, transparent 53%); }
.wallet-layout-thumbnail--store { --thumbnail-colour: #17606d; background-image: linear-gradient(transparent 40%, #ffffff44 40% 58%, transparent 58%); }
.wallet-layout-thumbnail--coupon { --thumbnail-colour: #88511b; border: 1px dashed #fff; }
.wallet-layout-thumbnail--member { --thumbnail-colour: #256344; }
.wallet-layout-thumbnail--member::after { inset-inline: .92rem; aspect-ratio: 1; height: auto; }
.wallet-artwork-thumbnails { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8rem), 1fr)); gap: .5rem; }
.wallet-artwork-picker-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; }
.wallet-artwork-picker-toolbar label { flex: 1 1 13rem; }
.wallet-poster-crop-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.wallet-poster-crop-stage { display: grid; place-items: center; min-height: 10rem; padding: .75rem; background: var(--smxi-surface-muted); border: 1px solid var(--tblr-border-color); border-radius: .5rem; }
.wallet-poster-crop-source { position: relative; overflow: hidden; touch-action: none; cursor: grab; }
.wallet-poster-crop-source:active { cursor: grabbing; }
.wallet-poster-crop-stage img:not([hidden]) { display: block; width: auto; height: auto; max-width: 100%; max-height: min(38dvh, 22rem); object-fit: contain; margin: 0 auto; }
.wallet-poster-crop-guide { position: absolute; pointer-events: none; border: 2px solid white; box-shadow: 0 0 0 100vmax rgb(0 0 0 / 55%), inset 0 0 0 1px rgb(0 0 0 / 50%); }
.wallet-artwork-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; }
.wallet-artwork-pagination[hidden] { display: none; }
.wallet-artwork-thumbnails .btn { display: grid; justify-items: center; grid-template-rows: 3rem auto; align-content: start; white-space: normal; overflow-wrap: anywhere; padding: .45rem; }
.wallet-artwork-thumbnails .btn[aria-pressed="true"] { border-color: var(--tblr-primary); box-shadow: inset 0 0 0 1px var(--tblr-primary); }
.wallet-artwork-thumbnails img { width: 4.5rem; height: 3rem; object-fit: contain; background: var(--smxi-surface-muted); }
#wallet-media-footer[hidden] { display: none; }
.wallet-media-filters, .wallet-media-pagination {
  display: flex; flex-wrap: wrap; align-items: end; gap: .65rem;
}
.wallet-media-pagination[hidden] { display: none; }
.wallet-media-pagination { align-items: center; justify-content: space-between; }
.wallet-media-filters > label { flex: 1 1 9rem; }
.wallet-media-filters > :first-child { flex: 3 1 16rem; }
.wallet-media-page-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.wallet-media-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: .85rem; padding: 0; list-style: none;
}
.wallet-media-grid > li { min-width: 0; padding: .75rem; overflow-wrap: anywhere; }
.wallet-media-grid .wallet-tile-actions {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: .5rem;
}
.wallet-media-grid .wallet-tile-actions > .btn { min-width: 0; padding-inline: .35rem; gap: .4rem; }
.wallet-media-thumb {
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center; aspect-ratio: 4/3; padding: .5rem;
  background: var(--tblr-bg-surface-secondary); border-radius: .5rem; overflow: hidden;
}
.wallet-media-thumb > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.wallet-dcd-dropzone { border: 2px dashed var(--tblr-border-color); background: var(--tblr-bg-surface-secondary); color: var(--tblr-body-color); }
.wallet-dcd-dropzone:not(:disabled):is(:hover, :focus-visible) { border-color: var(--tblr-primary); }
.wallet-dcd-file-info:not([hidden]) { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; background: var(--tblr-bg-surface-secondary); overflow-wrap: anywhere; }
.wallet-media-thumb:has(> img), #wallet-media-image {
  background: #7e8b97 conic-gradient(#7e8b97 25%, #a2aeb9 0 50%, #7e8b97 0 75%, #a2aeb9 0)
    0 0 / 1rem 1rem;
}
.wallet-crop-workspace { display: grid; gap: 1rem; align-items: start; }
.wallet-crop-workspace > * { min-width: 0; }
.wallet-crop-workspace canvas { display: block; max-width: 100%; height: auto; border-radius: .5rem; background: #e9edf0; }
.wallet-crop-frame { cursor: grab; touch-action: none; }
.wallet-crop-frame:active { cursor: grabbing; }
.wallet-crop-frame:focus-visible { outline: 3px solid var(--tblr-primary); outline-offset: 3px; }
.wallet-crop-result { border: 1px solid var(--tblr-border-color); }
@media (max-width: 767px) {
  .wallet-crop-workspace .wallet-crop-result { max-width: min(100%, 8rem); }
}
@media (min-width: 768px) {
  .wallet-crop-workspace { grid-template-columns: minmax(0, 440px) minmax(0, 256px); }
}

.wallet-workspace-content {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.wallet-workspace-content > [role="status"]:empty { display: none; }
.wallet-workspace-content :is(fieldset, section) { min-width: 0; }
.wallet-workspace-content :is(.table-responsive, .list-group-item) { overflow-wrap: anywhere; }

.wallet-workspace#wallet-frontdesk .wallet-workspace-content > :is(form, fieldset) {
  width: min(100%, 46rem);
}

.crm-contacts-table tbody th {
  font-weight: 400;
}

.membership-table-scroll {
  max-height: min(31rem, 60vh);
  overflow-x: auto;
  overflow-y: auto;
}

.membership-table-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--tblr-bg-surface, #ffffff);
  box-shadow: 0 1px 0 var(--tblr-border-color, #e6e7e9);
}

.membership-table-scroll .table {
  margin-bottom: 0;
  min-width: 34rem;
}

.membership-panel-filter {
  background: var(--tblr-bg-surface, #ffffff);
  padding-bottom: .75rem;
  position: relative;
  z-index: 3;
}

.membership-panel-filter .form-control:focus {
  position: relative;
  z-index: 4;
}

.wallet-designer-face {
  box-sizing: border-box;
  width: min(100%, 26rem);
  padding: clamp(.75rem, 3vw, 1.5rem);
  border: 1px solid var(--tblr-border-color);
  border-radius: 1.25rem;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.10);
}
.wallet-designer-line { display: block; margin-bottom: .75rem; color: inherit; }
.wallet-designer-line:last-child { margin-bottom: 0; }
.wallet-designer-line > span { display: block; margin-block-end: .35rem; font-size: .8125rem; }
.wallet-designer-face .form-label { color: inherit; }
.wallet-designer-face .btn:not(:disabled) {
  color: #172b3a; background: #fff; border-color: #fff;
}
.wallet-designer-face .btn:not(:disabled):hover { background: #edf2f6; }
.wallet-designer-line input, .wallet-designer-line textarea {
  display: block; width: 100%; min-height: 44px; box-sizing: border-box;
  background: transparent; color: inherit; font: inherit; font-size: 1rem;
  border: 1px dashed currentColor; border-radius: .375rem; padding: .375rem .5rem;
}
.wallet-designer-line textarea { resize: vertical; }
.wallet-designer-line input[data-part="name"] { font-size: 1.375rem; font-weight: 700; }
.wallet-designer-line :is(input, textarea)::placeholder { color: inherit; opacity: .75; }
.wallet-designer-line :is(input, textarea):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
