/* Renewal Documents customer page. Measured from the current EZ File Drop form (research/document_intake/PLAN.md). */
:root {
  color-scheme: light;
  --c-bg: #fafafa; --c-card-border: #f3f3f3; --c-title: #3c3c3c; --c-label: #3a3a3a; --c-body: #4a4a4a;
  --c-input: #cccccc; --c-input-text: #363636; --c-drop: #aaaaaa; --c-drop-text: #474747; --c-help: #6b6b6b;
  --c-yellow: #f9ca09; --c-button-text: #434343; --c-error: #b3261e; --c-ok: #287447; --c-focus: #775600;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-body); font-family: Poppins, Verdana, Geneva, sans-serif;
  font-size: 16px; line-height: 1.5; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
[hidden] { display: none !important; }

.c-wrap { width: min(600px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0 36px; }
.brands { display: flex; align-items: center; justify-content: center; gap: 12px; width: min(100%, 500px); margin: 0 auto 18px; }
.brands img { display: block; min-width: 0; height: auto; }
.brands img:nth-child(1) { flex: 3.89 1 0; }
.brands img:nth-child(2) { flex: 2.35 1 0; }
.brands img:nth-child(3) { flex: 3.24 1 0; }
.c-title { margin-bottom: 12px; color: var(--c-title); font-family: Verdana, Geneva, sans-serif; font-size: 35px; font-weight: 600; line-height: 1.12; text-align: center; }
.c-intro { max-width: 500px; margin: 0 auto 22px; font-size: 15px; text-align: center; }
.c-card { padding: 34px 60px 36px; border: 2px solid var(--c-card-border); border-radius: 12px; background: rgba(255, 255, 255, .72); }
.c-loading { color: var(--c-help); text-align: center; }
.c-progress { margin-bottom: 22px; }
.c-progress-text { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: var(--c-label); font-size: 14px; }
.c-progress-text b { font-family: Verdana, Geneva, sans-serif; font-weight: 700; }
.c-bar { height: 6px; border-radius: 999px; background: #ececec; overflow: hidden; }
.c-bar i { display: block; width: 0; height: 100%; border-radius: 999px; background: var(--c-yellow); transition: width .18s ease; }
.c-field { margin-bottom: 15px; }
.c-field label, .c-doc-label { display: block; margin-bottom: 6px; color: var(--c-label); font-family: Verdana, Geneva, sans-serif; font-size: 18px; font-weight: 700; line-height: 1.4; }
.c-field input { width: 100%; height: 40px; padding: 7px 11px; border: 1px solid var(--c-input); border-radius: 11px; background: #fff; color: var(--c-input-text); font-size: 16px; }
.c-field input[aria-invalid="true"], .c-drop.invalid { border-color: var(--c-error); }
.c-error { margin-top: 4px; color: var(--c-error); font-size: 13px; }
.c-alert { margin-bottom: 14px; padding: 9px 12px; border: 1px solid #e6b8b5; border-radius: 9px; background: #fdf1f0; color: var(--c-error); font-size: 14px; }
.c-doc { margin-bottom: 16px; }
.c-drop { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 84px; padding: 10px 24px; border: 1px dotted var(--c-drop); border-radius: 9px; background: transparent; color: var(--c-drop-text); font-size: 15px; text-align: left; }
.c-drop:hover { background: #fff; }
.c-drop svg { flex: none; color: #6f8b86; }
.c-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding: 5px 6px 5px 11px; border: 1px solid #e5e5e5; border-radius: 9px; background: #fff; font-size: 14px; }
.c-chip.failed { border-color: #e6b8b5; }
.c-chip-text { min-width: 0; overflow-wrap: anywhere; }
.c-chip small { display: block; color: #777; font-size: 12px; }
.c-chip.failed small { color: var(--c-error); }
.c-chip.done small { color: var(--c-ok); }
.c-chip-actions { display: flex; flex: none; align-items: center; gap: 4px; }
.c-chip button { height: 28px; border: 0; border-radius: 6px; background: transparent; color: #666; }
.c-chip button:hover { background: #f1f1f1; }
.c-remove { width: 28px; font-size: 18px; line-height: 1; }
.c-retry { padding: 0 8px; border: 1px solid var(--c-input) !important; color: var(--c-label) !important; font-size: 13px; }
.c-help { margin: -4px 0 14px; color: var(--c-help); font-size: 13px; }
.c-help.top { margin-top: 0; }
.c-ref { margin-bottom: 14px; }
.c-ref h3 { margin-bottom: 7px; color: var(--c-label); font-family: Verdana, Geneva, sans-serif; font-size: 17px; font-weight: 700; }
.c-ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.c-ref-grid .wide { grid-column: 1 / -1; }
.c-ref .c-field { margin-bottom: 8px; }
.c-ref .c-field label { margin-bottom: 3px; font-size: 14px; }
.c-actions { display: flex; gap: 10px; margin-top: 20px; }
.c-btn { flex: 1; height: 40px; border: 1px solid transparent; border-radius: 4px; background: var(--c-yellow); color: var(--c-button-text); font-family: Verdana, Geneva, sans-serif; font-size: 16px; }
.c-btn:hover:not(:disabled) { filter: brightness(.97); }
.c-back { flex: none; padding: 0 16px; border-color: var(--c-input); background: #fff; }
.c-foot { max-width: 500px; margin: 16px auto 0; color: var(--c-help); font-size: 13px; text-align: center; }
.c-done { padding: 14px 0; text-align: center; }
.c-done svg { color: var(--c-ok); }
.c-done h2 { margin: 10px 0 8px; color: var(--c-title); font-family: Verdana, Geneva, sans-serif; font-size: 22px; font-weight: 700; }
.c-done p { margin-bottom: 6px; }
.c-ended svg { color: #8a8a8a; }
.c-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 560px) {
  .c-title { font-size: 27px; }
  .c-intro { font-size: 14px; }
  .c-card { padding: 22px 18px 24px; }
  .c-field label, .c-doc-label { font-size: 16px; }
  .c-drop { min-height: 62px; padding: 8px 14px; }
  .c-ref-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
