/* HiveAI Global — Readability First (Michael: 基准≥14px, 高分屏友好) */

:root {
  --font-base: 15px;
  --font-sm: 14px;
  --font-xs: 13px;
  --font-nav: 13px;
}

/* ── Force minimum font size ── */
body {
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* High-DPI screens (retina, 4K) — scale up */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --font-base: 16px;
    --font-sm: 15px;
    --font-xs: 14px;
  }
  body { font-size: 16px !important; }
}

/* Everything ≥ 14px unless explicitly nav/label */
p, div, span, li, td, th, a, label, input, textarea, select, button {
  font-size: inherit;
}

/* Nav bar — compact but readable */
.nav { font-size: 12px !important; }
.nav-item { font-size: 12px !important; letter-spacing: 0.15em !important; }
.nav-logo { font-size: 16px !important; }
.nav-logo-sub { font-size: 11px !important; }
.nav-right { font-size: 12px !important; }
.nav-right span { font-size: 12px !important; }
.nav-right button { font-size: 12px !important; }

/* Session sidebar */
.session-name { font-size: 14px !important; }
.session-item { font-size: 13px !important; }
.session-sub, .session-preview { font-size: 12px !important; }
.session-group-label { font-size: 12px !important; }
.panel-label { font-size: 13px !important; }
.panel-sub { font-size: 12px !important; }

/* Chat area — main content must be big */
.msg-text, .message-text, .chat-text, .bubble-text, .bubble {
  font-size: 16px !important;
  line-height: 1.7 !important;
}
.chat-input, .chat-input input, .chat-input textarea,
input[type="text"], textarea {
  font-size: 16px !important;
  min-height: 48px !important;
}
.msg-name, .msg-role { font-size: 14px !important; }
.msg-time, .msg-meta { font-size: 12px !important; }

/* Quick action buttons — 大按钮好点 */
.quick-actions button, .cmd-chip {
  font-size: 14px !important;
  padding: 8px 16px !important;
  min-height: 36px !important;
}

/* Connected status banner */
.connected-banner, .status-banner, .chat-status {
  font-size: 14px !important;
}

/* Chat input area placeholder */
::placeholder {
  font-size: 15px !important;
}

/* Right panel */
.team-agent-name { font-size: 14px !important; }
.team-agent-role { font-size: 12px !important; }
.stat-label { font-size: 13px !important; }
.stat-value { font-size: 14px !important; }
.task-title { font-size: 13px !important; }

/* Forms (settings, login, onboarding) */
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
textarea, select {
  font-size: 14px !important;
  padding: 10px 12px !important;
}
.form-label { font-size: 14px !important; }
.form-sub { font-size: 13px !important; }

/* Buttons */
.cmd-btn { font-size: 13px !important; padding: 8px 16px !important; min-height: 34px !important; }
.btn-primary, .btn-accent { font-size: 14px !important; padding: 10px 20px !important; }

/* Console/Databank */
.log-entry, .log-text { font-size: 13px !important; }
.log-time { font-size: 11px !important; }
.tree-item { font-size: 14px !important; }

/* Code */
code, pre { font-size: 13px !important; }

/* Headings */
h1 { font-size: 24px !important; }
h2 { font-size: 20px !important; }
h3 { font-size: 17px !important; }

/* Header area */
.header-title, .chat-header-name { font-size: 16px !important; }
.header-sub, .chat-header-meta { font-size: 13px !important; }

/* Template/badge labels */
.template-label { font-size: 11px !important; }
.badge { font-size: 11px !important; }

/* Status bar at bottom */
.status-bar, .chat-footer { font-size: 12px !important; }

/* Leaderboard */
.rank-cell { font-size: 14px !important; }
.user-name { font-size: 14px !important; }
.score-cell { font-size: 14px !important; }
