.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 10px 0;
}

.source-links a,
.source-links span {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.76rem;
  text-decoration: none;
}

.source-links a {
  background: #fff;
  color: var(--accent);
}

.source-links span {
  color: var(--soft);
  background: var(--bg);
}

.jp-summary {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 0.78rem;
}

.usage-summary {
  margin: 10px 0 0;
  padding: 7px 9px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.usage-summary.known {
  color: var(--accent);
  border-left: 3px solid var(--accent2);
}

.practice-summary {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-left: 3px solid var(--accent2);
  border-radius: 6px;
  background: #f2f8f7;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.usage-count {
  margin: 6px 0;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.usage-count span {
  margin-left: 5px;
  font-size: 0.9rem;
}

.evidence-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.evidence-list li {
  margin: 8px 0;
  padding: 10px;
  border-left: 3px solid var(--accent2);
  background: var(--bg);
  font-size: 0.84rem;
}

.evidence-list strong {
  display: block;
  margin-top: 2px;
}

.evidence-list a {
  font-size: 0.8rem;
}

.evidence-kind {
  display: inline-block;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
}

.export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.export-actions .text-button {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.export-note {
  margin: -8px 0 18px;
  color: var(--soft);
  font-size: 0.78rem;
}

.method-note {
  margin: -8px 0 18px;
  padding: 10px 12px;
  border-left: 3px solid var(--accent2);
  border-radius: 6px;
  background: #f2f8f7;
  color: var(--soft);
  font-size: 0.8rem;
  line-height: 1.65;
}

.method-note strong {
  color: var(--accent);
}

.research-paths {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #f2f8f7;
}

.research-paths div { margin-right: auto; }
.research-paths strong, .research-paths span { display: block; }
.research-paths span { color: var(--soft); font-size: 0.74rem; }
.research-paths button {
  padding: 7px 10px;
  border: 1px solid var(--accent2);
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  cursor: pointer;
  font-weight: 700;
}

.adoption-guide {
  border: 1px solid #b8d7d0;
  background: #f6fbfa;
}

.adoption-guide-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.adoption-guide-head h3, .adoption-guide-head p { margin: 0; }
.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.decision-grid > div {
  padding: 10px;
  border-radius: 7px;
  background: #fff;
}

.decision-grid span, .decision-grid small { display: block; color: var(--soft); }
.decision-grid span { font-size: 0.72rem; font-weight: 700; }
.decision-grid strong { display: block; margin: 2px 0; font-size: 0.86rem; }
.decision-grid small { font-size: 0.72rem; }
.decision-cautions {
  padding: 10px 12px;
  border-left: 3px solid var(--warn);
  border-radius: 6px;
  background: #fffaf1;
}
.decision-cautions ul { margin: 6px 0 0; padding-left: 20px; }
.decision-cautions li { margin: 3px 0; font-size: 0.8rem; }
.decision-alternatives { margin-top: 12px; }
.decision-alternatives button { margin: 3px 3px 3px 0; }
.decision-alternatives .compare-mini { color: var(--soft); font-size: 0.74rem; }

.concept-decision-list { display: grid; gap: 8px; margin: 12px 0; }
.concept-decision-list article { padding: 11px; border: 1px solid #cfe0dc; border-radius: 8px; background: #fff; }
.concept-decision-list strong { display: block; margin-top: 4px; color: var(--accent); font-size: 0.88rem; }
.concept-decision-list p { margin: 4px 0; color: var(--soft); font-size: 0.8rem; line-height: 1.55; }
.concept-decision-guide .decision-cautions p { margin: 5px 0 0; font-size: 0.8rem; }

@media (max-width: 620px) {
  .research-paths { align-items: stretch; }
  .research-paths div { width: 100%; }
  .research-paths button { flex: 1 1 45%; }
  .decision-grid { grid-template-columns: 1fr; }
}

.coverage-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 14px;
}

.coverage-summary > div {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.coverage-summary span { display: block; color: var(--soft); font-size: 0.74rem; }
.coverage-summary strong { color: var(--accent); font-size: 1.35rem; }
.coverage-summary small { margin-left: 3px; color: var(--soft); font-size: 0.72rem; }
.coverage-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.coverage-controls label { flex: 1; }
.coverage-controls select { width: 100%; margin-top: 3px; padding: 8px; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.coverage-table-wrap table { min-width: 1080px; }
.coverage-table-wrap th:first-child { width: 190px; }
.coverage-domain { display: block; color: var(--soft); font-size: 0.68rem; font-weight: 400; }
.coverage-concept { display: block; padding: 2px 0; text-align: left; font-weight: 700; }
.coverage-cell { display: inline-block; min-width: 84px; padding: 6px 8px; border-radius: 6px; }
.coverage-cell strong, .coverage-cell small { display: block; }
.coverage-cell small { margin-top: 1px; font-size: 0.68rem; }
.coverage-cell.ready { background: #eaf6ef; color: #236344; }
.coverage-cell.partial { background: #fff7e5; color: #805b18; }
.coverage-cell.gap { background: #f8eeee; color: #8a4646; }

@media (max-width: 620px) {
  .coverage-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coverage-controls { display: block; }
  .coverage-controls label + label { margin-top: 8px; }
}

.study-badge {
  background: #e6f4ed;
  color: #216246;
}

.short-form-badge {
  background: #e9eefb;
  color: #354f91;
}

.study-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.study-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(105px, 0.7fr)) auto;
  gap: 8px;
  align-items: end;
  margin: 12px 0 6px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.study-filters label {
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.study-filters input,
.study-filters select {
  width: 100%;
  margin-top: 3px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.study-filters button { padding: 7px 9px; }
.study-filter-count { margin: 5px 0; color: var(--soft); font-size: 0.76rem; }
.study-filter-count strong { color: var(--accent); }
.study-filter-empty { margin-top: 10px; }

.study-card {
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.study-card-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.study-card h4 {
  margin: 5px 0 2px;
  color: var(--accent);
  font-size: 0.9rem;
}

.study-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 10px 0;
}

.study-card dl div {
  padding: 7px 9px;
  border-radius: 6px;
  background: var(--bg);
}

.study-card dt {
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.study-card dd {
  margin: 1px 0 0;
  font-size: 0.78rem;
}

@media (max-width: 500px) {
  .study-card dl { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .study-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .study-filters label:first-child, .study-filters button { grid-column: 1 / -1; }
}

.burden-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.burden-metric,
.burden-level {
  padding: 10px;
  border-radius: 7px;
  background: var(--bg);
}

.burden-summary span {
  display: block;
  color: var(--soft);
  font-size: 0.72rem;
}

.burden-summary strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.burden-level.light { background: #edf7f1; }
.burden-level.medium { background: #fff8e9; }
.burden-level.high { background: #fff0e8; }

.burden-summary > p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--soft);
  font-size: 0.76rem;
}

.short-option-panel {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-left: 4px solid var(--accent2);
  border-radius: 8px;
  background: #f2f8f7;
}

.short-option-panel h3,
.short-option-panel p { margin: 0 0 8px; }
.short-option-panel p,
.short-option-panel li { color: var(--soft); font-size: 0.8rem; }
.short-option-panel ul { margin: 6px 0 0; padding-left: 20px; }
.short-option-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 7px 0 10px; }
.short-option-list button {
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: #fff;
  color: var(--accent);
  padding: 7px 10px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .burden-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.design-builder {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #cfdedb;
  border-radius: 10px;
  background: #fff;
}

.design-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.design-toolbar h3,
.design-toolbar p { margin: 0; }
.design-toolbar p { margin-top: 5px; color: var(--soft); font-size: 0.8rem; }
.design-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.design-actions button {
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  padding: 8px 11px;
  cursor: pointer;
}
.design-actions .subtle-button { background: #fff; color: var(--accent); }
.design-card-list { display: grid; gap: 10px; }
.design-card { padding: 13px 14px; border: 1px solid #dde7e5; border-radius: 8px; background: #f9fbfb; }
.design-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.design-card-head span { display: block; color: var(--soft); font-size: 0.72rem; }
.design-card-head strong { display: block; margin-top: 2px; }
.design-fields { display: grid; grid-template-columns: minmax(150px, 0.4fr) minmax(240px, 1fr); gap: 10px; margin-top: 10px; }
.design-fields label { color: var(--soft); font-size: 0.72rem; font-weight: 700; }
.design-fields select,
.design-fields textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
  border: 1px solid #baccc8;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 8px;
  font: inherit;
}
.design-fields textarea { min-height: 58px; resize: vertical; }
.design-basis { margin-top: 10px; color: var(--soft); font-size: 0.72rem; font-weight: 700; }
.design-basis select {
  width: 100%;
  margin-top: 4px;
  border: 1px solid #baccc8;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 8px;
  font: inherit;
}
.design-basis span { display: block; margin-top: 4px; font-weight: 400; }
.design-basis-detail {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #d3e1de;
  border-radius: 7px;
  background: #f8fbfa;
  color: var(--ink);
  font-size: 0.74rem;
}
.design-basis-detail > div:first-child { display: flex; gap: 8px; align-items: flex-start; }
.design-basis-detail strong { line-height: 1.45; }
.design-basis-detail p { margin: 5px 0 0; line-height: 1.45; }
.design-basis-detail .basis-meta { color: var(--soft); }
.basis-kind { flex: 0 0 auto; padding: 2px 6px; border-radius: 999px; background: #dceee9; color: #245d53; font-size: 0.66rem; font-weight: 800; }
.basis-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 7px; }
.basis-links a { color: var(--accent); font-weight: 700; }
.design-evidence { margin: 8px 0 0; color: var(--soft); font-size: 0.74rem; }

@media (max-width: 760px) {
  .design-toolbar { display: block; }
  .design-actions { justify-content: flex-start; margin-top: 12px; }
  .design-fields { grid-template-columns: 1fr; }
}
