/* Rehber + öğretici + asker gönderme */
.fh-overlay { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.fh-overlay.hidden, .fh-coach.hidden { display: none; }
.fh-box { width: min(860px, 100%); height: min(620px, 100%); display: flex; flex-direction: column; background: #131316; color: #e9e9ec; border: 1px solid #2a2a30; border-radius: 16px; overflow: hidden; font: 14px/1.55 Inter, system-ui, sans-serif; }
.fh-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #2a2a30; }
.fh-head h2 { margin: 0; font: 600 17px Inter, system-ui, sans-serif; color: #fff; }
.fh-x { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #a3a3ad; cursor: pointer; flex: none; }
.fh-x:hover { background: #24242a; color: #fff; }
.fh-x svg { width: 16px; height: 16px; }
.fh-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.fh-tabs { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-right: 1px solid #2a2a30; overflow-y: auto; }
.fh-tabs button { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 0; border-radius: 9px; background: transparent; color: #a3a3ad; font: 500 13px Inter, system-ui, sans-serif; text-align: left; cursor: pointer; }
.fh-tabs button svg { width: 15px; height: 15px; flex: none; }
.fh-tabs button:hover { background: #1d1d22; color: #fff; }
.fh-tabs button.on { background: #fff; color: #000; }
.fh-body { padding: 18px 22px; overflow-y: auto; }
.fh-body h3 { margin: 0 0 10px; font: 600 19px Inter, system-ui, sans-serif; color: #fff; }
.fh-body h4 { margin: 16px 0 6px; font: 600 13px Inter, system-ui, sans-serif; color: #fff; }
.fh-body p { margin: 0 0 10px; color: #c9c9d0; }
.fh-body ul, .fh-body ol { margin: 0 0 10px; padding-left: 20px; color: #c9c9d0; }
.fh-body li { margin-bottom: 5px; }
.fh-body b { color: #fff; }
.fh-tip { padding: 10px 12px; border-radius: 10px; background: #1d1d22; border: 1px solid #2a2a30; }
.fh-num { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; }
.fh-num div { padding: 9px 10px; border-radius: 10px; background: #1d1d22; border: 1px solid #2a2a30; }
.fh-num small { display: block; font-size: 11px; color: #9a9aa3; }
.fh-num b { font-size: 15px; }
.fh-table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 13px; }
.fh-table th { text-align: left; color: #9a9aa3; font-weight: 500; }
.fh-table th, .fh-table td { padding: 6px 8px; border-bottom: 1px solid #26262c; color: #d6d6dc; }
.fh-foot { padding: 12px 18px; border-top: 1px solid #2a2a30; }
.fh-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #34343b; border-radius: 9px; background: transparent; color: #e9e9ec; font: 500 13px Inter, system-ui, sans-serif; cursor: pointer; }
.fh-btn svg { width: 14px; height: 14px; }
.fh-btn:hover { background: #24242a; }
.fh-btn.primary { background: #fff; border-color: #fff; color: #000; }
.fh-btn.primary:hover { background: #ddd; }

.fh-coach { position: fixed; left: 84px; bottom: 18px; z-index: 800; width: 300px; padding: 12px 14px 14px; background: rgba(19,19,22,.97); color: #e9e9ec; border: 1px solid #34343b; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.5); font: 13px/1.5 Inter, system-ui, sans-serif; }
.fh-c-top { display: flex; align-items: center; justify-content: space-between; }
.fh-c-top small { color: #9a9aa3; font-size: 11px; }
.fh-c-bar { height: 3px; margin: 4px 0 10px; border-radius: 3px; background: #2a2a30; overflow: hidden; }
.fh-c-bar i { display: block; height: 100%; background: #fff; }
.fh-coach h4 { margin: 0 0 4px; font: 600 14px Inter, system-ui, sans-serif; color: #fff; }
.fh-coach p { margin: 0 0 10px; color: #c9c9d0; }
.fh-coach b { color: #fff; }
.fh-c-acts { display: flex; gap: 6px; }

body:has(#v6-panel.open) .fh-coach { left: 420px; }

/* Bilgi kartı */
.sc-why { margin: 6px 0; padding: 7px 10px; border-radius: 8px; background: rgba(245,197,66,.1); border: 1px solid rgba(245,197,66,.3); color: #f0d98a; font-size: 12px; line-height: 1.4; }
.sc-select { flex: 1; min-width: 0; padding: 6px 8px; border: 1px solid #3a3a42; border-radius: 8px; background: #1a1a1e; color: #eee; font: 12px Inter, system-ui, sans-serif; }
#sel-card .sc-note:empty { display: none; }
#sel-layer path.send-opt { fill: rgba(255,255,255,.14); stroke: rgba(255,255,255,.75); stroke-width: 1.2; vector-effect: non-scaling-stroke; pointer-events: none; }
#sel-layer path.send-opt.on { fill: rgba(255,255,255,.34); stroke: #fff; stroke-width: 2.2; }

@media (max-width: 760px) {
  .fh-main { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .fh-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid #2a2a30; }
  .fh-tabs button { flex: none; }
  .fh-body { padding: 14px 16px; }
  .fh-num { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body:has(#v6-panel.open) .fh-coach { left: 10px; }
  .fh-coach { left: 10px; right: 10px; width: auto; bottom: auto; top: 108px; padding: 9px 11px 11px; font-size: 12px; }
  .fh-coach p { margin-bottom: 7px; }
  body:has(#sel-card:not(.hidden)) .fh-coach p,
  body:has(#sel-card:not(.hidden)) .fh-coach .fh-c-acts { display: none; }
  body:has(#sel-card:not(.hidden)) .fh-coach h4 { margin: 0; font-size: 12px; }
}
