@font-face {
  font-family: DM Sans;
  src: url(./dm-sans.woff2) format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Playfair Display;
  src: url(./playfair-display.woff2) format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #20342c;
  --copy: #36463e;
  --muted: #607067;
  --line: #dce2d9;
  --paper: #f7f8f4;
  --white: #fff;
  --rail: #19372d;
  --green: #2c694c;
  --pale: #e7efe6;
  --copper: #bc6c4f;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --rail-width: 238px;
  --pad: clamp(25px, 3.15vw, 54px);
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  min-width: 280px;
  font-size: 1rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
fieldset,
dl,
dd,
blockquote {
  margin: 0;
}
button,
a,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.43;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #ad6246;
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
button,
input,
select {
  font-family: var(--sans);
}
[hidden] {
  display: none !important;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 30;
  background: white;
  color: var(--ink);
  padding: 12px;
}
.icon {
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
.icon use {
  pointer-events: none;
}
#shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
}
#workspace {
  grid-column: 2;
  min-width: 0;
}
#sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-width);
  background: var(--rail);
  color: #f2f3e7;
  display: flex;
  flex-direction: column;
  padding: 29px 17px 0;
  z-index: 9;
  isolation: isolate;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #436452 var(--rail);
}
.sidebar-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 14px 38px;
}
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: #f6f3e8;
}
.wordmark > span:first-child {
  font: 500 2.49rem/0.99 var(--serif);
  letter-spacing: -0.09em;
}
.wordmark-period {
  color: #d28a69;
  margin-left: 0.03em;
}
.wordmark-sub {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0 0 1px;
  font-size: 0.59rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.24em;
}
.wordmark-sub i {
  height: 2px;
  width: 22px;
  background: #ce8262;
}
.nav-group + .nav-group {
  margin-top: 33px;
}
.nav-group p {
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.135em;
  text-transform: uppercase;
  color: #a8beb0;
  margin: 0 14px 10px;
}
.side-link {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
  color: #dce6d9;
  margin: 3px 0;
  border-radius: 7px;
  position: relative;
}
.side-link .icon {
  color: #a8c2af;
}
.side-link.active {
  background: #345344;
  color: #fff;
  font-weight: 650;
}
.side-link.active .icon {
  color: #e0eddc;
}
.side-link.active:before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 3px;
  background: #b8cda7;
}
.side-link:hover,
.guide-btn:hover,
.team:hover {
  background: rgba(210, 235, 213, 0.085);
}
.side-link.active:hover {
  background: #395b49;
}
.rail-count {
  margin-left: auto;
  border: 1px solid #577463;
  border-radius: 5px;
  min-width: 20px;
  text-align: center;
  font-size: 0.72rem;
}
.rail-floor {
  position: relative;
  margin-top: auto;
  padding-top: 50px;
}
.rail-orbits {
  position: absolute;
  bottom: 117px;
  left: -17px;
  width: var(--rail-width);
  height: clamp(65px, 22vh, 210px);
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
  mask-image: linear-gradient(transparent, #000 23%, #000 85%, transparent);
}
.rail-orbits i {
  position: absolute;
  width: 345px;
  height: 345px;
  border: 1px solid rgba(176, 207, 182, 0.105);
  border-radius: 50%;
  left: -223px;
  top: -62px;
}
.rail-orbits i:nth-child(2) {
  width: 398px;
  height: 398px;
  top: -88px;
  left: -250px;
}
.rail-orbits i:nth-child(3) {
  width: 452px;
  height: 452px;
  top: -115px;
  left: -277px;
}
.rail-orbits i:nth-child(4) {
  width: 506px;
  height: 506px;
  top: -142px;
  left: -304px;
}
.rail-orbits i:nth-child(5) {
  width: 560px;
  height: 560px;
  top: -169px;
  left: -331px;
}
.rail-orbits i:nth-child(6) {
  width: 614px;
  height: 614px;
  top: -196px;
  left: -358px;
}
.guide-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #d0dfd3;
  font-size: 0.85rem;
  padding: 11px 13px;
  border-radius: 6px;
  margin-bottom: 13px;
  position: relative;
  width: 100%;
}
.team {
  padding: 15px 3px 21px;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
  border-top: 1px solid #3b5648;
  color: #f1f3e9;
}
.team > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.team b,
.team small {
  display: block;
}
.team b {
  font-size: 0.79rem;
  font-weight: 650;
}
.team small {
  font-size: 0.73rem;
  color: #b6c8b9;
  margin-top: 2px;
}
.team > .icon {
  color: #abc0b0;
}
.team-monogram {
  display: grid;
  place-items: center;
  width: 34px;
  height: 35px;
  flex: none;
  background: #e4e9d8;
  color: #254534;
  border-radius: 7px;
  font: 550 1.25rem/1 var(--serif);
}
#topbar {
  height: 62px;
  border-bottom: 1px solid var(--line);
  background: #fcfcf9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 var(--pad);
}
.crumbs,
.top-end,
.crumb-root {
  display: flex;
  align-items: center;
}
.crumbs {
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}
.crumb-root {
  gap: 8px;
}
.crumb-root .icon {
  color: #77877d;
}
.crumb-slash {
  color: #a4aea4;
}
.crumb-current {
  color: #38473d;
  font-weight: 530;
}
.top-end {
  gap: 14px;
}
.demo-label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 1px solid #e3d7c5;
  background: #f7f2e9;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 600;
  color: #765939;
}
.demo-label:hover {
  background: #efe7db;
}
.demo-label i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: #be8b54;
}
.top-divider {
  height: 20px;
  border-left: 1px solid var(--line);
}
.top-avatar {
  border: 1px solid #c8d3c3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5ebde;
  color: #3c5842;
  font-size: 0.72rem;
  font-weight: 700;
}
.menu-btn,
.rail-close {
  display: none !important;
}
#main {
  max-width: 1660px;
  margin: 0 auto;
  padding: 28px var(--pad) 52px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.page-heading > div:first-child {
  min-width: 0;
}
.page-heading h1 {
  font: 500 clamp(2rem, 3vw, 3.02rem) / 1.14 var(--serif);
  letter-spacing: -0.055em;
  color: #1d382c;
}
.page-heading p {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 7px;
}
.heading-actions {
  display: flex;
  flex: none;
  gap: 9px;
  align-items: center;
}
.btn,
.select-control,
.subject-chip {
  border: 1px solid #d8dfd5;
  background: #fff;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #34483c;
  font-size: 0.86rem;
  font-weight: 570;
  min-height: 38px;
  line-height: 1.25;
  white-space: nowrap;
}
.btn {
  padding: 8px 14px;
}
.btn:hover:not(:disabled),
.subject-chip:hover,
.select-control:hover,
.option-card:hover {
  background: #f0f4ec;
  border-color: #bccdbb;
}
.btn.primary {
  background: #285840;
  color: #fff;
  border-color: #285840;
}
.btn.primary:hover {
  background: #204b36;
  color: white;
}
.btn.small {
  min-height: 32px;
  font-size: 0.8rem;
  padding: 6px 10px;
}
.export-btn {
  background: #264f3b;
  color: white;
  border-color: #264f3b;
}
.export-btn:hover:not(:disabled) {
  background: #1e412f;
  border-color: #1e412f;
  color: white;
}
.select-control {
  position: relative;
  gap: 0;
  padding: 0;
  max-width: 100%;
}
.select-control > svg:first-child:not(:last-child) {
  position: absolute;
  left: 11px;
  pointer-events: none;
  z-index: 1;
}
.select-control > svg:last-child {
  pointer-events: none;
  position: absolute;
  right: 10px;
  color: #67786a;
}
.select-control select {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  color: inherit;
  font: inherit;
  padding: 9px 31px 9px 11px;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 36px;
}
.select-control:has(> svg:first-child) select {
  padding-left: 33px;
}
.select-control.compact {
  font-size: 0.79rem;
  min-height: 31px;
}
.select-control.compact select {
  min-height: 30px;
  padding-block: 5px;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  background: transparent;
  min-width: 32px;
  min-height: 32px;
  border-radius: 6px;
  color: #607267;
}
.icon-btn:hover {
  background: #edf1eb;
  color: #284b36;
}
.context-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.context-left,
.context-meta {
  display: flex;
  align-items: center;
}
.context-left {
  gap: 13px;
  min-width: 0;
}
.context-sep {
  width: 1px;
  height: 15px;
  background: #d3dacf;
}
.context-meta {
  font-size: 0.79rem;
  color: #68786d;
  gap: 6px;
}
.context-range {
  white-space: nowrap;
}
.subject-chip {
  min-height: 30px;
  font-size: 0.79rem;
  padding: 5px 9px;
  background: #edf1e9;
  border-color: #d5dfd1;
  gap: 7px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 20px;
}
.kpi {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 16px 17px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.kpi:hover {
  border-color: #91a995;
  box-shadow: 0 3px 12px #23412c0c;
}
.kpi-label {
  font-size: 0.835rem;
  line-height: 1.35;
  font-weight: 570;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: #46594c;
}
.kpi-label .icon {
  color: #819284;
}
.kpi-number {
  margin-top: auto;
  font: 550 clamp(1.9rem, 2.55vw, 2.75rem) / 1.06 var(--sans);
  letter-spacing: -0.064em;
  color: #1f3729;
  font-variant-numeric: tabular-nums;
}
.kpi-number small {
  font-size: 0.66em;
  font-weight: 430;
  letter-spacing: -0.045em;
  margin-left: 1px;
}
.kpi-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 23px;
}
.spark {
  width: 62px;
  height: 25px;
  color: #91ac93;
  flex: 0 1 auto;
}
.delta {
  font-size: 0.73rem;
  color: #366b48;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  position: relative;
  z-index: 1;
}
.delta.negative {
  color: #995236;
}
.lead-kpi {
  background: linear-gradient(113deg, #244e39, #2e6144);
  border-color: #2a543b;
  color: white;
}
.lead-kpi .kpi-label,
.lead-kpi .kpi-number {
  color: #f4f6eb;
}
.lead-kpi .kpi-label .icon {
  color: #d0ddc7;
}
.lead-kpi .delta {
  color: #d6eccb;
}
.lead-kpi .spark {
  color: #c0d6a9;
}
.lead-kpi:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-radial-gradient(
    ellipse at 100% 140%,
    transparent 0 17px,
    #d6e3c811 18px 19px,
    transparent 20px 36px
  );
  opacity: 0.5;
  z-index: -1;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  min-width: 0;
  box-shadow: 0 2px 5px #2e402a04;
}
.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 21px 22px 0;
}
.panel-heading > div {
  min-width: 0;
}
.panel h2 {
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.033em;
}
.panel-heading p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: 5px;
}
.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(249px, 1fr);
  gap: 16px;
  margin-bottom: 20px;
  align-items: stretch;
}
.chart-panel,
.platform-panel {
  display: flex;
  flex-direction: column;
}
.trend-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 22px 1px;
}
.trend-legend > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #56685a;
  font-size: 0.75rem;
}
.legend-solid,
.legend-dash {
  width: 17px;
  border-top: 2px solid #387753;
}
.legend-dash {
  border-top: 2px dashed #9aa99c;
}
.chart-frame {
  position: relative;
  margin: 9px 21px 10px 17px;
  min-height: 145px;
  height: clamp(165px, 13.4vw, 217px);
  border-radius: 4px;
}
.trend-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.axis-text {
  font: 12px var(--sans);
  fill: #637267;
}
.chart-tip {
  position: absolute;
  pointer-events: none;
  background: #1d392c;
  color: #f3f7ef;
  border: 1px solid #345240;
  border-radius: 7px;
  box-shadow: 0 5px 20px #14281b27;
  padding: 8px 10px;
  font-size: 0.73rem;
  min-width: 118px;
  line-height: 1.45;
}
.chart-tip b {
  display: block;
  margin-bottom: 3px;
}
.chart-tip span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #d4e0cf;
}
.chart-tip strong {
  color: white;
}
.chart-footer,
.panel-bottom {
  border-top: 1px solid #e8ece6;
  margin-top: auto;
  color: #667569;
  font-size: 0.74rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 37px;
  padding: 8px 21px;
}
.chart-footer .icon,
.panel-bottom .icon {
  color: #789077;
}
.panel-glyph {
  color: #788d7c;
}
.platform-list {
  padding: 14px 19px 10px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 4px;
}
.platform-row {
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
  gap: 10px;
  padding: 7px 3px;
  border-radius: 7px;
}
.platform-row:hover,
.platform-row.chosen {
  background: #f3f6f0;
}
.provider-logo {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #dce3da;
  border-radius: 9px;
  background: #eef2e9;
}
.provider-logo img {
  display: block;
  width: 21px;
  height: 21px;
}
.provider-logo.claude {
  background: #fbf1e9;
  border-color: #eddfd4;
}
.provider-logo.gemini {
  background: #eef1fc;
  border-color: #dfe4f2;
}
.provider-logo.mini {
  width: 27px;
  height: 27px;
  border-radius: 7px;
}
.provider-logo.mini img {
  width: 17px;
  height: 17px;
}
.platform-detail {
  min-width: 0;
  flex: 1;
}
.platform-detail b {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.bar {
  display: block;
  height: 5px;
  background: #edf0eb;
  border-radius: 6px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: var(--width);
  background: var(--tone);
  border-radius: 6px;
}
.platform-row strong {
  align-self: flex-end;
  white-space: nowrap;
  font-size: 0.95rem;
  line-height: 1;
  margin: 0 0 3px 3px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.platform-row strong small {
  font-size: 0.8em;
  font-weight: 470;
}
.text-link {
  font-size: 0.81rem;
  font-weight: 650;
  color: #38644b;
  align-self: center;
  white-space: nowrap;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.table-panel .panel-heading {
  padding-bottom: 18px;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: 0 0 13px 13px;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.86rem;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 12px;
  border-top: 1px solid #e8ece5;
}
.data-table thead th {
  font-size: 0.735rem;
  font-weight: 570;
  background: #f5f7f2;
  color: #617063;
  white-space: nowrap;
  line-height: 1.35;
  padding-block: 9px;
}
.data-table tbody tr:hover {
  background: #fafbf8;
}
.data-table tr > :first-child {
  padding-left: 22px;
}
.data-table tr > :last-child {
  padding-right: 16px;
}
.data-table .numeric-head,
.data-table .numeric {
  text-align: right;
}
.numeric {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.numeric small {
  color: #738176;
  font-size: 0.78rem;
  font-weight: 430;
}
.row-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.45;
  font-size: 0.86rem;
  font-weight: 520;
  text-align: left;
  padding: 0;
  color: #2a4433;
}
.row-title:hover > span:last-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.row-title > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.row-title b,
.row-title small {
  display: block;
}
.row-title b {
  font-weight: 600;
}
.row-title small {
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 2px;
  font-weight: 400;
}
.prompt-bullet {
  color: #66836c;
  display: grid;
  place-items: center;
  border: 1px solid #dce4d9;
  background: #f5f7f1;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex: none;
}
.row-more {
  width: 38px;
}
.pill,
.rank,
.state-tag {
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  padding: 3px 8px;
  font-size: 0.73rem;
  font-weight: 570;
  white-space: nowrap;
}
.mint,
.sage {
  background: #e7efe2;
  color: #3e6445;
}
.sand {
  background: #f5eadc;
  color: #875a32;
}
.violet,
.lilac {
  background: #eeeaf5;
  color: #6e5b83;
}
.blue {
  background: #e9eef7;
  color: #516b8c;
}
.rose {
  background: #f5e9e2;
  color: #955d4e;
}
.slate {
  background: #eef0ec;
  color: #5b695e;
}
.rank {
  color: #345a41;
  background: #ebf1e6;
  font-size: 0.83rem;
  font-weight: 640;
}
.row-more .icon-btn {
  min-width: 27px;
  min-height: 29px;
}
.filter-bar,
.li-filter-row,
.li-filters {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-bar {
  flex-wrap: wrap;
  padding: 0 22px 17px;
}
.search-control {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d8dfd5;
  background: white;
  border-radius: 7px;
  padding: 0 10px;
  color: #738176;
  min-width: 0;
  min-height: 37px;
}
.search-control:focus-within {
  outline: 2px solid #ad6246;
  outline-offset: 2px;
}
.search-control input {
  width: 100%;
  min-width: 0;
  outline: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  height: 35px;
  font-size: 0.86rem;
}
.search-control input:focus-visible {
  outline: 0;
}
.search-control input::placeholder {
  color: #6e796f;
}
.filter-bar .segmented + .search-control {
  margin-left: auto;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.81rem;
}
.pagination > div {
  display: flex;
  gap: 6px;
}
.research-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 23px 0 20px;
}
.research-stat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.research-stat > div {
  display: grid;
  gap: 3px;
}
.research-stat > div > span {
  font-size: 0.86rem;
  font-weight: 560;
}
.research-stat strong {
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 550;
}
.research-stat small {
  font-size: 0.75rem;
  color: var(--muted);
}
.stat-icon {
  flex: none;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.segmented {
  display: inline-flex;
  align-items: center;
  background: #f0f3ed;
  border: 1px solid #dde4d9;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
  max-width: 100%;
}
.segmented button {
  font-size: 0.8rem;
  min-height: 29px;
  padding: 4px 12px;
  color: #596b5d;
  border-radius: 5px;
}
.segmented .is-active {
  background: white;
  color: #254c33;
  font-weight: 650;
  box-shadow: 0 1px 4px #293f271e;
}
.state-tag {
  gap: 6px;
}
.state-tag i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  font-weight: 650;
  font-size: 0.83rem;
  letter-spacing: 0.01em;
}
.li-filters {
  align-items: flex-start;
  flex-direction: column;
  padding: 18px 22px 22px;
  gap: 13px;
}
.li-filter-row {
  width: 100%;
  flex-wrap: wrap;
}
.li-filter-row .search-control {
  flex: 1 1 190px;
}
.search-panel {
  margin: 22px 0 19px;
}
.linkedin-mark {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: #e5edf3;
  color: #356782;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.results-count {
  padding: 0 22px 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.77rem;
  color: var(--muted);
}
.results-count strong {
  color: #38533e;
}
.save-column {
  text-align: right !important;
}
.bookmark.is-saved {
  color: #38704b;
  background: #e7efe2;
}
.empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
  padding: 35px 20px 40px;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef2e8;
  color: #667f63;
  margin-bottom: 3px;
}
.empty p {
  color: var(--muted);
  font-size: 0.86rem;
}
.empty .btn {
  margin-top: 7px;
}
#nav-backdrop {
  position: fixed;
  inset: 0;
  background: #17291f66;
  z-index: 8;
}
dialog {
  border: 1px solid #d8e1d5;
  color: var(--ink);
  background: #fcfdf9;
  padding: 0;
  box-shadow: 0 20px 80px #10241a35;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #16251f55;
  backdrop-filter: blur(2px);
}
dialog.drawer {
  margin: 0 0 0 auto;
  width: min(465px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  border-radius: 14px 0 0 14px;
}
dialog.modal {
  width: min(520px, calc(100% - 28px));
  border-radius: 15px;
  margin: auto;
}
.drawer-head {
  padding: 27px 26px 20px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.drawer-kicker,
.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: #57715c;
}
.drawer-kicker {
  padding-right: 32px;
  margin-bottom: 12px;
}
.drawer-head .close-dialog {
  position: absolute;
  right: 15px;
  top: 16px;
}
.drawer-head h2 {
  font: 500 1.85rem/1.23 var(--serif);
  letter-spacing: -0.035em;
  color: #233f2e;
}
.drawer-head p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
}
.drawer-body {
  padding: 21px 26px 29px;
}
.section-label {
  margin: 23px 0 9px;
}
.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.mini-metrics > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: white;
}
.mini-metrics span,
.mini-metrics strong,
.provider-highlight span,
.provider-highlight strong {
  display: block;
}
.mini-metrics span {
  color: var(--muted);
  font-size: 0.73rem;
}
.mini-metrics strong {
  font-size: 1.33rem;
  letter-spacing: -0.04em;
}
.field-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #3a5140;
  min-width: 0;
}
.field-label input,
.field-label select,
.field-label textarea {
  font: 400 0.9rem/1.4 var(--sans);
  border: 1px solid #cbd6c7;
  background: #fff;
  color: var(--ink);
  border-radius: 7px;
  padding: 9px 10px;
  min-height: 39px;
  min-width: 0;
  width: 100%;
}
.field-label textarea {
  resize: vertical;
}
.field-label select {
  appearance: none;
  padding-right: 29px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23586a59' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")
    no-repeat right 10px center/15px;
}
.answer-card,
.notice-card,
.brief-banner,
.provider-highlight {
  background: #f0f4ec;
  border: 1px solid #dce5d6;
  border-radius: 10px;
  padding: 15px;
  margin: 15px 0;
}
.answer-card > div,
.notice-card,
.brief-banner,
.provider-highlight {
  display: flex;
  align-items: center;
  gap: 9px;
}
.answer-card .pill {
  margin-left: auto;
}
.answer-card blockquote {
  font-size: 0.94rem;
  line-height: 1.65;
  margin-top: 10px;
}
.detail-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 12px;
  border-bottom: 1px solid #e2e7de;
  padding: 10px 0;
  font-size: 0.84rem;
}
.detail-list dt {
  color: var(--muted);
}
.detail-list dd {
  text-align: right;
  font-weight: 560;
  overflow-wrap: anywhere;
}
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 21px;
}
.related-row,
.option-card {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  width: 100%;
  font-size: 0.87rem;
  padding: 11px 0;
  border-bottom: 1px solid #e0e7dc;
}
.related-row > span,
.option-card > span:nth-child(2) {
  flex: 1;
}
.related-row:hover {
  color: var(--green);
}
.option-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  margin-bottom: 8px;
}
.option-card[aria-pressed="true"] {
  background: #edf3e8;
  border-color: #b7cbb4;
}
.option-card b,
.option-card small,
.brief-banner b,
.brief-banner small {
  display: block;
}
.option-card small,
.brief-banner small {
  font-size: 0.77rem;
  color: var(--muted);
  margin-top: 3px;
}
.choices > *:last-child {
  margin-bottom: 0;
}
.provider-highlight {
  margin-top: 0;
}
.provider-highlight strong {
  font-size: 1.6rem;
  line-height: 1.2;
}
.provider-highlight span,
.check-list,
.prose,
.inline-note,
.guide-content p,
.notice-card p {
  font-size: 0.88rem;
}
.brief-banner {
  margin: 0;
}
.brief-banner > div {
  flex: 1;
  min-width: 0;
}
.prose,
.guide-content p,
.notice-card p {
  color: var(--copy);
  line-height: 1.65;
}
.inline-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 13px;
}
.inline-note .icon {
  margin-top: 3px;
}
.check-list {
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 9px 0;
}
.check-list .icon {
  margin-top: 3px;
  color: #62846a;
}
.type-choices {
  display: flex;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0 0 15px;
}
.type-choices legend {
  font-weight: 600;
  font-size: 0.83rem;
  margin-bottom: 6px;
}
.type-choices label {
  position: relative;
}
.type-choices input {
  position: absolute;
  opacity: 0;
}
.type-choices span {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d1dccc;
  background: white;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 0.86rem;
  cursor: pointer;
}
.type-choices input:checked + span {
  background: #e7efe1;
  color: #31583b;
  border-color: #9bb795;
}
.type-choices input:focus-visible + span {
  outline: 2px solid #ae664a;
  outline-offset: 2px;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
}
.notice-card {
  align-items: flex-start;
  margin-top: 0;
}
.notice-card p {
  margin-top: 4px;
}
.guide-content h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.guide-content h3:not(:first-child) {
  margin-top: 15px;
}
#toast {
  position: fixed;
  bottom: 23px;
  right: 23px;
  max-width: calc(100% - 46px);
  border-radius: 8px;
  background: #203d2c;
  color: #f1f5ec;
  box-shadow: 0 4px 20px #18322329;
  padding: 10px 15px;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: 0.18s;
  z-index: 20;
}
#toast.show {
  opacity: 1;
  transform: none;
}
@media (min-width: 1580px) {
  .panel-heading {
    padding-top: 24px;
  }
  .kpi {
    padding: 20px 22px 16px;
  }
  .kpi-grid,
  .analytics-grid {
    gap: 19px;
  }
}
@media (max-width: 1210px) {
  :root {
    --rail-width: 211px;
    --pad: 26px;
  }
  .side-link {
    font-size: 0.85rem;
    gap: 9px;
  }
  .sidebar-top {
    padding-left: 10px;
  }
  .kpi {
    padding: 14px 12px 11px;
  }
  .kpi-label {
    font-size: 0.8rem;
  }
  .kpi-label .icon {
    width: 14px;
  }
  .analytics-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(232px, 1fr);
    gap: 13px;
  }
  .panel-heading {
    padding: 17px 16px 0;
  }
  .trend-legend {
    padding-left: 16px;
  }
  .chart-frame {
    margin-left: 12px;
    margin-right: 13px;
  }
  .platform-list {
    padding-inline: 13px;
  }
  .chart-footer,
  .panel-bottom {
    padding-inline: 16px;
  }
  .team b {
    font-size: 0.75rem;
  }
  .sidebar-top {
    padding-bottom: 34px;
  }
}
@media (max-width: 1030px) and (min-width: 851px) {
  :root {
    --rail-width: 191px;
    --pad: 19px;
  }
  #sidebar {
    padding-inline: 12px;
  }
  .side-link {
    padding-inline: 10px;
  }
  .kpi-grid {
    gap: 8px;
  }
  .kpi-label .icon {
    display: none;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading p {
    font-size: 0.85rem;
  }
  .analytics-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(208px, 1fr);
  }
  .panel-heading {
    gap: 6px;
  }
  .panel h2 {
    font-size: 1.02rem;
  }
  .chart-panel .panel-heading {
    flex-wrap: wrap;
  }
  .chart-panel .panel-heading p {
    display: none;
  }
  .chart-footer {
    min-height: 44px;
  }
  .team .icon {
    display: none;
  }
  .platform-row {
    gap: 7px;
  }
  .provider-logo {
    width: 31px;
    height: 31px;
  }
  .filter-bar .segmented + .search-control {
    margin-left: 0;
  }
}
@media (max-width: 850px) {
  :root {
    --rail-width: 235px;
    --pad: 24px;
  }
  #shell {
    display: block;
  }
  #workspace {
    width: 100%;
  }
  #sidebar {
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 0.16s,
      visibility 0.16s;
  }
  .menu-open #sidebar {
    transform: translateX(0);
    visibility: visible;
  }
  .menu-open {
    overflow: hidden;
  }
  .menu-btn,
  .rail-close {
    display: inline-grid !important;
  }
  .rail-close {
    color: #dce6d9;
  }
  .rail-close:hover {
    background: #385442;
    color: white;
  }
  .sidebar-top {
    padding-right: 0;
  }
  .crumbs {
    gap: 9px;
  }
  .menu-btn {
    margin-left: -7px;
  }
  .topbar {
    padding-inline: var(--pad);
  }
  .chart-frame {
    height: 185px;
  }
  .kpi-number {
    font-size: 2rem;
  }
  .context-strip {
    margin-bottom: 17px;
  }
  .team b {
    font-size: 0.8rem;
  }
}
@media (max-width: 680px) {
  :root {
    --pad: 17px;
  }
  #topbar {
    height: 53px;
  }
  .crumb-root,
  .crumb-slash,
  .top-divider {
    display: none;
  }
  .top-end {
    gap: 8px;
  }
  #main {
    padding-top: 21px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 13px;
  }
  .page-heading h1 {
    font-size: 2.09rem;
  }
  .page-heading p {
    font-size: 0.89rem;
  }
  .heading-actions {
    width: 100%;
  }
  .btn,
  .select-control {
    min-height: 36px;
  }
  .context-range {
    display: none;
  }
  .context-left {
    gap: 8px;
    flex-wrap: wrap;
  }
  .context-meta,
  .subject-chip {
    font-size: 0.74rem;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 14px;
  }
  .kpi {
    padding: 13px;
    gap: 6px;
  }
  .kpi-number {
    font-size: 2rem;
  }
  .kpi-label {
    font-size: 0.76rem;
  }
  .kpi-label .icon {
    width: 13px;
  }
  .spark {
    width: 48px;
    height: 23px;
  }
  .analytics-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 15px;
  }
  .chart-frame {
    height: 177px;
  }
  .chart-footer,
  .panel-bottom {
    min-height: 34px;
  }
  .panel-heading {
    padding: 16px 15px 0;
  }
  .platform-list {
    padding: 9px 14px;
  }
  .platform-row {
    padding: 6px 2px;
  }
  .platform-detail b {
    margin-bottom: 5px;
  }
  .table-panel .panel-heading {
    padding-bottom: 13px;
  }
  .panel-heading p {
    font-size: 0.78rem;
  }
  .filter-bar,
  .li-filters {
    padding-inline: 15px;
  }
  .filter-bar .segmented + .search-control {
    margin-left: 0;
  }
  .research-stats {
    gap: 8px;
    margin: 16px 0;
  }
  .research-stat {
    padding: 11px;
    display: block;
  }
  .research-stat .stat-icon {
    width: 27px;
    height: 27px;
    margin-bottom: 6px;
  }
  .research-stat .stat-icon .icon {
    width: 15px;
  }
  .research-stat small {
    display: none;
  }
  .research-stat > div > span {
    font-size: 0.77rem;
  }
  .research-stat strong {
    font-size: 1.4rem;
  }
  .li-filter-row > * {
    flex: 1 1 auto;
  }
  .li-filter-row .search-control {
    flex-basis: 100%;
  }
  .results-count {
    padding-inline: 15px;
  }
  .row-title,
  .data-table {
    font-size: 0.82rem;
  }
  .prompt-bullet {
    display: none;
  }
  .data-table tr > :first-child {
    padding-left: 15px;
  }
  .data-table tr > :last-child {
    padding-right: 12px;
  }
  .data-table td,
  .data-table th {
    padding-inline: 8px;
  }
  .drawer-head,
  .drawer-body {
    padding-inline: 18px;
  }
  .drawer-head h2 {
    font-size: 1.67rem;
  }
  .rank {
    font-size: 0.77rem;
  }
}
@media (max-width: 510px) {
  .context-sep {
    display: none;
  }
  .context-meta {
    gap: 4px;
  }
  .context-meta .icon {
    width: 12px;
  }
  .kpi-label .icon {
    display: none;
  }
  .export-btn {
    margin-left: auto;
  }
  .chart-panel .panel-heading {
    gap: 6px;
  }
  .panel h2 {
    font-size: 1.04rem;
  }
  .chart-panel .panel-heading p {
    max-width: 163px;
  }
  .chart-panel .select-control.compact {
    font-size: 0.72rem;
  }
  .chart-panel .select-control.compact select {
    padding-left: 7px;
    padding-right: 23px;
  }
  .chart-panel .select-control.compact > svg:last-child {
    right: 6px;
  }
  .data-table,
  .data-table tbody {
    display: block;
  }
  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .data-table tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 12px 15px;
    gap: 8px;
    align-items: start;
    border-top: 1px solid #e6ebe3;
    position: relative;
  }
  .data-table td,
  .data-table tr > :first-child,
  .data-table tr > :last-child {
    padding: 0;
    border: 0;
  }
  .data-table td:first-child {
    grid-column: 1/-1;
    padding-right: 25px;
  }
  .data-table .numeric,
  .data-table .save-column {
    text-align: left !important;
  }
  .data-table td[data-label]:not(:first-child):before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 0.65rem;
    margin: 0 0 3px;
    font-weight: 470;
  }
  .data-table td.row-more,
  .data-table td.save-column {
    position: absolute;
    right: 8px;
    top: 10px;
  }
  .row-title {
    font-size: 0.86rem;
  }
  .data-table .avatar {
    width: 31px;
    height: 31px;
  }
  .pill,
  .state-tag {
    font-size: 0.68rem;
  }
  .table-scroll {
    overflow: visible;
  }
  .table-panel .text-link {
    font-size: 0.74rem;
  }
  .library-panel .filter-bar .search-control {
    flex-basis: 100%;
  }
  .search-control {
    flex: 1 1 auto;
  }
  .pagination {
    padding: 11px 13px;
  }
  .segmented button {
    padding: 4px 9px;
  }
  .profile-table tbody tr {
    grid-template-columns: 1.6fr 1fr;
  }
  .form-pair {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 350px) {
  :root {
    --pad: 12px;
  }
  .context-strip .context-meta {
    display: none;
  }
  .spark {
    width: 34px;
  }
  .mini-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .kpi {
    padding: 11px;
  }
  .chart-frame {
    height: 146px;
  }
  .kpi-label {
    font-size: 0.72rem;
  }
  .top-end .top-avatar {
    display: none;
  }
  .team {
    padding-bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.context-left > .select-control {
  min-height: 30px;
  font-size: 0.79rem;
}
.context-left > .select-control select {
  min-height: 28px;
  padding-block: 4px;
}
.kpi[aria-pressed="true"]:not(.lead-kpi) {
  border-color: #72947a;
  box-shadow: inset 0 0 0 1px #93ad94;
}
@media (max-width: 510px) {
  .context-left > .select-control {
    font-size: 0.74rem;
  }
  .context-left:has(.select-control) .context-meta {
    display: none;
  }
}

.brief-example {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f7ef;
  margin: 16px 0 12px;
  font-size: 0.87rem;
}
.brief-example summary {
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 600;
}
.brief-example summary svg {
  margin-inline: 3px 6px;
}
.brief-example > div {
  padding: 0 12px 14px;
}
.brief-example ul {
  padding-left: 19px;
  margin-top: 6px;
}
.brief-example li {
  margin: 3px 0;
}
.brief-example p {
  color: var(--muted);
  margin-top: 7px;
}
