
/* Consulta baseada em evidências — UnespDataLens-RM */
.why-panel,
.pipeline-qa-section {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,42,82,.06);
}
.why-panel { padding: 0; overflow: hidden; }
.why-panel summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 17px 18px; cursor: pointer; list-style: none;
}
.why-panel summary::-webkit-details-marker { display: none; }
.why-panel summary strong { color: var(--blue); font-size: 1.05rem; }
.why-panel summary span { color: var(--muted); font-size: .82rem; }
.why-panel[open] summary { border-bottom: 1px solid var(--border); }
.why-panel-body { padding: 18px; }
.why-thesis {
  margin: 0 0 16px; padding: 16px 18px; border-left: 5px solid var(--blue-2);
  border-radius: 12px; background: var(--blue-3); color: var(--navy); font-weight: 700;
}
.why-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0;
}
.why-compare article {
  padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: #f9fbfd;
}
.why-compare article:last-child { background: #effaf5; border-color: #c7e9d9; }
.why-compare h4 { margin: 0 0 8px; color: var(--blue); }
.why-compare p { margin: 0; color: var(--muted); font-size: .9rem; }
.why-points {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px;
}
.why-points div {
  padding: 13px; border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
.why-points strong { display:block; color: var(--blue); font-size: .85rem; margin-bottom: 4px; }
.why-points span { color: var(--muted); font-size: .78rem; }

.pipeline-qa-section { padding: 18px; }
.qa-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px;
}
.qa-head h2 { margin: 2px 0 5px; color: var(--blue); font-size: 1.3rem; }
.qa-head p { margin: 0; color: var(--muted); font-size: .86rem; max-width: 780px; }
.qa-mode {
  flex: 0 0 auto; padding: 6px 10px; border: 1px solid #c4e5d5; border-radius: 999px;
  color: #116544; background: #effaf5; font-size: .72rem; font-weight: 800;
}
.qa-form { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.qa-form input {
  width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #bfd5e7;
  border-radius: 12px; background: #fff; color: var(--ink); font: inherit;
}
.qa-form input:focus { outline: 3px solid rgba(0,87,168,.10); border-color: var(--blue-2); }
.qa-submit {
  padding: 10px 15px; border: 0; border-radius: 12px; color: #fff;
  background: var(--blue); font: inherit; font-weight: 800; cursor: pointer;
}
.qa-suggestions { display: flex; gap: 7px; flex-wrap: wrap; margin: 11px 0 2px; }
.qa-suggestions button {
  padding: 7px 9px; border: 1px solid #cfdeeb; border-radius: 999px;
  color: var(--blue); background: #f8fbfe; font-size: .72rem; cursor: pointer;
}
.qa-suggestions button:hover { background: var(--blue-3); }
.qa-answer-card {
  margin-top: 15px; padding: 17px; border: 1px solid #cbddec; border-radius: 15px; background: #fbfdff;
}
.qa-answer-question {
  margin-bottom: 8px; color: var(--muted); font-size: .78rem;
}
.qa-answer-card h3 { margin: 0 0 10px; color: var(--blue); font-size: 1.06rem; }
.qa-answer-body { color: var(--ink); font-size: .9rem; }
.qa-answer-body p { margin: 8px 0 11px; }
.qa-answer-body ul, .qa-answer-body ol { margin: 8px 0 12px; padding-left: 22px; }
.qa-answer-body code { font-size: .82em; }
.qa-modules {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed #cbddec; font-size: .78rem;
}
.qa-modules span {
  padding: 4px 7px; border-radius: 999px; color: #4d3887; background: #f2effc; font-weight: 800;
}
.qa-evidence { margin-top: 14px; }
.qa-evidence h4 { margin: 0 0 8px; color: var(--blue); }
.qa-evidence-item {
  display: grid; grid-template-columns: 28px 1fr; gap: 9px; align-items: start;
  width: 100%; margin: 6px 0; padding: 10px; border: 1px solid var(--border);
  border-radius: 11px; background: #fff; text-align: left; cursor: pointer;
}
.qa-evidence-item:hover { border-color: #9fc5e7; background: #f8fbfe; }
.qa-evidence-num {
  display: grid; width: 26px; height: 26px; place-items: center; border-radius: 8px;
  color: #fff; background: var(--blue); font-size: .72rem; font-weight: 800;
}
.qa-evidence-item strong, .qa-evidence-item small, .qa-evidence-item code { display: block; }
.qa-evidence-item strong { color: var(--blue); font-size: .82rem; }
.qa-evidence-item small { margin: 2px 0; color: var(--muted); font-size: .72rem; }
.qa-evidence-item code { overflow-wrap: anywhere; font-size: .67rem; }
.qa-evidence-view {
  margin-top: 10px; border: 1px solid #cadbea; border-radius: 12px; overflow: hidden; background: #0f1922;
}
.qa-evidence-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 11px; background: #eaf4ff; color: var(--blue);
}
.qa-evidence-head button {
  border: 1px solid #b9d2e7; border-radius: 8px; padding: 5px 8px; background: #fff; color: var(--blue); cursor: pointer;
}
.qa-evidence-view pre {
  max-height: 420px; margin: 0; padding: 13px; overflow: auto; color: #eef6fb; background: #0f1922; font-size: .73rem;
}
.qa-table-wrap { max-width:100%; overflow:auto; margin:10px 0; border:1px solid var(--border); border-radius:10px; }
.qa-table { width:100%; border-collapse:collapse; background:#fff; font-size:.78rem; }
.qa-table th { background:var(--blue); color:#fff; text-align:left; }
.qa-table th, .qa-table td { padding:8px 9px; border:1px solid var(--border); vertical-align:top; }
.qa-lineage { display:grid; gap:5px; margin:10px 0; }
.qa-lineage-edge {
  display:grid; grid-template-columns:minmax(160px,1fr) auto minmax(160px,1fr);
  gap:7px; align-items:center; padding:8px; border:1px solid var(--border); border-radius:9px; background:#fff;
}
.qa-lineage-edge span { color:var(--muted); font-size:.7rem; text-align:center; }
.qa-lineage-edge code { overflow-wrap:anywhere; font-size:.7rem; }

@media (max-width: 950px) {
  .why-compare, .why-points { grid-template-columns: 1fr; }
  .qa-form { grid-template-columns: 1fr; }
  .qa-lineage-edge { grid-template-columns: 1fr; }
  .qa-lineage-edge span { text-align:left; }
}

/* M16 Evidence-RAG — V8.5 */
.m16-runtime {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:12px 0 4px;
}
.m16-runtime div {
  padding:10px 11px;
  border:1px solid #d2e1ed;
  border-radius:11px;
  background:#f8fbfe;
}
.m16-runtime span { display:block; color:var(--muted); font-size:.68rem; }
.m16-runtime strong { display:block; margin-top:2px; color:var(--blue); font-size:.82rem; }
.qa-mode.rag { border-color:#d8caef; color:#4d3887; background:#f4f0fc; }
.qa-mode-sub { display:block; margin-top:4px; color:var(--muted); font-size:.67rem; text-align:right; }
.rag-status-line {
  display:flex; gap:7px; align-items:center; flex-wrap:wrap;
  margin:8px 0 10px;
}
.rag-status-line span,
.rag-status-line b,
.rag-status-line em {
  padding:4px 8px; border-radius:999px; font-size:.67rem; font-style:normal;
}
.rag-status-line span { color:#fff; background:#4d3887; }
.rag-status-line b { color:#116544; background:#e8f7f0; }
.rag-status-line em { color:#51616e; background:#eef3f7; }
.rag-fact-block {
  margin:9px 0;
  padding:11px;
  border:1px solid #d6e3ee;
  border-radius:11px;
  background:#fff;
}
.rag-fact-block > div {
  display:flex; gap:7px; align-items:center; flex-wrap:wrap; margin-bottom:6px;
}
.rag-fact-block > div span {
  padding:3px 6px; border-radius:7px; color:#fff; background:#4d3887; font-size:.65rem; font-weight:800;
}
.rag-fact-block > div strong { color:var(--blue); font-size:.8rem; }
.rag-fact-block > div em { margin-left:auto; color:var(--muted); font-size:.65rem; font-style:normal; }
.rag-fact-block ul { margin:4px 0 0; padding-left:20px; }
.rag-fact-block li { margin:4px 0; font-size:.76rem; }
.rag-evidence-list { margin-top:14px; }
.rag-evidence-list h4 { margin:0 0 7px; color:var(--blue); }
.rag-evidence-item {
  display:grid;
  grid-template-columns:28px 1fr;
  gap:8px;
  width:100%;
  margin:5px 0;
  padding:9px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.rag-evidence-item:hover { border-color:#9fc5e7; background:#f8fbfe; }
.rag-evidence-item > span {
  display:grid; width:26px; height:26px; place-items:center;
  border-radius:8px; color:#fff; background:var(--blue); font-size:.68rem; font-weight:800;
}
.rag-evidence-item strong,
.rag-evidence-item small,
.rag-evidence-item code { display:block; }
.rag-evidence-item strong { color:var(--blue); font-size:.78rem; }
.rag-evidence-item small { color:var(--muted); font-size:.66rem; }
.rag-evidence-item code { overflow-wrap:anywhere; font-size:.64rem; }
.rag-query-record {
  display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
  margin-top:12px; padding:9px 10px; border:1px dashed #c7d9e8; border-radius:10px; background:#f8fbfe;
  font-size:.72rem;
}
.rag-query-record button {
  padding:6px 9px; border:1px solid #b9d2e7; border-radius:8px;
  color:var(--blue); background:#fff; font:inherit; font-weight:700; cursor:pointer;
}
.m16-open-button {
  display:inline-flex; align-items:center; gap:6px; margin-top:8px;
  padding:7px 10px; border:1px solid #d8caef; border-radius:9px;
  color:#4d3887; background:#f4f0fc; font-size:.72rem; font-weight:800; cursor:pointer;
}

@media (max-width: 950px) {
  .m16-runtime { grid-template-columns:1fr 1fr; }
}

/* Perguntas livres e catálogo de sugestões — V8.6 */
.qa-free-label {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin:12px 0 8px;
  padding:10px 12px;
  border:1px solid #c9dcec;
  border-radius:11px;
  background:#f8fbfe;
}
.qa-free-label strong { color:var(--blue); font-size:.82rem; }
.qa-free-label span { color:var(--muted); font-size:.72rem; text-align:right; max-width:620px; }
.qa-suggestion-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:12px 0 4px;
}
.qa-suggestion-heading strong { color:var(--blue); font-size:.8rem; }
.qa-suggestion-heading span { color:var(--muted); font-size:.68rem; }
.qa-suggestions-primary { margin-top:6px; }
.qa-more-questions {
  margin-top:11px;
  border:1px solid #d6e3ee;
  border-radius:12px;
  background:#fbfdff;
  overflow:hidden;
}
.qa-more-questions summary {
  cursor:pointer;
  list-style:none;
  padding:10px 12px;
  color:var(--blue);
  font-size:.76rem;
  font-weight:800;
  background:#f4f9fd;
}
.qa-more-questions summary::-webkit-details-marker { display:none; }
.qa-more-questions summary::after { content:" +"; }
.qa-more-questions[open] summary::after { content:" −"; }
.qa-question-groups {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  padding:12px;
}
.qa-question-groups section {
  padding:11px;
  border:1px solid #dbe6ef;
  border-radius:10px;
  background:#fff;
}
.qa-question-groups h4 {
  margin:0 0 8px;
  color:var(--blue);
  font-size:.76rem;
}
.qa-question-groups button {
  display:block;
  width:100%;
  margin:5px 0;
  padding:7px 8px;
  border:1px solid #d1e0eb;
  border-radius:8px;
  background:#f9fbfd;
  color:#174b76;
  text-align:left;
  font-size:.7rem;
  cursor:pointer;
}
.qa-question-groups button:hover {
  background:#edf6fd;
  border-color:#9fc5e7;
}

@media (max-width: 950px) {
  .qa-free-label,
  .qa-suggestion-heading { flex-direction:column; }
  .qa-free-label span,
  .qa-suggestion-heading span { text-align:left; }
  .qa-question-groups { grid-template-columns:1fr; }
}

/* Explicação científica do UnespDataLens-RM — V8.8 */
.why-panel-expanded summary {
  padding:18px 20px;
  background:linear-gradient(135deg,#f7fbff,#eef6fd);
}
.why-panel-expanded summary > div { display:flex; flex-direction:column; gap:3px; }
.why-panel-expanded summary .eyebrow { font-size:.68rem; letter-spacing:.08em; }
.why-panel-expanded summary strong { font-size:1.18rem; }
.why-longform { display:grid; gap:16px; }
.why-intro-grid {
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);
  gap:14px;
  align-items:stretch;
}
.why-intro-grid > div { min-width:0; }
.why-intro-grid > div > p:not(.why-thesis) {
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.58;
}
.why-highlight {
  padding:16px;
  border:1px solid #c9e5d7;
  border-radius:14px;
  background:#f0faf5;
}
.why-highlight span {
  display:block;
  color:#19724e;
  font-size:.68rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.why-highlight strong {
  display:block;
  margin:5px 0 7px;
  color:#0d573a;
  font-size:1.05rem;
}
.why-highlight p { margin:0; color:#43685a; font-size:.8rem; line-height:1.5; }

.why-section {
  padding:18px;
  border:1px solid #d8e5ef;
  border-radius:15px;
  background:#fff;
}
.why-section-head {
  display:grid;
  grid-template-columns:34px 1fr;
  gap:11px;
  align-items:start;
  margin-bottom:12px;
}
.why-section-head > span {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:10px;
  color:#fff;
  background:var(--blue);
  font-size:.8rem;
  font-weight:900;
}
.why-section-head h3 {
  margin:0 0 3px;
  color:var(--blue);
  font-size:1.02rem;
}
.why-section-head p {
  margin:0;
  color:var(--muted);
  font-size:.78rem;
  line-height:1.45;
}
.why-section > p {
  color:#415463;
  line-height:1.58;
  font-size:.84rem;
}
.why-quote {
  margin:12px 0;
  padding:14px 16px;
  border-left:5px solid var(--blue-2);
  border-radius:10px;
  background:#f4f9fd;
  color:#173d5e;
  font-size:.86rem;
  line-height:1.58;
}
.why-quote.contribution {
  background:#f1f8ff;
  border-color:#4c91c8;
}
.why-evolution-card {
  display:grid;
  grid-template-columns:minmax(280px,.9fr) minmax(0,1.2fr);
  gap:14px;
  padding:14px;
  border:1px solid #d3e2ee;
  border-radius:13px;
  background:#fbfdff;
}
.why-evolution-card small {
  display:block;
  margin-bottom:7px;
  color:var(--muted);
  font-weight:700;
}
.why-evolution-card pre,
.why-contribution-grid pre {
  margin:0;
  padding:12px;
  border-radius:10px;
  overflow:auto;
  color:#eef6fb;
  background:#0f1922;
  font-size:.74rem;
  line-height:1.45;
}
.why-evolution-card p {
  margin:0;
  align-self:center;
  color:#415463;
  line-height:1.58;
  font-size:.82rem;
}
.why-function-grid,
.why-contribution-grid,
.why-evidence-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.why-function-grid article,
.why-contribution-grid article,
.why-evidence-grid article {
  padding:13px;
  border:1px solid #dce7ef;
  border-radius:12px;
  background:#fbfdff;
}
.why-function-grid b { color:var(--blue); font-size:.82rem; }
.why-function-grid p,
.why-contribution-grid p {
  margin:5px 0 0;
  color:var(--muted);
  font-size:.76rem;
  line-height:1.48;
}
.why-compare-flow {
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:12px;
  align-items:center;
  margin-top:13px;
}
.why-compare-flow > div {
  padding:13px;
  border:1px solid #d3e2ee;
  border-radius:11px;
  background:#f8fbfe;
  text-align:center;
}
.why-compare-flow > div:last-child { background:#f0faf5; border-color:#c9e5d7; }
.why-compare-flow span,
.why-compare-flow strong,
.why-compare-flow small { display:block; }
.why-compare-flow span { color:var(--muted); font-size:.68rem; text-transform:uppercase; font-weight:800; }
.why-compare-flow strong { margin:4px 0; color:var(--blue); font-size:.86rem; }
.why-compare-flow small { color:var(--muted); font-size:.68rem; }
.why-compare-flow > b { color:#6a7c8a; font-size:.75rem; }

.why-metric-grid {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.why-metric-grid span {
  padding:7px 9px;
  border:1px solid #ccdeeb;
  border-radius:999px;
  background:#f8fbfe;
  color:#174b76;
  font-size:.7rem;
  font-weight:700;
}
.why-contribution-grid article > span {
  display:block;
  margin-bottom:7px;
  color:#4d3887;
  font-size:.72rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.why-card-emphasis {
  display:block;
  margin-top:12px;
  padding:10px;
  border-radius:9px;
  background:#f1eefb;
  color:#4d3887;
  font-size:.78rem;
}
.why-verifiable { background:linear-gradient(180deg,#fff,#f8fcff); }
.why-verifiable-question {
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  margin-bottom:12px;
  border-radius:11px;
  background:#0b4f80;
  color:#fff;
}
.why-verifiable-question span {
  padding:4px 7px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  font-size:.66rem;
  font-weight:800;
  text-transform:uppercase;
}
.why-verifiable-question strong { font-size:.9rem; }
.why-evidence-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.why-evidence-grid article {
  display:flex;
  flex-direction:column;
  gap:6px;
}
.why-evidence-grid small {
  color:var(--muted);
  font-size:.64rem;
  font-weight:900;
}
.why-evidence-grid b { color:#173d5e; font-size:.78rem; }
.why-evidence-grid span {
  margin-top:4px;
  color:#19724e;
  font-size:.64rem;
  font-weight:900;
}
.why-evidence-grid code {
  overflow-wrap:anywhere;
  color:#4d3887;
  font-size:.68rem;
}
.why-final-statement {
  margin:13px 0 0 !important;
  padding:13px 15px;
  border-left:5px solid #16805a;
  border-radius:10px;
  background:#eef9f4;
  color:#245c48 !important;
}
.why-flow {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin:10px 0 12px;
}
.why-flow span {
  padding:7px 9px;
  border:1px solid #d2e1ed;
  border-radius:9px;
  background:#f8fbfe;
  color:var(--blue);
  font-size:.72rem;
  font-weight:800;
}
.why-flow b { color:#7d8c98; }
.why-instance-role { background:#fbfdff; }

@media (max-width: 980px) {
  .why-intro-grid,
  .why-evolution-card,
  .why-function-grid,
  .why-contribution-grid,
  .why-evidence-grid { grid-template-columns:1fr; }
  .why-compare-flow { grid-template-columns:1fr; }
  .why-compare-flow > b { text-align:center; }
}

/* Fundamentação científica central — V8.9 */
.why-central-section {
  position:relative;
  overflow:hidden;
  border:2px solid #a9cce7;
  box-shadow:0 12px 30px rgba(0,61,108,.10);
  background:#fff;
}
.why-central-section::before {
  content:"";
  display:block;
  height:5px;
  background:linear-gradient(90deg,#0057a8,#337fb8,#16805a);
}
.why-central-head {
  padding:24px 24px 20px;
  text-align:center;
  border-bottom:1px solid #d8e5ef;
  background:linear-gradient(180deg,#eef7ff 0%,#f8fbfe 100%);
}
.why-central-kicker {
  display:inline-block;
  margin-bottom:7px;
  padding:5px 9px;
  border-radius:999px;
  background:#dcecff;
  color:#0b5f9f;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.why-central-head h2 {
  margin:0;
  color:#003f73;
  font-size:1.55rem;
  line-height:1.15;
}
.why-central-head p {
  max-width:760px;
  margin:8px auto 0;
  color:#526777;
  font-size:.86rem;
  line-height:1.5;
}
.why-central-section .why-panel-body {
  padding:22px;
}
.why-central-section .why-thesis {
  font-size:.94rem;
  line-height:1.55;
}
.why-central-section .why-section {
  box-shadow:0 4px 14px rgba(0,42,82,.035);
}

@media (max-width: 950px) {
  .why-central-head { padding:20px 16px 17px; }
  .why-central-head h2 { font-size:1.3rem; }
  .why-central-section .why-panel-body { padding:14px; }
}

/* Navegação científica pelo menu lateral — V9.0 */
.instance-view-menu {
  margin-bottom:8px;
  padding-bottom:8px;
  border-bottom:1px solid #dce7ef;
}
.instance-view-button .menu-id.info {
  color:#fff;
  background:#0b5f9f;
}
.instance-view-button.active {
  border-color:#8dbde2 !important;
  background:#eaf4ff !important;
  box-shadow:inset 3px 0 0 #0b5f9f;
}
.instance-view-button.active .menu-name {
  color:#003f73;
  font-weight:800;
}

/* Quando a fundamentação científica é selecionada, ela ocupa a área central
   e o painel direito deixa de competir visualmente com o conteúdo. */
.instance-workspace.why-view-active {
  grid-template-columns:
    var(--v8-sidebar-width)
    var(--v8-splitter-width)
    minmax(620px,1fr);
}
.instance-workspace.why-view-active .inspector-splitter,
.instance-workspace.why-view-active .instance-detail {
  display:none !important;
}
.instance-workspace.why-view-active .instance-canvas {
  grid-column:3;
}
.instance-workspace.sidebar-collapsed.why-view-active {
  grid-template-columns:minmax(620px,1fr);
}
.instance-workspace.sidebar-collapsed.why-view-active .instance-canvas {
  grid-column:1;
}
.instance-workspace.why-view-active .why-central-section {
  margin:0;
}
.instance-workspace.why-view-active .why-panel-body {
  max-width:1180px;
  margin:0 auto;
}
.instance-workspace.why-view-active .why-central-head {
  padding-top:28px;
  padding-bottom:24px;
}
.instance-workspace.why-view-active .why-central-head h2 {
  font-size:1.75rem;
}

@media (max-width:1320px) {
  .instance-workspace.why-view-active,
  .instance-workspace.sidebar-collapsed.why-view-active {
    grid-template-columns:minmax(0,1fr);
  }
  .instance-workspace.why-view-active .instance-canvas {
    grid-column:1;
  }
}

/* Hipótese, Objetivos e Contribuições — V9.1 */
.why-source-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:12px;
  padding:7px 10px;
  border:1px solid #b9d2e7;
  border-radius:9px;
  background:#fff;
  color:#0b5f9f;
  font-size:.72rem;
  font-weight:800;
  text-decoration:none;
}
.why-source-link:hover { background:#edf7ff; }

.why-problem-grid,
.why-hypothesis-grid,
.why-objectives-grid,
.why-evaluation-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.why-problem-grid article,
.why-hypothesis-grid article,
.why-objectives-grid article,
.why-evaluation-grid article {
  padding:13px;
  border:1px solid #dce7ef;
  border-radius:12px;
  background:#fbfdff;
}
.why-problem-grid b,
.why-evaluation-grid b {
  display:block;
  color:var(--blue);
  font-size:.8rem;
}
.why-problem-grid p,
.why-evaluation-grid p,
.why-objectives-grid p,
.why-hypothesis-grid p {
  margin:5px 0 0;
  color:var(--muted);
  font-size:.75rem;
  line-height:1.48;
}
.why-hypothesis-grid article > span,
.why-objectives-grid article > span {
  display:block;
  margin-bottom:6px;
  color:#4d3887;
  font-size:.66rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.why-hypothesis-grid strong {
  display:block;
  color:#173d5e;
  font-size:.83rem;
  line-height:1.38;
}
.why-objective-statement {
  margin:0 !important;
  padding:16px 18px;
  border-left:5px solid #0b5f9f;
  border-radius:11px;
  background:#f1f8ff;
  color:#173d5e !important;
  font-size:.9rem !important;
  line-height:1.6 !important;
}
.why-refinement-note {
  margin:13px 0 0 !important;
  padding:11px 13px;
  border-radius:10px;
  background:#f8fbfe;
}
.why-contribution-potential {
  border-style:dashed !important;
  background:#faf8ff !important;
}
.why-evaluation-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.why-experiment-box {
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:12px;
  align-items:center;
  margin:14px 0 12px;
}
.why-experiment-box > div {
  padding:13px;
  border:1px solid #d3e2ee;
  border-radius:11px;
  background:#f8fbfe;
  text-align:center;
}
.why-experiment-box > div:last-child {
  background:#f0faf5;
  border-color:#c9e5d7;
}
.why-experiment-box span,
.why-experiment-box strong { display:block; }
.why-experiment-box span {
  color:var(--muted);
  font-size:.66rem;
  font-weight:900;
  text-transform:uppercase;
}
.why-experiment-box strong {
  margin-top:4px;
  color:var(--blue);
  font-size:.82rem;
}
.why-experiment-box > b {
  color:#6a7c8a;
  font-size:.72rem;
}
.why-hypothesis { background:linear-gradient(180deg,#fff,#fbfaff); }
.why-evaluation { background:linear-gradient(180deg,#fff,#fbfdff); }

@media (max-width:980px) {
  .why-problem-grid,
  .why-hypothesis-grid,
  .why-objectives-grid,
  .why-evaluation-grid,
  .why-experiment-box {
    grid-template-columns:1fr;
  }
  .why-experiment-box > b { text-align:center; }
}

/* Hipótese central e hipóteses de avaliação — V9.2 */
.why-central-hypothesis {
  margin:14px 0;
  padding:16px 18px;
  border:1px solid #bfd8ea;
  border-left:5px solid #0b5f9f;
  border-radius:12px;
  background:linear-gradient(135deg,#eef7ff,#f8fbfe);
}
.why-central-hypothesis span {
  display:block;
  margin-bottom:6px;
  color:#0b5f9f;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.why-central-hypothesis strong {
  color:#173d5e;
  font-size:.9rem;
  line-height:1.55;
}
.why-evaluation-hypotheses {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.why-evaluation-hypotheses article {
  display:grid;
  grid-template-columns:36px 1fr;
  gap:10px;
  padding:12px;
  border:1px solid #dce7ef;
  border-radius:11px;
  background:#fbfdff;
}
.why-evaluation-hypotheses article > span {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:10px;
  background:#4d3887;
  color:#fff;
  font-size:.7rem;
  font-weight:900;
}
.why-evaluation-hypotheses b {
  color:#173d5e;
  font-size:.78rem;
}
.why-evaluation-hypotheses p {
  margin:4px 0 0;
  color:var(--muted);
  font-size:.72rem;
  line-height:1.45;
}
.why-first-study {
  margin-top:13px;
  padding:13px 14px;
  border:1px dashed #baaee0;
  border-radius:11px;
  background:#faf8ff;
}
.why-first-study > span {
  display:block;
  margin-bottom:7px;
  color:#4d3887;
  font-size:.68rem;
  font-weight:900;
  text-transform:uppercase;
}
.why-first-study > div {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.why-first-study > div b {
  padding:6px 8px;
  border-radius:999px;
  background:#eee9fb;
  color:#4d3887;
  font-size:.68rem;
}
.why-first-study p {
  margin:8px 0 0;
  color:var(--muted);
  font-size:.72rem;
  line-height:1.45;
}

@media (max-width:980px) {
  .why-evaluation-hypotheses { grid-template-columns:1fr; }
}

/* Proposição de pesquisa — V9.3 */
.why-research-proposition {
  margin:0 0 14px;
  padding:16px 18px;
  border:1px solid #d6dcef;
  border-left:5px solid #4d3887;
  border-radius:12px;
  background:linear-gradient(135deg,#faf8ff,#f7f9fd);
}
.why-research-proposition > span {
  display:block;
  margin-bottom:6px;
  color:#4d3887;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.why-research-proposition strong {
  display:block;
  color:#2f2852;
  font-size:.88rem;
  line-height:1.55;
}
.why-research-proposition p {
  margin:8px 0 0;
  color:var(--muted);
  font-size:.75rem;
  line-height:1.5;
}
