/* 蜂巢助手: on top of style.css and try.css. Large text and large targets: the page is for people
   who do not use computers much (设计-Hive客户端体验.md §9). */
.hive-ask textarea { font-size: 18px; min-height: 5.5em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 8px 0 4px; }
.cards button { text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; cursor: pointer; font-size: 15px; line-height: 1.45; }
.cards button:hover { border-color: var(--accent); }
.drop { border: 2px dashed var(--line); border-radius: var(--radius-s); padding: 16px; text-align: center; color: var(--muted); margin: 8px 0; cursor: pointer; }
.drop.over { border-color: var(--accent); color: var(--ink); }
.files { list-style: none; padding: 0; margin: 6px 0; }
.files li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.big-btn { font-size: 18px; padding: 12px 26px !important; }
.status-line { font-size: 18px; margin: 6px 0; }
.status-note { color: var(--muted); white-space: pre-wrap; word-break: break-word; }
.decide { border: 2px solid var(--accent); border-radius: var(--radius); padding: 16px; margin: 12px 0; }
.decide p { font-size: 17px; margin: 0 0 12px; }
.decide .row button { font-size: 17px; padding: 11px 20px; }
.answer { white-space: pre-wrap; word-break: break-word; font-size: 16px; background: var(--bg); border-radius: var(--radius-s); padding: 12px 14px; margin: 10px 0; }
.result-files li { align-items: center; }
.tasklist { list-style: none; padding: 0; margin: 0; }
.tasklist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.tasklist .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.privacy { font-size: 13.5px; color: var(--muted); }
/* The agents store (agents.js) and the agent header on the Hive page. */
.store-search { gap: 8px; flex-wrap: nowrap; }
.store-search input { flex: 1; min-width: 0; font-size: 17px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg); color: var(--ink); }
.store-bar { justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 99px; padding: 5px 12px; cursor: pointer; font-size: 14px; }
.chips button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.agent-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.agent-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.agent-card.picked { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.agent-card:hover { border-color: var(--accent); }
.agent-link { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; color: inherit; text-decoration: none; }
.agent-link p { margin: 0; line-height: 1.5; }
.agent-link .small { font-size: 13.5px; }
.agent-title { display: flex; align-items: center; gap: 10px; }
.agent-title h3, .agent-title h2 { margin: 0; }
.agent-title h3 { font-size: 17px; }
.agent-badge { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 17px; background: var(--accent); color: var(--accent-ink); }
.agent-use { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--accent); }
.agent-head p { margin: 6px 0 0; }
@media (max-width: 560px) { .store-search { flex-wrap: wrap; } .store-search button { width: 100%; } }
.prefs { margin: 8px 0; } .prefs summary { cursor: pointer; color: var(--muted); } .prefs textarea { width: 100%; margin-top: 6px; font-size: 15px; }
.card label { display: block; margin: 12px 0 4px; font-weight: 600; }
.card label.row { font-weight: 400; display: flex; gap: 6px; align-items: center; }
.card input[type=text] { width: 100%; font-size: 17px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg); color: var(--ink); }
.card #my-what { width: 100%; font-size: 16px; }
.agent-new .agent-badge { background: var(--bg); color: var(--accent); border: 2px dashed var(--accent); }
.stat { color: var(--muted); }
.agent-card .stat::before, .agent-head .stat::before { content: "● "; color: var(--good, var(--accent)); }
.email-login { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.email-login input { flex: 1; min-width: 0; font-size: 16px; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg); color: var(--ink); }
.vault-box { margin-top: 14px; }
.vault-box input { flex: 1; min-width: 0; font-size: 16px; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg); color: var(--ink); }
.vault-box { margin-top: 14px; }
.vault-box input { flex: 1; min-width: 0; font-size: 16px; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg); color: var(--ink); }
/* Phone width: the labels in the header stay on one line (a squeezed 蜂巢助手 wrapped one character
   per line), and the header wraps onto a second row instead of squeezing them. */
header h1, header .site-link, header .brand span { white-space: nowrap; }
@media (max-width: 560px) {
  header { flex-wrap: wrap; row-gap: 8px; }
  .head-left, .head-right { flex-wrap: wrap; gap: 4px 14px; }
  .site-link { min-height: 32px; display: inline-flex; align-items: center; }
}
