[hidden] { display: none !important; }

.status-page {
  --canvas: #fbfaf6;
  --surface: #ffffff;
  --surface-warm: #f6efe4;
  --surface-sky: #eaf4fb;
  --surface-sage: #e8f2eb;
  --ink: #17324a;
  --ink-strong: #0e2940;
  --muted: #627282;
  --blue: #2d6fd1;
  --blue-dark: #205bb2;
  --blue-soft: #dbeafc;
  --sage: #267358;
  --line: #dcdedb;
  --line-strong: #c7d1d5;
  --white: #ffffff;
  --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);
  --portal-gutter: clamp(20px, 4.8vw, 68px);
  min-width: 320px;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.status-page input,
.status-page select,
.status-page textarea,
.status-page button {
  font: inherit;
}

.status-page .button {
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  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);
}

.status-page .button:hover:not(:disabled) { transform: translateY(-2px); }
.status-page .button-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(45, 111, 209, .2);
}
.status-page .button-primary:hover:not(:disabled) {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 13px 30px rgba(32, 91, 178, .24);
}
.status-page .button-secondary {
  background: rgba(255, 255, 255, .76);
  color: var(--ink-strong);
  border-color: #768796;
}
.status-page .button-secondary:hover:not(:disabled) {
  background: var(--white);
  border-color: #8aa4b4;
  box-shadow: var(--shadow-sm);
}
.status-page .button:disabled { cursor: not-allowed; opacity: .6; transform: none; box-shadow: none; }

.status-page .eyebrow {
  color: var(--blue-dark);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.status-page .order-site-header {
  min-height: 88px;
  height: auto;
  padding: 10px var(--portal-gutter);
  color: var(--ink-strong);
  background: rgba(251, 250, 246, .93);
  border-bottom: 1px solid rgba(23, 50, 74, .1);
  backdrop-filter: blur(18px);
}

.status-page .order-site-header .brand {
  min-height: 48px;
}

.status-page .order-site-header .brand-image {
  width: clamp(144px, 13vw, 168px);
  height: auto;
  display: block;
}

.status-page .order-header-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}

.status-page .order-header-nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #40566a;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.status-page .order-header-nav a:hover {
  color: var(--blue-dark);
}

.status-page .order-header-nav a:first-child {
  padding: 0 19px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(45, 111, 209, .2);
}

.status-page .order-header-nav a:first-child:hover {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 9px 22px rgba(32, 91, 178, .24);
}

.status-page .order-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 36px var(--portal-gutter) 44px;
  color: var(--muted);
  background: var(--canvas);
  border-top: 1px solid rgba(23, 50, 74, .1);
  font-size: 13px;
}

.status-page .order-footer p { margin: 0; }
.status-page .order-footer strong { color: var(--ink-strong); }
.status-page .order-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.status-page .order-footer nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #40566a;
  font-weight: 650;
  text-decoration: none;
}
.status-page .order-footer nav a:hover { color: var(--blue-dark); text-decoration: underline; }

.status-page .field-hint {
  color: var(--muted);
}

.status-page .text-button {
  min-height: 44px;
  padding: 7px 0;
  color: var(--blue-dark);
  background: transparent;
  border: 0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}

.status-page .order-notice {
  border-radius: 0 10px 10px 0;
}

.status-page .order-notice-error {
  border-left-color: #b84f4f;
  background: #fff0f0;
  color: #7d2020;
}

.status-main {
  min-height: calc(100svh - 96px);
  padding: clamp(48px, 7vw, 84px) var(--portal-gutter) clamp(72px, 9vw, 112px);
  background:
    radial-gradient(circle at 88% 6%, rgba(234, 244, 251, .9), transparent 30%),
    var(--canvas);
}

.status-intro { width: min(1180px, 100%); margin-inline: auto; }
.status-intro h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.status-intro > p:last-child { max-width: 650px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }

.status-return-notice {
  width: min(1180px, 100%);
  margin: 24px auto 0;
  padding: 15px 18px;
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  background: var(--surface-sky);
  color: #31597e;
}

.status-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  width: min(1180px, 100%);
  margin: 42px auto 0;
}

.status-lookup,
.status-result {
  align-self: start;
  width: 100%;
  padding: clamp(24px, 3.4vw, 34px);
  border: 1px solid rgba(23, 50, 74, .12);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.status-lookup { max-width: 780px; }
.status-result { grid-column: 1; }

@media (min-width: 1000px) {
  .status-result {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: 36px;
    align-items: start;
  }
  .status-result > * { grid-column: 1 / -1; }
  .status-result > .status-result-heading { grid-row: 1; }
  .status-result > .status-facts { grid-column: 1; grid-row: 2; }
  .status-result > .status-itemization { grid-column: 2; grid-row: 2; }
  .status-result:not(:has(> .status-itemization:not([hidden]))) > .status-facts { grid-column: 1 / -1; }
}

.status-fields { display: grid; gap: 18px; }
.status-fields label { display: grid; gap: 7px; color: #40566a; font-size: 13px; font-weight: 700; }
.status-fields input {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--ink-strong);
  background: #fffefa;
  border: 1px solid #768796;
  border-radius: 10px;
}
.status-fields input:hover { border-color: #708c9d; }
.status-fields input:focus {
  border-color: var(--blue);
  outline: 3px solid var(--blue-dark);
  outline-offset: 0;
}
.status-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.status-actions .button { min-width: 160px; cursor: pointer; }
.status-actions > a { min-height: 44px; display: inline-flex; align-items: center; color: var(--blue-dark); 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; color: var(--ink-strong); font-size: clamp(24px, 3vw, 34px); 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-result [data-report-withdrawn-banner] { margin: 18px 0 0; }
.status-itemization { min-width: 0; 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 { min-width: 0; 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: 15px 18px; border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; background: var(--surface-sky); color: #31597e; }
.status-support-panel {
  display: grid;
  gap: 0;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface-sky);
}
.status-support-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: end;
}
.status-support-heading h3 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.status-support-intro { margin: 0; color: #40566a; line-height: 1.5; }
.status-support-form { margin-top: 22px; padding-top: 22px; border-top: 1px solid #cbd4dd; }
.status-support-fields {
  display: grid;
  grid-template-columns: minmax(180px, .6fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: start;
}
.status-support-fields label { display: grid; gap: 7px; color: #405474; font-size: 13px; font-weight: 700; }
.status-support-fields select,
.status-support-fields textarea {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid #aebbc2;
  border-radius: 10px;
  background: #fffefa;
  color: var(--ink-strong);
  font: inherit;
}
.status-support-fields select:hover,
.status-support-fields textarea:hover { border-color: #708c9d; }
.status-support-fields select:focus,
.status-support-fields textarea:focus {
  border-color: var(--blue);
  outline: 3px solid var(--blue-dark);
  outline-offset: 0;
}
.status-support-fields textarea { min-height: 132px; resize: vertical; }
.status-support-form > .field-hint { margin: 14px 0 0; }
.status-support-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 20px; }
.status-support-actions .button { min-width: 170px; }
.status-support-submit-status { color: #38526f; }
.status-support-form .order-notice { margin: 18px 0 0; }
.status-support-requests { display: grid; gap: 12px; margin-top: 26px; }
.status-support-request,
.status-support-empty,
.status-support-list-note {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.status-support-request-header { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.status-support-request-header h4 { margin: 0; color: #17324a; font-size: 16px; }
.status-support-request-status { flex: 0 0 auto; color: #237252; font-size: 12px; font-weight: 800; }
.status-support-request-meta { margin: 7px 0 0; color: #607089; font-size: 12px; }
.status-support-request-message { margin: 14px 0 0; color: #273e5b; white-space: pre-wrap; overflow-wrap: anywhere; }
.status-support-request-reply,
.status-support-request-next {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: var(--surface-sky);
  color: #31597e;
}
.status-support-request-reply strong,
.status-support-request-next strong { display: block; color: #17324a; }
.status-support-request-reply p,
.status-support-request-next p { margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.status-support-request-followup { margin: 14px 0 0; color: #607089; font-size: 12px; }
.status-support-empty,
.status-support-list-note { color: #607089; }
.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 var(--line-strong);
  border-radius: 14px;
  background: var(--surface-sky);
}
.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 #aebbc2;
  border-radius: 10px;
  background: #fffefa;
}
.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: clamp(48px, 7vw, 84px) auto 0;
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid rgba(23, 50, 74, .12);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.customer-report-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.customer-report-heading h2 { margin: 0; color: var(--ink-strong); font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.customer-report-download { min-width: 190px; flex: 0 0 190px; }
.status-page .customer-report-download:disabled { cursor: progress; }
.status-page .customer-report-download[aria-busy="true"] { cursor: progress; opacity: 1; }
.customer-report-summary { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.customer-report-frame-wrap { margin-top: 28px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 14px; 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; }

.customer-documents-panel {
  width: min(1180px, 100%);
  margin: clamp(48px, 7vw, 84px) auto 0;
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid rgba(23, 50, 74, .12);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.customer-documents-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.customer-documents-heading h2 { margin: 0; color: var(--ink-strong); font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.customer-documents-limits { max-width: 360px; margin: 0; color: #607089; text-align: right; }
.customer-documents-intro { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.customer-documents-form { margin-top: 30px; padding-top: 26px; border-top: 1px solid #cbd4dd; }
.document-file-field,
.document-metadata-fields label { display: grid; gap: 7px; color: #405474; font-size: 13px; font-weight: 700; }
.document-file-field input {
  width: 100%;
  min-height: 72px;
  padding: 12px 14px;
  color: var(--ink-strong);
  border: 1px solid #aebbc2;
  border-radius: 12px;
  background: #fffefa;
}
.document-file-field input:hover { border-color: #708c9d; }
.document-file-field input:focus {
  border-color: var(--blue);
  outline: 3px solid var(--blue-dark);
  outline-offset: 0;
}
.document-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;
}
.document-file-field small { color: #607089; font-weight: 500; }
.document-metadata-fields { display: grid; grid-template-columns: minmax(180px, .6fr) minmax(240px, 1.4fr); gap: 18px; margin-top: 20px; align-items: start; }
.document-metadata-fields select,
.document-metadata-fields textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid #aebbc2;
  border-radius: 10px;
  background: #fffefa;
  color: var(--ink-strong);
  font: inherit;
}
.document-metadata-fields select:hover,
.document-metadata-fields textarea:hover { border-color: #708c9d; }
.document-metadata-fields select:focus,
.document-metadata-fields textarea:focus {
  border-color: var(--blue);
  outline: 3px solid var(--blue-dark);
  outline-offset: 0;
}
.document-metadata-fields textarea { min-height: 92px; resize: vertical; }
.customer-documents-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 24px; }
.customer-documents-actions [role="status"] { color: #38526f; }
.customer-documents-form .order-notice { margin: 20px 0 0; }
.customer-documents-closed,
.customer-documents-empty { margin-top: 24px; padding: 16px 18px; border-left: 3px solid #8a6b13; background: #faf6e8; color: #554719; }
.customer-document-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.customer-document-card { display: grid; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fffefa; box-shadow: var(--shadow-sm); }
.customer-document-card-header { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.customer-document-title { display: flex; min-width: 0; gap: 10px; align-items: start; }
.customer-document-file-mark { display: inline-grid; width: 38px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid #b9cfe0; border-radius: 6px; background: #eaf4fb; color: #205b8f; font-size: 10px; font-weight: 850; letter-spacing: .06em; }
.customer-document-card-header strong { min-width: 0; overflow-wrap: anywhere; color: #17324a; }
.customer-document-card-meta,
.customer-document-card-note { margin: 8px 0 0; color: #607089; font-size: 13px; overflow-wrap: anywhere; }
.customer-document-card-note { color: #273e5b; white-space: pre-wrap; }
.document-state { flex: 0 0 auto; font-size: 12px; font-weight: 800; }
.document-state.is-success { color: #237252; }
.document-state.is-pending { color: #7a5d0e; }
.document-state.is-error { color: #a53030; }
.customer-document-card-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.customer-document-card-actions .button { min-height: 42px; padding: 9px 14px; }
.customer-document-retry { display: grid; gap: 7px; margin: 0; color: #405474; font-size: 12px; font-weight: 700; }
.customer-document-retry input { max-width: 100%; padding: 8px; border: 1px solid #aebbc2; border-radius: 8px; background: #fffefa; font: inherit; }
.customer-document-retry small { color: #607089; font-weight: 500; }
.status-page .customer-document-retry input:focus,
.status-page .status-action-dialog-fields input:focus,
.status-page .status-action-dialog-fields select:focus,
.status-page .status-action-dialog-fields textarea:focus {
  border-color: var(--blue);
  outline: 3px solid var(--blue-dark);
  outline-offset: 0;
}

.photo-preview-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; cursor: zoom-in; }
.photo-preview-button:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: -3px; }
.photo-thumbnail,
.photo-thumbnail-placeholder { display: grid; width: 100%; aspect-ratio: 4 / 3; place-items: center; padding: 18px; background: var(--surface-sky); color: #384e62; text-align: center; }
.photo-thumbnail { display: block; padding: 0; object-fit: cover; }
.photo-preview-button:hover .photo-thumbnail { filter: brightness(.94); }
.photo-thumbnail-placeholder.is-error { background: #fff1f1; color: #8d2424; }
.photo-list-item .photo-card-body { display: block; padding: 16px 18px 18px; }
.photo-list-item .photo-card-body > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; justify-content: space-between; gap: 14px; align-items: start; }

body.customer-photo-gallery-open { overflow: hidden; }
.customer-photo-gallery {
  width: min(100vw, 1240px);
  max-width: none;
  height: min(100dvh, 920px);
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: #071a33;
  color: #fff;
  overflow: hidden;
}
.customer-photo-gallery::backdrop { background: rgba(7, 26, 51, .78); }
.customer-photo-gallery-shell { display: grid; height: 100%; grid-template-rows: auto minmax(0, 1fr); }
.customer-photo-gallery-header { display: flex; min-height: 72px; justify-content: space-between; gap: 20px; align-items: center; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.2); background: #0d2945; }
.customer-photo-gallery-header h2 { margin: 0; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.04em; }
.customer-photo-gallery-header p { margin: 5px 0 0; color: #c6d4e4; }
.customer-photo-gallery-close,
.customer-photo-gallery-nav { display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; }
.customer-photo-gallery-close { width: 46px; height: 46px; border-radius: 10px; font-size: 28px; }
.customer-photo-gallery-close:hover,
.customer-photo-gallery-nav:hover:not(:disabled) { border-color: #9bd3f0; background: rgba(255,255,255,.12); }
.customer-photo-gallery-body { display: grid; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); }
.customer-photo-gallery-stage { display: grid; min-width: 0; min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto; padding: 18px 22px 22px; }
.customer-photo-gallery-stage-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.customer-photo-gallery-position { color: #c6d4e4; font-weight: 750; }
.customer-photo-gallery-navigation { display: flex; gap: 8px; }
.customer-photo-gallery-nav { width: 42px; height: 38px; border-radius: 9px; font-size: 26px; }
.customer-photo-gallery-nav:disabled { cursor: not-allowed; opacity: .45; }
.customer-photo-gallery-media { display: grid; min-height: 220px; margin-top: 14px; place-items: center; border: 5px solid rgba(255,255,255,.9); border-radius: 14px; background: #020c18; overflow: hidden; }
.customer-photo-gallery-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.customer-photo-gallery-placeholder { display: grid; width: 100%; height: 100%; min-height: 180px; place-items: center; padding: 24px; color: #c6d4e4; text-align: center; }
.customer-photo-gallery-details { padding: 14px 2px 0; }
.customer-photo-gallery-details h3 { margin: 0; font-size: 19px; overflow-wrap: anywhere; }
.customer-photo-gallery-details p { margin: 7px 0 0; color: #c6d4e4; overflow-wrap: anywhere; }
.customer-photo-gallery-details .is-empty { font-style: italic; }
.customer-photo-gallery-thumbnails { min-height: 0; padding: 18px; border-left: 1px solid rgba(255,255,255,.16); background: #0d2945; overflow-y: auto; }
.customer-photo-gallery-thumbnails h3 { margin: 0 0 13px; color: #fff; font-size: 13px; }
.customer-photo-gallery-thumbnail-list { display: grid; gap: 10px; }
.customer-photo-gallery-thumbnail { display: grid; min-width: 0; grid-template-columns: 86px minmax(0, 1fr); gap: 9px; padding: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.06); }
.customer-photo-gallery-thumbnail.is-current { border-color: #9bd3f0; box-shadow: inset 3px 0 #9bd3f0; }
.customer-photo-gallery-thumbnail-open { position: relative; display: block; width: 86px; height: 64px; padding: 0; border: 0; border-radius: 7px; background: #203b56; color: #fff; cursor: zoom-in; overflow: hidden; }
.customer-photo-gallery-thumbnail-open:focus-visible { outline: 3px solid #9bd3f0; outline-offset: 2px; }
.customer-photo-gallery-thumbnail-open img { display: block; width: 100%; height: 100%; object-fit: cover; }
.customer-photo-gallery-thumbnail-copy { display: grid; align-content: start; gap: 4px; min-width: 0; }
.customer-photo-gallery-thumbnail-copy strong { overflow-wrap: anywhere; font-size: 12px; }
.customer-photo-gallery-thumbnail-copy span { color: #c6d4e4; font-size: 11px; }

.photo-upload-panel {
  width: min(1180px, 100%);
  margin: clamp(48px, 7vw, 84px) auto 0;
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid rgba(23, 50, 74, .12);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.photo-upload-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.photo-upload-heading h2 { margin: 0; color: var(--ink-strong); font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.photo-upload-heading-tools > p { max-width: 360px; margin: 0; color: var(--muted); text-align: right; }
.photo-gallery-open { min-height: 42px; padding: 9px 14px; }
.photo-upload-intro { max-width: 760px; margin: 18px 0 0; color: var(--muted); 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: #40566a; font-size: 13px; font-weight: 700; }
.photo-file-field input {
  width: 100%;
  min-height: 72px;
  padding: 12px 14px;
  color: var(--ink-strong);
  border: 1px solid #aebbc2;
  border-radius: 12px;
  background: #fffefa;
}
.photo-file-field input:hover { border-color: #708c9d; }
.photo-file-field input:focus {
  border-color: var(--blue);
  outline: 3px solid var(--blue-dark);
  outline-offset: 0;
}
.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;
}
.photo-file-field small { color: var(--muted); 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 {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--ink-strong);
  background: #fffefa;
  border: 1px solid #aebbc2;
  border-radius: 10px;
}
.photo-metadata-fields select:hover,
.photo-metadata-fields input:hover { border-color: #708c9d; }
.photo-metadata-fields select:focus,
.photo-metadata-fields input:focus {
  border-color: var(--blue);
  outline: 3px solid var(--blue-dark);
  outline-offset: 0;
}
.photo-consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 11px; align-items: start; max-width: 920px; margin-top: 22px; padding: 17px 18px; color: #526678; background: var(--surface-sky); border: 1px solid #caddea; border-radius: 14px; font-size: 13px; line-height: 1.45; }
.photo-consent input { width: 20px; height: 20px; margin: 2px 0 0; }
.photo-consent input { min-height: 20px; accent-color: var(--blue); }
.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: var(--muted); }
.photo-upload-form .order-notice { margin: 20px 0 0; }
.photo-upload-closed,
.photo-empty { margin-top: 24px; padding: 16px 18px; border-left: 3px solid #d39a54; border-radius: 0 10px 10px 0; background: #f8f1e7; color: #574636; }
.photo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.photo-list-item { overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #fffefa; box-shadow: var(--shadow-sm); }
.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 rgba(23, 50, 74, .12);
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(14, 41, 64, .3);
}
.status-action-dialog::backdrop { background: rgba(14, 41, 64, .46); backdrop-filter: blur(7px); }
.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; color: var(--ink-strong); font-size: clamp(24px, 4vw, 32px); letter-spacing: -.04em; }
.status-action-dialog-card header p:not(.eyebrow) { margin: 8px 0 0; color: #40566a; line-height: 1.5; }
.status-dialog-close { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--canvas); color: var(--ink); 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 .action-dialog-field { display: grid; gap: 6px; }
.status-action-dialog-fields label { display: grid; gap: 7px; color: #405474; font-size: 13px; font-weight: 700; }
.status-action-dialog-fields input:not([type="checkbox"]),
.status-action-dialog-fields select,
.status-action-dialog-fields textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #768796; border-radius: 10px; background: #fffefa; color: var(--ink-strong); font: inherit; }
.status-action-dialog-fields textarea { min-height: 108px; resize: vertical; }
.status-action-dialog-fields .action-dialog-checkbox { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.status-action-dialog-fields .action-dialog-checkbox input[type="checkbox"] { width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.status-action-dialog-fields .action-dialog-checkbox-group { display: grid; gap: 10px; margin: 0; padding: 14px; border: 1px solid #768796; border-radius: 10px; background: #fffefa; }
.status-action-dialog-fields .action-dialog-checkbox-group legend { padding: 0 6px; color: #405474; font-size: 13px; font-weight: 700; }
.status-action-dialog-fields .action-dialog-checkbox-list { display: grid; gap: 10px; max-height: 220px; overflow-y: auto; }
.status-action-dialog-fields .action-dialog-field-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.status-action-dialog-fields .action-dialog-field-error { margin: 0; color: #8d2424; font-size: 12px; font-weight: 700; line-height: 1.4; }
.status-action-dialog-fields [aria-invalid="true"] { border-color: #a53030; outline-color: #a53030; }
.status-page .status-action-dialog-fields input[aria-invalid="true"]:focus,
.status-page .status-action-dialog-fields select[aria-invalid="true"]:focus,
.status-page .status-action-dialog-fields textarea[aria-invalid="true"]:focus {
  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 var(--line); background: var(--canvas); }
.status-page .status-action-dialog.is-danger [data-action-dialog-confirm] { border-color: #a53030; background: #a53030; color: #ffffff; }
.status-page .status-action-dialog.is-danger [data-action-dialog-confirm]:hover:not(:disabled),
.status-page .status-action-dialog.is-danger [data-action-dialog-confirm]:focus-visible:not(:disabled) { border-color: #8d2424; background: #8d2424; color: #ffffff; }
.status-action-dialog [data-action-dialog-confirm]:disabled { cursor: not-allowed; opacity: .55; }

.status-account-strip {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1;
  justify-content: space-between;
  gap: 14px 24px;
  align-items: center;
  padding: 15px 18px;
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  background: var(--surface-sky);
  color: #31597e;
}
.status-account-strip p { margin: 0; }
.status-account-strip .eyebrow { margin-bottom: 3px; }
.status-account-strip-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.status-account-strip-actions > a { min-height: 44px; display: inline-flex; align-items: center; color: var(--blue-dark); font-weight: 700; }
.status-account-strip-actions .text-button { color: var(--blue-dark); }

.status-page .account-session-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(23, 50, 74, .12);
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(14, 41, 64, .3);
}
.status-page .account-session-dialog::backdrop { background: rgba(14, 41, 64, .46); backdrop-filter: blur(7px); }
.status-page .account-session-card { padding: 28px; }
.status-page .account-session-card h2 { margin: 0; color: var(--ink-strong); font-size: clamp(24px, 4vw, 32px); letter-spacing: -.04em; }
.status-page .account-session-card > p:not(.eyebrow) { margin: 10px 0 0; color: #40566a; line-height: 1.5; }
.status-page .account-session-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.status-page .account-session-actions .button { min-height: 44px; }

@media (max-width: 520px) {
  .status-account-strip { align-items: start; }
  .status-account-strip-actions { display: grid; width: 100%; gap: 8px; }
  .status-account-strip-actions > a,
  .status-account-strip-actions .text-button {
    width: 100%;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid #bfcbd2;
    border-radius: 10px;
    background: rgba(255, 255, 255, .76);
    text-align: center;
  }
  .status-page .account-session-card { padding: 24px 18px; }
  .status-page .account-session-actions { display: grid; }
  .status-page .account-session-actions .button { width: 100%; }
}

.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 {
  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: 14px;
  color: var(--blue-dark);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.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(--portal-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:not(:disabled) { 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:not(:disabled) {
  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:not(:disabled) {
  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: 42px auto 0;
  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: 42px auto 0;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 14px;
}
.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-tools > 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 #7d909c;
  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 #7d909c;
  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 var(--blue-dark);
  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 {
  overflow: hidden;
  padding: 0;
  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 .photo-card-body { padding: 16px 20px 20px; }
.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(--portal-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: var(--canvas); }
  .status-page .order-site-header {
    min-height: 78px;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .status-page .order-site-header .brand-image { width: 136px; }
  .status-page .order-header-nav {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    gap: 6px 12px;
    justify-content: flex-end;
  }
  .status-page .order-header-nav a {
    min-width: 44px;
    min-height: 44px;
    flex: 0 1 auto;
    padding-inline: 10px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
  }
  .status-page .order-header-nav a:first-child { padding-inline: 14px; }
  .status-shell { grid-template-columns: 1fr; }
  .status-support-heading,
  .status-support-fields { grid-template-columns: 1fr; }
  .customer-report-frame-wrap iframe { height: min(68svh, 680px); }
  .customer-document-list { grid-template-columns: 1fr; }
  .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; }
  .customer-photo-gallery { width: 100vw; height: 100dvh; }
  .customer-photo-gallery-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .customer-photo-gallery-thumbnails { max-height: 190px; border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .customer-photo-gallery-thumbnail-list { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (max-width: 520px) {
  .status-main { padding-inline: 16px; }
  .status-intro h1 { font-size: clamp(34px, 10vw, 42px); }
  .status-lookup, .status-result { padding: 22px 18px; }
  .status-support-panel { padding: 18px; }
  .status-support-actions { display: grid; }
  .status-support-actions .button { width: 100%; }
  .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%; }
  .status-result-heading { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; }
  .status-symbol { width: 44px; height: 44px; font-size: 22px; }
  .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); }
  .customer-documents-panel { padding: 24px 18px; }
  .customer-documents-heading { display: grid; }
  .customer-documents-limits { text-align: left; }
  .document-metadata-fields { grid-template-columns: 1fr; }
  .customer-documents-actions { display: grid; }
  .customer-documents-actions .button { width: 100%; }
  .customer-document-card-header { display: grid; }
  .customer-document-card-actions { display: grid; }
  .customer-document-card-actions .button { width: 100%; }
  .photo-upload-panel { padding: 24px 18px; }
  .photo-upload-heading { display: grid; }
  .photo-upload-heading-tools { justify-items: start; }
  .photo-upload-heading-tools > 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; }
  .photo-list-item .photo-card-body > div { grid-template-columns: 1fr; gap: 6px; }
  .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; }
  .customer-photo-gallery-header { padding-inline: 16px; }
  .customer-photo-gallery-stage { padding: 14px 16px 16px; }
  .customer-photo-gallery-media { min-height: 200px; }
  .customer-photo-gallery-thumbnails { padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .status-page .button,
  .status-page .order-header-nav a:first-child,
  .status-page .photo-file-field input::file-selector-button,
  .status-page .document-file-field input::file-selector-button {
    transition-duration: .01ms;
  }
  .status-page .button:hover:not(:disabled),
  .status-page .order-header-nav a:first-child:hover { transform: none; }
  .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:not(:disabled),
  .upload-link-page .header-cta:hover { transform: none; }
}
.status-price-component-description,
.status-price-component-timing {
  min-width: 0;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.status-price-component-timing {
  color: var(--ink);
  font-weight: 600;
}
