/* SiChatFish — halaman hitung benih dari kamera (Phase 8). Memakai variabel warna chat.css. */
.hc-app { max-width: 720px; margin: 0 auto; padding: 12px 16px 40px; }
.hc-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0 12px;
  border-bottom: 1px solid var(--sc-line); }
.hc-header h1 { font-size: 18px; margin: 0; }
.hc-header a { color: var(--sc-accent); text-decoration: none; font-size: 14px; }
.hc-who { font-size: 13px; color: var(--sc-ink-soft); }
.hc-card { background: var(--sc-bg-soft); border: 1px solid var(--sc-line); border-radius: var(--sc-radius);
  padding: 14px; margin-top: 14px; }
.hc-card h2 { font-size: 15px; margin: 0 0 8px; }
.hc-card ul { margin: 0; padding-left: 20px; }
.hc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.hc-big { display: flex; align-items: center; justify-content: center; min-height: 56px; font-size: 16px;
  font-weight: 600; border-radius: var(--sc-radius); cursor: pointer; text-align: center; }
.hc-big input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hc-primary { background: var(--sc-accent); color: var(--sc-accent-ink); border: 1px solid var(--sc-accent); }
.hc-secondary { background: transparent; color: var(--sc-ink); border: 1px solid var(--sc-line); }
.hc-big:focus-within { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
.hc-options { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 12px; font-size: 14px; }
.hc-options select { font: inherit; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--sc-line);
  background: var(--sc-bg); color: var(--sc-ink); }
.hc-status { margin-top: 12px; font-size: 14px; color: var(--sc-ink-soft); min-height: 1.5em; }
.hc-error { background: var(--sc-error); border: 1px solid var(--sc-error-line); border-radius: var(--sc-radius);
  padding: 10px 12px; margin-top: 12px; }
.hc-result[hidden], .hc-login[hidden], .hc-main[hidden] { display: none; }
.hc-count { font-size: 44px; font-weight: 700; line-height: 1.1; }
.hc-count.hc-bad { color: var(--sc-ink-soft); text-decoration: line-through; font-size: 32px; }
.hc-range { color: var(--sc-ink-soft); font-size: 14px; }
.hc-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600;
  margin: 6px 0; }
.hc-ok { background: #e3f4e8; color: #1c6b36; }
.hc-no { background: var(--sc-error); color: var(--sc-ink); border: 1px solid var(--sc-error-line); }
.hc-warn { background: var(--sc-notice); border: 1px solid var(--sc-notice-line); border-radius: 10px;
  padding: 8px 12px; margin-top: 10px; font-size: 14px; }
.hc-warn ul { margin: 0; padding-left: 18px; }
.hc-img { width: 100%; height: auto; border-radius: 10px; margin-top: 10px; border: 1px solid var(--sc-line); }
.hc-meta { font-size: 12px; color: var(--sc-ink-soft); margin-top: 8px; }
@media (max-width: 420px) { .hc-actions { grid-template-columns: 1fr; } .hc-count { font-size: 38px; } }
.hc-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-seg label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--sc-line);
  border-radius: 999px; background: var(--sc-bg); cursor: pointer; font-size: 14.5px; }
.hc-seg label:has(input:checked) { border-color: var(--sc-accent); color: var(--sc-accent); font-weight: 600; }
