/* ============================================================
   Fikir Havuzu (ekip alanı) — yalnızca fikir-havuzu.html kullanır
   Renkler site.css'teki değişkenlerden gelir (açık/koyu tema).
   ============================================================ */

.fh-hero { padding: 36px 0 28px; }
.fh-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 0; }
.fh-section { padding: 32px 0 72px; }

.fh-muted { color: var(--muted); }
.fh-small { font-size: .86rem; }
.fh-center { text-align: center; }
.fh-pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.fh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fh-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.fh-section h2 { margin-bottom: 12px; }
.fh-section h3 { font-size: 1.05rem; }
.fh-section code { font-size: .9em; background: var(--surface); padding: 1px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Paneller ---------- */
.fh-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; margin-bottom: 24px;
}
.fh-narrow { max-width: 480px; margin: 0 auto; }
.fh-panel > p + p, .fh-panel > p + .fh-row, .fh-panel > .fh-msg + .fh-row { margin-top: 16px; }

/* ---------- Düğmeler ---------- */
.fh-btn {
  font: inherit; font-weight: 500; font-size: .95rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--brand);
  background: var(--brand); color: var(--on-brand); text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.fh-btn:hover { opacity: .9; }
.fh-btn:disabled { opacity: .55; cursor: progress; }
.fh-btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.fh-btn-ghost:hover { border-color: var(--accent); opacity: 1; }
.fh-btn-sm { padding: 8px 16px; font-size: .88rem; }
.fh-wide { width: 100%; }
.fh-link {
  font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
  background: none; border: 0; padding: 4px 0; color: var(--brand);
  border-bottom: 1px solid var(--line);
}
.fh-link:hover { color: var(--accent-ink); border-bottom-color: var(--accent); }
.fh-danger { color: var(--accent-ink); }
.fh-form > .fh-link { justify-self: center; }
.fh-panel > .fh-wide + p { margin-top: 14px; }
.fh-back { margin-bottom: 18px; }

/* ---------- Giriş ---------- */
.fh-seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
}
.fh-seg button {
  font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
  padding: 9px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
}
.fh-seg button[aria-selected="true"] { background: var(--brand); color: var(--on-brand); }
.fh-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: .85rem; }
.fh-or::before, .fh-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fh-msg {
  font-size: .92rem; padding: 12px 14px; border-radius: 12px;
  background: var(--bg); border-left: 3px solid var(--accent); color: var(--ink);
}

/* ---------- Form alanları ---------- */
.fh-form { display: grid; gap: 18px; margin-top: 4px; }
.fh-field { display: grid; gap: 6px; min-width: 0; }
.fh-label { font-weight: 500; font-size: .97rem; color: var(--brand); }
.fh-req { color: var(--accent-ink); }
.fh-opt { font-weight: 400; font-size: .8rem; color: var(--muted); margin-left: 4px; }
.fh-hint { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.fh-form input:not([type="radio"]):not([type="checkbox"]),
.fh-form textarea, .fh-form select, .fh-filters input, .fh-filters select {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); width: 100%;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.fh-form textarea { resize: vertical; line-height: 1.55; min-height: 84px; }
.fh-form input:focus, .fh-form textarea:focus, .fh-form select:focus,
.fh-filters input:focus, .fh-filters select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.fh-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fh-fieldset legend { margin-bottom: 8px; }
.fh-radio { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .97rem; cursor: pointer; }
.fh-radio input, .fh-check input { accent-color: var(--accent); width: 18px; height: 18px; }
.fh-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fh-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.fh-span2 { grid-column: span 2; }

/* ---------- Üst bar ve sekmeler ---------- */
.fh-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.fh-who { display: flex; align-items: center; gap: 12px; }
.fh-who strong { font-weight: 600; color: var(--brand); display: block; line-height: 1.25; }
.fh-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: .9rem;
}
.fh-role { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-ink); }
.fh-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.fh-tabs button {
  font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer; white-space: nowrap;
  padding: 10px 16px 12px; background: none; border: 0; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.fh-tabs button:hover { color: var(--brand); }
.fh-tabs button[aria-current="page"] { color: var(--brand); border-bottom-color: var(--accent); }
.fh-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px;
  border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--surface); color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line); vertical-align: 1px;
}

/* ---------- Filtreler ve kartlar ---------- */
.fh-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-bottom: 22px; }
.fh-search input { padding-left: 14px; }
.fh-check { display: flex; align-items: center; gap: 8px; font-size: .92rem; white-space: nowrap; cursor: pointer; }
.fh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.fh-card {
  font: inherit; text-align: left; cursor: pointer; color: inherit;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  transition: border-color .2s, transform .2s;
}
.fh-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.fh-card-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.fh-card-title { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 1.3rem; line-height: 1.25; color: var(--brand); }
.fh-card-text { font-size: .94rem; color: var(--muted); line-height: 1.55; flex: 1; }
.fh-card-meta { font-size: .82rem; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }
.fh-badge {
  font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: 3px 10px; border-radius: 999px;
  background: var(--bg); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line);
}
.fh-badge-wait { color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line); border: 0; }
.fh-badge-m { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.fh-badge-p { color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent); background: transparent; }
.fh-empty { text-align: center; padding: 48px 20px; border: 1.5px dashed var(--line); border-radius: 20px; }
.fh-empty h3 { margin-bottom: 6px; }
.fh-empty p { margin-bottom: 18px; }

/* ---------- Detay ---------- */
.fh-detail { max-width: 760px; }
.fh-detail-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.fh-detail-head h2 { margin: 12px 0 6px; }
.fh-detail-head .fh-row { margin-top: 14px; }
.fh-answers { display: grid; gap: 22px; margin-bottom: 36px; }
.fh-qa h4 { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 6px; }
.fh-qa p { font-size: 1.03rem; line-height: 1.65; }
.fh-qa a, .fh-msg a { color: var(--brand); }

.fh-academic {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 18px; padding: 22px 24px; margin-bottom: 36px;
}
.fh-academic-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.fh-academic-head h3 { margin: 0; }
.fh-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-bottom: 8px; }
.fh-dl div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.fh-dl dt { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 2px; }
.fh-dl dd { font-size: .98rem; }
.fh-scores { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 16px 0; }
.fh-scores div { display: flex; justify-content: space-between; gap: 8px; font-size: .88rem; padding: 8px 12px; background: var(--bg); border-radius: 10px; }
.fh-scores strong { color: var(--brand); font-weight: 600; }
.fh-scores .fh-score-total { background: var(--brand); color: var(--on-brand); }
.fh-scores .fh-score-total strong { color: var(--on-brand); }
.fh-feedback { margin: 16px 0 10px; padding: 14px 16px; background: var(--bg); border-radius: 12px; }
.fh-feedback h4 { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 6px; }
.fh-academic-form { margin-top: 6px; }

.fh-comments h3 { margin-bottom: 14px; }
.fh-comment-list { list-style: none; display: grid; gap: 12px; margin-bottom: 18px; }
.fh-comment-list li { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.fh-comment-list li.fh-muted { background: none; border-style: dashed; }
.fh-comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .84rem; color: var(--muted); margin-bottom: 4px; }
.fh-comment-meta strong { color: var(--brand); font-weight: 600; }
.fh-comment-meta .fh-link { margin-left: auto; }
.fh-comments .fh-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }

/* ---------- Fikir formu ---------- */
.fh-form-wrap { max-width: 720px; }
.fh-note {
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 18px; padding: 20px 22px; margin-bottom: 28px;
}
.fh-note p { color: var(--muted); font-size: .97rem; }
.fh-idea-form { gap: 26px; }

/* ---------- Üyeler ---------- */
.fh-member-form { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, .9fr) auto; align-items: end; }
.fh-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.fh-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.fh-table th { text-align: left; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); background: var(--surface); }
.fh-table th, .fh-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.fh-table tr:last-child td { border-bottom: 0; }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .fh-filters { grid-template-columns: 1fr 1fr; }
  .fh-search { grid-column: span 2; }
  .fh-member-form { grid-template-columns: 1fr; }
  .fh-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .fh-panel { padding: 22px 18px; }
  .fh-grid2, .fh-dl { grid-template-columns: 1fr; }
  .fh-span2 { grid-column: auto; }
  .fh-comments .fh-form { grid-template-columns: 1fr; }
  .fh-academic { padding: 18px; }
}

/* ---------- Okumalar ---------- */
.fh-readings-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.fh-readings-head p { max-width: 640px; font-size: .95rem; }
.fh-reading-form { max-width: 760px; }
.fh-reading-form h3 { margin: 0; }
.fh-grid-reading { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 220px); gap: 14px; }
.fh-meeting { margin-bottom: 36px; max-width: 860px; }
.fh-meeting h3 {
  font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 1.45rem; color: var(--brand);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.fh-meeting-no {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--accent-ink);
}
.fh-reading-list { list-style: none; }
.fh-reading { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fh-reading:last-child { border-bottom: 0; }
.fh-reading.is-editing { opacity: .5; }
.fh-kind { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 3px; }
.fh-kind-core { color: var(--brand); }
.fh-kind-current { color: var(--accent-ink); }
.fh-reading-body { min-width: 0; }
.fh-cite { font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.fh-reading-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 8px; }
.fh-open {
  font-size: .88rem; font-weight: 500; color: var(--brand); text-decoration: none;
  border-bottom: 1px solid var(--accent); padding-bottom: 1px;
}
.fh-open:hover { color: var(--accent-ink); }
.fh-reading-tools { display: inline-flex; gap: 14px; margin-left: auto; }

@media (max-width: 760px) {
  .fh-grid-reading { grid-template-columns: 100px minmax(0, 1fr); }
  .fh-grid-reading > :last-child { grid-column: span 2; }
}
@media (max-width: 520px) {
  .fh-reading { grid-template-columns: 1fr; gap: 4px; }
  .fh-reading-tools { margin-left: 0; }
}

/* Üyeler: toplu ekleme */
.fh-bulk { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.fh-bulk summary { cursor: pointer; font-weight: 500; color: var(--brand); width: fit-content; }
.fh-bulk summary:hover { color: var(--accent-ink); }
.fh-bulk[open] summary { margin-bottom: 14px; }
.fh-bulk textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; }
