#analysis[data-stage="results"] {
  --report-ink: #f8f5ff;
  --report-muted: #bcb8cb;
  --report-line: #ffffff1c;
}
#analysis[data-view="overview"] {
  padding: max(12px, env(safe-area-inset-top)) clamp(16px, 4.7vw, 24px) max(28px, env(safe-area-inset-bottom));
  color: var(--report-ink);
  background: radial-gradient(ellipse 90% 245px at 93% 0, #30203f9c, transparent 88%), #12121a;
}
#analysis[data-view="overview"] .flow-bar {
  display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "brand actions" "title title";
  align-items: center; gap: 10px 8px; margin: 0 0 12px;
}
#analysis .flow-bar .flow-wordmark { grid-area: brand }
.report-header-actions { grid-area: actions; display: grid; grid-template-columns: auto auto; gap: 8px }
#analysis .report-new-analysis {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 0 15px; border: 1px solid #77c4b568; border-radius: 15px;
  background: #263639; color: #c5f9e8; font: 650 13px/1.25 var(--body); cursor: pointer;
}
#analysis .report-new-analysis svg { width: 16px; height: 16px }
#analysis .report-new-analysis:focus-visible { outline: 2px solid #83f5e3; outline-offset: 2px }
#analysis[data-view="overview"] h1.flow-title {
  grid-area: title; margin: 0; font-size: clamp(27px,7.2vw,36px); line-height: 1.08; letter-spacing: -.055em;
}
@media (max-width: 430px) {
  #analysis[data-view="overview"] .flow-bar { grid-template-columns: auto minmax(0,1fr); grid-template-areas: "brand title" "actions actions" }
  #analysis[data-view="overview"] h1.flow-title { text-align: end; overflow-wrap: anywhere }
  .report-header-actions { grid-template-columns: repeat(2,minmax(0,1fr)) }
}
.report-last-scan {
  padding: 13px 15px; margin: 0 0 16px; border: 1px solid #ffffff23; border-radius: 17px;
  background: linear-gradient(115deg,#20252e,#201e2b 83%); color: #cbc7d6; font: 500 12px/1.4 var(--body);
}
.report-scan-label, .report-scan-heading, .report-cache-label { display: flex; align-items: center }
.report-scan-label { justify-content: space-between; gap: 12px; flex-wrap: wrap }
.report-scan-heading { gap: 7px; color: #e2dfe9; font-weight: 650 }
.report-scan-heading .icon { width: 16px; height: 16px; color: #b8a8d5 }
.report-cache-label {
  gap: 5px; border: 1px solid #46675f; border-radius: 20px; padding: 2px 8px;
  background: #243831; color: #b5ead9; font-size: 10px; font-weight: 650;
}
.report-cache-label::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #8ad7b9 }
.report-scan-times { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); align-items: center; gap: 10px; margin-top: 12px }
.report-scan-observed, .report-scan-next { display: grid; min-width: 0; gap: 3px }
.report-scan-next { padding-inline-start: 12px; border-inline-start: 1px solid #ffffff24 }
.report-last-scan time { color: #fbf8ff; font: 650 clamp(16px,4.5vw,20px)/1.2 var(--head); font-variant-numeric: tabular-nums }
.report-scan-date, .report-scan-next-label { color: #c1bbce; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere }
#analysis .report-refresh {
  justify-self: start; max-width: 100%; margin: 0; padding: 0; border: 0; background: transparent;
  color: #b2efda; font: 650 13px/1.4 var(--body); text-align: start; cursor: pointer;
}
#analysis .report-refresh:disabled { opacity: 1; color: #e8e3f0; font-variant-numeric: tabular-nums; cursor: default }
#analysis .report-refresh:not(:disabled) { min-height: 36px; padding: 4px 10px; border-radius: 8px; background: #2b453d }
#analysis .report-refresh:focus-visible { outline: 2px solid #83f5e3; outline-offset: 2px }
.report-scan-baseline {
  display: flex; align-items: flex-start; gap: 8px; margin: 11px 0 0; padding-top: 10px;
  border-top: 1px solid #ffffff17; color: #c4bdcf; font: 450 11px/1.5 var(--body);
}
.report-scan-baseline .icon { width: 15px; height: 15px; margin-top: 1px; color: #a7d9c8 }
.report-scan-baseline strong { color: #e2e4e8; font-weight: 650 }
@media (max-width:345px) {
  .report-last-scan { padding-inline: 11px }
  .report-scan-times { gap: 6px }
  .report-scan-next { padding-inline-start: 8px }
}
.profile-report { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; margin-bottom: 16px }
.profile-report > section { min-width: 0 }
#analysis .profile-report h2, #analysis .report-person-sheet h2 {
  margin: 0; font: 700 clamp(18px,4.8vw,23px)/1.2 var(--head); letter-spacing: -.042em; color: var(--report-ink);
  overflow-wrap: anywhere;
}
#analysis .profile-report button:focus-visible, .report-person-sheet button:focus-visible {
  outline: 2px solid #83f5e3; outline-offset: 2px;
}
#analysis .profile-report button:disabled { cursor: default }

.report-identity {
  isolation: isolate; position: relative; overflow: hidden; border: 1px solid #485260; border-radius: 23px;
  padding: 18px 17px 13px;
  background: radial-gradient(ellipse at 91% -35%, #7d5c9366, transparent 63%),
    linear-gradient(126deg,#173a3b -16%,#1e2d37 39%,#252331 86%);
}
.report-identity::before {
  content: ''; z-index: -1; position: absolute; top: -84px; right: -98px; width: 64%; height: 218px;
  transform: rotate(-18deg); border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(ellipse,transparent 0 8px,#c4ffd00f 8px 9px,transparent 9px 17px);
}
.report-identity-person { display: flex; align-items: center; gap: 13px; min-width: 0; margin-bottom: 15px }
.report-identity-person > div { min-width: 0 }
#analysis .report-identity-person .flow-avatar {
  width: 54px; height: 54px; flex: 0 0 54px; color: #e2fff5; background: #265351; font-size: 22px;
  border: 2px solid #213237; box-shadow: 0 0 0 1px #9aead7;
}
#analysis .report-identity-person h2 { font-size: clamp(20px,5.6vw,26px); letter-spacing: -.045em }
.report-identity-person p { margin: 3px 0 0; color: #c7cdd7; font: 500 12px/1.4 var(--body); overflow-wrap: anywhere }
.report-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-top: 12px; border-top: 1px solid #ffffff24 }
#analysis .report-stat {
  min-width: 0; min-height: 43px; padding: 0 8px; border: 0; border-radius: 0; background: transparent;
  color: var(--report-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
}
#analysis .report-stat + .report-stat { border-inline-start: 1px solid #ffffff1c }
.report-stat strong { font: 700 clamp(17px,4.6vw,22px)/1.05 var(--head); font-variant-numeric: tabular-nums; letter-spacing: -.046em; overflow-wrap: anywhere }
.report-stat span { color: #cccbd9; font: 550 11px/1.25 var(--body); overflow-wrap: anywhere }

.report-section-head, .report-title-row { display: flex; align-items: center; gap: 9px }
.report-section-head { justify-content: space-between; margin-bottom: 12px }
.report-section-head > div { min-width: 0 }
.report-section-head p, .report-feature-copy p, .report-change-note {
  margin: 4px 0 0; font: 500 12px/1.48 var(--body); color: var(--report-muted); overflow-wrap: anywhere;
}
#analysis .report-inline {
  border: 0; min-height: 34px; padding: 3px 0; border-radius: 4px; background: transparent; color: #b3eddf;
  font: 650 12px/1.35 var(--body); text-align: start;
}
#analysis .report-inline { flex: 0 0 auto; max-width: 32%; text-align: end }
.report-picks { min-width: 0; padding: 0 1px }
.report-picks-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px }
#analysis .report-picks-copy h2 { font-size: clamp(19px,5vw,23px) }
.report-picks-copy p { flex-basis: 100%; margin: 0; color: var(--report-muted); font: 500 12px/1.45 var(--body) }
.report-picks-empty { display:flex; align-items:center; gap:12px; padding:13px 15px;
  border:1px solid var(--report-line); border-radius:16px; background:#1a1b25 }
.report-picks-empty > .icon { flex:0 0 auto; width:36px; height:36px; padding:8px; border-radius:12px;
  color:#b9a5f0; background:#9f7cc01a }
.report-picks-nav { display: flex; gap: 4px }
.report-picks-nav button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid #51495e; border-radius: 50%; color: #ece0fa; background: #25212e }
.report-picks-nav button:disabled { opacity: .38 }
.report-picks-nav .icon { width: 16px; height: 16px }
.report-picks-prev .icon { transform: rotate(180deg) }
.report-profile-rail {
  display: flex; gap: 7px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity;
  padding: 10px 1px 3px; margin: 0; list-style: none; scrollbar-width: thin; scrollbar-color: #494554 transparent;
}
.report-profile-rail li { flex: 0 0 65px; min-width: 0; scroll-snap-align: start }
#analysis .report-pick {
  display: grid; justify-items: center; width: 100%; gap: 6px; padding: 4px 0; margin: 0;
  background: transparent; border: 0; border-radius: 9px; color: var(--report-ink);
}
#analysis .report-pick .flow-avatar {
  width: 49px; height: 49px; border: 3px solid #1b1b27;
  box-shadow: 0 0 0 1.5px #9ddbd0; font: 650 17px/1 var(--head);
}
#analysis .report-picks-art li:nth-child(3n+2) .flow-avatar { box-shadow: 0 0 0 1.5px #d7a0cb }
#analysis .report-picks-art li:nth-child(3n) .flow-avatar { box-shadow: 0 0 0 1.5px #aaa9ea }
.report-pick-handle {
  display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: #e0dce9; font: 600 10px/1.35 var(--body);
}
.report-premium-lock {
  display: block; width: 100%; min-width: 0; overflow: hidden; padding: 0; margin: 0;
  border: 0; border-radius: 8px; background: transparent; cursor: pointer;
}
.report-premium-lock:is([data-kind="recent"], [data-kind="random"]) {
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #494554 transparent;
}
.report-premium-lock:is([data-kind="recent"], [data-kind="random"]) .report-lock-preview {
  width: max-content; min-width: 100%; box-sizing: border-box;
}
.report-lock-preview {
  display: flex; gap: 7px; align-items: center; padding: 12px 2px 8px;
  filter: blur(4px); opacity: .83; pointer-events: none;
}
.report-masked-profile {
  --portrait: #a77866; --shirt: #475c80; --backdrop: #b4a28d; --ring: #9ddbd0; --name-width: 46px;
  display: grid; justify-items: center; align-items: center; gap: 7px; flex: 0 0 65px;
}
.report-masked-profile:nth-child(4n+2) {
  --portrait: #dac3a3; --shirt: #80506d; --backdrop: #585d66; --ring: #d7a0cb; --name-width: 53px;
}
.report-masked-profile:nth-child(4n+3) {
  --portrait: #a46f55; --shirt: #336f65; --backdrop: #a8a594; --ring: #aaa9ea; --name-width: 39px;
}
.report-masked-profile:nth-child(4n) {
  --portrait: #bd947c; --shirt: #7c5d43; --backdrop: #66778f; --ring: #e6b69a;
}
.report-masked-profile::before {
  content: ''; box-sizing: border-box; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ring);
  background: radial-gradient(ellipse 23% 30% at 51% 41%,var(--portrait) 90%,transparent 100%),
    radial-gradient(ellipse 49% 51% at 50% 95%,var(--shirt) 89%,transparent 100%),var(--backdrop);
}
.report-masked-profile::after {
  content: ''; width: var(--name-width); max-width: 100%; height: 5px; background: #b6afbd; border-radius: 6px;
}
.report-premium-lock[data-kind="outgoing"] .report-lock-preview {
  display: grid; gap: 0; padding: 1px 4px;
}
.report-premium-lock[data-kind="outgoing"] .report-masked-profile {
  display: flex; gap: 11px; min-height: 46px;
}
.report-premium-lock[data-kind="outgoing"] .report-masked-profile::before { width: 32px; height: 32px; border: 0 }
.report-premium-lock[data-kind="outgoing"] .report-masked-profile::after {
  width: calc(var(--name-width) + 22px); height: 17px;
  background: linear-gradient(#c6c0cd 0 6px,transparent 6px) no-repeat,
    linear-gradient(#9b95a6,#9b95a6) left bottom / 74% 4px no-repeat;
}
.report-feature > .report-premium-lock { grid-column: 1/-1; border-top: 1px solid #ffffff24; border-radius: 0 }
.report-feature .report-lock-preview { gap: 5px; padding: 10px 2px 4px }
.report-feature .report-masked-profile { flex-basis: 57px }
.report-feature .report-masked-profile::before { width: 38px; height: 38px }
.report-premium-lock:focus-visible { outline: 2px solid #dab6f2; outline-offset: 2px }
.report-empty {
  margin: 0; padding: 12px 14px; color: var(--report-muted); font: 500 12px/1.52 var(--body); overflow-wrap: anywhere;
  border: 1px dashed #454350; border-radius: 12px; background: #ffffff03;
}

.report-change-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px }
#analysis .report-change {
  --tone: #83ebc9; --tile: #1b3533; --edge: #3b5b51;
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 8px;
  min-height: 91px; min-width: 0; padding: 13px; text-align: start; border-radius: 16px; border: 1px solid var(--edge);
  background: linear-gradient(128deg,var(--tile),#1e242a 108%); color: var(--tone);
}
#analysis .report-change[data-kind="lost"] { --tone: #ffa1bf; --tile: #3b2535; --edge: #634453; background: linear-gradient(128deg,var(--tile),#27232d 108%) }
#analysis .report-change:disabled { opacity: 1 }
.report-change-icon {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--tone);
  background: #ffffff0e; line-height: 1;
}
.report-change-icon svg { width: 17px; height: 17px }
.report-change-count {
  justify-self: end; font: 700 clamp(21px,6.3vw,31px)/1.08 var(--head); font-variant-numeric: tabular-nums;
  letter-spacing: -.055em; overflow-wrap: anywhere;
}
.report-change-label { grid-column: 1/-1; color: #f1edf5; font: 650 13px/1.32 var(--body); overflow-wrap: anywhere }
#analysis .report-changes .report-change-note { margin: 8px 1px 0; color: var(--report-muted); font: 450 12px/1.5 var(--body) }
.report-changes.has-comparison-note { overflow: hidden; border: 1px solid #494454; border-radius: 18px }
.has-comparison-note .report-change-pair { gap: 1px; background: #494454 }
#analysis .has-comparison-note .report-change { min-height: 76px; border: 0; border-radius: 0 }
.report-comparison-note {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; gap: 11px;
  padding: 13px 14px; border-top: 1px solid #494454; background: linear-gradient(115deg,#282433,#201f29);
}
#analysis .report-comparison-note > .icon {
  box-sizing: border-box; width: 32px; height: 32px; padding: 7px;
  border-radius: 10px; color: #d8c8fa; background: #393244;
}
.report-comparison-note strong { color: #f1eafa; font: 650 14px/1.4 var(--head) }
#analysis .report-comparison-note p { margin: 3px 0 0; color: #cec7d8; font: 450 12px/1.5 var(--body) }
.report-compared, .report-list-meta > .report-change-period {
  min-width: 0; border: 1px solid #454654; border-radius: 18px;
  background: radial-gradient(ellipse at 98% 0%, #254a493d 0%, transparent 58%),
    linear-gradient(115deg,#252432,#1c2029 82%);
}
.report-change-period { position: relative; padding: 14px 16px 16px; color: #f7f5fc }
.report-change-dates {
  display: flex; align-items: center; gap: 8px; min-height: 20px; font: 650 14px/1.3 var(--body);
}
.report-change-period.has-coverage .report-change-dates { padding-inline-end: 92px }
.report-change-dates > svg { flex: none; width: 15px; height: 15px; color: #b8b4d2 }
.report-change-track { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto; gap: 14px; margin-top: 16px }
.report-change-stop { display: grid; gap: 2px; align-content: end }
.report-change-stop:last-child { text-align: end }
.report-change-stop > span { color: #c6c1d3; font: 500 11px/1.4 var(--body) }
.report-change-stop time {
  color: #f8f5ff; font: 650 clamp(22px,5.8vw,28px)/1.08 var(--head);
  font-variant-numeric: tabular-nums; letter-spacing: -.045em; white-space: nowrap;
}
.report-change-stop:last-child time { color: #a0edd7 }
.report-change-connector {
  display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 7px;
  min-width: 0; padding-bottom: 9px;
}
.report-change-elapsed { color: #c1c4d2; font: 550 11px/1.2 var(--body); text-align: center; font-variant-numeric: tabular-nums }
.report-change-line {
  position: relative; width: 100%; height: 1px;
  background: linear-gradient(90deg,#9b96b2,#678b8f 66%,#86dbc1);
}
.report-change-line::before, .report-change-line::after {
  content: ''; position: absolute; top: 50%; width: 7px; height: 7px; box-sizing: border-box;
  border-radius: 100%; transform: translateY(-50%);
}
.report-change-line::before { left: 0; background: #252632; border: 1.5px solid #b6afca }
.report-change-line::after { right: 0; background: #96eacf; box-shadow: 0 0 0 3px #83e6c81a }
.report-change-details > summary {
  position: absolute; inset-block-start: 3px; inset-inline-end: 13px; display: flex; align-items: center; gap: 4px;
  min-height: 42px; list-style: none; color: #c1bdce; font: 550 11px/1.3 var(--body); cursor: pointer;
}
.report-change-details > summary::-webkit-details-marker { display: none }
.report-change-details > summary > svg { width: 13px; height: 13px }
.report-change-details[open] > summary { color: #a2ebd9 }
.report-change-details > summary:focus-visible { outline: 2px solid #a2ebd9; outline-offset: 2px; border-radius: 4px }
#analysis .report-change-scope { margin: 12px 0 0; color: #c7c4d3; font: 500 12px/1.45 var(--body) }
.report-compared .report-change-pair { gap: 1px; border-top: 1px solid #ffffff17; background: #ffffff15; border-radius: 0 0 17px 17px }
#analysis .report-compared .report-change {
  min-height: 66px; grid-template-columns: 24px 1fr; gap: 6px 8px;
  padding: 10px 15px; border: 0; border-radius: 0 0 0 17px; background: #1d282a;
}
#analysis .report-compared .report-change[data-kind="lost"] { border-radius: 0 0 17px 0; background: #2a222c }
.report-compared .report-change-icon { width: 23px; height: 23px; border-radius: 7px }
.report-compared .report-change-icon svg { width: 15px; height: 15px }
.report-compared .report-change-count { justify-self: start; font-size: 22px }
.report-compared .report-change-label { font-size: 12px }
.report-list-sheet:is([data-kind="gained"],[data-kind="lost"],[data-kind="changes"]) .report-list-meta { grid-column: 1/-1 }
.report-change-group h3 { margin: 12px 6px 4px; color: #9be9d2; font: 650 13px/1.4 var(--head) }
.report-change-group[data-change-kind="lost"] h3 { color: #efa3b8 }
.report-list-meta > .report-change-period { box-sizing: border-box; flex: 0 0 100% }
@media (max-width: 360px) {
  .report-change-track { gap: 9px }
  .report-change-period { padding-inline: 12px }
}

.report-relation {
  --group-tone: #ef9db8; padding: 14px 15px 6px; border: 1px solid var(--report-line); border-radius: 17px;
  background: linear-gradient(110deg,#211f2a,#1b1c27);
}
.report-relation[data-group="incoming"] { --group-tone: #9bdcca }
.report-relation .report-section-head { margin-bottom: 7px }
#analysis .report-browse-group {
  display: block; min-height: 41px; max-width: none; width: 100%; margin: 2px 0 0;
  border-top: 1px solid #ffffff18; color: var(--group-tone); text-align: end;
}
#analysis .report-relation h2 { font-size: clamp(17px,4.6vw,21px) }
.report-count {
  display: inline-block; padding: 2px 7px; flex: none; border-radius: 7px; background: #ffffff0d; color: var(--group-tone);
  font: 650 12px/1.3 var(--head); font-variant-numeric: tabular-nums;
}
.report-relation[data-scope="observed"] .report-title-row { flex-wrap: wrap; gap: 4px 8px }
.report-observed-count {
  display: inline-block; padding: 2px 7px; border: 1px dashed #82798e; border-radius: 7px; color: #e2dbe9;
  font: 550 11px/1.4 var(--body); font-variant-numeric: tabular-nums;
}
.report-member-list { list-style: none; margin: 0; padding: 0 }
.report-member-list > li + li { border-top: 1px solid #ffffff10 }
#analysis .report-member {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 47px; margin: 0;
  padding: 6px 2px; border: 0; border-radius: 6px; text-align: start; background: transparent; color: var(--report-ink);
}
#analysis .report-member .flow-avatar { flex-basis: 32px; width: 32px; height: 32px; color: #dbd4e9; background: #363246; font-size: 14px }
.report-member-name { display: grid; flex: 1 1 auto; min-width: 0; gap: 2px }
.report-member-name strong, .report-member-name small { text-overflow: ellipsis; overflow: hidden; white-space: nowrap }
.report-member-name strong { font: 650 13px/1.24 var(--body) }
.report-member-name small { color: var(--report-muted); font: 500 11px/1.24 var(--body) }
.report-member-arrow { color: #a4a0b4; line-height: 1; font-size: 19px }
.report-relation-state { display:grid; grid-template-columns:26px minmax(0,1fr); gap:10px; align-items:start;
  padding:11px 0 10px; border-top:1px solid #ffffff0d }
.report-relation-state > .icon { width:26px; height:26px; padding:5px; border-radius:8px; color:#bcb8c9; background:#bcb8c911 }
.report-relation-state[data-state="clear"] > .icon { color:#97ebcb; background:#6bcfbb16 }
.report-relation-state :is(.report-empty,.report-recovery-status) { margin:0; align-self:center; padding:0;
  color:#cfccda; background:transparent; border:0; border-radius:0; font:500 12px/1.5 var(--body) }
.report-relation-scope { margin: 3px 0 9px; color: var(--report-muted); font: 500 12px/1.45 var(--body) }
#analysis .report-source-list {
  display: flex; align-items: center; gap: 8px; min-height: 40px; max-width: 100%;
  font: 650 12px/1.4 var(--body); text-align: start;
  width: 100%; padding: 5px 0; color: var(--report-ink); background: transparent; border: 0;
}
.report-source-list > .icon { width: 16px; height: 16px; margin-inline-start: auto; color: var(--group-tone) }
.report-source-photos { display: inline-flex; padding-inline-end: 1px }
#analysis .report-source-photos .flow-avatar {
  width: 27px; height: 27px; flex-basis: 27px; font-size: 10px; border: 2px solid #252331;
}
.report-source-photos .flow-avatar + .flow-avatar { margin-inline-start: -9px }
.report-recovery-status { margin: 6px 0 0; color: var(--group-tone); font: 600 12px/1.4 var(--body) }
#analysis .report-source-list:focus-visible { outline: 2px solid var(--group-tone, #bdecdf) }
#analysis button.flow-member { width: 100%; border: 0; color: inherit; font: inherit; text-align: start }
#analysis button.flow-member:focus-visible { outline: 2px solid #83f5e3; outline-offset: 2px }

.report-preview-row { display: flex; align-items: center; gap: 6px }
.report-preview-row .report-member { flex: 1; min-width: 0 }
#analysis .report-mutual-link {
  display: flex; align-items: center; justify-content: space-between; min-height: 44px; width: 100%;
  padding: 8px 15px; margin: -10px 0 0; border: 1px solid var(--report-line); border-radius: 12px;
  background: #1c2029; color: #c0e1da; font: 600 12px/1.4 var(--body);
}
.report-mutual-link svg { width: 17px; height: 17px }

.report-feature {
  isolation: isolate; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.28fr) minmax(92px,.92fr);
  align-items: center; gap: 8px; min-height: 119px; padding: 12px 13px 12px 15px;
  border-radius: 17px; border: 1px solid #657490; box-shadow: inset 0 1px 0 #c2ccef20;
  background: radial-gradient(ellipse at 12% -65%,#9d569b75,transparent 57%),
    radial-gradient(ellipse at 73% 110%,#ae326d40,transparent 41%),linear-gradient(106deg,#25283f,#202c46 68%,#1b3046);
}
.report-feature-copy { min-width: 0 }
.report-feature.report-feature-empty { min-height:94px; grid-template-columns:minmax(0,1fr) 56px; gap:16px }
.report-feature-empty .report-feature-copy p { max-width:40ch; margin-bottom:0 }
.report-feature-empty > .icon { justify-self:center; width:40px; height:40px; padding:8px; border:1px solid #c0b8ea55;
  border-radius:50%; color:#ded1f7; box-shadow:0 0 0 6px #c0b8ea0c,0 0 0 12px #c0b8ea07 }
.report-feature-profiles {
  grid-column: 1/-1; min-width: 0; gap: 5px; margin-top: 4px; padding: 9px 2px 2px;
  border-top: 1px solid #ffffff24; scrollbar-color: #64718a transparent;
}
.report-feature-profiles li { flex-basis: 57px }
#analysis .report-feature-profiles .flow-avatar { width: 40px; height: 40px; border: 2px solid #212c40; box-shadow: 0 0 0 1px #91bcba }
#analysis .report-feature-copy h2 { font: 650 clamp(15px,4.4vw,20px)/1.15 var(--head); letter-spacing: .025em; color: #f6eaff }
.report-feature-copy p { max-width: 25ch; margin: 5px 0 7px; color: #d8d5e4; font: 500 12px/1.36 var(--body) }
.report-list-sheet[data-kind="random"] .report-list-meta > :first-child {
  padding: 2px 8px; border-radius: 6px; background: #263c3a; color: #c1eddd; font-weight: 650;
}
#analysis .report-feature-cta {
  display: block; width: min(100%,190px); min-height: 37px; margin: 0; padding: 6px 9px;
  border: 1px solid #c0bdd380; border-radius: 8px; box-shadow: inset 0 1px 0 #ffffff16;
  background: #ffffff10; color: #faf4ff; font: 600 12px/1.3 var(--body);
}
#analysis .report-feature-cta:disabled { opacity: .52; cursor: default }
.report-feature-copy:only-child { grid-column: 1/-1 }
.report-feature-art {
  display: block; align-self: end; justify-self: center; min-width: 0; width: min(100%,148px);
  margin: 0; padding: 4px 2px 0; border: 0; border-radius: 10px; background: transparent;
}
.report-podium {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.23fr) minmax(0,1fr);
  align-items: end; gap: 3px;
}
button.report-feature-art { cursor: pointer }
button.report-feature-art .report-podium { filter: blur(4px); opacity: .85; pointer-events: none }
.report-podium-step {
  --portrait-size: 42px; --rim: #a1d4cf; --step: #526580;
  display: grid; align-items: end; justify-items: center; gap: 4px; min-width: 0;
  width: 100%; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent;
}
button.report-podium-step { cursor: pointer }
.report-podium-step[data-place="2"] { grid-column: 1; --backdrop: #6f91a4; --shirt: #514262 }
.report-podium-step[data-place="1"] { grid-column: 2; --portrait-size: 52px; --rim: #f6d39e; --step: #a2537c; --shirt: #8f5669 }
.report-podium-step[data-place="3"] { grid-column: 3; --rim: #d9aac0; --step: #71596e; --backdrop: #7f859f; --shirt: #397267 }
#analysis .report-podium-step .flow-avatar, .report-podium-step.report-masked-profile::before {
  width: min(100%,var(--portrait-size)); height: auto; aspect-ratio: 1; border: 2px solid var(--rim);
  box-shadow: 0 2px 5px #10132270; color: #f4eefb;
}
.report-podium-step.report-masked-profile::after { display: none }
.report-podium-rank {
  display: grid; place-items: center; width: 100%; height: 21px; border-radius: 7px 7px 3px 3px;
  background: linear-gradient(160deg,var(--step),#36384e); color: #fff; font: 650 12px/1 var(--head);
}
.report-podium-step[data-place="1"] .report-podium-rank { height: 28px; font-size: 15px }
.report-podium-step[data-place="3"] .report-podium-rank { height: 17px }
dialog.report-person-sheet {
  width: min(330px,calc(100% - 32px)); max-height: 80svh; padding: 26px 18px 23px; border-radius: 22px; border: 1px solid #595064;
  background: radial-gradient(ellipse 90% 85px at 50% 0,#40304d,transparent),#1e1e29;
  text-align: center; color: #f2eff9;
}
.report-person-sheet::backdrop { background: #0b0a13bf }
#analysis .report-sheet-close {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 36px; height: 36px;
  padding: 0; min-height: 0; border: 0; border-radius: 50%; background: #ffffff09; color: #ddd7e7; font: 500 20px/1 var(--body);
}
#analysis .report-person-sheet .flow-avatar { margin: 1px auto 12px; box-shadow: 0 0 0 2px #bfa4e3; border: 2px solid #242130 }
#analysis .report-person-sheet h2 { color: #f3eef8; margin: 0 }
.report-person-sheet p { margin: 4px 0 0; font: 500 13px/1.45 var(--body); color: #c7c3d4; overflow-wrap: anywhere }
.report-person-tag { display: inline-flex; margin: 12px 0 0; border-radius: 20px; padding: 4px 9px; color: #b8e5d8; background: #273d3b; font: 600 11px/1.45 var(--body) }
.report-person-tag[data-relation="outgoing"] {
  display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: 15px auto 0;
  padding: 9px 12px; border: 1px solid #a84e62; border-radius: 12px; background: #452430;
  color: #ffd4da; font: 650 13px/1.45 var(--body); text-align: start;
}
.report-person-tag[data-relation="outgoing"] .icon {
  flex: none; width: 25px; height: 25px; padding: 5px; border-radius: 50%; background: #693042; color: #ffa7b4;
}

@media (hover:hover) {
  #analysis .report-member:hover, #analysis button.report-stat:hover { background: #ffffff09 }
  #analysis .report-feature-cta:hover, #analysis .report-change:not(:disabled):hover { border-color: #d3c0e3 }
  #analysis .report-pick:hover .report-pick-handle { text-decoration: underline; text-underline-offset: 2px }
}
@media (max-width:349px) {
  #analysis[data-view="overview"] { padding-inline: 12px }
  .profile-report { gap: 16px }
  .report-identity { padding: 15px 12px 11px }
  #analysis .report-change { padding: 10px; gap: 7px }
  .report-relation, .report-feature { padding-inline: 12px }
  .report-feature { grid-template-columns: minmax(0,1.25fr) minmax(84px,.9fr); min-height: 112px }
}
@media (min-width:501px) {
  #analysis[data-view="overview"] { box-shadow: 0 0 0 1px #ffffff0d }
}
