:root {
  --ink: #0b2f4f;
  --ink-2: #31516b;
  --muted: #6e8495;
  --line: #dce6ec;
  --surface: #ffffff;
  --wash: #f5f8fa;
  --teal: #008c87;
  --teal-2: #35b7b2;
  --red: #d9292f;
  --amber: #ef8b2c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 16%, rgba(53, 183, 178, .08), transparent 22rem),
    #f8fafb;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", var(--font-geist-sans), sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
button, a { font: inherit; }
button { color: inherit; }

.topbar {
  height: 72px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 260px minmax(650px, 1fr) 160px;
  align-items: center;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  color: var(--red);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
}
.brand span {
  display: block;
  color: #557083;
  font-size: 8px;
  line-height: 1;
  letter-spacing: .23em;
}
.topbar nav { display: flex; height: 100%; justify-content: center; gap: 38px; }
.topbar nav a {
  position: relative;
  display: grid;
  place-items: center;
  color: #46657c;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.topbar nav a::after {
  content: "";
  position: absolute;
  height: 3px;
  inset: auto 0 -1px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform .18s ease;
}
.topbar nav a:hover, .topbar nav a.active { color: var(--teal); }
.topbar nav a:hover::after, .topbar nav a.active::after { transform: scaleX(1); }
.source-status {
  justify-self: end;
  border: 1px solid #cbd9e2;
  border-radius: 22px;
  background: #fff;
  padding: 9px 13px;
  color: #4c687d;
  font-size: 12px;
  cursor: pointer;
}
.source-status span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #2caf85;
  box-shadow: 0 0 0 4px rgba(44, 175, 133, .12);
}

.hero {
  min-height: 690px;
  padding: 64px 32px 52px;
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(480px, 1.25fr) minmax(360px, .9fr);
  gap: 28px;
  max-width: 1580px;
  margin: 0 auto;
  align-items: center;
}
.hero-copy { align-self: center; }
.eyebrow, .section-kicker {
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
}
.hero h1 {
  margin: 20px 0 14px;
  font-size: clamp(40px, 3.5vw, 58px);
  line-height: 1.16;
  letter-spacing: -.055em;
  color: #0a3156;
  font-weight: 760;
}
.hero h1 span { white-space: nowrap; }
.hero-copy > p {
  margin: 0;
  color: #60798d;
  font-size: 17px;
  line-height: 1.8;
}
.data-scope { display: block; margin-top: 8px; color: #91a3ae; font-size: 9px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.primary-action {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #de2229, #c9141c);
  color: white;
  padding: 14px 24px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(217, 41, 47, .2);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.primary-action:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(217, 41, 47, .25); }
.primary-action.compact { padding: 12px 18px; font-size: 14px; }
.target-icon { margin-right: 7px; font-size: 20px; vertical-align: -1px; }
.text-action {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.text-action span { margin-left: 6px; transition: margin .18s ease; }
.text-action:hover span { margin-left: 10px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 42px; }
.metrics article {
  padding: 16px 14px 14px;
  min-width: 0;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11, 47, 79, .05);
}
.metrics span, .metrics small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; }
.metrics strong { display: block; margin: 4px 0; font-size: 29px; letter-spacing: -.04em; color: #0b3156; }
.metrics small { overflow: hidden; text-overflow: ellipsis; }

.map-column { align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.map-heading { min-height: 28px; display: flex; justify-content: center; gap: 10px; align-items: center; color: var(--muted); font-size: 11px; }
.map-heading b { color: var(--teal); font-size: 12px; }
.coverage-pending { border: 1px dashed #c7d2d8; border-radius: 999px; background: #f2f5f6; padding: 2px 7px; color: #71838d; font-size: 9px; font-style: normal; font-weight: 700; }
.evidence-map {
  width: min(100%, 510px);
  aspect-ratio: 1.04;
  position: relative;
  margin: 0 auto;
  isolation: isolate;
}
.evidence-map::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(53,183,178,.14) 0 2px, transparent 3px) 0 0/24px 24px,
    radial-gradient(circle, rgba(255,255,255,.92), rgba(240,248,250,.35) 61%, transparent 72%);
  filter: drop-shadow(0 16px 30px rgba(11,47,79,.06));
  z-index: -3;
}
.orbit { position: absolute; border: 1px solid rgba(87, 138, 163, .25); border-radius: 50%; z-index: -2; }
.orbit-one { inset: 17%; }
.orbit-two { inset: 28%; border-style: dashed; }
.network-lines {
  position: absolute;
  inset: 22%;
  opacity: .55;
  background:
    linear-gradient(0deg, transparent 49.6%, #8cc4cd 50%, transparent 50.4%),
    linear-gradient(45deg, transparent 49.6%, #8cc4cd 50%, transparent 50.4%),
    linear-gradient(90deg, transparent 49.6%, #8cc4cd 50%, transparent 50.4%),
    linear-gradient(135deg, transparent 49.6%, #8cc4cd 50%, transparent 50.4%);
  border-radius: 50%;
  z-index: -1;
}
.map-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 116px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid #b8d8df;
  background: rgba(255,255,255,.92);
  box-shadow: 0 0 0 10px rgba(255,255,255,.55), 0 10px 30px rgba(11,47,79,.1);
  cursor: pointer;
}
.map-core span, .map-core small { display: block; }
.map-core span { font-size: 17px; font-weight: 750; }
.map-core small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.map-core.selected { border-color: var(--teal); box-shadow: 0 0 0 10px rgba(0,140,135,.08), 0 10px 30px rgba(11,47,79,.1); }
.product-node {
  position: absolute;
  width: 80px;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 4;
}
.product-node > span {
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  margin: 0 auto 5px;
  border-radius: 50%;
  border: 1px solid #c5dde3;
  background: rgba(255,255,255,.92);
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 7px 20px rgba(11,47,79,.08), 0 0 0 6px rgba(255,255,255,.62);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.product-node:hover > span, .product-node.selected > span {
  transform: scale(1.08);
  border-color: var(--teal-2);
  box-shadow: 0 8px 25px rgba(0,140,135,.2), 0 0 0 7px rgba(53,183,178,.12);
}
.product-node strong { display: block; color: var(--ink); font-size: 14px; }
.product-node small { display: flex; justify-content: center; gap: 4px; margin-top: 3px; color: var(--muted); font-size: 8px; white-space: nowrap; }
.dot-scale { display: inline-flex; gap: 3px; align-items: center; }
.dot-scale-track { display: inline-flex; align-items: center; gap: 3px; }
.dot-scale i { display: block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #d7e1e6; }
.dot-scale.teal i.filled { background: var(--teal); }
.dot-scale.red i.filled { background: var(--red); }
.dot-scale.with-value { gap: 10px; }
.dot-scale-value {
  color: #174c63;
  font-size: 17px;
  font-weight: 850;
  line-height: 1;
}
.dot-scale-value small {
  margin-left: 1px;
  color: #718895;
  font-size: 11px;
  font-weight: 750;
}
.signal { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 4px rgba(53,183,178,.08); }
.s1 { left: 34%; top: 38%; }.s2 { left: 67%; top: 40%; background: var(--red); }
.s3 { left: 64%; top: 66%; }.s4 { left: 37%; top: 69%; background: var(--amber); }
.s5 { left: 48%; top: 27%; }.s6 { left: 52%; top: 75%; background: var(--red); }
.s7 { left: 74%; top: 51%; background: var(--amber); }.s8 { left: 25%; top: 54%; }
.map-legend { display: flex; justify-content: center; gap: 18px; color: var(--muted); font-size: 9px; }
.map-legend span { display: flex; align-items: center; gap: 5px; }
.map-legend i { display: block; width: 7px; height: 7px; border-radius: 50%; }
.map-legend .good { background: var(--teal); }.map-legend .limited { background: #7bcac6; }.map-legend .gap { background: var(--red); }
.map-legend .pending { border: 1px dashed #aebdc5; background: #f2f5f6; }

.priority-panel { align-self: center; min-width: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; border-left: 3px solid var(--teal); padding-left: 11px; }
.panel-heading > span { font-weight: 750; font-size: 15px; }
.panel-heading button { border: 0; background: transparent; color: var(--teal); font-size: 10px; cursor: pointer; }
.priority-list { display: grid; gap: 12px; }
.priority-card {
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  gap: 8px;
  text-align: left;
  padding: 17px 14px 15px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 13px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 22px rgba(11,47,79,.055);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.priority-card:nth-child(n+2) { border-left-color: var(--amber); }
.priority-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11,47,79,.09); }
.priority-badge {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  min-height: 25px;
  padding: 4px 7px;
  border-radius: 6px;
  background: #fff0ec;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}
.priority-badge.p2 { color: #d47720; background: #fff3e5; }
.priority-badge.p3 { color: #61798a; background: #eef3f6; }
.priority-card h2 { margin: 1px 0 8px; font-size: 14px; line-height: 1.45; }
.priority-card p { display: flex; gap: 5px; margin: 0 0 9px; }
.priority-card em { padding: 3px 6px; border-radius: 5px; background: #edf8f7; color: var(--teal); font-size: 9px; font-style: normal; }
.priority-card dl { display: grid; gap: 4px; margin: 0; }
.priority-card dl div { display: flex; align-items: center; }
.priority-card dt { width: 56px; color: var(--muted); font-size: 9px; }
.priority-card dd { margin: 0; }
.card-arrow { align-self: center; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; }

.section-shell {
  max-width: 1540px;
  margin: 0 auto 34px;
  padding: 58px 44px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 50px rgba(11,47,79,.045);
  scroll-margin-top: 92px;
}
.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 34px;
}
.section-heading-row h2 {
  margin: 8px 0 7px;
  color: #0a3156;
  font-size: clamp(27px, 2.2vw, 36px);
  letter-spacing: -.035em;
}
.section-heading-row p { max-width: 780px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.segmented-control { display: flex; flex: 0 0 auto; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #f3f7f8; }
.segmented-control button { border: 0; border-radius: 8px; background: transparent; padding: 9px 16px; color: #708696; font-size: 11px; cursor: pointer; }
.segmented-control button.active { background: #fff; color: var(--teal); box-shadow: 0 2px 9px rgba(11,47,79,.08); }

.portfolio-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
.matrix-wrap { width: 100%; min-width: 0; position: relative; padding: 24px 22px 0 28px; }
.portfolio-matrix {
  position: relative;
  height: 460px;
  overflow: hidden;
  border: 1px solid #d4e1e8;
  border-radius: 14px;
  background:
    linear-gradient(to right, transparent 49.8%, #dbe7ec 50%, transparent 50.2%),
    linear-gradient(to top, transparent 49.8%, #dbe7ec 50%, transparent 50.2%),
    linear-gradient(135deg, rgba(0,140,135,.025), rgba(217,41,47,.025));
}
.portfolio-matrix::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(110,132,149,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(110,132,149,.07) 1px, transparent 1px);
  background-size: 10% 10%;
}
.quadrant { position: absolute; z-index: 1; color: #91a3af; font-size: 10px; letter-spacing: .08em; }
.q1 { right: 18px; top: 14px; color: var(--teal); }.q2 { left: 18px; top: 14px; }
.q3 { left: 18px; bottom: 14px; }.q4 { right: 18px; bottom: 14px; }
.matrix-label { position: absolute; color: var(--muted); font-size: 9px; }
.matrix-label.top { top: 3px; left: 50%; transform: translateX(-50%); }
.matrix-label.left { left: 0; bottom: 34px; }.matrix-label.right { right: 0; bottom: 34px; }
.matrix-bubble {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  transform: translate(-50%, 50%);
  border: 4px solid rgba(255,255,255,.88);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(217,41,47,.2);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.matrix-bubble.p2 { background: var(--amber); box-shadow: 0 6px 18px rgba(239,139,44,.2); }
.matrix-bubble.p3 { background: #7993a4; box-shadow: 0 6px 18px rgba(60,87,106,.16); }
.matrix-bubble.pending-calibration {
  border: 2px dashed #9db0ba;
  background: #f2f5f6;
  color: #617783;
  box-shadow: 0 6px 18px rgba(60,87,106,.1);
}
.matrix-bubble:hover { transform: translate(-50%, 50%) scale(1.13); box-shadow: 0 9px 24px rgba(11,47,79,.22); }
.matrix-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 14px; color: #5f7789; font-size: 10px; }
.matrix-legend span { display: flex; gap: 5px; align-items: center; }
.matrix-legend i { width: 8px; height: 8px; border-radius: 50%; }
.matrix-legend i.p1 { background: var(--red); }.matrix-legend i.p2 { background: var(--amber); }.matrix-legend i.p3 { background: #7993a4; }
.matrix-legend small { margin-left: auto; color: #8ca0ad; }
.ranked-list { width: 100%; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fbfcfd; }
.ranked-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.ranked-head > div { min-width: 0; }
.ranked-head span,
.ranked-head small { display: block; }
.ranked-head span { font-size: 14px; font-weight: 750; }
.ranked-head small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.ranked-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  border: 1px solid #c9dadd;
  border-radius: 8px;
  background: #fff;
  color: var(--teal);
  padding: 7px 9px;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}
.ranked-toggle:hover,
.ranked-toggle:focus-visible { border-color: var(--teal); background: #eff9f8; outline: none; }
.ranked-toggle b { display: inline-block; font-size: 13px; transition: transform .18s ease; }
.ranked-toggle[aria-expanded="true"] b { transform: rotate(180deg); }
.ranked-items > button {
  width: 100%;
  display: grid;
  grid-template-columns: 30px 1fr 38px;
  align-items: center;
  gap: 10px;
  padding: 14px 17px;
  border: 0;
  border-bottom: 1px solid #e8eef1;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.ranked-items > button:last-child { border-bottom: 0; }
.ranked-items > button:hover,
.ranked-items > button:focus-visible { background: #f0f8f7; outline: none; }
.ranked-items > button > b { color: #9aacb7; font-size: 11px; }
.ranked-items > button > span strong, .ranked-items > button > span small { display: block; }
.ranked-items > button > span strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.45;
  white-space: normal;
}
.ranked-items > button > span small {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}
.ranked-items > button > span small.ranked-recommended-design {
  margin-top: 7px;
  border-left: 2px solid #9ccfca;
  color: #526f7b;
  padding-left: 8px;
  font-size: 9px;
  line-height: 1.55;
}
.ranked-recommended-design b {
  color: #087c78;
  font-weight: 800;
}
.ranked-design-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
}
.ranked-design-tags > i,
.ranked-design-tags > em {
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.2;
}
.ranked-design-tags > i {
  padding-left: 0;
  color: #718894;
}
.ranked-design-tags > i.ranked-design-more {
  border: 1px dashed #b8cbcf;
  padding: 3px 7px;
  background: #fff;
  color: #52727d;
}
.ranked-design-tags > em.timing {
  border: 1px solid #c5d9dc;
  background: #eff7f7;
  color: #3e7375;
}
.ranked-design-tags > em.prospective {
  border: 1px solid #acd8d3;
  background: #eaf7f5;
  color: #087c78;
}
.ranked-design-tags > em.retrospective {
  border: 1px solid #b8cfe3;
  background: #edf4fa;
  color: #356f9d;
}
.ranked-design-tags > em.ambidirectional {
  border: 1px solid #c9bee5;
  background: #f3effb;
  color: #6d5895;
}
.ranked-design-tags > em.crossSectional {
  border: 1px solid #d0c5e8;
  background: #f5f0fb;
  color: #715798;
}
.ranked-design-tags > em.longitudinal {
  border: 1px solid #b6d6cf;
  background: #eef8f5;
  color: #367d6c;
}
.ranked-design-tags > em.framework {
  border: 1px solid #ead0a7;
  background: #fff6e8;
  color: #9a6422;
}
.ranked-design-tags > em.design {
  border: 1px solid #ced8df;
  background: #f1f4f6;
  color: #5f7481;
}
.ranked-design-tags > em.method {
  border: 1px solid #c9d9eb;
  background: #f1f6fc;
  color: #416f98;
}
.ranked-items > button > em { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e9f7f6; color: var(--teal); font-size: 10px; font-style: normal; font-weight: 800; }
.ranked-fold-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #dfe9ec;
  background: #f4f9f9;
  padding: 12px 14px;
}
.ranked-fold-control small { color: #718894; font-size: 9px; line-height: 1.5; }
.ranked-fold-control button {
  flex: 0 0 auto;
  border: 1px solid #a9cfcc;
  border-radius: 8px;
  background: #fff;
  color: var(--teal);
  padding: 7px 11px;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.ranked-fold-control button:hover,
.ranked-fold-control button:focus-visible { border-color: var(--teal); background: #eaf7f6; outline: none; }
.research-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.research-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.research-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(11,47,79,.09); }
.research-card-top { display: flex; justify-content: space-between; align-items: center; }
.research-card-top > strong { color: var(--teal); font-size: 21px; }
.research-card > small { margin-top: 18px; color: var(--teal); font-size: 10px; }
.research-card h3 { margin: 6px 0 8px; font-size: 17px; line-height: 1.45; }
.research-card > p { margin: 0 0 14px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.research-card > div:not(.research-card-top) { display: flex; gap: 5px; }
.research-card em { padding: 4px 7px; border-radius: 5px; background: #eef8f7; color: var(--teal); font-size: 9px; font-style: normal; }
.research-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 15px; border-top: 1px solid #edf1f3; color: var(--muted); font-size: 9px; }
.research-card footer b { margin-left: auto; color: var(--teal); }

.snapshot-badge, .local-badge {
  flex: 0 0 auto;
  border: 1px solid #cfe1e5;
  border-radius: 20px;
  padding: 8px 12px;
  background: #f7fbfb;
  color: var(--teal);
  font-size: 10px;
}
.evidence-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; }
.evidence-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 10px; }
.evidence-table th, .evidence-table td { height: 58px; padding: 10px 12px; border-bottom: 1px solid #e7edf0; text-align: center; }
.evidence-table thead th { height: 44px; background: #f4f8f9; color: #728897; font-weight: 650; }
.evidence-table tbody tr:last-child th, .evidence-table tbody tr:last-child td { border-bottom: 0; }
.evidence-table tbody th { width: 135px; color: var(--ink); text-align: left; font-size: 12px; }
.evidence-table tbody th span { display: inline-grid; place-items: center; width: 31px; height: 31px; margin-right: 9px; border-radius: 50%; background: #edf8f7; color: var(--teal); font-size: 7px; }
.heat { display: inline-grid; place-items: center; width: 29px; height: 29px; border-radius: 7px; color: #fff; font-size: 9px; font-style: normal; font-weight: 750; }
.heat-1 { background: #d8e2e7; color: #708693; }.heat-2 { background: #bdd9dc; color: #49727a; }.heat-3 { background: #7cc7c3; }.heat-4 { background: #2ea49e; }.heat-5 { background: #087c78; }
.heat-pending { border: 1px dashed #c7d2d8; background: #f2f5f6; color: #71838d; }
.evidence-table button { border: 0; background: transparent; color: var(--teal); font-size: 10px; cursor: pointer; }
.heat-legend { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #fbfcfd; color: var(--muted); font-size: 9px; }
.heat-legend .heat { width: 19px; height: 19px; border-radius: 4px; font-size: 7px; }
.heat-legend small { margin-left: 6px; }

.signal-publication-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; margin-top: 28px; }
.signal-panel, .publication-panel { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: #fbfcfd; }
.subsection-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 17px; }
.subsection-head span { color: var(--teal); font-size: 8px; font-weight: 750; letter-spacing: .16em; }
.subsection-head h3 { margin: 4px 0 0; font-size: 17px; }
.subsection-head > small { color: var(--muted); font-size: 9px; }
.subsection-head select, .subsection-head button {
  border: 1px solid #cfdce3;
  border-radius: 8px;
  background: #fff;
  padding: 7px 9px;
  color: #597386;
  font-size: 9px;
}
.signal-feed, .publication-list { display: grid; gap: 0; }
.signal-feed a {
  display: grid;
  grid-template-columns: 68px 1fr 18px;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #e6edf0;
  color: inherit;
  text-decoration: none;
}
.signal-feed a:last-child, .publication-list a:last-child { border-bottom: 0; }
.signal-feed time { color: #8ca0ad; font-size: 9px; }
.signal-feed div > span { color: var(--teal); font-size: 8px; }
.signal-feed h4 { margin: 3px 0 5px; font-size: 12px; }
.signal-feed p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.signal-feed b, .publication-list b { color: var(--teal); font-size: 11px; }
.publication-list a {
  display: grid;
  grid-template-columns: 39px 1fr 18px;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #e6edf0;
  color: inherit;
  text-decoration: none;
}
.publication-list > a > span { color: #91a4af; font-size: 9px; }
.publication-list small, .publication-list strong, .publication-list em { display: block; }
.publication-list small { color: var(--teal); font-size: 8px; }
.publication-list strong { margin: 3px 0; font-size: 10px; line-height: 1.5; }
.publication-list em { color: var(--muted); font-size: 8px; font-style: normal; }
.coverage-note { margin: 16px 0 0; padding: 12px; border-radius: 8px; background: #eef6f7; color: #587182; font-size: 9px; line-height: 1.65; }
.source-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.source-grid a {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 8px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: inherit;
  background: #fff;
  text-decoration: none;
}
.source-dot { width: 7px; height: 7px; margin-top: 3px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(239,139,44,.1); }
.source-dot.authoritative { background: var(--teal); box-shadow: 0 0 0 4px rgba(0,140,135,.1); }
.source-grid strong, .source-grid small { display: block; }
.source-grid strong { font-size: 10px; }.source-grid small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.source-grid em { grid-column: 2; color: var(--teal); font-size: 8px; font-style: normal; }

.framework-link {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 10px;
  text-decoration: none;
}
.method-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.method-flow article { position: relative; min-height: 135px; padding: 20px; border-radius: 13px; background: linear-gradient(145deg, #f3f9f9, #f8fafb); }
.method-flow article:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -11px; z-index: 2; color: #88a2ae; }
.method-flow span { color: var(--teal); font-size: 10px; font-weight: 750; }
.method-flow h3 { margin: 12px 0 7px; font-size: 16px; }.method-flow p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.65; }
.mcda-method-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 20px; }
.weight-panel, .method-library { padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.weight-panel .subsection-head > strong { color: var(--teal); font-size: 19px; }
.weight-row { display: grid; grid-template-columns: 160px 1fr 36px; gap: 12px; align-items: center; padding: 9px 0; }
.weight-row span { color: #4f6b7e; font-size: 10px; }.weight-row b { text-align: right; color: var(--teal); font-size: 10px; }
.weight-row input { width: 100%; accent-color: var(--teal); }
.weight-panel > p { margin: 15px 0 0; padding-top: 13px; border-top: 1px solid #e8eef1; color: var(--muted); font-size: 9px; line-height: 1.7; }
.method-library { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.method-library details { min-width: 0; border: 1px solid #e2eaee; border-radius: 10px; background: #fbfcfd; }
.method-library summary { display: flex; justify-content: space-between; padding: 13px; color: #31566d; font-size: 10px; font-weight: 650; cursor: pointer; list-style: none; }
.method-library summary::-webkit-details-marker { display: none; }
.method-library summary b { color: var(--teal); }
.method-library details[open] summary b { transform: rotate(45deg); }
.method-library details div { padding: 0 13px 12px; }
.method-library details p { margin: 6px 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.method-library details p strong { display: block; color: #4c6c7e; font-size: 8px; }
.method-references { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.method-references a { padding: 15px; border: 1px solid var(--line); border-radius: 10px; color: inherit; text-decoration: none; }
.method-references strong, .method-references span { display: block; }
.method-references strong { color: var(--teal); font-size: 10px; }.method-references span { margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.method-warning { margin-top: 18px; padding: 15px 18px; border-left: 3px solid var(--red); border-radius: 8px; background: #fff5f3; color: #6c6870; font-size: 10px; }
.method-warning strong { color: #a52c31; }

.local-badge { color: #5d7586; background: #f6f9fa; }
.manual-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
}
.manual-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: #fbfcfd; }
.manual-form label { display: grid; gap: 6px; }
.manual-form label.wide, .form-actions.wide { grid-column: 1 / -1; }
.manual-form label > span { color: #506c7f; font-size: 9px; font-weight: 650; }
.manual-form input, .manual-form select, .manual-form textarea {
  width: 100%;
  border: 1px solid #cfdae1;
  border-radius: 8px;
  background: #fff;
  padding: 10px 11px;
  color: var(--ink);
  font-size: 10px;
  outline: none;
}
.manual-form input:focus, .manual-form select:focus, .manual-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,140,135,.08); }
.manual-form textarea { resize: vertical; }
.form-actions { display: flex; align-items: center; gap: 12px; }
.form-actions small { color: var(--muted); font-size: 8px; }
.manual-records { display: flex; min-height: 430px; min-width: 0; flex-direction: column; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.manual-records .subsection-head > button { cursor: pointer; }
.manual-records .subsection-head > button:disabled { opacity: .45; cursor: not-allowed; }
.manual-records article { margin-bottom: 10px; padding: 15px; border: 1px solid #e2eaee; border-radius: 10px; background: #fbfcfd; }
.manual-records article > div { display: flex; justify-content: space-between; }
.manual-records article > div span { color: var(--teal); font-size: 9px; }.manual-records article > div em { color: var(--muted); font-size: 8px; font-style: normal; }
.manual-records article h4 { margin: 7px 0; font-size: 11px; }.manual-records article p { margin: 0 0 5px; color: #6b8292; font-size: 8px; }
.manual-records article > small { display: block; color: var(--muted); font-size: 8px; line-height: 1.55; }
.manual-records article footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #e7edef; }
.manual-records article footer a, .manual-records article footer span, .manual-records article footer button { color: var(--teal); font-size: 8px; text-decoration: none; }
.manual-records article footer button { border: 0; background: transparent; color: #9a7274; cursor: pointer; }
.empty-records { min-height: 300px; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--muted); }
.empty-records > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 50%; background: #edf7f6; color: var(--teal); font-size: 22px; }
.empty-records strong { color: #4d6b7e; font-size: 12px; }.empty-records p { max-width: 250px; font-size: 9px; line-height: 1.65; }
.site-footer { max-width: 1540px; margin: 0 auto; padding: 25px 32px 45px; display: flex; justify-content: space-between; gap: 24px; color: #78909e; font-size: 9px; }
.site-footer div strong, .site-footer div span { display: block; }
.site-footer div strong { margin-bottom: 6px; color: #375d73; font-size: 12px; }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  justify-content: flex-end;
  background: rgba(6, 27, 45, .42);
  backdrop-filter: blur(4px);
}
.idea-drawer {
  position: relative;
  width: calc(100vw - clamp(16px, 2vw, 40px));
  height: 100dvh;
  overflow-y: auto;
  padding: 0 42px 34px;
  background: #f7fafb;
  box-shadow: -24px 0 72px rgba(11, 47, 79, .24);
  animation: slide-in .24s ease-out;
  overscroll-behavior: contain;
}
.idea-drawer-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr);
  grid-template-areas:
    "meta designs"
    "title designs"
    "question designs"
    "topics designs";
  column-gap: 28px;
  align-items: start;
  margin: 0 -42px;
  border-bottom: 1px solid #dce7eb;
  background: #fff;
  padding: 22px 42px 18px;
}
.idea-drawer-meta {
  grid-area: meta;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 50px;
}
.drawer-product-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d5e2e6;
  border-radius: 999px;
  background: #f5f8f9;
  color: #526f7d;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
}
.close-button {
  position: fixed;
  z-index: 72;
  top: 18px;
  right: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #edf3f5;
  color: #365f72;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.close-button:hover,
.close-button:focus-visible {
  background: #dfeaed;
  outline: 3px solid rgba(0, 140, 135, .14);
}
.idea-drawer-header > h2 {
  grid-area: title;
  max-width: none;
  margin: 11px 0 8px;
  color: #123f58;
  font-size: 30px;
  line-height: 1.34;
}
.drawer-question {
  grid-area: question;
  max-width: none;
  margin: 0;
  color: #456779;
  font-size: 15px;
  line-height: 1.75;
}
.drawer-question strong {
  color: #245b6e;
}
.drawer-topic-tags {
  grid-area: topics;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.drawer-topic-tags span {
  border: 1px solid #cce4e2;
  border-radius: 999px;
  background: #eff9f7;
  color: #0c7773;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 750;
}
.drawer-score {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.drawer-score > div {
  min-width: 0;
  border: 1px solid #d9e5e9;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
}
.drawer-score > div > span,
.drawer-score > div > strong {
  display: block;
}
.drawer-score > div > span {
  margin-bottom: 6px;
  color: #718895;
  font-size: 11px;
  font-weight: 750;
}
.drawer-score > div > strong {
  min-height: 22px;
  color: #174c63;
  font-size: 17px;
  line-height: 1.3;
}
.drawer-score .dot-scale {
  min-height: 22px;
  align-items: center;
}
.drawer-score .dot-scale i {
  flex-basis: 9px;
  width: 9px;
  height: 9px;
}
.idea-drawer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, .82fr);
  gap: 18px;
  align-items: start;
}
.drawer-analysis-panel,
.drawer-blueprint-panel,
.drawer-reference-panel {
  min-width: 0;
  border: 1px solid #d8e4e8;
  border-radius: 15px;
  background: #fff;
  padding: 20px;
}
.drawer-section-heading h3 {
  margin: 0;
  color: #214d64;
  font-size: 18px;
  line-height: 1.4;
}
.drawer-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.drawer-section-heading > span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #edf7f6;
  color: #0b7773;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 850;
}
.dossier-verdict {
  margin-top: 12px;
  border: 1px solid #b9dcd8;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef9f7 0%, #f8fbfc 100%);
  padding: 13px 15px;
}
.dossier-verdict > strong {
  display: block;
  color: #174f61;
  font-size: 15px;
  line-height: 1.65;
}
.dossier-verdict > p {
  margin: 8px 0 0;
  border-top: 1px solid #d5e9e6;
  padding-top: 8px;
  color: #56727f;
  font-size: 13px;
  line-height: 1.65;
}
.dossier-verdict > p b { color: #2b6070; }
.drawer-core-reasons {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.drawer-core-reasons > article,
.drawer-core-reasons > section {
  min-width: 0;
  border: 1px solid #e0e9ec;
  border-radius: 10px;
  background: #fbfcfd;
  padding: 12px 13px;
}
.drawer-core-reasons h4,
.drawer-readiness-grid h4 {
  margin: 0 0 6px;
  color: #2d6174;
  font-size: 13px;
}
.drawer-core-reasons > article > p,
.drawer-readiness-grid p {
  margin: 0;
  color: #5f7987;
  font-size: 13px;
  line-height: 1.68;
}
.drawer-core-reasons .dossier-uncertainties {
  margin: 9px 0 0;
}
.drawer-readiness-details {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid #dce7ea;
  border-radius: 10px;
  background: #f8fafb;
}
.drawer-readiness-details > summary {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  color: #315d72;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  list-style: none;
}
.drawer-readiness-details > summary::-webkit-details-marker { display: none; }
.drawer-readiness-details > summary::before {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: #e5f5f2;
  color: var(--teal);
  content: "+";
}
.drawer-readiness-details[open] > summary::before { content: "−"; }
.drawer-readiness-details > summary > span { flex: 1 1 auto; }
.drawer-readiness-details > summary > em {
  color: #718792;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}
.drawer-readiness-details[open] > summary {
  border-bottom: 1px solid #dce7ea;
  background: #f1f8f7;
}
.drawer-readiness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 12px 0;
}
.drawer-readiness-grid > section {
  min-width: 0;
  border: 1px solid #e1e9ec;
  border-radius: 8px;
  background: #fff;
  padding: 10px 11px;
}
.drawer-readiness-grid .dossier-hypotheses {
  margin: 0;
}
.drawer-readiness-details .drawer-bias-list {
  margin: 12px;
}
.dossier-evidence-chain {
  display: grid;
  gap: 7px;
}
.dossier-evidence-chain article {
  border: 1px solid #dfe8eb;
  border-left: 3px solid #7baead;
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
}
.dossier-evidence-chain article > em {
  display: inline-flex;
  margin-bottom: 5px;
  border-radius: 999px;
  background: #edf5f5;
  color: #3c6e75;
  padding: 3px 6px;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}
.dossier-evidence-chain article[data-evidence-role="直接证据"] { border-left-color: #07857f; }
.dossier-evidence-chain article[data-evidence-role="直接证据"] > em { background: #e5f5f3; color: #08766f; }
.dossier-evidence-chain article[data-evidence-role="间接证据"] { border-left-color: #4d89b6; }
.dossier-evidence-chain article[data-evidence-role="间接证据"] > em { background: #eaf3f9; color: #386f99; }
.dossier-evidence-chain article[data-evidence-role="政策／指南信号"] { border-left-color: #7869ad; }
.dossier-evidence-chain article[data-evidence-role="政策／指南信号"] > em { background: #f0edf8; color: #665798; }
.dossier-evidence-chain article[data-evidence-role="企业证据缺口"] { border-left-color: #d58a3c; }
.dossier-evidence-chain article[data-evidence-role="企业证据缺口"] > em { background: #fff3e5; color: #986127; }
.dossier-evidence-chain article[data-evidence-role="分析推断"] { border-left-color: #84949d; }
.dossier-evidence-chain article[data-evidence-role="分析推断"] > em { background: #eef1f3; color: #657780; }
.dossier-evidence-sources {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  border-top: 1px dashed #dbe6e9;
  padding-top: 7px;
}
.dossier-evidence-sources a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 7px;
  align-items: baseline;
  border-radius: 7px;
  background: #f4f8f9;
  padding: 6px 8px;
  color: #466a79;
  text-decoration: none;
}
.dossier-evidence-sources a:hover,
.dossier-evidence-sources a:focus-visible {
  background: #eaf5f4;
  color: #087c78;
  outline: 2px solid rgba(0, 140, 135, .14);
  outline-offset: 1px;
}
.dossier-evidence-sources a > span {
  margin: 0;
  color: #087c78;
  font-size: 10px;
  white-space: nowrap;
}
.dossier-evidence-sources a > strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dossier-evidence-sources a > b {
  color: #72909d;
  font-size: 10px;
}
.dossier-evidence-origin {
  display: block;
  margin-top: 8px;
  border-top: 1px dashed #e2e7e9;
  padding-top: 7px;
  color: #74858d;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.55;
}
.dossier-uncertainties,
.dossier-hypotheses {
  border-radius: 8px;
  background: #f4f8f9;
  padding: 9px 11px 9px 27px !important;
}
.dossier-uncertainties { background: #fff8ee; color: #756b60 !important; }
.drawer-bias-list {
  margin-top: 14px;
}
.drawer-bias-list > strong {
  color: #365f72;
  font-size: 12px;
}
.drawer-bias-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.drawer-bias-list span {
  border-radius: 7px;
  background: #eef4f6;
  color: #56717f;
  padding: 6px 8px;
  font-size: 11px;
}
.blueprint {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 17px 0 15px;
}
.blueprint div {
  min-width: 0;
  border: 1px solid #e0e9ed;
  border-radius: 9px;
  background: #fbfcfd;
  padding: 11px 12px;
}
.blueprint div:nth-child(n+4) { grid-column: 1 / -1; }
.idea-drawer .blueprint span {
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}
.idea-drawer .blueprint p {
  margin: 5px 0 0;
  color: #526d7e;
  font-size: 12px;
  line-height: 1.62;
}
.drawer-note {
  margin: 0;
  border-left: 3px solid var(--teal);
  border-radius: 7px;
  background: #eff8f7;
  padding: 11px 13px;
  color: #5b7582;
  font-size: 12px;
  line-height: 1.68;
}
.drawer-note strong {
  color: #24616e;
}
.drawer-priority-details {
  margin-top: 22px;
  border: 1px solid #dce7ea;
  border-radius: 11px;
  background: #f8fafb;
  overflow: hidden;
}
.drawer-priority-details > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 15px;
  cursor: pointer;
  list-style: none;
}
.drawer-priority-details > summary::-webkit-details-marker { display: none; }
.drawer-priority-details > summary > span b,
.drawer-priority-details > summary > span small { display: block; }
.drawer-priority-details > summary > span b {
  color: #315d72;
  font-size: 14px;
}
.drawer-priority-details > summary > span small {
  margin-top: 5px;
  color: #667f8b;
  font-size: 12px;
  line-height: 1.55;
}
.drawer-priority-details > summary > em {
  border: 1px solid #afd2cf;
  border-radius: 999px;
  background: #fff;
  color: #087c78;
  padding: 6px 9px;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}
.drawer-priority-details[open] > summary {
  border-bottom: 1px solid #dce7ea;
  background: #f1f8f7;
}
.drawer-priority-details[open] > summary > em::before { content: "收起 · "; }
.drawer-priority-details:not([open]) > summary > em::before { content: "查看 · "; }
.drawer-mcda {
  display: grid;
  gap: 9px;
  padding: 14px;
}
.drawer-mcda-row {
  border: 1px solid #dfe8eb;
  border-radius: 9px;
  background: #fbfcfd;
  padding: 10px 11px;
}
.drawer-mcda-row > div:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 8px;
  align-items: center;
}
.drawer-mcda-row span {
  color: #315d72;
  font-size: 11px;
  font-weight: 800;
}
.drawer-mcda-row b,
.drawer-mcda-row em,
.drawer-mcda-row i {
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}
.drawer-mcda-row b { color: var(--teal); }
.drawer-mcda-row em { color: #7f9098; }
.drawer-mcda-row i { color: #a06a2f; font-weight: 800; }
.drawer-mcda-meter {
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ecef;
}
.drawer-mcda-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #62aaa4);
}
.drawer-mcda-row p {
  margin: 7px 0 0;
  color: #748993;
  font-size: 10px;
  line-height: 1.55;
}
.drawer-reference-panel {
  margin-top: 18px;
}
.drawer-reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.drawer-reference-grid > article {
  min-width: 0;
  border: 1px solid #dce6e9;
  border-radius: 10px;
  background: #fbfcfd;
  padding: 12px;
  color: inherit;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.drawer-reference-grid > article:hover,
.drawer-reference-grid > article:focus-within {
  transform: translateY(-2px);
  border-color: #85c4bf;
  box-shadow: 0 8px 18px rgba(11, 47, 79, .08);
  outline: none;
}
.drawer-reference-grid > article > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.drawer-reference-grid > article > div > span {
  display: inline-flex;
  border-radius: 999px;
  background: #e8f5f3;
  color: var(--teal);
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 850;
}
.drawer-reference-grid > article > div > small {
  color: #81949e;
  font-size: 10px;
}
.drawer-reference-grid > article > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  margin-top: 8px;
  color: #315d72;
  text-decoration: none;
}
.drawer-reference-grid > article > a:hover,
.drawer-reference-grid > article > a:focus-visible {
  color: #087c78;
  outline: none;
}
.drawer-reference-grid > article > a > strong {
  font-size: 12px;
  line-height: 1.5;
}
.drawer-reference-grid > article > a > b {
  color: #77909b;
  font-size: 11px;
}
.drawer-reference-grid > article > details {
  margin-top: 8px;
  border-top: 1px dashed #dbe5e8;
  padding-top: 7px;
}
.drawer-reference-grid > article > details > summary {
  color: #8a6d52;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.drawer-reference-grid > article > details > p {
  margin: 6px 0 0;
  color: #846b56;
  font-size: 11px;
  line-height: 1.55;
}
.drawer-reference-grid > article > details > p b {
  color: #5d7280;
}
@keyframes slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

@media (max-width: 1240px) {
  .topbar { grid-template-columns: 220px 1fr 130px; gap: 10px; }
  .topbar nav { gap: 20px; }
  .hero { grid-template-columns: minmax(300px, .8fr) minmax(460px, 1.2fr); }
  .priority-panel { grid-column: 1 / -1; width: 100%; }
  .priority-list { grid-template-columns: repeat(3, 1fr); }
  .portfolio-workspace { grid-template-columns: 1fr; }
  .source-grid { grid-template-columns: repeat(2, 1fr); }
  .research-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1120px) {
  .manual-grid {
    grid-template-columns: 1fr;
  }
  .idea-drawer-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "title"
      "question"
      "topics"
      "designs";
  }
  .drawer-study-designs { margin-top: 12px; }
  .idea-drawer-content { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .topbar { height: auto; min-height: 68px; grid-template-columns: 1fr auto; padding: 12px 20px; }
  .topbar nav { grid-column: 1 / -1; order: 3; overflow-x: auto; justify-content: flex-start; height: 40px; }
  .topbar nav a { font-size: 12px; }
  .source-status { grid-column: 2; grid-row: 1; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-copy { text-align: center; }
  .hero-actions, .map-legend { justify-content: center; }
  .metrics { max-width: 560px; margin-inline: auto; margin-top: 34px; }
  .evidence-map { max-width: 560px; }
  .priority-list { grid-template-columns: 1fr; }
  .section-shell { margin-inline: 20px; padding: 42px 28px; }
  .section-heading-row { flex-direction: column; }
  .portfolio-workspace, .signal-publication-grid, .mcda-method-grid, .manual-grid { grid-template-columns: 1fr; }
  .portfolio-matrix { height: 420px; }
  .method-flow { grid-template-columns: repeat(2, 1fr); }
  .method-flow article:nth-child(2)::after { display: none; }
  .method-references { grid-template-columns: repeat(2, 1fr); }
  .site-footer { margin-inline: 20px; flex-direction: column; }
  .idea-drawer { width: 100vw; padding-inline: 28px; }
  .idea-drawer-header { margin-inline: -28px; padding-inline: 28px; }
  .close-button { right: 18px; }
  .drawer-score { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idea-drawer-content { grid-template-columns: 1fr; }
  .drawer-reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .topbar { padding-inline: 16px; }
  .source-status { font-size: 0; }
  .source-status span { margin: 0; }
  .hero { padding-inline: 18px; }
  .hero h1 { font-size: 38px; }
  .hero-actions { flex-direction: column; gap: 14px; }
  .metrics { grid-template-columns: 1fr; }
  .map-column { overflow: visible; }
  .evidence-map { width: min(420px, 100%); }
  .product-node { width: 72px; }
  .product-node > span { width: 52px; height: 52px; }
  .product-node strong { font-size: 13px; }
  .product-node small { font-size: 9px; }
  .map-legend { flex-wrap: wrap; }
  .section-shell { margin-inline: 14px; padding: 36px 18px; border-radius: 15px; }
  .segmented-control { width: 100%; }
  .segmented-control button { flex: 1; }
  .matrix-wrap { padding-inline: 12px; }
  .portfolio-matrix { height: 380px; }
  .matrix-label.left, .matrix-label.right { display: none; }
  .matrix-legend small { width: 100%; margin-left: 0; }
  .research-card-grid, .method-flow, .method-references, .source-grid, .manual-form { grid-template-columns: 1fr; }
  .method-flow article::after { display: none; }
  .method-library { grid-template-columns: 1fr; }
  .weight-row { grid-template-columns: 120px 1fr 32px; }
  .manual-form label.wide, .form-actions.wide { grid-column: auto; }
  .blueprint { grid-template-columns: 1fr; }
  .blueprint div { grid-column: 1 !important; }
  .site-footer { margin-inline: 14px; padding-inline: 10px; }
  .idea-drawer { padding-inline: 16px; }
  .idea-drawer-header { margin-inline: -16px; padding: 21px 16px 18px; }
  .close-button { top: 18px; right: 16px; }
  .idea-drawer h2 { padding-right: 8px; font-size: 24px; }
  .idea-drawer-meta { align-items: flex-start; flex-direction: column; }
  .drawer-question { font-size: 14px; }
  .drawer-score,
  .drawer-reference-grid { grid-template-columns: 1fr; }
  .drawer-readiness-grid { grid-template-columns: 1fr; }
  .drawer-analysis-panel,
  .drawer-blueprint-panel,
  .drawer-reference-panel { padding: 17px; }
  .dossier-evidence-sources a {
    grid-template-columns: 1fr auto;
  }
  .dossier-evidence-sources a > span {
    grid-column: 1;
  }
  .dossier-evidence-sources a > strong {
    grid-column: 1;
    overflow: visible;
    white-space: normal;
  }
  .dossier-evidence-sources a > b {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .drawer-mcda-row > div:first-child {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .drawer-mcda-row em,
  .drawer-mcda-row i { white-space: normal; }
  .drawer-priority-details > summary { grid-template-columns: 1fr; }
  .drawer-priority-details > summary > em { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Readability and portal integration */
html {
  scroll-padding-top: 122px;
}

p,
small,
span,
strong,
em,
dt,
dd,
th,
td,
summary,
label,
a,
button {
  overflow-wrap: break-word;
  word-break: normal;
}

.topbar {
  min-height: 74px;
  height: auto;
  grid-template-columns: 265px minmax(560px, 1fr) 145px;
}

.topbar .portal-nav {
  gap: clamp(20px, 3vw, 46px);
}

.topbar .portal-nav a {
  font-size: 15px;
}

.brand span {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.25;
}

.source-status {
  font-size: 13px;
}

.strategy-subnav {
  position: sticky;
  z-index: 35;
  top: 74px;
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  padding: 7px 22px;
  box-shadow: 0 5px 16px rgba(11,47,79,.035);
  backdrop-filter: blur(14px);
}

.strategy-subnav a {
  color: #526f82;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.strategy-subnav a:hover,
.strategy-subnav a:focus-visible {
  color: var(--teal);
  outline: none;
}

.hero {
  min-height: 740px;
  padding-top: 66px;
  padding-bottom: 66px;
}

.eyebrow,
.section-kicker {
  font-size: 12px;
}

.hero-copy > p {
  font-size: 18px;
  line-height: 1.75;
}

.data-scope {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.55;
}

.metrics span,
.metrics small {
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
}

.metrics small {
  overflow: visible;
  text-overflow: clip;
}

.map-heading,
.map-legend {
  font-size: 11px;
}

.map-heading b {
  font-size: 14px;
}

.map-core small,
.product-node small {
  font-size: 10.5px;
  line-height: 1.35;
}

.product-node strong {
  font-size: 15px;
}

.panel-heading > span {
  font-size: 17px;
}

.panel-heading button {
  font-size: 12px;
}

.priority-card {
  grid-template-columns: 48px minmax(0, 1fr) 30px;
  padding: 18px 16px;
}

.priority-badge {
  font-size: 12px;
}

.priority-card h2 {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.priority-card p {
  flex-wrap: wrap;
}

.priority-card em,
.priority-card dt {
  font-size: 11px;
}

.section-heading-row p {
  font-size: 14px;
  line-height: 1.75;
}

.segmented-control button {
  font-size: 13px;
}

.ranked-head span,
.ranked-head small,
.ranked-items button strong,
.ranked-items button small,
.matrix-legend,
.matrix-label,
.quadrant {
  font-size: 11.5px;
  line-height: 1.45;
}

.research-card > small,
.research-card p,
.research-card div em,
.research-card footer {
  font-size: 12px;
  line-height: 1.65;
}

.research-card h3 {
  font-size: 17px;
  line-height: 1.45;
}

.snapshot-badge,
.local-badge,
.heat-legend,
.evidence-table,
.evidence-table button {
  font-size: 12px;
}

.subsection-head > div > span,
.subsection-head > small,
.subsection-head select,
.subsection-head button {
  font-size: 12px;
}

.signal-feed time,
.signal-feed span,
.publication-list > a > span,
.publication-list small,
.publication-list em {
  font-size: 11px;
  line-height: 1.45;
}

.signal-feed h4,
.publication-list strong {
  font-size: 13px;
  line-height: 1.55;
}

.signal-feed p,
.coverage-note {
  font-size: 12px;
  line-height: 1.7;
}

.source-grid strong,
.method-references strong {
  font-size: 12px;
  line-height: 1.45;
}

.source-grid small,
.source-grid em,
.method-references span {
  font-size: 11px;
  line-height: 1.6;
}

.framework-link {
  font-size: 13px;
}

.method-flow span {
  font-size: 11px;
}

.method-flow h3 {
  font-size: 17px;
}

.method-flow p,
.weight-panel > p,
.method-warning {
  font-size: 12px;
  line-height: 1.7;
}

.weight-row span,
.weight-row b {
  font-size: 12px;
}

.method-library summary {
  font-size: 12px;
  line-height: 1.5;
}

.method-library details p,
.method-library details p strong {
  font-size: 11px;
  line-height: 1.6;
}

.manual-form label > span,
.manual-form input,
.manual-form select,
.manual-form textarea,
.form-actions small {
  font-size: 13px;
  line-height: 1.55;
}

.manual-records article > div span,
.manual-records article > div em,
.manual-records article p,
.manual-records article > small,
.manual-records article footer a,
.manual-records article footer span,
.manual-records article footer button,
.empty-records p {
  font-size: 12px;
  line-height: 1.65;
}

.manual-records article h4,
.empty-records strong {
  font-size: 14px;
  line-height: 1.45;
}

.site-footer {
  font-size: 12px;
  line-height: 1.6;
}

.site-footer div strong {
  font-size: 14px;
}

.blueprint span {
  font-size: 11px;
}

.blueprint p {
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 1240px) {
  .topbar {
    grid-template-columns: 240px minmax(0, 1fr) 130px;
  }

  .topbar .portal-nav {
    gap: 18px;
  }

  .topbar .portal-nav a {
    font-size: 13px;
  }
}

/* Automated evidence monitoring */
.source-status.has-delay span {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(239, 139, 44, .14);
}

.monitoring-inbox {
  margin: 28px 0 24px;
  padding: 28px;
  border: 1px solid #cfe1e5;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(238, 248, 248, .82), rgba(255, 255, 255, .96));
  box-shadow: 0 12px 34px rgba(11, 47, 79, .055);
  scroll-margin-top: 132px;
}

.monitoring-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.monitoring-head > div:first-child > span,
.source-status-heading span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
}

.monitoring-head h3,
.source-status-heading h3 {
  margin: 7px 0 6px;
  color: #0a3156;
  font-size: 22px;
  line-height: 1.35;
}

.monitoring-head p,
.source-status-heading p {
  max-width: 790px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.monitoring-run {
  flex: 0 0 auto;
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid #cfe2e4;
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  text-align: right;
}

.monitoring-run strong,
.monitoring-run span,
.monitoring-run small {
  display: block;
}

.monitoring-run strong {
  color: var(--teal);
  font-size: 26px;
  line-height: 1;
}

.monitoring-run span {
  margin-top: 4px;
  color: #3b6176;
  font-size: 13px;
  font-weight: 700;
}

.monitoring-run small {
  margin-top: 7px;
  color: #7b919f;
  font-size: 12px;
  line-height: 1.45;
}

.monitoring-filters {
  display: grid;
  grid-template-columns: 170px 190px minmax(240px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 22px 0 14px;
}

.monitoring-filters label {
  display: grid;
  gap: 5px;
}

.monitoring-filters label > span {
  color: #526f82;
  font-size: 12px;
  font-weight: 700;
}

.monitoring-filters select,
.monitoring-filters input {
  min-width: 0;
  height: 40px;
  border: 1px solid #ccdbe1;
  border-radius: 9px;
  background: #fff;
  padding: 0 11px;
  color: #254c65;
  font-size: 14px;
  outline: none;
}

.monitoring-filters select:focus,
.monitoring-filters input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 140, 135, .08);
}

.monitoring-count {
  align-self: center;
  justify-self: end;
  padding-top: 17px;
  color: #68808f;
  font-size: 12px;
  white-space: nowrap;
}

.monitoring-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.monitoring-record {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dce7eb;
  border-radius: 11px;
  background: rgba(255, 255, 255, .94);
}

.monitoring-record-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.monitoring-record-meta time {
  color: #7b909d;
  font-size: 12px;
  white-space: nowrap;
}

.monitoring-record-meta b {
  overflow: hidden;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitoring-record h4 {
  margin: 10px 0 11px;
  font-size: 15px;
  line-height: 1.55;
}

.monitoring-record h4 a {
  color: #173f5b;
  text-decoration: none;
}

.monitoring-record h4 a:hover,
.monitoring-record h4 a:focus-visible {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.monitoring-record-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.monitoring-record-tags em,
.monitoring-record-tags span {
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 11px;
  font-style: normal;
  line-height: 1.3;
}

.monitoring-record-tags em {
  background: #eaf7f6;
  color: var(--teal);
}

.monitoring-record-tags span {
  background: #f1f4f6;
  color: #617887;
}

.monitoring-record footer {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e7eef1;
  color: #748b99;
  font-size: 12px;
}

.monitoring-record footer > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitoring-record code {
  flex: 0 0 auto;
  color: #456a7e;
  font-size: 11px;
}

.monitoring-empty {
  grid-column: 1 / -1;
  padding: 38px 20px;
  border: 1px dashed #cfdee4;
  border-radius: 11px;
  background: rgba(255, 255, 255, .7);
  text-align: center;
}

.monitoring-empty strong {
  color: #45697e;
  font-size: 15px;
}

.monitoring-empty p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.monitoring-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 92px;
  border: 1px dashed #cfdee4;
  border-radius: 11px;
  background: rgba(255, 255, 255, .7);
  color: #627d8a;
  font-size: 12px;
}

.monitoring-loading span {
  width: 15px;
  height: 15px;
  border: 2px solid #c8dddc;
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: monitoring-spin .7s linear infinite;
}

.monitoring-loading p { margin: 0; }

@keyframes monitoring-spin { to { transform: rotate(360deg); } }

.monitoring-more {
  display: block;
  min-width: 150px;
  min-height: 42px;
  margin: 16px auto 0;
  border: 1px solid #b9d6d6;
  border-radius: 9px;
  background: #fff;
  color: var(--teal);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.monitoring-more:hover,
.monitoring-more:focus-visible {
  border-color: var(--teal);
  background: #f1faf9;
}

.monitoring-more[hidden] {
  display: none;
}

.monitoring-boundary {
  margin: 14px 0 0;
  color: #617887;
  font-size: 13px;
  line-height: 1.65;
}

.monitoring-boundary strong {
  color: #9b4b43;
}

.source-status-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
}

.source-status-heading p {
  max-width: 620px;
  text-align: right;
}

.source-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-grid a.source-card {
  grid-template-columns: 11px minmax(0, 1fr);
  min-width: 0;
  min-height: 142px;
}

.source-card em,
.source-card time {
  grid-column: 2;
  display: block;
  font-style: normal;
}

.source-card em {
  color: var(--teal);
  font-size: 12px;
  line-height: 1.5;
}

.source-card time {
  color: #869aa6;
  font-size: 11px;
  line-height: 1.45;
}

.source-card .source-access-note {
  display: block;
  margin-top: 7px;
  color: #657985;
  font-size: 12px;
  line-height: 1.55;
}

.source-ok .source-dot,
.source-no_change .source-dot {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 140, 135, .1);
}

.source-stale .source-dot,
.source-degraded .source-dot {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(239, 139, 44, .12);
}

.source-stale em,
.source-degraded em {
  color: #b96b25;
}

.source-planned {
  background: #fafbfc !important;
}

.source-planned .source-dot {
  background: #a6b4bc;
  box-shadow: 0 0 0 4px rgba(120, 139, 150, .1);
}

.source-planned em {
  color: #6f8492;
}

.landscape-source {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid #bcdedc;
  border-radius: 17px;
  background:
    radial-gradient(circle at 92% 8%, rgba(0, 140, 135, .1), transparent 25%),
    linear-gradient(145deg, #f2fbfa, #f8fbfc 56%, #f3f8fa);
  padding: clamp(20px, 2.4vw, 27px);
  box-shadow: 0 16px 40px rgba(25, 78, 100, .06);
}

.landscape-source::before {
  position: absolute;
  width: 4px;
  background: linear-gradient(var(--teal), #47c9bd);
  content: "";
  inset: 0 auto 0 0;
}

.landscape-source-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.landscape-source-head > div:first-child {
  max-width: 800px;
}

.landscape-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.landscape-title-row h3 {
  margin: 0;
  color: #123d58;
  font-size: 26px;
  letter-spacing: -.025em;
}

.landscape-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.landscape-metrics article {
  min-width: 0;
  border: 1px solid #d5e5e8;
  border-radius: 10px;
  background: rgba(255, 255, 255, .86);
  padding: 12px 13px 13px;
}

.landscape-metrics span,
.landscape-metrics strong,
.landscape-metrics small {
  display: block;
}

.landscape-metrics span {
  color: #6f8694;
  font-size: 10px;
  font-weight: 700;
}

.landscape-metrics strong {
  margin-top: 7px;
  color: #124b63;
  font-size: 24px;
  line-height: 1;
}

.landscape-metrics small {
  margin-top: 6px;
  overflow: hidden;
  color: #8296a1;
  font-size: 9px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landscape-assessment-board {
  margin-top: 10px;
  border: 1px solid #c9dfe2;
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  padding: 16px;
}

.landscape-assessment-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.landscape-assessment-heading > div > span,
.landscape-audit-log > div > span {
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

.landscape-assessment-heading h4 {
  margin: 0;
  color: #214b63;
  font-size: 16px;
}

.landscape-assessment-heading p {
  max-width: 720px;
  margin: 6px 0 0;
  color: #657f8d;
  font-size: 11px;
  line-height: 1.65;
}

.landscape-assessment-heading > small {
  max-width: 310px;
  border: 1px solid #ead5b8;
  border-radius: 8px;
  background: #fff8ed;
  color: #94632c;
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.landscape-assessment-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}

.landscape-assessment-cards article {
  min-width: 0;
  border: 1px solid #d8e4e7;
  border-radius: 10px;
  background: #fbfdfd;
  padding: 11px 12px 12px;
}

.landscape-assessment-cards article.status-complete {
  border-color: #a8d8d3;
  background: #f0faf8;
}

.landscape-assessment-cards article.status-pending,
.landscape-assessment-cards article.status-blocked {
  border-color: #ead8bd;
  background: #fffbf4;
}

.landscape-assessment-cards article > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.landscape-assessment-cards span {
  color: #587585;
  font-size: 10px;
  font-weight: 750;
}

.landscape-assessment-cards em {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #edf2f3;
  color: #6e838e;
  padding: 3px 7px;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.landscape-assessment-cards .status-complete em {
  background: #dff3ef;
  color: #087c78;
}

.landscape-assessment-cards .status-pending em,
.landscape-assessment-cards .status-blocked em {
  background: #fff0d8;
  color: #a26524;
}

.landscape-assessment-cards article > strong {
  display: block;
  margin-top: 8px;
  color: #164d64;
  font-size: 22px;
  line-height: 1;
}

.landscape-assessment-cards article > small {
  display: block;
  min-height: 29px;
  margin-top: 7px;
  color: #78909c;
  font-size: 9px;
  line-height: 1.55;
}

.landscape-trace {
  margin-top: 12px;
  border-top: 1px solid #dde8ea;
  padding-top: 2px;
}

.landscape-trace > summary {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #176660;
  cursor: pointer;
  list-style: none;
}

.landscape-trace > summary::-webkit-details-marker {
  display: none;
}

.landscape-trace > summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
}

.landscape-trace > summary span::before {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  background: #e5f5f2;
  content: "+";
  font-size: 14px;
}

.landscape-trace[open] > summary span::before {
  content: "−";
}

.landscape-trace > summary small {
  color: #8297a2;
  font-size: 9px;
}

.landscape-audit-body {
  border-top: 1px solid #e2ebed;
  padding-top: 13px;
}

.landscape-audit-warning {
  margin: 0 0 10px;
  border-radius: 8px;
  background: #fff3e4;
  color: #9b5e24;
  padding: 9px 10px;
  font-size: 10px;
}

.landscape-audit-table-wrap {
  overflow-x: auto;
  border: 1px solid #dce7e9;
  border-radius: 9px;
}

.landscape-audit-table {
  width: 100%;
  min-width: 790px;
  border-collapse: collapse;
  background: #fff;
  color: #5a7483;
  font-size: 9px;
  line-height: 1.55;
}

.landscape-audit-table th,
.landscape-audit-table td {
  border-bottom: 1px solid #e5edef;
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

.landscape-audit-table thead th {
  background: #f4f8f9;
  color: #527080;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.landscape-audit-table tbody th {
  color: #214f64;
  font-size: 10px;
  white-space: nowrap;
}

.landscape-audit-table tbody tr:last-child th,
.landscape-audit-table tbody tr:last-child td {
  border-bottom: 0;
}

.audit-state {
  display: inline-flex;
  border-radius: 999px;
  background: #edf3f4;
  color: #667f8c;
  padding: 3px 7px;
  font-weight: 800;
  white-space: nowrap;
}

.audit-state.complete {
  background: #e1f4f0;
  color: #087c78;
}

.audit-state.pending,
.audit-state.blocked {
  background: #fff0d9;
  color: #9b6125;
}

.landscape-audit-log {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  margin-top: 12px;
  border: 1px solid #dce7e9;
  border-radius: 9px;
  background: #f9fbfb;
  padding: 12px;
}

.landscape-audit-log h5 {
  margin: 3px 0 0;
  color: #285369;
  font-size: 12px;
}

.landscape-audit-log ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landscape-audit-log li {
  display: grid;
  grid-template-columns: 54px 90px minmax(130px, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-radius: 7px;
  background: #fff;
  padding: 7px 8px;
  font-size: 9px;
}

.landscape-audit-log li em {
  color: var(--teal);
  font-style: normal;
  font-weight: 800;
}

.landscape-audit-log li strong {
  overflow: hidden;
  color: #345e71;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landscape-audit-log li span {
  color: #5d7684;
}

.landscape-audit-log li small {
  color: #8397a1;
  white-space: nowrap;
}

.landscape-audit-empty {
  margin: 0;
  border-radius: 8px;
  background: #fff8ed;
  color: #8c6539;
  padding: 10px 11px;
  font-size: 10px;
  line-height: 1.65;
}

.landscape-method-note {
  margin: 10px 0 0;
  color: #708791;
  font-size: 9px;
  line-height: 1.65;
}

.source-grid a.source-core {
  border-color: #9fd2ce;
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 140, 135, .12), transparent 35%),
    #effaf8;
  box-shadow: inset 3px 0 var(--teal);
}

.source-core .source-dot {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(0, 140, 135, .11);
}

.source-core strong {
  color: #14605e;
}

.source-core em {
  color: #087c78;
  font-weight: 750;
}

@media (max-width: 1100px) {
  .landscape-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landscape-assessment-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .monitoring-filters {
    grid-template-columns: 1fr 1fr;
  }

  .monitor-search {
    grid-column: 1 / -1;
  }

  .monitoring-count {
    grid-column: 1 / -1;
    justify-self: start;
    padding-top: 0;
  }

  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .landscape-source {
    padding: 20px 15px;
  }

  .landscape-source-head {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .landscape-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landscape-assessment-board {
    padding: 14px 12px;
  }

  .landscape-assessment-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .landscape-assessment-heading > small {
    max-width: none;
  }

  .landscape-assessment-cards {
    grid-template-columns: 1fr;
  }

  .landscape-assessment-cards article > small {
    min-height: 0;
  }

  .landscape-audit-log {
    grid-template-columns: 1fr;
  }

  .landscape-audit-log li {
    grid-template-columns: 48px minmax(70px, .7fr) minmax(110px, 1fr);
  }

  .landscape-audit-log li small {
    grid-column: 2 / -1;
  }

  .monitoring-inbox {
    padding: 20px 16px;
  }

  .monitoring-head,
  .source-status-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .monitoring-run {
    min-width: 0;
    text-align: left;
  }

  .monitoring-filters,
  .monitoring-list,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .monitor-search,
  .monitoring-count {
    grid-column: auto;
  }

  .source-status-heading p {
    text-align: left;
  }

}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 18px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar .portal-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }

  .topbar .portal-nav a {
    min-height: 38px;
    justify-content: center;
    border-radius: 8px;
    padding: 5px 6px;
    text-align: center;
    white-space: normal;
  }

  .topbar .portal-nav a.active {
    background: #edf8f7;
  }

  .strategy-subnav {
    position: static;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .landscape-assessment-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 20px;
  }

  .brand span {
    font-size: 9px;
  }

  .source-status {
    min-width: 38px;
    min-height: 38px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .strategy-subnav {
    gap: 24px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .strategy-subnav a {
    flex: 0 0 auto;
  }

  .priority-card {
    grid-template-columns: 46px minmax(0, 1fr) 28px;
  }

  .ranked-head,
  .ranked-fold-control {
    align-items: stretch;
    flex-direction: column;
  }

  .ranked-toggle,
  .ranked-fold-control button {
    justify-content: center;
    width: 100%;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Traceable strategy analysis and permission-ready result layers */
.analysis-process-section {
  border-color: #bcdedb;
  background:
    radial-gradient(circle at 95% 5%, rgba(0, 140, 135, .08), transparent 28%),
    rgba(255, 255, 255, .92);
}

.analysis-results-section {
  border-color: #c8d9e1;
  background:
    radial-gradient(circle at 4% 8%, rgba(11, 47, 79, .06), transparent 26%),
    rgba(255, 255, 255, .94);
}

.permission-scope-badge {
  display: inline-flex;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid #acd7d2;
  border-radius: 999px;
  background: #eef9f7;
  color: #087c78;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 800;
}

.permission-scope-badge::before {
  margin-right: 6px;
  content: "◉";
  font-size: 8px;
}

.permission-scope-badge.result {
  border-color: #c9d9e1;
  background: #f3f7f9;
  color: #315d72;
}

.analysis-scope-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 17px;
  border: 1px solid #cfe3e3;
  border-radius: 14px;
  background: linear-gradient(135deg, #f1faf8, #f8fbfc);
  padding: 18px 20px;
}

.analysis-scope-banner > div:first-child > span,
.result-conclusion > span,
.result-uncertainties > span {
  color: var(--teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}

.analysis-scope-banner h3 {
  margin: 5px 0 6px;
  color: #143f59;
  font-size: 20px;
}

.analysis-scope-banner p {
  max-width: 980px;
  margin: 0;
  color: #577486;
  font-size: 11px;
  line-height: 1.7;
}

.analysis-run-meta {
  min-width: 205px;
  border-left: 1px solid #cfe1e1;
  padding-left: 20px;
  text-align: right;
}

.analysis-run-meta strong,
.analysis-run-meta small {
  display: block;
}

.analysis-run-meta strong {
  color: #9a6228;
  font-size: 11px;
}

.analysis-run-meta small {
  margin-top: 5px;
  color: #81949e;
  font-size: 9px;
}

.analysis-trace {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.analysis-trace > article {
  position: relative;
  min-width: 0;
  border: 1px solid #d7e5e8;
  border-radius: 13px;
  background: #fff;
  padding: 15px;
}

.analysis-trace > article:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 29px;
  right: -9px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: #e6f3f1;
  color: var(--teal);
  content: "›";
  font-size: 13px;
  font-weight: 900;
}

.analysis-trace article > header {
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #e5edef;
  padding-bottom: 11px;
}

.analysis-trace header > b {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 9px;
  background: #e6f5f3;
  color: var(--teal);
  font-size: 10px;
}

.analysis-trace header span {
  display: block;
  color: #8498a3;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
}

.analysis-trace header h3 {
  margin: 2px 0 0;
  color: #214d64;
  font-size: 12px;
}

.analysis-trace header em {
  border-radius: 999px;
  background: #fff3e3;
  color: #9b652e;
  padding: 3px 6px;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.analysis-trace dl {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.analysis-trace dl > div {
  min-width: 0;
}

.analysis-trace dt {
  margin-bottom: 3px;
  color: #7d929e;
  font-size: 8px;
  font-weight: 800;
}

.analysis-trace dd {
  margin: 0;
  color: #526f80;
  font-size: 9px;
  line-height: 1.65;
}

.analysis-gap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.analysis-gap-tags > span {
  border-radius: 5px;
  background: #fff0e3;
  color: #9b5f2a;
  padding: 3px 5px;
  font-size: 8px;
  font-weight: 750;
}

.analysis-governance-note {
  margin-top: 14px;
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  background: #f1f8f7;
  color: #607986;
  padding: 11px 14px;
  font-size: 9px;
  line-height: 1.65;
}

.analysis-governance-note.result {
  border-left-color: #587b8e;
  background: #f3f7f9;
}

.analysis-governance-note strong {
  color: #2f606e;
}

.analysis-governance-note code {
  border-radius: 4px;
  background: #fff;
  color: #176f6c;
  padding: 2px 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
}

.analysis-result-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 12px;
}

.analysis-result-kpis article {
  border: 1px solid #d6e2e7;
  border-radius: 12px;
  background: #fbfcfd;
  padding: 15px;
}

.analysis-result-kpis span,
.analysis-result-kpis strong,
.analysis-result-kpis small {
  display: block;
}

.analysis-result-kpis span {
  color: #6a8290;
  font-size: 9px;
  font-weight: 750;
}

.analysis-result-kpis strong {
  margin-top: 7px;
  color: #164b63;
  font-size: 25px;
  line-height: 1;
}

.analysis-result-kpis small {
  margin-top: 7px;
  color: #81959f;
  font-size: 8px;
  line-height: 1.5;
}

.analysis-result-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  gap: 12px;
}

.result-conclusion,
.result-uncertainties {
  min-width: 0;
  border: 1px solid #d6e2e7;
  border-radius: 13px;
  background: #fff;
  padding: 20px;
}

.result-conclusion h3,
.result-uncertainties h3 {
  margin: 5px 0 9px;
  color: #214d64;
  font-size: 17px;
}

.result-conclusion > p {
  margin: 0;
  color: #526f80;
  font-size: 11px;
  line-height: 1.75;
}

.result-conclusion > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}

.result-conclusion > div p {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 7px;
  margin: 0;
  border-radius: 8px;
  background: #f3f8f8;
  color: #577282;
  padding: 9px;
  font-size: 9px;
  line-height: 1.55;
}

.result-conclusion > div b {
  color: var(--teal);
}

.result-uncertainties {
  background: #fffaf3;
}

.result-uncertainties > span {
  color: #a26a2f;
}

.result-uncertainties ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-uncertainties li {
  position: relative;
  color: #6f685f;
  padding-left: 15px;
  font-size: 9px;
  line-height: 1.65;
}

.result-uncertainties li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e3a760;
  content: "";
}

.analysis-ranked-results {
  margin-top: 12px;
  border: 1px solid #d6e2e7;
  border-radius: 13px;
  background: #fbfcfd;
  padding: 17px;
}

.analysis-ranked-results .subsection-head {
  margin-bottom: 9px;
}

.analysis-result-list {
  overflow: hidden;
  border: 1px solid #e0e9ec;
  border-radius: 10px;
  background: #fff;
}

.analysis-result-list > button {
  display: grid;
  width: 100%;
  grid-template-columns: 34px minmax(0, 1fr) 46px 42px 72px;
  gap: 10px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #e7edef;
  background: transparent;
  padding: 11px 12px;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.analysis-result-list > button:last-child {
  border-bottom: 0;
}

.analysis-result-list > button:hover,
.analysis-result-list > button:focus-visible {
  background: #f0f8f7;
  outline: none;
}

.analysis-result-list > button > b {
  color: #94a7b1;
  font-size: 10px;
}

.analysis-result-list button > span strong,
.analysis-result-list button > span small {
  display: block;
}

.analysis-result-list button > span strong {
  color: #294f65;
  font-size: 10px;
}

.analysis-result-list button > span small {
  margin-top: 4px;
  color: #7e919c;
  font-size: 8px;
}

.analysis-result-list button > em {
  justify-self: center;
}

.analysis-result-list button > i {
  color: var(--teal);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  text-align: center;
}

.analysis-result-list button > u {
  color: #4f6f80;
  font-size: 8px;
  font-weight: 750;
  text-align: right;
  text-decoration: none;
}

@media (max-width: 1220px) {
  .analysis-trace {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analysis-trace > article:not(:last-child)::after {
    display: none;
  }

  .analysis-trace > article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .analysis-scope-banner,
  .analysis-result-summary {
    grid-template-columns: 1fr;
  }

  .analysis-run-meta {
    border-top: 1px solid #cfe1e1;
    border-left: 0;
    padding-top: 12px;
    padding-left: 0;
    text-align: left;
  }

  .analysis-result-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-conclusion > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .analysis-trace,
  .analysis-result-kpis {
    grid-template-columns: 1fr;
  }

  .analysis-trace > article:last-child {
    grid-column: auto;
  }

  .analysis-result-list > button {
    grid-template-columns: 30px minmax(0, 1fr) 42px;
  }

  .analysis-result-list button > i {
    grid-column: 3;
    grid-row: 2;
  }

  .analysis-result-list button > u {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }
}

/* Product-scoped lower content, collapsible monitoring and final readability */
.downstream-context {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 18px;
  align-items: center;
  margin: 14px 0 0;
  border: 1px solid #d5e4e6;
  border-radius: 10px;
  background: #f7fbfb;
  padding: 9px 12px;
}

.downstream-context > div > strong {
  display: block;
  color: #173f59;
  font-size: 13px;
  white-space: nowrap;
}

.downstream-context ul {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.downstream-context li {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  border-radius: 999px;
  background: #fff;
  padding: 5px 8px;
}

.downstream-context li b,
.downstream-context li span {
  display: inline;
}

.downstream-context li b {
  color: #164e64;
  font-size: 13px;
}

.downstream-context li span {
  color: #6c8491;
  font-size: 10px;
  font-weight: 700;
}

.scope-follow-pill {
  display: inline-flex;
  min-height: 32px;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid #aed8d4;
  border-radius: 999px;
  background: #ebf8f6;
  color: #087c78 !important;
  padding: 6px 10px;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.35;
}

.context-empty {
  min-height: 160px;
  display: grid;
  place-content: center;
  border: 1px dashed #cbdde2;
  border-radius: 10px;
  background: #f8fbfc;
  padding: 22px;
  text-align: center;
}

.context-empty strong {
  color: #3f6276;
  font-size: 14px;
}

.context-empty p {
  max-width: 380px;
  margin: 7px 0 0;
  color: #708794;
  font-size: 12px;
  line-height: 1.65;
}

.method-heading-actions,
.heading-badge-group {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}

.method-library-scope {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  border: 1px solid #cfe2e3;
  border-radius: 9px;
  background: #f1f9f8;
  padding: 10px 12px;
}

.method-library-scope span {
  color: #708792;
  font-size: 12px;
  font-weight: 700;
}

.method-library-scope strong {
  color: #17625f;
  font-size: 14px;
}

.method-library-scope small {
  margin-left: auto;
  color: #718995;
  font-size: 11px;
}

.monitoring-disclosure {
  margin-top: 18px;
  border-top: 1px solid #d5e5e7;
}

.monitoring-disclosure > summary {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #17635f;
  cursor: pointer;
  list-style: none;
}

.monitoring-disclosure > summary::-webkit-details-marker {
  display: none;
}

.monitoring-disclosure > summary div {
  min-width: 0;
}

.monitoring-disclosure > summary span,
.monitoring-disclosure > summary small {
  display: block;
}

.monitoring-disclosure > summary span {
  font-size: 14px;
  font-weight: 800;
}

.monitoring-disclosure > summary small {
  margin-top: 4px;
  color: #6d8491;
  font-size: 12px;
  line-height: 1.45;
}

.monitoring-disclosure > summary > b {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: #e4f5f2;
  color: var(--teal);
  font-size: 20px;
  transition: transform .2s ease;
}

.monitoring-disclosure[open] > summary > b {
  transform: rotate(45deg);
}

.monitoring-body {
  border-top: 1px solid #dce8ea;
  padding-top: 2px;
}

.monitoring-scope-lock {
  display: grid;
  align-content: center;
  min-height: 40px;
  border: 1px solid #bcdedb;
  border-radius: 9px;
  background: #edf8f6;
  padding: 6px 10px;
}

.monitoring-scope-lock span {
  color: #617d89;
  font-size: 11px;
  font-weight: 700;
}

.monitoring-scope-lock strong {
  color: #087c78;
  font-size: 13px;
}

.monitoring-scope-lock small {
  color: #77909a;
  font-size: 10px;
}

.landscape-availability-note {
  margin: 10px 0;
  border: 1px solid #ead3b3;
  border-radius: 10px;
  background: #fff8ed;
  padding: 13px 15px;
}

.landscape-availability-note strong {
  color: #955c24;
  font-size: 14px;
}

.landscape-availability-note p {
  margin: 5px 0 0;
  color: #796c5e;
  font-size: 12px;
  line-height: 1.65;
}

.permission-scope-badge {
  font-size: 12px;
}

.permission-scope-badge::before {
  font-size: 10px;
}

.analysis-scope-banner > div:first-child > span,
.result-conclusion > span,
.result-uncertainties > span {
  font-size: 11px;
}

.analysis-scope-banner p {
  font-size: 14px;
}

.analysis-run-meta strong {
  font-size: 13px;
}

.analysis-run-meta small {
  font-size: 11px;
}

.analysis-trace header span {
  font-size: 10px;
}

.analysis-trace header h3 {
  font-size: 14px;
}

.analysis-trace header em {
  font-size: 10px;
}

.analysis-trace dt {
  font-size: 11px;
}

.analysis-trace dd {
  font-size: 12px;
}

.analysis-gap-tags > span {
  font-size: 11px;
}

.analysis-governance-note {
  font-size: 12px;
}

.analysis-governance-note code {
  font-size: 11px;
}

.analysis-result-kpis span,
.analysis-result-kpis small {
  font-size: 11px;
}

.result-conclusion > p,
.result-conclusion > div p,
.result-uncertainties li {
  font-size: 12px;
}

.analysis-result-list button > span strong {
  font-size: 13px;
}

.analysis-result-list button > span small,
.analysis-result-list button > u,
.analysis-result-list > button > b {
  font-size: 11px;
}

.landscape-metrics span,
.landscape-metrics small {
  overflow: visible;
  font-size: 11px;
  line-height: 1.5;
  text-overflow: clip;
  white-space: normal;
}

.landscape-assessment-heading > small {
  font-size: 12px;
}

.landscape-assessment-cards span,
.landscape-assessment-cards em {
  font-size: 11px;
}

.landscape-trace > summary span,
.landscape-audit-warning,
.landscape-audit-table,
.landscape-audit-table thead th,
.landscape-audit-table tbody th,
.landscape-audit-log li,
.landscape-audit-empty,
.landscape-method-note {
  font-size: 11px;
}

@media (max-width: 900px) {
  .downstream-context {
    grid-template-columns: 1fr;
  }

  .downstream-context ul {
    justify-content: flex-start;
  }

  .method-heading-actions,
  .heading-badge-group {
    align-items: flex-start;
  }

  .method-library-scope small {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .downstream-context {
    padding: 10px;
  }

  .downstream-context ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .downstream-context li {
    justify-content: center;
  }

  .monitoring-disclosure > summary {
    min-height: 70px;
  }

  .monitoring-record-meta,
  .monitoring-record footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .monitoring-record footer {
    display: grid;
  }

  .monitoring-record footer > span,
  .monitoring-record-meta b {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

}

/* Local-library bridge and eight-domain strategy evidence view */
.source-sufficiency {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 12px;
}

.source-sufficiency article {
  min-width: 0;
  border: 1px solid #d9e6e9;
  border-radius: 13px;
  background: #fbfdfd;
  padding: 18px;
}

.source-sufficiency .local-source-card {
  border-color: #aed8d4;
  background: linear-gradient(145deg, #effaf8, #fbfdfd);
}

.source-sufficiency .reviewed-source-card {
  border-color: #e8d7bd;
  background: #fffbf5;
}

.source-sufficiency article > span {
  color: #17837e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.source-sufficiency article > strong {
  display: block;
  margin-top: 8px;
  color: #1d4c64;
  font-size: 16px;
  line-height: 1.45;
}

.source-sufficiency article > p {
  margin: 8px 0 0;
  color: #617b89;
  font-size: 13px;
  line-height: 1.7;
}

.source-sufficiency article > em,
.source-sufficiency article > a {
  display: block;
  margin-top: 12px;
  color: #087c78;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
}

.source-sufficiency-conclusion {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-bottom: 16px;
  border-left: 3px solid #dc8c38;
  border-radius: 8px;
  background: #fff7eb;
  padding: 12px 15px;
  color: #796b5d;
  font-size: 13px;
  line-height: 1.65;
}

.source-sufficiency-conclusion strong {
  color: #955b24;
}

.evidence-table {
  min-width: 1430px;
}

.evidence-table thead th {
  min-width: 118px;
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
}

.evidence-table thead th:first-child {
  min-width: 145px;
}

.evidence-table thead th:last-child {
  min-width: 110px;
}

.heat-cell {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.local-domain-count {
  border-radius: 999px;
  background: #e7f6f3;
  color: #087c78;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.heat-legend {
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.5;
}

.heat-legend small {
  font-size: 12px;
}

.library-import-panel {
  margin-bottom: 20px;
  border: 1px solid #b9dcd8;
  border-radius: 15px;
  background: linear-gradient(135deg, #f0faf8, #fbfdfd 54%, #f8fbfc);
  padding: 24px;
}

.library-import-intro > span {
  color: #087c78;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.library-import-intro h3 {
  margin: 6px 0 0;
  color: #173f58;
  font-size: 20px;
}

.library-import-intro p {
  max-width: 980px;
  margin: 7px 0 0;
  color: #607b89;
  font-size: 13px;
  line-height: 1.75;
}

.library-import-controls {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(280px, .7fr);
  gap: 12px;
  align-items: stretch;
  margin-top: 18px;
}

.library-mode-control {
  display: grid;
  gap: 7px;
  align-content: center;
  border: 1px solid #d5e4e7;
  border-radius: 11px;
  background: rgba(255, 255, 255, .9);
  padding: 13px 14px;
}

.library-mode-control > span {
  color: #4e6e7f;
  font-size: 12px;
  font-weight: 750;
}

.library-mode-control select {
  width: 100%;
  height: 42px;
  border: 1px solid #c6d9de;
  border-radius: 8px;
  background: #fff;
  padding: 0 10px;
  color: #244c63;
  font-size: 13px;
  outline: none;
}

.library-mode-control select:focus {
  border-color: #008c87;
  box-shadow: 0 0 0 3px rgba(0, 140, 135, .08);
}

.library-file-picker {
  position: relative;
  display: grid;
  min-height: 92px;
  place-content: center;
  justify-items: center;
  border: 1px dashed #76bbb6;
  border-radius: 11px;
  background: #fff;
  padding: 14px;
  text-align: center;
  cursor: pointer;
}

.library-file-picker:hover,
.library-file-picker:focus-within {
  border-color: #008c87;
  background: #f4fbfa;
  box-shadow: 0 0 0 3px rgba(0, 140, 135, .06);
}

.library-file-picker.is-loading {
  cursor: wait;
  opacity: .7;
}

.library-file-picker input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: inherit;
}

.library-file-picker > span {
  color: #087c78;
  font-size: 14px;
  font-weight: 800;
}

.library-file-picker > small {
  margin-top: 6px;
  color: #718995;
  font-size: 12px;
  line-height: 1.5;
}

.library-import-result {
  margin-top: 12px;
  border: 1px solid #b8ddd9;
  border-radius: 11px;
  background: rgba(255, 255, 255, .92);
  padding: 14px;
}

.library-import-result.has-error {
  border-color: #e6bdb7;
  background: #fff7f5;
}

.library-import-result > strong {
  color: #28576a;
  font-size: 14px;
}

.library-import-result.has-error > strong {
  color: #a24b43;
}

.library-import-result ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.library-import-result li {
  border-radius: 8px;
  background: #f1f8f7;
  padding: 9px 10px;
}

.library-import-result li b,
.library-import-result li span {
  display: block;
}

.library-import-result li b {
  color: #087c78;
  font-size: 18px;
}

.library-import-result li span,
.library-import-result > p {
  color: #687f8b;
  font-size: 12px;
  line-height: 1.6;
}

.library-import-result > p {
  margin: 9px 0 0;
}

.library-import-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  border-top: 1px solid #dce9e9;
  padding-top: 12px;
}

.library-import-next > div:first-child {
  min-width: 0;
}

.library-import-next b,
.library-import-next span {
  display: block;
}

.library-import-next b {
  color: #28576a;
  font-size: 13px;
}

.library-import-next span {
  margin-top: 3px;
  color: #6a818d;
  font-size: 12px;
  line-height: 1.55;
}

.library-import-next > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.library-import-next button {
  min-height: 38px;
  border: 1px solid #b9d3d6;
  border-radius: 8px;
  background: #fff;
  padding: 0 13px;
  color: #315b6d;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.library-import-next button.primary {
  border-color: #008c87;
  background: #008c87;
  color: #fff;
}

.library-import-next button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.library-storage-warning {
  margin: 12px 0 0;
  border-radius: 8px;
  background: #fff0dc;
  padding: 10px 12px;
  color: #965d26;
  font-size: 12px;
  line-height: 1.6;
}

.library-format-guide {
  margin-top: 14px;
  border: 1px solid #d4e4e6;
  border-radius: 11px;
  background: rgba(255, 255, 255, .82);
  overflow: hidden;
}

.library-format-guide summary {
  padding: 13px 15px;
  color: #28576a;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.library-format-guide[open] summary {
  border-bottom: 1px solid #dbe8ea;
  background: #f8fbfb;
}

.library-format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding: 14px;
}

.library-format-grid article {
  min-width: 0;
  border: 1px solid #dce9eb;
  border-radius: 9px;
  background: #fff;
  padding: 11px 12px;
}

.library-format-grid b,
.library-format-grid span {
  display: block;
}

.library-format-grid b {
  color: #173f58;
  font-size: 14px;
}

.library-format-grid span {
  margin-top: 4px;
  color: #087c78;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.library-format-grid p,
.library-format-note {
  color: #667f8c;
  font-size: 13px;
  line-height: 1.65;
}

.library-format-grid p {
  margin: 5px 0 0;
}

.library-format-note {
  margin: 0;
  border-top: 1px solid #e2ecee;
  padding: 11px 15px 13px;
}

.library-workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.library-workflow article {
  min-width: 0;
  border-top: 1px solid #cfe2e3;
  padding: 12px 10px 0;
}

.library-workflow article > b {
  color: #2e9c96;
  font-size: 12px;
}

.library-workflow article > span {
  display: block;
  margin-top: 4px;
  color: #315b6d;
  font-size: 13px;
  font-weight: 750;
}

.library-workflow article > p {
  margin: 5px 0 0;
  color: #6a818d;
  font-size: 12px;
  line-height: 1.6;
}

.library-workflow a {
  color: #087c78;
  font-weight: 750;
  text-decoration: none;
}

.manual-records .record-domain-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px;
  margin-top: 10px;
}

.manual-records .record-domain-tags > span,
.manual-records .record-domain-tags > em {
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 11px;
  font-style: normal;
  line-height: 1.3;
}

.manual-records .record-domain-tags > span {
  background: #fff0dc;
  color: #935b27;
}

.manual-records .record-domain-tags > em {
  background: #eaf7f5;
  color: #087c78;
}

.manual-queue-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(68px, 1fr));
  gap: 7px;
  margin: 2px 0 11px;
}

.manual-queue-summary > span {
  display: grid;
  gap: 2px;
  border-radius: 8px;
  background: #f3f8f8;
  padding: 8px 9px;
  color: #6b818d;
  font-size: 11px;
  line-height: 1.35;
}

.manual-queue-summary > span b {
  color: #087c78;
  font-size: 16px;
}

.manual-record-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px 12px;
  margin-bottom: 11px;
  border: 1px solid #dce8e9;
  border-radius: 10px;
  background: #f7fafb;
  padding: 11px;
}

.manual-record-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.manual-record-search > span {
  color: #315b6d;
  font-size: 11px;
  font-weight: 800;
}

.manual-record-search input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cbdcdf;
  border-radius: 8px;
  background: #fff;
  padding: 7px 10px;
  color: #17384a;
  font: inherit;
  font-size: 12px;
}

.manual-record-search input:focus {
  border-color: #6db8b1;
  outline: 3px solid rgba(8, 124, 120, .1);
}

.manual-record-search small {
  color: #718894;
  font-size: 10px;
  white-space: nowrap;
}

.manual-bulk-review {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.manual-role-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.manual-role-actions > span,
.manual-role-actions > a {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
}

.manual-role-actions > span {
  background: #eef3f5;
  color: #526c79;
}

.manual-role-actions > span.medical {
  background: #eaf7f5;
  color: #087c78;
}

.manual-role-actions > a {
  border: 1px solid #8bc4bf;
  background: #fff;
  color: #087c78;
  text-decoration: none;
}

.manual-bulk-review button {
  min-height: 38px;
  border: 1px solid #cbdcdf;
  border-radius: 8px;
  background: #fff;
  padding: 7px 10px;
  color: #315c70;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.manual-bulk-review button.submit-ready {
  border-color: #087c78;
  background: #087c78;
  color: #fff;
}

.manual-bulk-review button:disabled {
  border-color: #d7e1e4;
  background: #e7edef;
  color: #8798a1;
  cursor: not-allowed;
}

.manual-review-service-note,
.manual-bulk-message {
  grid-column: 1 / -1;
  margin: 0;
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 10px;
  line-height: 1.5;
}

.manual-review-service-note,
.manual-bulk-message {
  background: #fff0ed;
  color: #8a473a;
}

.manual-bulk-message.success {
  background: #e8f7f1;
  color: #17644f;
}

.manual-records-list {
  max-height: 680px;
  min-height: 300px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 7px;
  scrollbar-color: #9fc7c4 #edf4f4;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.manual-records-list:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(0, 140, 135, .12);
  outline-offset: 3px;
}

.manual-records-list::-webkit-scrollbar {
  width: 9px;
}

.manual-records-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #edf4f4;
}

.manual-records-list::-webkit-scrollbar-thumb {
  border: 2px solid #edf4f4;
  border-radius: 999px;
  background: #9fc7c4;
}

.manual-record-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  border: 1px solid #d6e4e6;
  border-radius: 10px;
  background: #f4f9f9;
  padding: 10px 12px;
}

.manual-record-pagination small {
  color: #667f89;
  font-size: 10px;
  line-height: 1.55;
}

.manual-record-pagination button {
  flex: 0 0 auto;
  border: 1px solid #9fcac7;
  border-radius: 8px;
  background: #fff;
  color: var(--teal);
  padding: 7px 11px;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.manual-record-pagination button:hover,
.manual-record-pagination button:focus-visible {
  border-color: var(--teal);
  background: #edf8f7;
  outline: none;
}

.drawer-study-designs {
  grid-area: designs;
  align-self: stretch;
  margin: 0;
  border: 1px solid #d9e6e9;
  border-radius: 11px;
  background: linear-gradient(145deg, #f4f9f9 0%, #f8fbfc 100%);
  padding: 12px;
}

.drawer-recommended-design > span,
.drawer-recommended-design > strong {
  display: block;
}

.drawer-recommended-design > span {
  color: #708690;
  font-size: 10px;
  font-weight: 800;
}

.drawer-recommended-design > strong {
  margin-top: 5px;
  color: #245b6e;
  font-size: 12px;
  line-height: 1.5;
}

.drawer-design-details {
  margin-top: 10px;
  border-top: 1px solid #dce7e9;
  padding-top: 8px;
}

.drawer-design-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #477080;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  list-style: none;
}

.drawer-design-details > summary::-webkit-details-marker { display: none; }

.drawer-design-details > summary > span::before {
  display: inline-block;
  width: 14px;
  color: var(--teal);
  content: "+";
}

.drawer-design-details[open] > summary > span::before { content: "−"; }

.drawer-design-details > summary > em {
  display: grid;
  min-width: 24px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #087c78;
  font-size: 10px;
  font-style: normal;
}

.drawer-design-details > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.drawer-design-details > div > span {
  border: 1px solid #cbdcdf;
  border-radius: 999px;
  background: #fff;
  padding: 3px 7px;
  color: #466b78;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
}

.drawer-design-details > div > span[data-study-design-group="timing"] {
  border-color: #b8d8d5;
  background: #eaf7f5;
  color: #087c78;
}

.drawer-design-details > div > span[data-study-design-group="framework"] {
  border-color: #c7d5e3;
  background: #edf4fa;
  color: #356f9d;
}

.drawer-design-details > div > span[data-study-design-group="design"] {
  border-color: #d4c9e6;
  background: #f4f0fa;
  color: #6d5895;
}

.drawer-design-details > div > span[data-study-design-group="method"] {
  border-color: #ead2af;
  background: #fff6e9;
  color: #8d642c;
}

@supports (content-visibility: auto) {
  .section-shell {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }

  .ranked-items > button,
  .research-card,
  .manual-records-list > article,
  .analysis-trace > article {
    content-visibility: auto;
    contain-intrinsic-size: auto 140px;
  }
}

.manual-records article .record-meta {
  align-items: flex-start;
  gap: 10px;
}

.manual-records article .record-meta em {
  text-align: right;
}

.record-batch-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  border-radius: 7px;
  background: #ecf8f6;
  padding: 6px 8px;
  color: #087c78;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.record-batch-select input {
  width: 14px;
  height: 14px;
  accent-color: #087c78;
}

.strategy-approved-record {
  border-color: #a9d7ca !important;
  box-shadow: inset 3px 0 0 #16866f;
}

.record-review-note {
  margin: 9px 0 0;
  border-left: 3px solid #d9b987;
  background: #fff8ee;
  padding: 7px 9px;
  color: #77512b;
  font-size: 10px;
  line-height: 1.55;
}

.manual-records article .record-resource-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 7px;
  align-items: end;
  margin-top: 10px;
  border: 1px solid #dce8e9;
  border-radius: 9px;
  background: #f7fafb;
  padding: 9px;
}

.record-resource-controls label {
  display: grid;
  gap: 5px;
}

.record-resource-controls label > span {
  color: #526f7d !important;
  font-size: 10px !important;
  font-weight: 800;
}

.record-resource-controls input {
  width: 100%;
  min-height: 34px;
  border: 1px solid #cbdcdf;
  border-radius: 7px;
  background: #fff;
  padding: 6px 9px;
  color: #17384a;
  font: inherit;
  font-size: 11px;
}

.record-resource-controls input:focus {
  border-color: #6db8b1;
  outline: 3px solid rgba(8, 124, 120, .1);
}

.record-resource-controls input:disabled {
  background: #edf2f3;
  color: #6f8189;
}

.record-resource-controls > a,
.record-resource-controls > button {
  min-height: 34px;
  border: 1px solid #9fc7c4;
  border-radius: 7px;
  background: #fff;
  padding: 0 10px;
  color: #087c78;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 32px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.record-resource-controls > button {
  cursor: pointer;
}

.record-resource-controls > button:disabled {
  border-color: #d7e1e4;
  background: #e7edef;
  color: #8798a1;
  cursor: not-allowed;
}

.record-note {
  margin-top: 8px;
  border: 1px solid #e1eaed;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.record-note summary {
  padding: 8px 10px;
  color: #517083;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.record-note[open] summary {
  border-bottom: 1px solid #e5edef;
  background: #f7fafb;
}

.record-note small {
  display: block;
  max-height: 260px;
  overflow-y: auto;
  padding: 10px;
  color: #667f8d;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-line;
}

.manual-records article footer .record-workflow-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.manual-records article footer {
  justify-content: flex-end;
}

.manual-records article footer .record-workflow-actions button {
  min-height: 32px;
  border: 1px solid #cbdcdf;
  border-radius: 7px;
  background: #fff;
  padding: 0 9px;
  color: #315c70;
  font-size: 11px;
  font-weight: 750;
}

.manual-records article footer .record-workflow-actions button.analysis {
  border-color: #8bc4bf;
  background: #eff9f7;
  color: #087c78;
}

.manual-records article footer .record-workflow-actions button.review {
  border-color: #d9b987;
  background: #fff8ee;
  color: #945e25;
}

.manual-records article footer .record-workflow-actions button.delete {
  border-color: transparent;
  background: transparent;
  color: #9a7274;
}

.manual-records article footer .record-workflow-actions button:disabled {
  cursor: not-allowed;
  opacity: .52;
}

.record-strategy-lock {
  border-radius: 999px;
  background: #e8f7f1;
  padding: 7px 10px;
  color: #17644f;
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .source-sufficiency {
    grid-template-columns: 1fr;
  }

  .library-format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .library-import-panel {
    padding: 18px;
  }

  .library-import-controls,
  .library-workflow {
    grid-template-columns: 1fr;
  }

  .library-format-grid {
    grid-template-columns: 1fr;
  }

  .library-import-result ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-import-next,
  .manual-records article footer {
    align-items: stretch;
    flex-direction: column;
  }

  .library-import-next > div:last-child,
  .manual-records article footer .record-workflow-actions {
    justify-content: flex-start;
  }

  .manual-records-list {
    max-height: 560px;
  }

  .manual-queue-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manual-record-tools,
  .manual-record-search {
    grid-template-columns: 1fr;
  }

  .manual-bulk-review {
    align-items: stretch;
    flex-direction: column;
  }

  .manual-record-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .manual-record-pagination button {
    width: 100%;
  }

  .manual-role-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .manual-role-actions > span,
  .manual-role-actions > a {
    text-align: center;
  }

  .manual-bulk-review button {
    width: 100%;
  }

  .manual-records article .record-resource-controls {
    grid-template-columns: 1fr 1fr;
  }

  .record-resource-controls label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .library-import-result ul {
    grid-template-columns: 1fr 1fr;
  }

  .source-sufficiency article,
  .library-import-panel {
    padding: 15px;
  }

  .manual-queue-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-import-next > div:last-child {
    display: grid;
    grid-template-columns: 1fr;
  }

  .manual-records article .record-resource-controls {
    grid-template-columns: 1fr;
  }

  .record-resource-controls label {
    grid-column: auto;
  }
}

/* Focused evidence panorama, compact radar and traceable assessment entry */
.evidence-section > .section-heading-row {
  align-items: center;
  margin-bottom: 20px;
}

.evidence-section > .section-heading-row h2 {
  margin: 0;
}

.landscape-source {
  margin-top: 0;
  background: linear-gradient(145deg, #f2fbfa, #f8fbfc);
  padding: 22px;
}

.landscape-source-head {
  gap: 18px;
}

.landscape-title-row {
  gap: 9px;
}

.landscape-title-row h3 {
  font-size: 22px;
}

.landscape-scope-pill {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  border: 1px solid #b7dcd8;
  border-radius: 999px;
  background: #e9f7f5;
  color: #087c78;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 800;
}

.landscape-source-actions {
  display: flex;
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
}

.landscape-source-actions > a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--teal);
  border-radius: 9px;
  background: var(--teal);
  color: #fff;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.landscape-source-actions > a:hover,
.landscape-source-actions > a:focus-visible {
  outline: 3px solid rgba(0, 140, 135, .12);
  outline-offset: 2px;
}

.landscape-summary-grid {
  display: grid;
  grid-template-columns: minmax(330px, .85fr) minmax(540px, 1.15fr);
  gap: 12px;
  align-items: stretch;
  margin-top: 15px;
}

.landscape-summary-grid .landscape-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.landscape-summary-grid .landscape-metrics article {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
}

.landscape-summary-grid .landscape-metrics strong {
  margin-top: 6px;
  font-size: 23px;
}

.landscape-assessment-board {
  margin-top: 0;
  padding: 12px;
}

.landscape-assessment-heading > small {
  padding: 5px 8px;
}

.landscape-assessment-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.landscape-assessment-cards article {
  padding: 9px 10px 10px;
}

.landscape-assessment-cards article > strong {
  margin-top: 6px;
  font-size: 18px;
}

.landscape-trace {
  margin-top: 10px;
}

.evidence-radar-block {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #d3e1e5;
  border-radius: 14px;
  background: #fff;
}

.evidence-radar-heading {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}

.evidence-radar-heading h3 {
  margin: 0;
  color: #173f58;
  font-size: 18px;
}

.evidence-radar-heading > span {
  color: #708894;
  font-size: 11px;
  font-weight: 750;
}

.evidence-radar-block .evidence-table-wrap {
  border: 0;
  border-top: 1px solid #e1eaed;
  border-radius: 0;
}

.evidence-radar-block .evidence-table {
  min-width: 1200px;
}

.evidence-radar-block .heat-legend {
  gap: 8px 18px;
  border-top: 1px solid #e4ecee;
  padding: 10px 14px;
}

.evidence-radar-block .heat-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #637d8a;
  font-size: 11px;
  white-space: nowrap;
}

.evidence-radar-block .heat-legend b {
  border-radius: 999px;
  background: #e7f6f3;
  color: #087c78;
  padding: 3px 6px;
  font-size: 10px;
}

.signal-publication-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  margin-top: 20px;
}

.signal-panel,
.publication-panel {
  padding: 20px;
  background: #fff;
}

.signal-feed a {
  grid-template-columns: 72px minmax(0, 1fr) 16px;
  gap: 10px;
  padding: 12px 0;
}

.publication-list a {
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  padding: 11px 0;
}

.signal-feed h4,
.publication-list strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.signal-feed p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.panel-more {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 5px;
  border: 0;
  border-top: 1px solid #e2ebed;
  background: transparent;
  color: #087c78;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.panel-more:hover,
.panel-more:focus-visible {
  background: #f0f8f7;
  outline: 0;
}

details.coverage-note {
  margin-top: 10px;
  padding: 0;
  background: transparent;
}

details.coverage-note > summary {
  color: #6a8490;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

details.coverage-note > p {
  margin: 7px 0 0;
  border-radius: 8px;
  background: #eef6f7;
  padding: 10px 12px;
  color: #587182;
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 1000px) {
  .landscape-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .signal-publication-grid {
    grid-template-columns: 1fr;
  }

  .landscape-source-head {
    align-items: stretch;
    flex-direction: column;
  }

  .landscape-source-actions {
    width: 100%;
  }

  .landscape-source-actions > a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .landscape-source {
    padding: 18px 14px;
  }

  .landscape-summary-grid .landscape-metrics,
  .landscape-assessment-cards {
    grid-template-columns: 1fr;
  }

  .landscape-summary-grid .landscape-metrics article {
    min-height: 74px;
  }

  .evidence-radar-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .evidence-radar-block .heat-legend {
    gap: 8px 12px;
  }

  .signal-panel,
  .publication-panel {
    padding: 16px;
  }

  .signal-feed a {
    grid-template-columns: 1fr 16px;
  }

  .signal-feed time {
    grid-column: 1;
  }

  .signal-feed a > div {
    grid-column: 1;
  }

  .signal-feed a > b {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Opportunity geography and country-program fit */
.opportunity-geography-tags {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
}

.opportunity-geography-tags > em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .02em;
}

.opportunity-geography-tags > em.domestic {
  border-color: #aed9d5;
  background: #e9f7f5;
  color: #087a76;
}

.opportunity-geography-tags > em.international {
  border-color: #bdcfe6;
  background: #eef4fb;
  color: #376f9c;
}

.opportunity-geography-tags.compact {
  margin-top: 6px;
}

.opportunity-geography-tags.compact > em {
  min-height: 20px;
  padding: 3px 7px;
  font-size: 11px;
}

.priority-card .opportunity-geography-tags,
.analysis-result-list .opportunity-geography-tags,
.ranked-items .opportunity-geography-tags,
.research-card .opportunity-geography-tags {
  width: fit-content;
}

.analysis-result-list .opportunity-geography-tags {
  margin: 5px 0 1px;
}

.ranked-items .opportunity-geography-tags {
  display: flex;
  margin: 7px 0 0;
}

.research-card .opportunity-geography-tags {
  margin: 8px 0 0;
}

.idea-drawer-meta .opportunity-geography-tags {
  flex: 0 0 auto;
}

.drawer-geography-panel {
  min-width: 0;
  margin: 18px 0 0;
  border: 1px solid #cfe1e4;
  border-radius: 12px;
  background: #f7fafb;
  padding: 14px;
}

.drawer-geography-panel .drawer-section-heading {
  margin-bottom: 10px;
}

.drawer-geography-panel .drawer-section-heading > span {
  border: 1px solid #bed9d7;
  border-radius: 999px;
  background: #fff;
  padding: 4px 8px;
  color: #177c78;
  font-size: 11px;
  font-weight: 800;
}

.drawer-geography-stage {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  border-top: 1px solid #dce7e9;
  padding: 10px 1px 0;
}

.drawer-geography-stage > span {
  flex: 0 0 auto;
  color: #708790;
  font-size: 11px;
  font-weight: 800;
}

.drawer-geography-stage > strong {
  color: #28596d;
  font-size: 12px;
  line-height: 1.5;
}

.drawer-geography-sites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
}

.drawer-geography-sites > article {
  min-width: 0;
  border: 1px solid #dce7ea;
  border-radius: 9px;
  background: rgba(255, 255, 255, .9);
  padding: 10px 11px;
}

.drawer-geography-sites > article > span {
  display: block;
  font-size: 11px;
  font-weight: 850;
}

.drawer-geography-sites p {
  margin: 5px 0 0;
  color: #536f7d;
  font-size: 12px;
  line-height: 1.6;
}

.drawer-geography-sites > article[data-geography-scope="domestic"] {
  border-color: #b9dbd8;
  background: #f2faf8;
}

.drawer-geography-sites > article[data-geography-scope="international"] {
  border-color: #c7d8ea;
  background: #f4f7fc;
}

.drawer-geography-sites > article[data-geography-scope="domestic"] > span {
  color: #087a76;
}

.drawer-geography-sites > article[data-geography-scope="international"] > span {
  color: #376f9c;
}

.drawer-geography-criteria {
  display: grid;
  gap: 7px;
  margin: 9px 0 0;
}

.drawer-geography-criteria > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
}

.drawer-geography-criteria dt {
  color: #28616d;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.drawer-geography-criteria dd {
  margin: 0;
  color: #5b7480;
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .drawer-geography-sites {
    grid-template-columns: 1fr;
  }

  .idea-drawer-meta {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .drawer-geography-panel {
    padding: 12px;
  }

  .drawer-geography-panel .drawer-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .drawer-geography-criteria > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .opportunity-geography-tags > em {
    min-height: 21px;
    padding: 3px 7px;
    font-size: 11px;
  }
}
