:root {
  --ink: #172033;
  --muted: #647087;
  --line: #dfe4ec;
  --paper: #ffffff;
  --wash: #f4f7fb;
  --blue: #2157d8;
  --blue-dark: #153eaa;
  --green: #18794e;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--wash);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
.page { width: min(960px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 72px; }
.topbar { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
h1 { margin: 2px 0 0; font-size: clamp(28px, 5vw, 42px); letter-spacing: -.04em; }
h2 { margin: 0; font-size: 20px; }
.eyebrow, .step { margin: 0; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 16px; box-shadow: 0 8px 30px rgba(28, 44, 74, .05); }
.login-card { max-width: 430px; margin: 64px auto; }
.muted, .hint { color: var(--muted); }
.hint { font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.form-grid.one-column { grid-template-columns: 1fr; }
.form-grid .wide { grid-column: 1 / -1; }
label { display: grid; gap: 7px; color: #3b465a; font-size: 14px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid #cfd6e2; border-radius: 9px; padding: 11px 12px; color: var(--ink); background: #fff; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33, 87, 216, .12); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.primary { border: 0; border-radius: 9px; padding: 11px 18px; background: var(--blue); color: white; font-weight: 800; cursor: pointer; }
.primary:hover { background: var(--blue-dark); }
.primary:disabled { opacity: .55; cursor: wait; }
.primary.large { min-width: 160px; min-height: 48px; }
.text-button { border: 0; padding: 6px; color: var(--blue); background: transparent; cursor: pointer; font-weight: 700; }
.user-box { display: flex; gap: 12px; align-items: center; }
.avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.feishu-button { display: block; margin-top: 16px; padding: 12px 18px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 800; text-align: center; text-decoration: none; }
.feishu-button:hover { background: var(--blue-dark); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.pickers { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.drop-zone { margin-top: 20px; padding: 28px; border: 2px dashed #bdc8dc; border-radius: 14px; background: #f8faff; text-align: center; transition: border-color .15s ease, background .15s ease, transform .15s ease; outline: none; }
.drop-zone:hover, .drop-zone:focus, .drop-zone.dragging { border-color: var(--blue); background: #eef3ff; }
.drop-zone.dragging { transform: scale(1.005); }
.drop-copy { display: grid; gap: 7px; }
.drop-copy strong { font-size: 18px; }
.drop-copy span { color: var(--muted); font-size: 13px; }
.drop-zone .pickers { justify-content: center; }
.picker { display: inline-flex; align-items: center; justify-content: center; min-width: 140px; padding: 12px 18px; color: white; background: var(--blue); border-radius: 9px; cursor: pointer; }
.picker.secondary { color: var(--blue); background: #edf2ff; }
.picker input { display: none; }
.file-summary { margin-top: 18px; padding: 12px; color: var(--muted); background: var(--wash); border-radius: 9px; }
.file-list { max-height: 260px; overflow: auto; }
.file-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 4px; border-bottom: 1px solid #edf0f5; font-size: 13px; }
.file-row span:first-child { overflow-wrap: anywhere; }
.submit-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.progress-wrap { grid-column: 1 / -1; }
.progress { height: 9px; overflow: hidden; background: #e7ebf2; border-radius: 999px; }
.progress span { display: block; width: 0; height: 100%; background: var(--green); transition: width .2s ease; }
.message { min-height: 20px; color: var(--muted); }
.message.error { color: #b42318; }
.message.success { color: var(--green); }
.submission-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; padding: 14px 0; border-bottom: 1px solid #edf0f5; }
.submission-item:last-child { border-bottom: 0; }
.submission-title { font-weight: 800; }
.submission-meta { color: var(--muted); font-size: 13px; }
.status { align-self: center; padding: 4px 9px; border-radius: 999px; color: var(--blue); background: #edf2ff; font-size: 12px; font-weight: 800; }
.hidden { display: none !important; }
@media (max-width: 680px) {
  .page { width: min(100% - 20px, 960px); padding-top: 20px; }
  .card { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .submit-card { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .hint { text-align: left; }
  .primary.large { width: 100%; }
  .drop-zone { padding: 22px 14px; }
  .drop-zone .pickers { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .picker { min-width: 0; padding-inline: 10px; }
}
