/* intel screens: Intelligence, Opportunity, Research — Design System v1 tokens only */

/* cinematic hero body (L4 on #/intelligence and #/research only) */
.ip-herobody { gap: 8px; max-width: 640px; }
.ip-count { height: 24px; border-radius: var(--r-pill); font-size: 11px; }
.ip-count b { color: var(--text-1); font-weight: 600; }
.ip-count .pdot { width: 6px; height: 6px; border-radius: 50%; background: var(--tone); }
/* pipeline: sans data on quiet cards; bars stay monochrome so color remains for state */
.ip-pipe { display: grid; grid-template-columns: 1fr; gap: 8px; }
.card.ip-stage { display: grid; gap: 4px; padding: 12px 16px; }
.ip-val { font: 600 22px/1.1 var(--font-ui); letter-spacing: -.01em; color: var(--text-1); }
.ip-val .tag-unknown { font-size: 14px; font-weight: 500; }
.ip-bar { height: 4px; margin: 4px 0 2px; }
.ip-bar > i { background: var(--text-3); box-shadow: none; }
@media (max-width: 639px) {
  .card.ip-stage { grid-template-columns: 64px 1fr; column-gap: 12px; row-gap: 2px; padding: 12px; }
  .ip-stagehead { display: none; }
  .ip-val { grid-row: 1 / span 3; align-self: center; }
}
@media (min-width: 640px) { .ip-pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1360px) {
  .ip-pipe { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .card.ip-stage { align-content: start; }
  .card.ip-stage .ip-lab { min-height: 2.7em; display: flex; align-items: flex-end; }
}

/* concept tag: monochrome + icon, deliberately unlike a status pill */
.ip-concept { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: var(--r-xs); font: 500 11px/1 var(--font-ui); color: var(--text-2); border: 1px dashed var(--border-strong); white-space: nowrap; }
.ip-concept .ico { color: var(--text-3); }

/* list rows */
.ip-listcard { padding-top: 4px; padding-bottom: 4px; }
.ip-opp, .ip-sig, .ip-ev { display: grid; gap: 6px; padding: 12px 0; min-width: 0; }
a.ip-opp, a.ip-sig { transition: color var(--fast) var(--ease); }
a.ip-opp:hover .ip-title, a.ip-sig:hover .ip-title { color: var(--blue-bright); }
.ip-title { min-width: 0; overflow-wrap: anywhere; }
.ip-sig .ip-title a:hover { color: var(--blue-bright); text-decoration: underline; }
.ip-meta { gap: 6px; align-items: center; }
.ip-dec { display: grid; gap: 4px; min-width: 0; }
.ip-dec > .row > .dim { white-space: nowrap; }
.ip-dec .pill { max-width: 60vw; overflow: hidden; text-overflow: ellipsis; }
.ip-dectext { color: var(--text-2); overflow-wrap: anywhere; }
.ip-loc { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }
.ip-ext { display: inline-flex; align-items: center; gap: 4px; color: var(--blue-bright); font-size: 12px; overflow-wrap: anywhere; }
.ip-ext:hover { text-decoration: underline; }

/* filters (selected = L2 blue, same recipe as the selected tab) */
.ip-filters { gap: 6px; }
.ip-filters .chip { cursor: pointer; min-height: 32px; transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.ip-filters .chip:hover { border-color: var(--border-strong); color: var(--text-1); }
.ip-filters .chip.on, .ip-chip.on { background: color-mix(in srgb, var(--blue) 18%, transparent); border-color: var(--border-active); color: var(--text-1); }
.ip-chip { height: 24px; font-size: 11px; }

/* parked */
.card.ip-parked { padding-top: 4px; padding-bottom: 4px; }
.ip-parked > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; cursor: pointer; list-style: none; flex-wrap: wrap; }
.ip-parked > summary::-webkit-details-marker { display: none; }
.ip-parked > summary .chev { transition: transform var(--normal) var(--ease); }
.ip-parked[open] > summary .chev { transform: rotate(180deg); }
.ip-parked[open] > summary { border-bottom: 1px solid var(--border-quiet); }

/* evidence: facts / claims / inferences each carry a fixed tone rule */
.card.ip-evgroup { border-left: 2px solid color-mix(in srgb, var(--tone) 70%, transparent); }
.ip-evtitle { letter-spacing: .12em; font-size: 12px; color: var(--tone); }

.ip-unknowns { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.ip-unknowns li { display: flex; gap: 8px; align-items: flex-start; }
.ip-steps { margin: 2px 0 0; padding-left: 18px; color: var(--text-2); }
