:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #617080;
  --line: #d6dee5;
  --surface: #ffffff;
  --page: #f2f5f7;
  --teal: #087f7d;
  --teal-dark: #056261;
  --green: #19764d;
  --amber: #a86012;
  --red: #b13b3b;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.45 system-ui, -apple-system, sans-serif; }
.customer-shell { width: min(680px, calc(100% - 32px)); margin: 0 auto; padding: 44px 0 72px; }
.customer-header { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--teal); color: #fff; font-weight: 800; }
.eyebrow { margin: 0 0 4px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(24px, 5vw, 34px); line-height: 1.15; }
h2 { margin-bottom: 0; font-size: 22px; }
.customer-panel { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 12px 30px rgba(23, 33, 43, .06); }
label { display: block; margin: 16px 0 7px; font-weight: 700; }
label:first-of-type { margin-top: 0; }
label span { color: var(--muted); font-size: 13px; font-weight: 500; }
input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #bdc9d3; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; }
input:focus { outline: 3px solid rgba(8, 127, 125, .18); border-color: var(--teal); }
input[type=file] { padding: 9px; }
.field-note { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
button { width: 100%; min-height: 48px; margin-top: 22px; border: 0; border-radius: 6px; background: var(--teal); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
button:hover { background: var(--teal-dark); }
button:disabled { cursor: wait; opacity: .65; }
.secondary-button { margin-top: 18px; background: #e7f1f1; color: var(--teal-dark); }
.secondary-button:hover { background: #d5e7e7; }
.error { min-height: 22px; margin: 12px 0 0; color: var(--red); }
.status-panel { margin-top: 18px; }
.status-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.status-badge { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.status-badge.pending { background: #eef2f4; color: var(--muted); }
.status-badge.approved { background: #e1f3e9; color: var(--green); }
.status-badge.mismatch, .status-badge.expired, .status-badge.failed { background: #fff0df; color: var(--amber); }
dl { margin: 22px 0 0; border-top: 1px solid var(--line); }
dl div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
dd { max-width: 60%; margin: 0; overflow-wrap: anywhere; font-weight: 700; text-align: right; }
.status-message { margin: 18px 0 0; color: var(--muted); }
.operator-link { display: block; margin-top: 18px; color: var(--teal-dark); font-size: 13px; text-align: center; }
@media (max-width: 520px) { .customer-shell { padding-top: 24px; } .customer-panel { padding: 18px; } .status-heading { display: block; } .status-badge { display: inline-block; margin-top: 12px; } }
