/* 1on1 とフィードバック。style.css・flow.css・fm.css の上に重ねる（接頭辞 fb-。よいは緑、よくないは赤、場合によるは琥珀） */
.fb-lead { margin: 0 0 10px; font-size: 13.5px; color: var(--ink2); max-width: 56em; }
.fb-intro { margin: 10px 0; font-size: 13.5px; color: var(--ink2); background: var(--paper); border: 1px solid var(--line); border-left: 4px solid #0d9488; border-radius: 10px; padding: 9px 12px; max-width: 64em; }
.fb-score { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--ink2); }
.fb-inl { display: block; margin-top: 4px; }
.fb-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fb-k { margin: 0; font: 600 12px var(--latin); color: var(--muted); }
.fb-ph { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.fb-why { margin: 8px 0 0; font-size: 13px; color: var(--ink2); }
.fb-fb { margin: 0; font-size: 12.5px; border-radius: 8px; padding: 6px 10px; background: var(--line2); color: var(--ink2); }
.fb-fb.good { background: #f0fdf4; color: #14532d; }
.fb-fb.bad { background: #fef2f2; color: #7f1d1d; }
.fb-fb .srcl, .fb-checks .srcl, .fb-eval .srcl { color: inherit; opacity: .85; }

/* 議題を組み立てる */
.fb-agenda { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.fb-cands { display: grid; gap: 6px; min-width: 0; }
.fb-cand { appearance: none; font: inherit; width: 100%; text-align: left; cursor: pointer; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 7px 10px; color: var(--ink); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.fb-cand:hover { border-color: #94a3b8; }
.fb-cand[aria-pressed="true"] { background: #0f172a; border-color: #0f172a; color: #fff; }
.fb-cand[aria-pressed="true"] .fb-min { color: #cbd5e1; }
.fb-cn { font-size: 13px; min-width: 0; }
.fb-min { font: 600 12px var(--latin); color: var(--muted); white-space: nowrap; }
.fb-who { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.fb-who.leader { background: #e0e7ff; color: #3730a3; }
.fb-who.member { background: #dcfce7; color: #166534; }
.fb-who.both { background: #e2e8f0; color: #334155; }
.fb-plan { padding: 12px 14px; position: sticky; top: 12px; min-width: 0; }
.fb-plan h3 { margin: 0 0 6px; font-size: 14px; }
.fb-list { margin: 0; padding-left: 1.4em; display: grid; gap: 4px; }
.fb-list li { font-size: 13px; }
.fb-list li > span { margin-right: 6px; }
.fb-bar { position: relative; display: flex; height: 12px; margin: 10px 0 4px; background: #f1f5f9; border-radius: 6px; overflow: hidden; }
.fb-bar i { display: block; height: 100%; border-right: 2px solid #fff; }
.fb-bar i.leader, .fb-key i.leader { background: #818cf8; }
.fb-bar i.member, .fb-key i.member { background: #4ade80; }
.fb-bar i.both, .fb-key i.both { background: #94a3b8; }
.fb-bar b { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed #0f172a; }
.fb-total { margin: 0; font: 600 12.5px var(--latin); color: var(--ink2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.fb-total.over { color: #b91c1c; }
.fb-key { font: 500 11.5px var(--sans); color: var(--muted); display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.fb-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 3px; vertical-align: -1px; }
.fb-checks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; }
.fb-checks li { border-radius: 8px; padding: 5px 9px; }
.fb-checks li.good { background: #f0fdf4; color: #14532d; }
.fb-checks li.bad { background: #fef2f2; color: #7f1d1d; }
.fb-checks li.mid { background: #fffbeb; color: #78350f; }
.fb-note { margin: 6px 0 0; font-size: 12.5px; color: #78350f; background: #fffbeb; border-radius: 8px; padding: 5px 9px; }

/* GROW */
.fb-grow { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fb-gstep { appearance: none; width: 100%; height: 100%; font: inherit; text-align: left; cursor: pointer; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 8px 10px; color: var(--ink); display: flex; gap: 9px; align-items: center; }
.fb-gstep:hover { border-color: #94a3b8; }
.fb-gstep b { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font: 600 16px var(--latin); background: #e2e8f0; color: #334155; }
.fb-gstep span { display: flex; flex-direction: column; font: 600 13px var(--latin); min-width: 0; }
.fb-gstep small { font: 500 11.5px var(--sans); color: var(--muted); }
.fb-gstep.on { background: #0f172a; border-color: #0f172a; color: #fff; }
.fb-gstep.on b { background: #0d9488; color: #fff; }
.fb-gstep.on small { color: #cbd5e1; }
.fb-growpanel { padding: 12px 14px; }
.fb-growpanel h3 { margin: 4px 0 8px; font-size: 17px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.fb-growpanel h3 small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.fb-gsay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.fb-nav { margin-top: 10px; display: flex; justify-content: space-between; gap: 8px; }
.fb-nav button { appearance: none; font: inherit; font-size: 12.5px; font-weight: 700; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px 12px; cursor: pointer; color: var(--ink2); }
.fb-nav button:hover:not([disabled]) { border-color: #94a3b8; }
.fb-nav button[disabled] { opacity: .4; cursor: default; }

/* 記録 */
.fb-rec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.fb-reccards { display: grid; gap: 10px; min-width: 0; }
.fb-recex { padding: 12px 14px; background: #fffef9; border-color: #e7e2cf; min-width: 0; }
.fb-recex h3 { margin: 0 0 8px; font-size: 14px; }
.fb-recdl { margin: 0; display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 5px 10px; font-size: 12.5px; }
.fb-recdl dt { font-weight: 700; color: var(--muted); }
.fb-recdl dd { margin: 0; color: var(--ink); }

/* SBI を組み立てる */
.fb-compose { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 12px; align-items: start; }
.fb-parts { display: grid; gap: 8px; min-width: 0; }
.fb-part { margin: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 8px 10px 10px; min-width: 0; }
.fb-part legend { font-size: 13px; font-weight: 700; padding: 0 4px; display: flex; align-items: center; gap: 6px; }
.fb-part legend i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font: 600 11px var(--latin); background: #e2e8f0; color: #334155; }
.fb-popts { display: grid; gap: 5px; }
.fb-popt { appearance: none; font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; border: 1px solid var(--line); background: var(--paper); border-radius: 9px; padding: 6px 10px; color: var(--ink); line-height: 1.5; }
.fb-popt:hover { border-color: #94a3b8; }
.fb-popt[aria-pressed="true"] { background: #0f172a; border-color: #0f172a; color: #fff; }
.fb-pfb { margin: 6px 0 0; font-size: 12px; }
.fb-pfb:empty { display: none; }
.fb-pfb span { display: block; border-radius: 8px; padding: 4px 9px; }
.fb-pfb .good { background: #f0fdf4; color: #14532d; }
.fb-pfb .bad { background: #fef2f2; color: #7f1d1d; }
.fb-pfb .mid { background: #fffbeb; color: #78350f; }
.fb-msg { padding: 12px 14px; position: sticky; top: 12px; min-width: 0; }
.fb-msg h3 { margin: 0 0 6px; font-size: 14px; }
.fb-mail { margin: 0; font-size: 13.5px; line-height: 1.75; background: #f8fafc; border: 1px solid var(--line2); border-radius: 8px; padding: 8px 10px; overflow-wrap: anywhere; }
.fb-blank { color: #94a3b8; }
.fb-eval { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; }
.fb-eval li { border-radius: 8px; padding: 5px 9px; }
.fb-eval li b { display: block; font-size: 12px; }
.fb-eval li.good { background: #f0fdf4; color: #14532d; }
.fb-eval li.bad { background: #fef2f2; color: #7f1d1d; }
.fb-eval li.mid { background: #fffbeb; color: #78350f; }

/* 言い換え */
.fb-reph { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: start; }
.fb-rp { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; }
.fb-rp .say { width: 100%; }
.fb-rp.open { border-color: #86efac; }
.fb-rpgood { width: 100%; }
.fb-rpgood .fb-why { margin-top: 6px; }

/* パワハラの線引き */
.fb-elems { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.fb-elem { flex: 1 1 200px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; gap: 8px; align-items: center; min-width: 0; }
.fb-elem b { flex: none; font: 600 18px var(--latin); color: #0d9488; }
.fb-elem span { font-size: 13.5px; font-weight: 700; }
.fb-and { align-self: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.fb-types tbody th { white-space: nowrap; }
.fb-hq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fb-hqi { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fb-hqi > p:first-child { margin: 0; font-size: 13.5px; color: var(--ink); }
.fb-hqi.ok { border-color: #86efac; }
.fb-hqi.ng { border-color: #fca5a5; }
.fb-hqopts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.fb-hqopt { appearance: none; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; border: 1px solid var(--line); background: var(--paper); border-radius: 9px; padding: 6px 8px; color: var(--ink2); line-height: 1.4; }
.fb-hqopt:hover { border-color: #94a3b8; color: var(--ink); }
.fb-hqopt[aria-pressed="true"] { background: #0f172a; border-color: #0f172a; color: #fff; }
.fb-quote { border-radius: 8px; padding: 7px 10px; font-size: 12.5px; }
.fb-quote.yes { background: #fef2f2; border-left: 3px solid #dc2626; color: #7f1d1d; }
.fb-quote.no { background: #f0fdf4; border-left: 3px solid #16a34a; color: #14532d; }
.fb-qh { margin: 0 0 3px; font-weight: 700; }
.fb-hqi .fb-fb { font-weight: 700; }
.fb-quote blockquote { margin: 0; }

/* 評価の面談との違い */
.fb-evaltable thead th:not(:first-child) { color: var(--ink); font-size: 12.5px; }
.fb-evaltable tbody th { white-space: nowrap; color: var(--muted); }
.fb-quiz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fb-qz { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fb-qz > p:first-child { margin: 0; font-size: 13.5px; color: var(--ink); }
.fb-qz.ok { border-color: #86efac; }
.fb-qz.ng { border-color: #fca5a5; }

.fb-cand:focus-visible, .fb-gstep:focus-visible, .fb-nav button:focus-visible, .fb-popt:focus-visible, .fb-hqopt:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
@media (min-width: 1101px) { .fb-pfb { display: none; } }
@media (max-width: 1100px) {
  .fb-compose { grid-template-columns: minmax(0, 1fr); }
  .fb-msg { position: static; }
  .fb-reph, .fb-quiz { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .fb-agenda, .fb-rec, .fb-gsay, .fb-hq, .fb-reph, .fb-quiz { grid-template-columns: minmax(0, 1fr); }
  .fb-plan { position: static; }
  .fb-grow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-recdl { grid-template-columns: minmax(0, 1fr); gap: 1px 0; }
  .fb-recdl dd { margin-bottom: 5px; }
  .fb-and { width: 100%; text-align: center; }
  .fb-hqopts { grid-template-columns: minmax(0, 1fr); }
  .fb-stack thead { display: none; }
  .fb-stack tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line2); }
  .fb-stack th, .fb-stack td { display: block; border: 0; padding: 2px 2px; }
  .fb-stack td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; color: var(--muted); }
}
