/* The desktop portal owns its layout. Shared business selectors stay intact. */
body.insight-portal-page {
  --portal-red: #e74931;
  --portal-ink: #252a32;
  --portal-muted: #737b87;
  --portal-line: #e9ecf1;
  background: #f8f9fb;
}

body.insight-portal-page .page-main { padding: 28px 0 56px; }
body.insight-portal-page .site-wrap { max-width: 1280px; }
body.insight-portal-page .insights-heading { margin-bottom: 24px; gap: 32px; }
body.insight-portal-page .insights-heading h1 { margin: 7px 0 8px; font-size: 32px; }
body.insight-portal-page .insights-heading p { font-size: 14px; color: var(--portal-muted); }
body.insight-portal-page .eyebrow { font-size: 11px; letter-spacing: .07em; color: var(--portal-muted); }
body.insight-portal-page .eyebrow::before { display: none; }
body.insight-portal-page .portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
body.insight-portal-page .portal-grid > article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--portal-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 5px 22px -18px #26334b25;
}
body.insight-portal-page .portal-section-head { align-items: center; flex-wrap: nowrap; gap: 12px; }
body.insight-portal-page .portal-section-head h2 { margin: 4px 0 0; font-size: 22px; color: var(--portal-ink); }
body.insight-portal-page .portal-section-head > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 0 7px 9px;
  color: #5d6675;
  font-size: 12px;
  font-weight: 550;
}
body.insight-portal-page .portal-section-head > a:hover { color: var(--portal-red); }
body.insight-portal-page .portal-grid > article > p {
  min-height: 0;
  margin: 8px 0 18px;
  color: var(--portal-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* One matrix, not a carousel nested inside the first cell of another grid. */
body.insight-portal-page [data-portal-models] { display: block; flex: 1 0 auto; }
body.insight-portal-page .portal-model-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 10px;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
}
body.insight-portal-page .portal-model-track .portal-model-tile {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 4px 9px;
  min-width: 0;
  min-height: 133px;
  padding: 14px;
  border: 1px solid #e9ecf1;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff 40%, #f7f9fc);
  box-shadow: none;
}
body.insight-portal-page .portal-model-tile::after { content: none; }
body.insight-portal-page .portal-model-tile img {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
}
body.insight-portal-page .portal-model-tile b {
  min-width: 0;
  padding-top: 1px;
  overflow: hidden;
  color: var(--portal-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.insight-portal-page .portal-model-summary {
  display: -webkit-box;
  grid-column: 2;
  margin: 0;
  overflow: hidden;
  color: var(--portal-muted);
  font-size: 11px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body.insight-portal-page .portal-model-tile .portal-model-performance {
  display: flex;
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #e9edf3;
}
body.insight-portal-page .portal-model-performance strong {
  color: #d7442d;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}
body.insight-portal-page .portal-model-performance small { color: var(--portal-muted); font-size: 10px; white-space: nowrap; }
body.insight-portal-page .portal-model-nav { display: none; }
body.insight-portal-page .portal-models > footer,
body.insight-portal-page .portal-directory-link {
  min-height: 0;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--portal-line);
  color: #808794;
  font-size: 11px;
  line-height: 1.5;
}
body.insight-portal-page .portal-directory-link { display: flex; justify-content: space-between; color: #596371; }
body.insight-portal-page .portal-directory-link:hover { color: var(--portal-red); }

/* Real portraits and contrasting score colours distinguish all three experts. */
body.insight-portal-page .portal-top-pill {
  margin-left: 3px;
  padding: 4px 7px;
  border: 0;
  background: #ffffff;
  color: #c44b31;
  font-size: 10px;
  line-height: 1.2;
}
body.insight-portal-page .portal-ranking [data-portal-rank] { display: grid; gap: 9px; flex: 1 0 auto; }
body.insight-portal-page .portal-podium .portal-expert-row {
  position: relative;
  display: grid;
  grid-template-columns: 20px 46px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 10px;
  min-height: 83px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #e6eaf1;
  border-radius: 14px;
  background: #f4f7fc;
  color: #25364b;
  box-shadow: none;
}
body.insight-portal-page .portal-podium .portal-rank-1 { background: linear-gradient(115deg, #ffffff, #ffffff); border-color: #f3dccd; color: #3c2a23; }
body.insight-portal-page .portal-podium .portal-rank-2 { background: linear-gradient(115deg, #f0f4fc, #f8faff); border-color: #dfe6f3; color: #2e405d; }
body.insight-portal-page .portal-podium .portal-rank-3 { background: linear-gradient(115deg, #ffffff, #fffdf7); border-color: #eee5d1; color: #584728; }
body.insight-portal-page .portal-rank-leader::before { top: 16px; bottom: 16px; width: 3px; background: #eb7750; }
body.insight-portal-page .portal-podium .portal-expert-row img {
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 9px #28344518;
}
body.insight-portal-page .portal-podium .directory-rank-number { color: #8c97ac; font-size: 13px; font-weight: 750; }
body.insight-portal-page .portal-podium .portal-rank-1 .directory-rank-number { color: #c77742; }
body.insight-portal-page .portal-podium .portal-rank-3 .directory-rank-number { color: #a38a58; }
body.insight-portal-page .portal-podium .portal-leader-label { margin-bottom: 4px; color: #7b879b; font-size: 10px !important; line-height: 1.2; }
body.insight-portal-page .portal-podium .portal-rank-1 .portal-leader-label { color: #a86d4f; }
body.insight-portal-page .portal-podium .portal-rank-3 .portal-leader-label { color: #9a835a; }
body.insight-portal-page .portal-podium .directory-expert-copy h3 { margin-right: 5px; color: inherit; font-size: 16px; font-weight: 650; line-height: 1.4; }
body.insight-portal-page .portal-podium .directory-tier { padding: 2px 5px; border: 0; border-radius: 5px; background: #ffffffc9; color: #6c7789; font-size: 10px; white-space: nowrap; }
body.insight-portal-page .portal-podium .directory-expert-rate strong { color: #3c577f; font-size: 25px; font-weight: 700; line-height: 1.1; }
body.insight-portal-page .portal-podium .portal-rank-1 .directory-expert-rate strong { color: #da5336; }
body.insight-portal-page .portal-podium .portal-rank-3 .directory-expert-rate strong { color: #9a783b; }
body.insight-portal-page .portal-podium .directory-expert-rate small { margin-top: 4px; color: #788293; font-size: 10px; line-height: 1.3; }
body.insight-portal-page .portal-podium .portal-rank-arrow { color: #8d98a8; font-size: 13px; }
body.insight-portal-page .portal-podium .portal-expert-row:hover { transform: translateY(-2px); border-color: #dab8aa; box-shadow: 0 7px 16px -11px #2c34494d; }

/* A desktop toolbar: each control has one purpose and a stable column. */
body.insight-portal-page .portal-feed { margin-top: 28px; }
body.insight-portal-page .portal-feed > .section-head { margin-bottom: 16px; }
body.insight-portal-page .portal-feed h2 { margin: 4px 0 0; font-size: 23px; }
body.insight-portal-page .feed-results-count { color: #8b929d; font-size: 12px; }
body.insight-portal-page .feed-results-count b { color: #343d4a; font-size: 17px; font-variant-numeric: tabular-nums; }
body.insight-portal-page .portal-feed-controls {
  display: grid;
  grid-template-columns: auto auto minmax(135px, 155px) minmax(160px, 1fr) 142px;
  grid-template-areas: 'kind sport play search sort';
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--portal-line);
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 3px 12px -9px #1d2d471c;
}
body.insight-portal-page .feed-primary-filters,
body.insight-portal-page .feed-secondary-filters { display: contents; overflow: visible; }
body.insight-portal-page .feed-kind-tabs {
  grid-area: kind;
  display: flex;
  align-items: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 4px;
  gap: 3px;
  border: 0;
  border-radius: 10px;
  background: #f3f5f8;
}
body.insight-portal-page .feed-kind-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  min-width: 0;
  padding: 6px 12px;
  border: 0;
  border-radius: 7px;
  color: #77808d;
  font-size: 12px !important;
  white-space: nowrap;
}
body.insight-portal-page .feed-control-icon { width: 15px; height: 15px; }
body.insight-portal-page .feed-kind-tabs button[aria-pressed='true'] { background: #fff !important; color: #d84a33 !important; border-color: transparent !important; box-shadow: 0 2px 6px #1d2d4710 !important; }
body.insight-portal-page [data-feed-sports] { grid-area: sport; display: flex; align-items: center; gap: 4px; width: auto; margin: 0; padding: 0 3px; flex-wrap: nowrap; }
body.insight-portal-page [data-feed-sports] > span { display: block; min-width: 0; margin-right: 3px; color: #949ba6; font-size: 11px; }
body.insight-portal-page [data-feed-sports] button { min-height: 34px; padding: 6px 9px; border: 1px solid transparent; border-radius: 8px; color: #727c8b; font-size: 12px !important; }
body.insight-portal-page [data-feed-sports] button[aria-pressed='true'] { border-color: #e7eaf0 !important; color: #303a49 !important; box-shadow: none !important; }
body.insight-portal-page .feed-play-selector { grid-area: play; }
body.insight-portal-page .feed-sort { grid-area: sort; }
body.insight-portal-page :is(.feed-play-selector, .feed-sort) {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 0 11px;
  border: 1px solid #e8ebf0;
  border-radius: 9px;
  background: #fff;
  color: #959ca7;
  font-size: 11px;
  white-space: nowrap;
}
body.insight-portal-page :is(.feed-play-selector, .feed-sort) select {
  appearance: none;
  display: block;
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 40px;
  padding: 0 16px 0 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='m3 4.5 3 3 3-3' stroke='%23748091' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") right center / 12px no-repeat;
  color: #394353;
  font-size: 12px;
  line-height: normal;
}
body.insight-portal-page :is(.feed-play-selector, .feed-sort):focus-within { border-color: #e88670; box-shadow: 0 0 0 3px #ec654c10; }
body.insight-portal-page .portal-feed-controls .schedule-search { grid-area: search; display: flex; align-items: center; gap: 9px; width: 100%; max-width: none; min-width: 0; height: 42px; margin: 0; padding: 0 11px; border: 1px solid #e8ebf0; border-radius: 9px; background: #fafbfd; }
body.insight-portal-page .schedule-search > svg { width: 17px; height: 17px; flex-shrink: 0; color: #9ca4b0; }
body.insight-portal-page .schedule-search input { min-width: 0; width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #394353; font-size: 12px; }
body.insight-portal-page .schedule-search input::placeholder { color: #9ba3af; }
body.insight-portal-page .schedule-search:focus-within { border-color: #e88670; background: #fff; box-shadow: 0 0 0 3px #ec654c10; }
body.insight-portal-page .portal-plan-grid { gap: 16px; align-items: start; }
body.insight-portal-page .directory-disclaimer { margin: 20px 0 0; color: #969da7; font-size: 11px; }

@media (max-width: 1140px) {
  body.insight-portal-page .portal-grid { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 16px; }
  body.insight-portal-page .portal-grid > article { padding: 18px; }
  body.insight-portal-page .portal-model-track { gap: 8px; }
  body.insight-portal-page .portal-model-track .portal-model-tile { grid-template-columns: 30px minmax(0, 1fr); gap: 4px 7px; padding: 12px 10px; }
  body.insight-portal-page .portal-model-tile img { width: 30px; height: 30px; }
  body.insight-portal-page .portal-model-tile b { font-size: 12px; }
  body.insight-portal-page .portal-podium .portal-expert-row { gap: 7px; padding: 12px 10px; grid-template-columns: 17px 40px minmax(0, 1fr) auto; }
  body.insight-portal-page .portal-podium .portal-expert-row img { width: 40px; height: 40px; }
  body.insight-portal-page .portal-podium .directory-expert-copy h3 { font-size: 14px; }
  body.insight-portal-page .portal-podium .portal-rank-arrow { display: none; }
  body.insight-portal-page .portal-feed-controls { grid-template-columns: auto minmax(135px, 1fr) 165px; grid-template-areas: 'kind sport play' 'search search sort'; }
}
@media (max-width: 860px) {
  body.insight-portal-page .portal-grid { grid-template-columns: minmax(0, 1fr); }
  body.insight-portal-page .portal-ranking [data-portal-rank] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.insight-portal-page .portal-podium .portal-expert-row { grid-template-columns: 17px 40px minmax(0, 1fr); }
  body.insight-portal-page .portal-podium .directory-expert-rate { grid-column: 2 / -1; display: flex; align-items: baseline; gap: 8px; text-align: left; }
  body.insight-portal-page .portal-podium .directory-expert-rate strong { font-size: 23px; }
  body.insight-portal-page .portal-podium .directory-expert-copy h3 { display: block; margin: 0 0 3px; }
}
@media (max-width: 620px) {
  body.insight-portal-page .page-main { padding-top: 22px; }
  body.insight-portal-page .page-main > .site-wrap { width: calc(100% - 32px); }
  body.insight-portal-page .insights-heading { margin-bottom: 20px; }
  body.insight-portal-page .insights-heading h1 { font-size: 27px; }
  body.insight-portal-page .portal-section-head h2 { font-size: 20px; }
  body.insight-portal-page .portal-grid > article { padding: 18px; }
  body.insight-portal-page .portal-model-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.insight-portal-page .portal-model-tile b { font-size: 14px; }
  body.insight-portal-page .portal-ranking [data-portal-rank] { grid-template-columns: minmax(0, 1fr); }
  body.insight-portal-page .portal-podium .portal-expert-row { grid-template-columns: 20px 46px minmax(0, 1fr) auto; }
  body.insight-portal-page .portal-podium .portal-expert-row img { width: 46px; height: 46px; }
  body.insight-portal-page .portal-podium .directory-expert-copy h3 { display: inline; }
  body.insight-portal-page .portal-podium .directory-expert-rate { grid-column: auto; display: block; text-align: right; }
  body.insight-portal-page .portal-feed-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'kind kind' 'sport play' 'search sort'; gap: 10px; padding: 12px; }
  body.insight-portal-page .feed-kind-tabs { justify-content: center; }
  body.insight-portal-page .feed-kind-tabs button { flex: 1; }
  body.insight-portal-page [data-feed-sports] { gap: 3px; padding: 0; }
  body.insight-portal-page [data-feed-sports] > span { display: none; }
  body.insight-portal-page [data-feed-sports] button { flex: 1; padding: 6px 8px; }
  body.insight-portal-page :is(.feed-play-selector, .feed-sort) { padding: 0 8px; }
  body.insight-portal-page .portal-feed-controls .schedule-search { padding: 0 8px; gap: 6px; }
  body.insight-portal-page .portal-feed > .section-head { flex-direction: row; align-items: flex-end; }
  body.insight-portal-page .portal-plan-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  body.insight-portal-page .portal-podium .portal-expert-row { transition: none; }
  body.insight-portal-page .portal-podium .portal-expert-row:hover { transform: none; }
}
@media (max-width: 380px) {
  body.insight-portal-page .portal-model-tile b { font-size: 12px; }
}

/* The portal keeps one sport visible and a compact five-person ranking. */
body.insight-portal-page .portal-model-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
body.insight-portal-page .portal-model-controls>span{font-size:11px;color:var(--portal-muted)}
body.insight-portal-page .portal-sport-switch{display:inline-flex;gap:4px;padding:4px;background:#f3f5f8;border:1px solid #edf0f4;border-radius:12px}
body.insight-portal-page .portal-sport-switch button{border:0;border-radius:8px;padding:8px 22px;background:transparent;color:#77808e;font-family:inherit;font-size:13px;font-weight:600;line-height:1.3;cursor:pointer;transition:background .16s,color .16s,box-shadow .16s}
body.insight-portal-page .portal-sport-switch button[aria-pressed=true]{background:#fff;color:#dd4c30;box-shadow:0 2px 6px #29344a10}
body.insight-portal-page .portal-sport-switch button:focus-visible{outline:2px solid #ed7856;outline-offset:3px}
body.insight-portal-page [data-portal-models]{flex:0 0 auto}
body.insight-portal-page .portal-model-track .portal-model-tile{min-height:119px;padding:12px;transition:border-color .18s,box-shadow .18s,transform .18s}
body.insight-portal-page .portal-model-track .portal-model-tile:hover{border-color:#edb39f;box-shadow:0 5px 14px #29344a0a;transform:translateY(-2px)}
body.insight-portal-page .portal-model-summary{min-height:33px}
body.insight-portal-page .portal-ranking [data-portal-rank]{flex:0 0 auto;gap:7px;align-content:start}
body.insight-portal-page .portal-podium .portal-expert-row{min-height:64px;padding:9px 12px;grid-template-columns:20px 38px minmax(0,1fr) auto 12px;gap:9px}
body.insight-portal-page .portal-podium .portal-expert-row img{width:38px;height:38px}
body.insight-portal-page .portal-podium .portal-expert-row .directory-expert-copy h3{font-size:14px}
body.insight-portal-page .portal-podium .portal-expert-row .directory-expert-rate strong{font-size:23px}
body.insight-portal-page .portal-podium .portal-expert-row .portal-leader-label{font-size:9px}
body.insight-portal-page .portal-models>footer{margin-top:auto;padding-top:12px}
@media(max-width:640px){
 body.insight-portal-page .portal-model-track{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.insight-portal-page .portal-grid>article{padding:16px}
 body.insight-portal-page .portal-model-track .portal-model-tile{padding:11px;min-height:119px}
 body.insight-portal-page .portal-model-tile b{font-size:13px}
 body.insight-portal-page .portal-podium .portal-expert-row{grid-template-columns:18px 34px minmax(0,1fr) auto;gap:7px}
 body.insight-portal-page .portal-podium .portal-expert-row img{width:34px;height:34px}
 body.insight-portal-page .portal-models>footer{margin-top:16px}
}
