  body { font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR", sans-serif; color: #0f172a; background: #f8fafc; margin: 0; padding: 0; line-height: 1.6; }
  .top-bar { padding: 14px 20px; background: #0f172a; color: #fff; display: flex; justify-content: space-between; align-items: center; }
  .top-bar h1 { margin: 0; font-size: 18px; font-weight: 800; }
  .top-bar a { color: #cbd5e1; text-decoration: none; font-size: 13px; }
  .shell { max-width: 1200px; margin: 0 auto; padding: 28px 16px; }
  .card { background: #fff; border-radius: 12px; padding: 22px; margin-bottom: 18px; box-shadow: 0 1px 4px rgba(15,23,42,0.05); }
  h2 { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
  h3 { margin: 22px 0 12px; font-size: 16px; font-weight: 700; color: #1e293b; }
  .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 14px 0; }
  .stat { padding: 14px; border-radius: 10px; border: 1px solid #e2e8f0; background: #fafbff; }
  .stat .lab { font-size: 11px; font-weight: 700; color: #475569; }
  .stat .val { font-size: 22px; font-weight: 900; color: #0f172a; margin: 4px 0; }
  .stat .sub { font-size: 11px; color: #64748b; }
  .filter { padding: 6px 14px; border-radius: 999px; border: 1px solid #d1d5db; background: #fff; cursor: pointer; font-size: 12px; color: #475569; font-weight: 600; margin-right: 4px; }
  .filter.active { background: #0f172a; color: #fff; border-color: #0f172a; }
  .iq-row { border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px; margin-bottom: 10px; background: #fff; }
  .iq-row .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; flex-wrap: wrap; gap: 6px; }
  .iq-row .body { font-size: 13px; color: #475569; margin: 6px 0; }
  .iq-row .actions { display: flex; gap: 6px; margin-top: 8px; }
  .btn { padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 700; border: 0; }
  .btn-pri { background: #3b82f6; color: #fff; }
  .btn-pri:hover { background: #2563eb; }
  .btn-sec { background: #fff; color: #64748b; border: 1px solid #d1d5db; }
  .badge-open { font-size: 10px; padding: 2px 8px; background: #dcfce7; color: #15803d; border-radius: 999px; font-weight: 700; }
  .badge-closed { font-size: 10px; padding: 2px 8px; background: #f1f5f9; color: #64748b; border-radius: 999px; font-weight: 700; }

  /* 채팅 모달 */
  .chat-modal { position: fixed; inset: 0; background: rgba(15,23,42,0.7); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 16px; }
  .chat-box { background: #fff; max-width: 720px; width: 100%; height: 84vh; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); display: flex; flex-direction: column; overflow: hidden; }
  .chat-head { padding: 16px 20px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
  .chat-msgs { flex: 1; overflow-y: auto; padding: 18px; background: #f8fafc; display: flex; flex-direction: column; gap: 10px; }
  .chat-input { padding: 12px 18px; border-top: 1px solid #e2e8f0; background: #fff; display: flex; gap: 8px; }
  .chat-input input { flex: 1; padding: 10px; border: 1px solid #d1d5db; border-radius: 8px; }
  .bubble { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
  .bubble-admin { align-self: flex-start; background: #3b82f6; color: #fff; }
  .bubble-user { align-self: flex-end; background: #fff; color: #0f172a; border: 1px solid #e2e8f0; }
  .bubble-meta { font-size: 10px; color: #94a3b8; margin-bottom: 2px; }
  .gate { padding: 40px; text-align: center; color: #94a3b8; }
  #denyBox { background: #fff; max-width: 480px; margin: 80px auto; padding: 40px; border-radius: 14px; text-align: center; box-shadow: 0 2px 12px rgba(15,23,42,0.05); }
