/* Compact original dashboard and static feature summaries. */
.investigation:has(.portal-preview) {padding:0;background:transparent;border:0;box-shadow:none;width:100%;max-width:600px;justify-self:center}
.portal-preview {width:100%;max-width:600px;margin:0 auto;overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:0 16px 40px #1113180a;color:var(--graphite)}
.portal-preview-heading {display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;border-bottom:1px solid var(--border)}
.portal-preview-heading strong {font-size:14px;font-weight:600;line-height:1.4}
.portal-preview-heading>span {font-size:10px;color:var(--brand-secondary);background:var(--secondary-soft);border-radius:5px;padding:4px 7px;white-space:nowrap}
.portal-preview-body {display:grid;grid-template-columns:1.15fr 1fr;gap:0;align-items:center}
.portal-preview-screen {padding:14px 10px;min-width:0;background:var(--platinum);align-self:stretch;display:flex;align-items:center;justify-content:center}
.portal-preview-screen img {display:block;width:100%;height:auto;max-height:300px;object-fit:contain;object-position:center}
.portal-preview-features {padding:20px 16px;border-left:1px solid var(--border);min-width:0}
.portal-preview-features>p {font-size:9px;letter-spacing:.1em;font-weight:700;color:var(--slate);margin:0 0 12px}
.portal-preview-features ul {list-style:none;margin:0;padding:0}
.portal-preview-features li {font-size:12px;line-height:1.5;color:var(--graphite);padding:10px 0;border-bottom:1px solid var(--border)}
.portal-preview-features li:last-child {border-bottom:0}
.portal-preview figcaption,.investigation .portal-preview figcaption {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 18px;border-top:1px solid var(--border);color:var(--slate);font-size:10px;line-height:1.5}
.portal-preview figcaption a {color:var(--brand-secondary);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.portal-module-section {position:relative;background:var(--platinum);border-block:1px solid var(--border)}
.portal-module-section .section-heading {max-width:780px}
.feature-grid.portal-module-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:36px}
.portal-module-card {position:relative;min-width:0;padding:28px;border:1px solid var(--border);border-top:3px solid var(--brand-secondary);border-radius:12px;background:var(--surface);scroll-margin-top:110px}
.portal-module-card:nth-child(3n+2) {border-top-color:var(--highlight)}
.portal-module-card:nth-child(3n) {border-top-color:var(--brand-primary)}
.portal-module-card .icon-box {width:42px;height:42px;margin-bottom:22px}
.portal-module-card h3 {font-size:21px;margin:0 0 12px;line-height:1.35}
.portal-module-card p {font-size:14px;line-height:1.75;margin:0}
.portal-module-card:target,.portal-module-card:has(.portal-legacy-anchor:target) {border-color:var(--brand-secondary);box-shadow:0 0 0 3px var(--secondary-soft)}
.portal-legacy-anchor {position:absolute;top:0;left:0;width:0;height:0;scroll-margin-top:110px}
@media(max-width:800px) {
  .feature-grid.portal-module-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .portal-module-card {padding:24px}
}
@media(max-width:480px) {
  .portal-preview-heading {padding:14px}
  .portal-preview-heading strong {font-size:13px}
  .portal-preview-body {grid-template-columns:1fr}
  .portal-preview-screen {padding:12px 14px}
  .portal-preview-screen img {max-height:210px;width:auto;max-width:100%}
  .portal-preview-features {border-left:0;border-top:1px solid var(--border);padding:16px 14px}
  .portal-preview-features ul {display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .portal-preview-features li {border:1px solid var(--border);background:var(--platinum);border-radius:6px;padding:9px;font-size:11px}
  .portal-preview-features li:last-child {border-bottom:1px solid var(--border)}
  .portal-preview figcaption,.investigation .portal-preview figcaption {padding:12px 14px;font-size:10px}
  .feature-grid.portal-module-grid {grid-template-columns:1fr;gap:14px}
}
