@import url('/form-flow.css?v=survey-only-20261112');
@import url('/commerce-base.css?v=qa-forms-and-privacy-20261119-r1');
html:has(#money-dialog[open]) {
  overflow: hidden;
}
.editor-head,
.editor-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.editor-head h2,
.editor-row h3,
.account-block h3 {
  margin: 0;
}
.editor-head p {
  margin: 4px 0;
}
.editor-row small {
  font-size: 13px;
  font-weight: 400;
}
.editor-row .subtle {
  width: auto;
  min-width: 72px;
}
.subtle,
.editor-footer .secondary {
  background: transparent;
  color: inherit;
}
.editor-note,
.preview-label {
  padding: 12px;
  background: #80609615;
  border-radius: 10px;
  font-size: 14px;
}
.upload-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 90px;
  border: 1px dashed #b5a3c0;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.upload-tile input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.photo-thumb {
  position: relative;
}
.photo-thumb button {
  position: absolute;
  right: 0;
  top: 0;
  width: 28px;
  min-height: 28px;
  height: 28px;
  border-radius: 50%;
  padding: 0;
  display: grid;
  place-items: center;
  background: #26202ccc;
  color: white;
}
.variant-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(85px, 0.65fr) 38px;
  gap: 8px;
  margin: 12px 0;
  align-items: center;
}
.variant-row input,
.question-row input {
  min-width: 0;
}
.remove-row {
  width: 38px;
  height: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 22px;
  background: transparent;
  color: inherit;
}
.question-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px 38px;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
}
.required-question {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 5px !important;
  white-space: nowrap;
  font-size: 13px;
}
.method-pills {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 8px;
}
.method-pills label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  border: 1px solid #b5a3c0;
  border-radius: 10px;
  padding: 10px;
  margin: 8px 0;
  font-size: 14px;
}
.method-pills label:has(input:checked) {
  background: #81609e25;
  border-color: #77538c;
}
.editor-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 10px;
  background: Canvas;
  padding: 12px 0 max(12px, env(safe-area-inset-bottom));
  z-index: 2;
}
.editor-footer > * {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  min-height: 48px;
}
.preview-photo {
  width: 100%;
  max-height: 270px;
  object-fit: contain;
  border-radius: 12px;
}
.form-error {
  padding: 12px;
  border: 1px solid currentColor;
  border-radius: 10px;
  color: #ac2a4b;
  overflow-wrap: anywhere;
}
.form-error[hidden] {
  display: none;
}
.dialog-body > .form-error {
  position: sticky;
  top: 0;
  background: Canvas;
  z-index: 2;
}
:root[data-theme='dark'] .small {
  color: #c7bccf;
}
:root[data-theme='dark'] .actions a {
  background: #40324c;
  color: #eadcf5;
}
:root[data-theme='light'] .small {
  color: #655b6d;
}
:root[data-theme='light'] .actions a {
  background: #eee8f5;
  color: #4c355d;
}
main {
  max-width: 860px;
}
.page-head {
  display: flex;
  justify-content: space-between;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}
.sale-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.sale-card img,
.form-photos img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
  background: #8881;
}
.sale-card h2 {
  font-size: 20px;
}
.form-photos {
  display: flex;
  gap: 10px;
  overflow: auto;
}
.form-photos img {
  width: min(100%, 320px);
  flex-shrink: 0;
}
.pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 7px;
  background: #81609e20;
  font-size: 13px;
}
.price {
  font-size: 25px;
  font-weight: 800;
}
.copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
label {
  display: block;
  margin: 12px 0;
}
input,
select,
textarea {
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  padding: 12px;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid #b9acc5;
  background: Field;
  color: FieldText;
}
input[type='checkbox'] {
  width: 19px;
  height: 19px;
  min-height: 19px;
  flex: 0 0 19px;
  padding: 0;
}
label.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
}
label.consent input {
  margin-top: 4px;
}
.order-consent,
.seller-contact-status,
.seller-contact-review {
  margin-block: 16px;
  padding: 16px;
  border: 1px solid var(--line, #b2a9bb);
  border-radius: 14px;
}
.order-consent h3,
.seller-contact-status h3 {
  margin-block: 0 8px;
}
.order-consent-row {
  position: relative;
  border-top: 1px solid var(--line);
}
.order-consent-row > .consent {
  min-height: 44px;
  margin: 0;
  padding: 10px 78px 10px 0;
  overflow-wrap: anywhere;
  word-break: keep-all;
}
.order-consent-row > details {
  margin: 0;
  padding: 0;
  border: 0;
}
.order-consent-row summary {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  list-style: none;
  color: var(--accent);
  text-decoration: underline;
  font-size: 0.875rem;
}
.order-consent-row summary::-webkit-details-marker {
  display: none;
}
.order-consent-copy {
  margin-bottom: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: 8px;
  font-size: 0.875rem;
}
.order-consent-copy :is(p, dl) {
  margin-block: 6px;
}
.sales-order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
  font-weight: 700;
}
.sales-order-total strong {
  font-size: 1.25rem;
}
.sales-order-request > summary {
  min-height: 44px;
  align-content: center;
}
.order-consent dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 12px;
  font-size: 0.88rem;
}
.order-consent dt {
  font-weight: 700;
}
.order-consent dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.commerce-embedded main:has(> [data-sales-order-screen]) > :is(.money-nav, #status, #content) {
  display: none;
}
.sales-order-screen-head {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-bottom: 16px;
}
.sales-order-screen-head h2 {
  margin: 0;
}
.sales-order-screen-head button {
  min-height: 44px;
}
[data-sales-order-screen] .dialog-body {
  padding: 0;
}
[data-sales-order-screen] .order-consent dl {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}
[data-sales-order-screen] .order-consent dd + dt {
  margin-top: 8px;
}
.seller-contact-status form {
  margin-top: 12px;
}
.small {
  font-size: 14px;
  color: #736a7b;
}
.actions {
  flex-wrap: wrap;
}
.actions > * {
  min-width: 85px;
}
.photo-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.photo-grid img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.form-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.form-step h2 {
  margin: 0;
  font-size: 20px;
}
.bank {
  padding: 15px;
  background: #82609b18;
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.code {
  font-size: 24px;
  letter-spacing: 2px;
  font-weight: 800;
}
details {
  margin: 14px 0;
  padding-top: 12px;
  border-top: 1px solid #aaa4;
}
summary {
  cursor: pointer;
}
footer {
  margin: 26px 0;
  font-size: 14px;
}
.order-list button {
  width: auto;
}
.actions a {
  background: #f1edf6;
  color: #493554;
}
.actions .secondary {
  background: transparent;
  color: inherit;
}
.photo-input {
  border: 1px dashed #b8a9c4;
  padding: 12px;
  border-radius: 12px;
}
.photo-input input {
  padding: 4px;
  border: 0;
}
.fee-note {
  background: #80609614;
  border-radius: 10px;
  padding: 12px;
}
#money-dialog {
  box-sizing: border-box;
  width: min(600px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
}
#money-dialog .dialog-body {
  padding-bottom: 22px;
}
.close {
  box-sizing: border-box;
}
@media (max-width: 430px) {
  .field-pair {
    grid-template-columns: 1fr;
  }
  nav.money-nav {
    gap: 14px;
    font-size: 14px;
  }
  section {
    padding: 18px;
  }
  .actions {
    gap: 8px;
  }
  .actions > * {
    font-size: 15px;
  }
  .price {
    font-size: 23px;
  }
}
@media (prefers-color-scheme: dark) {
  .small {
    color: #bcb0c7;
  }
  .actions a {
    background: #302735;
    color: #eadcf5;
  }
}

.variant-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(85px, 0.65fr) 38px;
  gap: 8px;
  font-size: 13px;
  color: inherit;
}
.option-type {
  min-width: 0;
  flex: 1;
}
.option-type select {
  max-width: 180px;
}
.editor-row #size-presets {
  width: auto;
  max-width: 125px;
  font-size: 14px;
  padding: 10px;
}

/* Form editor: compact menu, clear labels and aligned variant rows. */
:root {
  --form-ink: #29252e;
  --form-muted: #766d80;
  --form-line: #e5dfea;
  --form-soft: #f4f1f7;
  --form-panel: #fff;
  --form-accent: #795991;
  color: var(--form-ink);
}
:root[data-theme='dark'] {
  --form-ink: #f0edf4;
  --form-muted: #bdb3ca;
  --form-line: #49404f;
  --form-soft: #29232f;
  --form-panel: #211d27;
  --form-accent: #b896d2;
}
body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--form-ink);
}
main {
  padding-top: 16px;
}
h2,
h3 {
  color: var(--form-ink);
  letter-spacing: -0.4px;
}
p.small,
.small {
  color: var(--form-muted);
}
nav.money-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0 0 22px;
  padding: 4px;
  border: 1px solid var(--form-line);
  border-radius: 12px;
  background: var(--form-panel);
}
nav.money-nav > a {
  justify-content: center;
  flex: 1;
  padding: 8px 10px;
  min-height: 40px;
  border-radius: 8px;
  color: var(--form-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
nav.money-nav > a[aria-current] {
  border: 0;
  background: var(--form-soft);
  color: var(--form-accent);
  font-weight: 800;
}
nav.money-nav > #admin-link {
  flex: 0 0 auto;
  font-size: 13px;
}
.form-editor-page #status {
  display: none;
}
.editor-head {
  margin: 0 0 20px;
  align-items: flex-start;
}
.editor-head h2 {
  font-size: 25px;
  line-height: 1.35;
}
.editor-head p {
  color: var(--form-muted);
  font-size: 13px;
  margin-top: 5px;
}
.editor-head .pill {
  font-size: 12px;
  white-space: nowrap;
  background: var(--form-soft);
  color: var(--form-muted);
}
.form-type {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 20px;
}
.form-type select {
  margin-top: 6px;
  font-weight: 600;
}
#sale-editor > section {
  margin: 16px 0;
  border-color: var(--form-line);
  background: var(--form-panel);
}
#sale-editor h3 {
  font-size: 18px;
  line-height: 1.4;
}
#sale-editor label {
  font-size: 14px;
  font-weight: 600;
  color: var(--form-ink);
}
#sale-editor input,
#sale-editor textarea,
#sale-editor select {
  font-size: 15px;
  font-weight: 400;
  border-color: var(--form-line);
  min-width: 0;
}
#sale-editor input:focus-visible,
#sale-editor select:focus-visible,
#sale-editor textarea:focus-visible {
  outline: 2px solid var(--form-accent);
  outline-offset: 2px;
}
#sale-editor .editor-row h3 small {
  display: inline-block;
  margin-left: 5px;
  color: var(--form-muted);
  font-size: 12px;
  font-weight: 400;
}
#sale-editor .subtle {
  font-size: 13px;
  font-weight: 700;
  color: var(--form-accent);
  border-color: var(--form-line);
  padding: 8px 12px;
  min-height: 40px;
}
.option-tools {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
  margin: 18px 0 14px;
}
.option-tools .option-type {
  display: grid;
  gap: 6px;
  flex: 0 1 180px;
  margin: 0;
  font-size: 13px !important;
  color: var(--form-muted) !important;
}
.option-tools .option-type select {
  width: 100%;
  max-width: none;
}
.option-tools #size-presets {
  width: auto;
  max-width: none;
  min-height: 46px;
  white-space: nowrap;
}
.option-empty {
  padding: 16px;
  margin: 12px 0 0;
  border-radius: 10px;
  background: var(--form-soft);
  text-align: center;
  font-size: 13px;
  color: var(--form-muted);
}
.variant-head,
.variant-row {
  grid-template-columns: minmax(0, 1fr) minmax(100px, 0.75fr) 38px;
  gap: 10px;
}
.variant-head {
  padding: 0 1px;
  color: var(--form-muted);
  font-size: 12px;
  font-weight: 600;
}
.variant-row {
  margin: 8px 0;
}
.variant-row input {
  margin: 0;
}
.variant-row .remove-row {
  border-color: var(--form-line);
  color: var(--form-muted);
}
#variant-price-note {
  font-size: 12px;
  margin-bottom: 0;
}
#preorder-dates {
  padding: 4px 14px;
  background: var(--form-soft);
  border-radius: 12px;
}
#preorder-dates input {
  font-size: 14px;
}
.method-pills {
  gap: 6px;
}
.method-pills label {
  font-size: 13px !important;
  font-weight: 500 !important;
  margin: 8px 0;
  padding: 9px;
}
.editor-footer {
  background: var(--form-panel);
  border-top: 1px solid var(--form-line);
  margin-top: 18px;
  padding-left: 2px;
  padding-right: 2px;
}
.editor-footer button {
  font-size: 15px;
}
.editor-footer .secondary {
  color: var(--form-ink);
  border-color: var(--form-line);
}
.variant-head[hidden],
.option-empty[hidden] {
  display: none;
}
@media (max-width: 430px) {
  nav.money-nav {
    gap: 2px;
    margin-bottom: 18px;
  }
  nav.money-nav > a {
    font-size: 13px;
    padding: 7px 6px;
  }
  nav.money-nav > #admin-link {
    font-size: 12px;
  }
  .editor-head h2 {
    font-size: 23px;
  }
  .variant-head,
  .variant-row {
    grid-template-columns: minmax(0, 1fr) minmax(80px, 0.8fr) 36px;
    gap: 7px;
  }
  .variant-row .remove-row {
    width: 36px;
  }
  .option-tools {
    gap: 8px;
  }
  .option-tools .option-type {
    flex: 1;
  }
  .option-tools #size-presets {
    padding: 8px;
    font-size: 12px;
  }
  #sale-editor > section {
    padding: 16px;
  }
  .method-pills label {
    font-size: 12px !important;
  }
  .editor-footer {
    gap: 8px;
  }
}

.variant-row input[type='number'] {
  appearance: textfield;
  -moz-appearance: textfield;
  font-variant-numeric: tabular-nums;
  padding-inline: 8px;
}
.variant-row input[type='number']::-webkit-inner-spin-button,
.variant-row input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@media (max-width: 430px) {
  .variant-row input {
    font-size: 14px !important;
  }
  .variant-head,
  .variant-row {
    grid-template-columns: minmax(0, 1fr) minmax(88px, 0.8fr) 36px;
  }
}

.review-state-note {
  padding: 13px 15px;
  background: var(--form-soft);
  border-radius: 11px;
  font-size: 14px;
  line-height: 1.65;
}
.seller-review-form h3 {
  font-size: 16px;
  margin: 22px 0 8px;
}
.seller-review-form .review-intro {
  margin-top: 0;
  color: var(--form-muted);
  font-size: 14px;
}
.seller-review-form label.consent {
  padding: 8px 0;
  margin: 4px 0;
  align-items: center;
}
.seller-review-form label.consent input {
  margin: 0;
}
.seller-review-form select {
  margin-top: 7px;
}
.seller-review-form #review-safety-note:empty {
  display: none;
}
#profiles > section {
  margin-bottom: 16px;
}
#profiles .form-step h3 {
  margin: 0;
  font-size: 18px;
}
#profiles details {
  margin: 14px 0;
}
#profiles .actions:empty {
  display: none;
}
#profiles .pill {
  white-space: nowrap;
}
#review-exception,
#review-days {
  padding: 0 12px;
  background: var(--form-soft);
  border-radius: 10px;
}

.editor-head .draft-save {
  width: auto;
  min-width: 60px;
  min-height: 36px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--form-muted);
  border: 1px solid var(--form-line);
}
.editor-publish-note {
  font-size: 12px;
  color: var(--form-muted);
  margin: 2px 0 12px;
  text-align: center;
}
#direct-business {
  padding: 6px 12px;
  background: var(--form-soft);
  border-radius: 12px;
}

#sale-editor .editor-optional {
  border: 0;
  padding: 0;
  margin: 0;
}
#sale-editor .editor-optional > summary {
  font-weight: 700;
  font-size: 16px;
  color: var(--form-ink);
  min-height: 28px;
}
#sale-editor .editor-optional[open] > summary {
  margin-bottom: 18px;
}
#sale-editor .field-pair {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
#sale-editor textarea {
  min-height: 80px;
}
#sale-editor .editor-optional .editor-row h3 {
  font-size: 15px;
}

/* Keep all three receiving choices visible in one row on phones. */
#sale-editor .method-pills {
  gap: 6px;
}
#sale-editor .method-pills label {
  box-sizing: border-box;
  min-width: 0;
  justify-content: center;
  min-height: 44px;
  gap: 4px;
  padding: 10px 4px;
  white-space: nowrap;
}
#sale-editor .method-pills input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  flex-basis: 16px;
  margin: 0;
}
#sale-editor textarea[name='refundPolicy'] {
  overflow: hidden;
  resize: none;
  line-height: 1.6;
  background: transparent;
  color: var(--form-ink);
}
@media (max-width: 340px) {
  #sale-editor > #fulfillment-settings {
    padding-inline: 10px;
  }
  #sale-editor .method-pills {
    gap: 4px;
  }
  #sale-editor .method-pills label {
    font-size: 11px !important;
    padding-inline: 1px;
    gap: 2px;
  }
  #sale-editor .method-pills input {
    width: 14px;
    height: 14px;
    min-height: 14px;
    flex-basis: 14px;
  }
}

/* Inventory fields share one row; SVG controls have an exact visual center. */
#sale-editor .remove-row,
#sale-editor .photo-thumb button {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  line-height: 0;
  padding: 0;
  margin: 0;
  align-self: center;
}
#sale-editor .remove-row svg,
#sale-editor .photo-thumb button svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
#sale-editor.stocked-options .variant-head,
#sale-editor.stocked-options .variant-row {
  grid-template-columns: minmax(0, 1fr) minmax(64px, 0.85fr) 56px 34px;
  gap: 7px;
}
#sale-editor .variant-row input[hidden],
#sale-editor #variant-stock[hidden] {
  display: none;
}
#sale-editor .variant-row [data-field='stock'] {
  padding-inline: 6px;
}
.order-summary-table {
  width: 100%;
  border-collapse: collapse;
}
.order-summary-table th,
.order-summary-table td {
  padding: 10px 4px;
  text-align: left;
  border-bottom: 1px solid var(--form-line);
}
.order-summary-table th:last-child,
.order-summary-table td:last-child {
  text-align: right;
  white-space: nowrap;
}
.order-summary-customers {
  padding: 0;
  list-style: none;
}
.order-summary-customers li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--form-line);
}
.order-summary-customers p {
  margin: 4px 0;
  color: var(--form-muted);
  overflow-wrap: anywhere;
}
.order-summary-customers strong {
  white-space: nowrap;
}
#sale-editor .field-pair:has(> label[hidden]) {
  grid-template-columns: minmax(0, 1fr);
}
.form-manage-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.form-manage-actions > * {
  min-width: 0;
}
.form-manage-actions > button,
.form-manage-actions > a {
  padding-inline: 8px;
}
@media (max-width: 430px) {
  .form-manage-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 430px) {
  #sale-editor.stocked-options .variant-head,
  #sale-editor.stocked-options .variant-row {
    grid-template-columns: minmax(0, 1fr) 76px 50px 30px;
    gap: 5px;
  }
  #sale-editor.stocked-options .remove-row {
    width: 30px;
    height: 38px;
    min-height: 38px;
  }
  #sale-editor.stocked-options .variant-row input {
    padding-inline: 5px;
    font-size: 13px !important;
  }
}

.form-order-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0;
}
.form-order-tabs button {
  min-width: 0;
  background: transparent;
  color: var(--form-ink);
  border: 1px solid var(--form-line);
  font-weight: 700;
}
.form-order-tabs [aria-selected='true'] {
  background: var(--form-soft);
  color: var(--form-accent);
  border-color: var(--form-accent);
}
.seller-order-list {
  padding: 0;
  list-style: none;
}
.seller-order-card {
  padding: 14px;
  margin: 12px 0;
  border: 1px solid var(--form-line);
  border-radius: 12px;
}
.seller-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.seller-order-head small {
  display: block;
  color: var(--form-muted);
  font-size: 12px;
}
.seller-order-head b {
  overflow-wrap: anywhere;
}
.seller-order-head .pill {
  white-space: nowrap;
  flex-shrink: 0;
}
.seller-order-items {
  font-size: 14px;
  font-weight: 600;
}
.seller-recipient {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 7px 10px;
  font-size: 14px;
  margin: 0;
}
.seller-recipient dt {
  color: var(--form-muted);
}
.seller-recipient dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.seller-form-title {
  overflow-wrap: anywhere;
}

#sale-editor .method-pills {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Shared person style for order lists and quantity summaries. */
:root {
  --order-person-size: 48px;
  --order-person-name-size: 20px;
}
.order-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.order-person-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--order-person-size);
  height: var(--order-person-size);
  flex: 0 0 var(--order-person-size);
  border-radius: 50%;
  overflow: hidden;
  background: var(--form-soft);
  color: var(--form-accent);
}
.order-person-avatar svg {
  width: 24px;
  height: 24px;
}
.order-person-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.order-person-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.order-person-name {
  font-size: var(--order-person-name-size);
  font-weight: 750;
  line-height: 1.35;
  color: var(--form-ink);
  overflow-wrap: anywhere;
}
.order-person-copy small {
  font-size: 13px;
  color: var(--form-muted);
  overflow-wrap: anywhere;
}
.order-summary-person {
  min-width: 0;
  flex: 1;
}
.order-summary-customers .order-person-name {
  white-space: normal;
}
.order-summary-person > p {
  margin-left: 60px;
}
.seller-recipient dd:first-of-type {
  font-size: 18px;
  font-weight: 700;
}
.seller-order-head {
  align-items: flex-start;
}
.seller-order-head > .pill {
  margin-top: 3px;
}

.form-coupon-note {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--accent-bg);
  line-height: 1.8;
}
.form-coupon-note strong {
  color: var(--ink);
}
#coupon-lookup,
#coupon-grant {
  display: grid;
  gap: 14px;
  max-width: 620px;
}
#coupon-lookup button,
#coupon-grant button {
  min-height: 44px;
  justify-self: start;
}
#coupon-target:not(:empty) {
  margin-top: 20px;
}

.form-pickup-ticket {
  text-align: center;
}
.form-pickup-ticket canvas {
  display: block;
  margin: 12px auto;
  width: min(100%, 290px);
  height: auto;
  image-rendering: pixelated;
  background: white;
  border: 12px solid white;
  border-radius: 8px;
}
.seller-order-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.form-pickup-reader {
  flex: 1 1 220px;
  min-width: 0;
}
.form-pickup-reader input {
  max-width: 100%;
}
.form-pickup-reader button {
  width: 100%;
  min-height: 44px;
}

.commerce-embedded main > .page-head,
.commerce-embedded main > h1 {
  display: none;
}
.commerce-embedded main {
  box-sizing: border-box;
  width: 100%;
  padding: 14px 18px 28px;
}
.form-pickup-reader label {
  font-weight: 600;
}
.seller-order-tools > button {
  min-height: 44px;
}
.seller-order-tools input[type='file'] {
  min-height: 44px;
}
.notification-settings-link {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.seller-order-tools > .form-pickup-reader {
  display: contents;
}
.seller-order-tools > button,
.form-pickup-reader > button {
  flex: 1 1 110px;
  min-height: 44px;
}
.form-pickup-result {
  flex: 1 1 100%;
  min-width: 0;
}
.form-pickup-ticket {
  padding: 16px !important;
}
.form-pickup-ticket h3 {
  margin-top: 0;
}

#editor-photos .photo-thumb {
  cursor: grab;
  touch-action: pan-y;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}
#editor-photos .photo-thumb.photo-sorting {
  opacity: 0.65;
  outline: 2px solid var(--form-accent);
  outline-offset: 3px;
  cursor: grabbing;
}
#editor-photos .photo-thumb img {
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}
.photo-order-number {
  position: absolute;
  left: 3px;
  bottom: 3px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: #17131dcc;
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  pointer-events: none;
}
.photo-order-hint {
  font-size: 12px;
  color: var(--form-muted);
  margin-top: 8px;
}

#content .form-photos {
  margin-bottom: 16px;
}

.form-photo-gallery {
  margin: 0 auto 16px;
  max-width: 640px;
  min-width: 0;
}
.form-photo-track {
  display: flex;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  border-radius: 12px;
  background: var(--form-soft, #8881);
}
.form-photo-track::-webkit-scrollbar {
  display: none;
}
.form-photo-slide {
  flex: 0 0 100%;
  min-width: 0;
  aspect-ratio: 1;
  max-height: 420px;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.form-photo-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
}
.form-photo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.form-photo-controls button {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-height: 44px;
  min-width: 44px;
  flex: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--form-line, #ddd);
  border-radius: 50%;
  background: var(--form-panel, #fff);
  color: var(--form-ink, #302b35);
}
.form-photo-controls button svg {
  display: block;
}
.form-photo-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.form-photo-position {
  min-width: 84px;
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

#editor-photos .photo-thumb.photo-sorting {
  opacity: 0.3;
}

.form-photo-track[data-photo-swipe] {
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.form-photo-track[data-photo-swipe].is-photo-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}
.form-photo-track[data-photo-swipe] img {
  -webkit-touch-callout: none;
}
.question-row {
  grid-template-columns: 120px minmax(0, 1fr) auto 36px;
  align-items: center;
}
.question-row select {
  min-width: 0;
  width: 100%;
  font: inherit;
  font-size: 13px;
}
.yes-no-question {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--line, #ddd5e2);
  border-radius: 10px;
  min-width: 0;
}
.yes-no-question legend {
  padding: 0 4px;
  font-size: 14px;
}
.yes-no-question > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.yes-no-question label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 6px 8px;
  min-height: 44px;
  border: 1px solid var(--line, #ddd5e2);
  border-radius: 8px;
  cursor: pointer;
}
.yes-no-question label:has(input:checked) {
  background: rgba(129, 97, 148, 0.14);
  border-color: #816194;
}
.yes-no-question input[type='radio'] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  accent-color: #816194;
}
@media (max-width: 600px) {
  .question-row {
    grid-template-columns: minmax(0, 1fr) auto 36px;
  }
  .question-row select {
    grid-column: 1;
    grid-row: 1;
  }
  .question-row .required-question {
    grid-column: 2;
    grid-row: 1;
  }
  .question-row .remove-row {
    grid-column: 3;
    grid-row: 1;
  }
  .question-row input[data-field='label'] {
    grid-column: 1/-1;
    grid-row: 2;
  }
}
.form-deadline .consent {
  margin: 0;
  min-height: 44px;
  align-items: center;
}
.form-deadline .small {
  margin-bottom: 0;
}
.seller-orders-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.seller-orders-head h2 {
  margin: 0;
}
.seller-orders-head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted, #817b88);
}
.seller-orders-head button {
  width: auto;
  flex: none;
  min-height: 44px;
}
.seller-orders-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.seller-orders-filters button {
  width: auto;
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid #80609650;
  background: transparent;
  color: inherit;
  font-size: 13px;
}
.seller-orders-filters button[aria-pressed='true'] {
  border-color: var(--accent, #806096);
  background: var(--accent, #806096);
  color: #fff;
}
.seller-orders-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 12px;
}
.seller-orders-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 12px;
  background: #80609612;
}
.seller-orders-metrics span {
  font-size: 12px;
  color: var(--muted, #817b88);
}
.seller-orders-metrics strong {
  font-size: 22px;
}
.seller-order-recipient {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #8060960d;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.seller-orders-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin: 20px 0 8px;
  font-size: 12px;
  color: var(--muted, #817b88);
}
.seller-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid #80609625;
}
.seller-order-person,
.seller-order-choice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.seller-order-person small,
.seller-order-person time {
  font-size: 12px;
  color: var(--muted, #817b88);
}
.seller-order-choice span {
  font-size: 13px;
}
.seller-order-delivery {
  font-size: 12px;
  color: var(--muted, #817b88);
}
.seller-order-state {
  font-size: 12px;
  max-width: 180px;
}
.seller-order-state.is-reported {
  color: var(--accent, #806096);
  font-weight: 700;
}
.seller-order-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.seller-order-open,
.seller-order-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #80609640;
  border-radius: 12px;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.seller-order-confirm {
  margin: 0;
  background: var(--accent, #806096);
  color: #fff;
  cursor: pointer;
}
.seller-transfer-form input[type='text'] {
  font-size: 16px;
}
.seller-transfer-form .consent {
  min-height: 44px;
}
.seller-orders-pages {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.seller-orders-pages button {
  width: auto;
  min-height: 44px;
}
.seller-orders-pages span {
  font-size: 13px;
}
[data-orders-error] {
  color: var(--danger, #c84c63);
  font-size: 13px;
}
@media (max-width: 600px) {
  .seller-orders-head {
    gap: 10px;
  }
  .seller-orders-head h2 {
    font-size: 19px;
  }
  .seller-orders-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .seller-orders-metrics > div {
    padding: 12px 8px;
  }
  .seller-orders-metrics span {
    font-size: 11px;
  }
  .seller-orders-metrics strong {
    font-size: 20px;
  }
  .seller-order-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
  }
  .seller-order-person {
    grid-column: 1;
  }
  .seller-order-choice {
    grid-column: 2;
    text-align: right;
  }
  .seller-order-state {
    grid-column: 1;
  }
  .seller-order-actions {
    grid-column: 2;
  }
}

.form-share-copy {
  min-height: 44px;
}
.form-share-status {
  color: var(--muted, #736a7b);
  font-size: 13px;
  align-self: center;
}
.form-share-status:empty {
  display: none;
}
.form-share-fallback {
  flex: 1 0 100%;
  min-width: 0;
}
.actions > .form-share-status,
.actions > .form-share-fallback {
  grid-column: 1 / -1;
  flex-basis: 100%;
  order: 99;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  cursor: default;
}
.form-share-fallback[hidden] {
  display: none;
}
.form-share-fallback input {
  width: 100%;
  min-height: 44px;
  font-size: 16px;
}

/* Fixed view/action tracks keep every management row aligned. */
.admin-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px 190px;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--form-line);
}
.admin-form-info {
  min-width: 0;
  overflow-wrap: anywhere;
}
.admin-form-info small {
  display: inline-block;
  margin-top: 4px;
  color: var(--form-muted);
}
.admin-form-view {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--form-line);
  border-radius: 10px;
  text-decoration: none;
}
.admin-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.admin-form-actions button {
  min-height: 44px;
  min-width: 88px;
  width: 88px;
  flex: 0 0 88px;
  padding: 10px 8px;
  box-sizing: border-box;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .admin-form-row {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 10px;
  }
  .admin-form-actions {
    grid-column: 1 / -1;
  }
}

#order-actions > .form-pickup-reader {
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}
#order-actions .form-pickup-result {
  box-sizing: border-box;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line, #ddd);
  border-radius: 12px;
  text-align: left;
  font-weight: 400;
}
#order-actions .form-pickup-result h3 {
  margin: 0 0 8px;
}
#order-actions .form-pickup-result p {
  margin: 0 0 12px;
}
