/* Upload page: one job, hand over the loan file. */
.up-page { max-width: 720px; margin: 0 auto; padding: 72px 24px 48px; }
.up-page h1 { font-size: 36px; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; margin: 0; color: var(--brand); max-width: 16ch; }
.lede { font-size: 17px; line-height: 1.55; color: var(--soft); margin: 16px 0 32px; max-width: 60ch; }

.tray { display: block; background: var(--card); border: 1.5px dashed #b9c2b5; border-radius: 16px; padding: 8px; cursor: pointer; transition: border-color .15s, background .15s; }
.tray:hover, .tray.over { border-color: var(--brand); background: #fbfcfe; }
.tray-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 16px; text-align: center; }
.tray.filled .tray-empty { flex-direction: row; justify-content: center; padding: 14px 16px; gap: 10px; }
.tray.filled .tray-s { display: none; }
.tray-ic { width: 40px; height: 40px; stroke: var(--brand); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.tray.filled .tray-ic { width: 20px; height: 20px; margin: 0; }
.tray-t { font-weight: 600; font-size: 16px; }
.tray.filled .tray-t { font-size: 14px; color: var(--soft); }
.tray-t u { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.tray-s { color: var(--soft); font-size: 13px; }

.files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.files:empty { display: none; }
.file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; background: var(--bg); border-radius: 10px; padding: 10px 12px; cursor: default; animation: in .25s ease-out; }
.ftype { font-size: 11px; font-weight: 800; color: #fff; background: var(--bad); border-radius: 4px; padding: 2px 6px; }
.fname { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fsize { color: var(--soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.fx { border: 0; background: none; font-size: 20px; line-height: 1; color: var(--soft); cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.fx:hover { background: var(--line); color: var(--ink); }

.up-actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.up-actions .grow { flex: 1; }
.btn.big { padding: 12px 22px; font-size: 15px; border-radius: 10px; }
.note { color: var(--soft); font-size: 13px; min-height: 20px; margin: 12px 0 0; text-align: right; }

@media (max-width: 640px) {
  .up-page { padding: 40px 16px; }
  .up-page h1 { font-size: 28px; }
  .up-actions { flex-direction: column-reverse; align-items: stretch; }
  .note { text-align: left; }
}

/* claims inbox */
.up-page.wide { max-width: 820px; }
.queue { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.qrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.q-top { display: flex; gap: 10px; align-items: center; font-size: 12.5px; }
.q-line { font-weight: 700; color: var(--brand); background: var(--brand-bg); border-radius: 999px; padding: 1px 9px; }
.q-id { color: var(--soft); font-variant-numeric: tabular-nums; }
.q-title { font-weight: 700; font-size: 16px; margin-top: 6px; }
.q-who { color: var(--soft); font-size: 14px; }
.q-docs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.q-docs a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink); text-decoration: none; background: var(--bg); border-radius: 8px; padding: 5px 10px; }
.q-docs a:hover { background: var(--line); }
.q-amt { font-size: 20px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.note-left { color: var(--soft); font-size: 13px; max-width: 44ch; }
.claim-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: grid; gap: 14px; }
.cc-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.cc-amt { margin-left: auto; font-size: 20px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.cc-groups { display: grid; gap: 12px; }
.cc-gt { font-size: 12.5px; font-weight: 700; color: var(--soft); margin-bottom: 6px; }
.cc-g .q-docs { margin-top: 0; }

.up-page.wide h1 { max-width: 24ch; }
