/* Extracted from proposal-autofill.html block 1. */
* { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Inter', -apple-system, sans-serif; background: #F1F5F9; color: #475569; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 0; }
  .card { background: #F1F5F9; border: 1px solid rgba(59,151,161,0.3); border-radius: 16px; padding: 40px; max-width: 760px; width: 100%; box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
  h1 { font-size: 22px; color: #EBB328; margin-bottom: 4px; }
  .sub { font-size: 13px; color: #64748B; margin-bottom: 24px; }
  .drop-zone { border: 2px dashed rgba(59,151,161,0.4); border-radius: 12px; padding: 40px; text-align: center; cursor: pointer; transition: all 0.2s; margin-bottom: 20px; }
  .drop-zone:hover, .drop-zone.dragover { border-color: #EBB328; background: rgba(235,179,40,0.06); }
  .drop-zone p { font-size: 14px; color: #64748B; }
  .drop-zone .big { font-size: 32px; margin-bottom: 8px; }
  input[type="file"] { display: none; }
  .stats { background: #F1F5F9; border: 1px solid rgba(100,116,139,0.2); border-radius: 8px; padding: 16px; margin: 16px 0; font-size: 13px; line-height: 1.8; }
  .stats .label { color: #64748B; }
  .stats .value { color: #22c55e; font-weight: 700; }
  .pa-status.pa-err { color: #ef4444; border-color: rgba(239,68,68,0.4); }
  .pa-status.pa-ok { color: #16a34a; border-color: rgba(34,197,94,0.4); }
  .btn { display: inline-block; padding: 8px 18px; border: none; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.15s; }
  .btn-teal { background: linear-gradient(135deg, #0D9488, #3B97A1); color: #fff; }
  .btn-teal:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(13,148,136,0.35); }
  .section { border-top: 1px solid rgba(59,151,161,0.3); margin-top: 24px; padding-top: 20px; }
  .section h2 { font-size: 15px; color: #0D9488; margin-bottom: 10px; }
  .section h2 .btn { float: right; }
  table.pa-fields { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 8px; }
  table.pa-fields th { text-align: left; color: #0D9488; padding: 6px 8px; border-bottom: 1px solid rgba(59,151,161,0.3); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
  table.pa-fields td { padding: 6px 8px; border-bottom: 1px dashed rgba(100,116,139,0.25); vertical-align: top; }
  .pa-req { color: #ef4444; font-weight: 700; }
  .muted { color: #64748B; font-size: 12px; line-height: 1.6; }
  /* ── Stage 18: review gate ── */
  select { padding: 6px 8px; border: 1px solid rgba(59,151,161,0.4); border-radius: 6px; font-size: 13px; background: #fff; color: #475569; max-width: 420px; }
  .btn-ghost { background: transparent; border: 1px solid rgba(59,151,161,0.5); color: #0D9488; }
  .btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
  .pa-progress { float: right; font-size: 12px; color: #64748B; font-weight: 400; }
  .pa-progress .done { color: #16a34a; font-weight: 700; }
  .pa-answer { font-family: ui-monospace, Consolas, monospace; font-size: 12px; white-space: pre-wrap; word-break: break-word; color: #0f172a; }
  .pa-raw { font-size: 11px; color: #64748B; word-break: break-word; }
  .pa-prov { font-size: 11px; color: #64748B; }
  .pa-badge { display: inline-block; padding: 1px 6px; border-radius: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.03em; }
  .pa-badge.verify { background: rgba(239,68,68,0.12); color: #b91c1c; border: 1px solid rgba(239,68,68,0.4); }
  .pa-badge.human { background: rgba(235,179,40,0.15); color: #92600a; border: 1px solid rgba(235,179,40,0.5); }
  .pa-badge.basis { background: rgba(59,151,161,0.12); color: #0D9488; border: 1px solid rgba(59,151,161,0.35); }
  .pa-decide .btn { padding: 4px 10px; font-size: 11px; margin: 0 4px 4px 0; }
  .pa-decide .btn.sel { outline: 2px solid #EBB328; }
  .pa-editbox textarea { width: 100%; min-height: 44px; margin: 4px 0; padding: 6px; border: 1px solid rgba(59,151,161,0.4); border-radius: 6px; font-size: 12px; font-family: inherit; }
  .pa-decided { font-size: 11px; color: #16a34a; }
  #paExportBar { margin-top: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
