[hidden] { display: none !important; }

.status-main {
  min-height: calc(100svh - 90px);
  padding: clamp(56px, 8vw, 108px) var(--gutter) clamp(80px, 10vw, 130px);
  background: linear-gradient(110deg, #f8f9f6 0 62%, #eef3f5 62%);
}

.status-intro { width: min(780px, 100%); }
.status-intro h1 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -.055em; }
.status-intro > p:last-child { max-width: 650px; margin: 22px 0 0; color: #52647d; font-size: 18px; }

.status-return-notice {
  width: min(780px, 100%);
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 3px solid #0879a4;
  background: #eef7fa;
  color: #273e5b;
}

.status-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(1180px, 100%);
  margin-top: 52px;
}

.status-lookup,
.status-result {
  align-self: start;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #bdc8d4;
  background: #fff;
  box-shadow: 0 20px 55px rgba(7, 26, 51, .06);
}
.status-result { grid-column: 1 / -1; width: min(760px, 100%); }

.status-fields { display: grid; gap: 18px; }
.status-fields label { display: grid; gap: 7px; color: #405474; font-size: 13px; font-weight: 700; }
.status-fields input { min-height: 52px; }
.status-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.status-actions .button { min-width: 160px; cursor: pointer; }
.status-actions > a { color: #0065cc; font-weight: 700; }
.status-lookup .order-notice { margin: 22px 0 0; }

.status-result-heading { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; }
.status-symbol { display: grid; width: 52px; height: 52px; place-items: center; border: 2px solid #63758d; border-radius: 50%; color: #314764; font-size: 26px; font-weight: 800; }
.status-result.is-success .status-symbol { border-color: #237252; color: #237252; }
.status-result.is-pending .status-symbol { border-color: #8a6b13; color: #8a6b13; }
.status-result.is-error .status-symbol { border-color: #a53030; color: #a53030; }
.status-result-heading .eyebrow { margin-bottom: 4px; }
.status-result h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; }

.status-facts { margin: 28px 0 0; border-top: 1px solid #cbd4dd; }
.status-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid #d3dae2; }
.status-facts dt { color: #607089; }
.status-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.status-itemization { margin-top: 28px; }
.status-itemization h3 { margin: 0; font-size: 18px; }
.status-itemization [data-status-itemization] { margin: 12px 0 0; border-top: 1px solid #cbd4dd; }
.status-price-row,
.status-price-component { margin: 0; padding: 11px 0; border-bottom: 1px solid #d3dae2; }
.status-price-row > div,
.status-price-component dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; }
.status-price-component dl { display: grid; gap: 8px; margin: 8px 0 0; }
.status-itemization dt { color: #607089; overflow-wrap: anywhere; }
.status-itemization dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.status-price-component-name { display: block; min-width: 0; overflow-wrap: anywhere; color: #17324a; }
.status-next-action { margin: 22px 0 0; padding: 16px 18px; border-left: 3px solid #0879a4; background: #eef7fa; color: #273e5b; }
.status-payment-action { margin-top: 20px; padding-top: 20px; border-top: 1px solid #cbd4dd; }
.status-payment-action .button { width: 100%; }
.status-payment-action p { margin: 10px 0 0; color: #607089; font-size: 12px; }

.status-payment-retry {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid #b9ccd8;
  background: #f8fbfc;
}
.status-payment-retry-heading h3 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.status-payment-retry-heading p:last-child { max-width: 620px; margin: 8px 0 0; color: #405474; }
.status-payment-retry-notice {
  padding: 15px 17px;
  border-left: 3px solid #0879a4;
  background: #eef7fa;
  color: #273e5b;
}
.status-payment-retry-notice strong { display: block; color: #17324a; }
.status-payment-retry-notice p { margin: 5px 0 0; }
.status-payment-retry-element-shell { min-width: 0; }
.status-payment-retry-element {
  min-height: 54px;
  padding: 16px;
  border: 1px solid #aebbc9;
  background: #fff;
}
.status-payment-retry-status { min-height: 1.4em; margin: 0; color: #405474; }
.status-payment-retry-status.is-error { color: #8d2424; }
.status-payment-retry-breakdown {
  margin: 0;
  border-top: 1px solid #cbd4dd;
}
.status-payment-retry-breakdown > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid #d3dae2;
}
.status-payment-retry-breakdown dt { color: #607089; overflow-wrap: anywhere; }
.status-payment-retry-breakdown dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.status-payment-retry-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.status-payment-retry-actions .button { min-width: 160px; }
.status-payment-retry-note { margin: 0; color: #607089; font-size: 12px; }

.customer-report-panel {
  width: min(1180px, 100%);
  margin-top: clamp(34px, 6vw, 72px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #bdc8d4;
  background: #fff;
  box-shadow: 0 20px 55px rgba(7, 26, 51, .06);
}
.customer-report-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.customer-report-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; }
.customer-report-download { min-width: 190px; flex: 0 0 190px; }
.customer-report-download:disabled { cursor: progress; }
.customer-report-summary { max-width: 760px; margin: 18px 0 0; color: #405474; font-size: 17px; }
.customer-report-frame-wrap { margin-top: 28px; overflow: hidden; border: 1px solid #9eacba; background: #eef3f5; }
.customer-report-frame-wrap iframe {
  display: block;
  width: 100%;
  height: clamp(560px, 72svh, 900px);
  border: 0;
  background: #fff;
}
.customer-report-fallback {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-left: 3px solid #8a6b13;
  background: #faf6e8;
  color: #554719;
}
.customer-report-error { margin: 18px 0 0; }

.photo-upload-panel {
  width: min(1180px, 100%);
  margin-top: clamp(34px, 6vw, 72px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #bdc8d4;
  background: #fff;
  box-shadow: 0 20px 55px rgba(7, 26, 51, .06);
}
.photo-upload-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.photo-upload-heading h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.04em; }
.photo-upload-heading > p { max-width: 360px; margin: 0; color: #607089; text-align: right; }
.photo-upload-intro { max-width: 760px; margin: 18px 0 0; color: #405474; font-size: 17px; }
.photo-upload-form { margin-top: 30px; padding-top: 26px; border-top: 1px solid #cbd4dd; }
.photo-file-field,
.photo-metadata-fields label { display: grid; gap: 7px; color: #405474; font-size: 13px; font-weight: 700; }
.photo-file-field input { min-height: 54px; padding: 12px; border: 1px solid #aebbc9; background: #f9fbfc; }
.photo-file-field small { color: #607089; font-weight: 500; }
.photo-metadata-fields { display: grid; grid-template-columns: minmax(180px, .5fr) minmax(240px, 1.5fr); gap: 18px; margin-top: 20px; }
.photo-metadata-fields select,
.photo-metadata-fields input { min-height: 50px; }
.photo-consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 11px; align-items: start; max-width: 860px; margin-top: 22px; color: #405474; line-height: 1.45; }
.photo-consent input { width: 20px; height: 20px; margin: 2px 0 0; }
.photo-consent-copy { display: grid; gap: 4px; }
.photo-consent-copy label { cursor: pointer; }
.photo-upload-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 24px; }
.photo-upload-actions [role="status"] { color: #38526f; }
.photo-upload-form .order-notice { margin: 20px 0 0; }
.photo-upload-closed,
.photo-empty { margin-top: 24px; padding: 16px 18px; border-left: 3px solid #8a6b13; background: #faf6e8; color: #554719; }
.photo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.photo-list-item { padding: 17px 18px; border: 1px solid #cbd4dd; background: #f9fbfc; }
.photo-list-item > div { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.photo-list-item strong { min-width: 0; overflow-wrap: anywhere; }
.photo-list-item p { margin: 9px 0 0; color: #607089; font-size: 13px; overflow-wrap: anywhere; }
.photo-list-item .text-button { margin-top: 10px; }
.photo-list-item .photo-delete-note { margin-top: 10px; color: #6a5661; font-size: 12px; }
.photo-state { flex: 0 0 auto; font-size: 12px; font-weight: 800; }
.photo-state.is-success { color: #237252; }
.photo-state.is-pending { color: #7a5d0e; }
.photo-state.is-error { color: #a53030; }

.status-action-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 1px solid #bdc8d4;
  background: #fff;
  color: #071a33;
  box-shadow: 0 24px 68px rgba(7, 26, 51, .22);
}
.status-action-dialog::backdrop { background: rgba(7, 26, 51, .56); }
.status-action-dialog-card { display: grid; margin: 0; }
.status-action-dialog-card > header { display: flex; justify-content: space-between; gap: 20px; padding: 26px 28px 20px; border-bottom: 1px solid #cbd4dd; }
.status-action-dialog-card h2 { margin: 0; font-size: clamp(24px, 4vw, 32px); letter-spacing: -.04em; }
.status-action-dialog-card header p:not(.eyebrow) { margin: 8px 0 0; color: #405474; line-height: 1.5; }
.status-dialog-close { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid #aebbc9; border-radius: 50%; background: #fff; color: #17324a; cursor: pointer; font-size: 26px; }
.status-action-dialog-body { display: grid; gap: 16px; padding: 24px 28px 28px; }
.status-action-dialog-fields { display: grid; gap: 16px; }
.status-action-dialog-fields > label { display: grid; gap: 7px; color: #405474; font-size: 13px; font-weight: 700; }
.status-action-dialog-fields input, .status-action-dialog-fields textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #aebbc9; background: #f9fbfc; color: #071a33; font: inherit; }
.status-action-dialog-fields textarea { min-height: 108px; resize: vertical; }
.status-action-dialog-fields [aria-invalid="true"] { border-color: #a53030; outline-color: #a53030; }
.status-action-dialog-errors { padding: 12px 14px; border-left: 3px solid #a53030; background: #fff1f1; color: #8d2424; font-size: 13px; font-weight: 700; line-height: 1.5; }
.status-action-dialog-card > footer { display: flex; justify-content: end; gap: 12px; padding: 18px 28px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid #cbd4dd; background: #f8f9f6; }
.status-action-dialog.is-danger [data-action-dialog-confirm] { border-color: #a53030; background: #a53030; }
.status-action-dialog [data-action-dialog-confirm]:disabled { cursor: not-allowed; opacity: .55; }

.upload-link-main {
  background:
    radial-gradient(circle at 88% 8%, rgba(220, 159, 85, .16), transparent 30%),
    linear-gradient(135deg, #fbfaf6 0 64%, #f6efe4 64%);
}
.upload-link-page {
  --canvas: #fbfaf6;
  --surface: #ffffff;
  --surface-warm: #f6efe4;
  --surface-sky: #eaf4fb;
  --ink: #17324a;
  --ink-strong: #0e2940;
  --muted: #627282;
  --blue: #2d6fd1;
  --blue-dark: #205bb2;
  --white: #ffffff;
  --line: #dcdedb;
  --shadow-sm: 0 8px 24px rgba(24, 50, 72, .08);
  --shadow-md: 0 22px 56px rgba(24, 50, 72, .14);
  --ease: cubic-bezier(.2, .8, .2, 1);
  background: var(--canvas);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
.upload-link-page .eyebrow {
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: none;
}
.upload-site-header {
  position: sticky;
  min-height: 96px;
  height: auto;
  padding: 0;
  color: var(--ink-strong);
  background: rgba(251, 250, 246, .93);
  border-bottom: 1px solid rgba(23, 50, 74, .1);
  backdrop-filter: blur(18px);
}
.upload-header-inner {
  width: min(100%, 1240px);
  min-height: 96px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
}
.upload-link-page .brand-official {
  width: clamp(178px, 17vw, 232px);
  min-height: 0;
}
.upload-link-page .brand-official img { width: 100%; height: auto; }
.upload-link-page .header-actions { justify-self: end; display: flex; align-items: center; }
.upload-link-page .header-cta {
  min-height: 46px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(45, 111, 209, .2);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.upload-link-page .header-cta:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 9px 22px rgba(32, 91, 178, .24);
  transform: translateY(-1px);
}
.upload-link-page .header-cta-compact { display: none; }
.upload-link-page .button {
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.upload-link-page .button:hover { transform: translateY(-2px); }
.upload-link-page .button-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(45, 111, 209, .2);
}
.upload-link-page .button-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 13px 30px rgba(32, 91, 178, .24);
}
.upload-link-page .button-secondary {
  color: var(--ink-strong);
  background: rgba(255, 255, 255, .76);
  border-color: #bfcbd2;
}
.upload-link-page .button-secondary:hover {
  background: var(--white);
  border-color: #8aa4b4;
  box-shadow: var(--shadow-sm);
}
.upload-link-page .button:disabled { cursor: not-allowed; opacity: .6; transform: none; box-shadow: none; }
.upload-link-intro { max-width: 900px; }
.upload-link-page .status-intro h1 {
  color: var(--ink-strong);
  font-weight: 650;
  line-height: 1.02;
}
.upload-link-page .status-intro > p:last-child { color: var(--muted); }
.upload-link-loading,
.upload-link-summary {
  width: min(1180px, 100%);
  margin-top: 42px;
  border: 1px solid rgba(23, 50, 74, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-md);
}
.upload-link-loading {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 26px 30px;
}
.upload-link-loading h2,
.upload-link-error h2,
.upload-link-summary h2 { margin: 0; color: #17324a; letter-spacing: -.035em; }
.upload-link-error {
  width: min(780px, 100%);
  margin-top: 42px;
  padding: clamp(24px, 4vw, 38px);
}
.upload-link-error p { max-width: 620px; }
.upload-link-summary { padding: clamp(24px, 4vw, 38px); }
.upload-link-summary > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}
.upload-link-summary dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 26px 0 0;
  border-top: 1px solid #ded3c5;
  border-bottom: 1px solid #ded3c5;
}
.upload-link-summary dl div { padding: 18px 18px 18px 0; }
.upload-link-summary dt { color: #6c675f; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.upload-link-summary dd { margin: 7px 0 0; color: #17324a; font-weight: 750; overflow-wrap: anywhere; }
.upload-link-private-note {
  margin: 20px 0 0;
  padding: 15px 18px;
  border-left: 3px solid #d39a54;
  border-radius: 0 10px 10px 0;
  background: #f8f1e7;
  color: #574636;
}
.upload-link-photo-panel {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(23, 50, 74, .12);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}
.upload-link-page .photo-upload-heading h2,
.upload-link-page .upload-link-summary h2 { color: var(--ink-strong); }
.upload-link-page .photo-upload-heading > p,
.upload-link-page .photo-upload-intro,
.upload-link-page .photo-file-field small { color: var(--muted); }
.upload-link-page .photo-upload-form { border-top-color: var(--line); }
.upload-link-page .photo-file-field,
.upload-link-page .photo-metadata-fields label { color: #3d5367; font-weight: 750; }
.upload-link-page .photo-file-field input {
  width: 100%;
  min-height: 72px;
  padding: 12px 14px;
  color: var(--ink-strong);
  background: #fffefa;
  border: 1px solid #aebbc2;
  border-radius: 12px;
}
.upload-link-page .photo-file-field input::file-selector-button {
  min-height: 44px;
  margin-right: 16px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.upload-link-page .photo-file-field input:hover::file-selector-button {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 7px 18px rgba(32, 91, 178, .2);
}
.upload-link-page .photo-metadata-fields select, .upload-link-page .photo-metadata-fields input {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--ink-strong);
  background: #fffefa;
  border: 1px solid #aebbc2;
  border-radius: 10px;
}
.upload-link-page .photo-file-field input:hover,
.upload-link-page .photo-metadata-fields select:hover,
.upload-link-page .photo-metadata-fields input:hover { border-color: #708c9d; }
.upload-link-page .photo-file-field input:focus,
.upload-link-page .photo-metadata-fields select:focus,
.upload-link-page .photo-metadata-fields input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(45, 111, 209, .18);
  outline-offset: 0;
}
.upload-link-page .photo-consent {
  max-width: 920px;
  padding: 17px 18px;
  color: #526678;
  background: var(--surface-sky);
  border: 1px solid #caddea;
  border-radius: 14px;
  font-size: 13px;
}
.upload-link-page .photo-consent input {
  min-height: 20px;
  accent-color: var(--blue);
}
.upload-link-page .photo-consent-copy a,
.upload-link-page .photo-list-item .text-button { color: var(--blue-dark); font-weight: 700; }
.upload-link-page .photo-upload-actions [role="status"] { color: var(--muted); }
.upload-link-page .photo-list { gap: 16px; }
.upload-link-page .photo-list-item {
  padding: 19px 20px;
  color: var(--ink);
  background: #fffefa;
  border: 1px solid rgba(23, 50, 74, .12);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.upload-link-page .photo-list-item p { color: var(--muted); }
.upload-link-page .photo-empty,
.upload-link-page .photo-upload-closed { border-radius: 0 10px 10px 0; }
.upload-link-page .status-action-dialog {
  color: var(--ink);
  border: 0;
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(14, 41, 64, .3);
}
.upload-link-page .status-action-dialog::backdrop {
  background: rgba(14, 41, 64, .46);
  backdrop-filter: blur(7px);
}
.upload-link-page .status-dialog-close { color: var(--ink); background: var(--canvas); border-color: var(--line); }
.upload-link-page .status-action-dialog-fields input,
.upload-link-page .status-action-dialog-fields textarea {
  color: var(--ink-strong);
  background: #fffefa;
  border-color: #aebbc2;
  border-radius: 10px;
}
.upload-link-page .status-action-dialog-card > footer { background: var(--canvas); border-top-color: var(--line); }
.upload-link-page .status-action-dialog.is-danger [data-action-dialog-confirm]:hover {
  background: #8d2424;
  border-color: #8d2424;
}
.upload-site-footer {
  display: block;
  padding: 36px var(--gutter) 44px;
  color: var(--muted);
  background: var(--canvas);
  border-top: 1px solid rgba(23, 50, 74, .1);
}
.upload-footer-inner {
  width: min(100%, 1240px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 50px;
  align-items: start;
}
.upload-footer-inner .footer-brand { display: grid; color: var(--ink-strong); }
.upload-footer-inner .footer-brand img { width: 170px; height: auto; }
.upload-footer-inner .footer-brand span { color: var(--muted); font-size: 12px; }
.upload-footer-inner > p { justify-self: end; max-width: 650px; margin: 0; text-align: right; }
.upload-footer-inner nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}
.upload-footer-inner nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: #40566a;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.upload-footer-inner nav a:hover { color: var(--blue-dark); text-decoration: underline; }

@media (max-width: 800px) {
  .status-main { min-height: auto; background: #f8f9f6; }
  .status-shell { grid-template-columns: 1fr; }
  .customer-report-frame-wrap iframe { height: min(68svh, 680px); }
  .photo-list { grid-template-columns: 1fr; }
  .upload-link-main { background: #fbfaf6; }
  .upload-link-summary dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .upload-footer-inner { grid-template-columns: 1fr; }
  .upload-footer-inner > p { justify-self: start; text-align: left; }
  .upload-footer-inner nav { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .status-main { padding-inline: 16px; }
  .status-intro h1 { font-size: 42px; }
  .status-lookup, .status-result { padding: 22px 18px; }
  .status-payment-retry { padding: 18px; }
  .status-payment-retry-actions { display: grid; }
  .status-payment-retry-actions .button { width: 100%; min-width: 0; }
  .status-payment-retry-breakdown > div { grid-template-columns: 1fr; gap: 3px; }
  .status-payment-retry-breakdown dd { text-align: left; }
  .status-facts div { grid-template-columns: 1fr; gap: 3px; }
  .status-actions { display: grid; }
  .status-actions .button { width: 100%; }
  .customer-report-panel { padding: 24px 18px; }
  .customer-report-heading { display: grid; align-items: start; }
  .customer-report-download { width: 100%; min-width: 0; flex-basis: auto; }
  .customer-report-frame-wrap iframe { height: max(500px, 62svh); }
  .photo-upload-panel { padding: 24px 18px; }
  .photo-upload-heading { display: grid; }
  .photo-upload-heading > p { text-align: left; }
  .photo-metadata-fields { grid-template-columns: 1fr; }
  .photo-upload-actions { display: grid; }
  .photo-upload-actions .button { width: 100%; }
  .photo-list-item > div { display: grid; }
  .status-action-dialog-card > header, .status-action-dialog-body, .status-action-dialog-card > footer { padding-inline: 18px; }
  .status-action-dialog-card > footer { display: grid; }
  .status-action-dialog-card > footer .button { width: 100%; }
  .upload-link-loading { padding: 22px 18px; }
  .upload-link-summary dl { grid-template-columns: 1fr; }
  .upload-link-summary dl div { border-bottom: 1px solid #e6ddd2; }
  .upload-site-header, .upload-header-inner { min-height: 78px; }
  .upload-link-page .brand-official { width: 145px; }
  .upload-link-page .header-cta-wide { display: none; }
  .upload-link-page .header-cta-compact { display: inline; }
  .upload-link-page .header-cta { min-height: 44px; padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .upload-link-page .button,
  .upload-link-page .header-cta,
  .upload-link-page .photo-file-field input::file-selector-button {
    transition-duration: .01ms;
  }
  .upload-link-page .button:hover,
  .upload-link-page .header-cta:hover { transform: none; }
}
