:root {
  --bg: #fafaf7;
  --surface: #fff;
  --ink: #20201d;
  --muted: #64665b;
  --border: #e7e7e0;
  --orange: #ff5a1f;
  --action: #c43b0b;
  --pale: #fff1e9;
  --green: #3e714e;
  --sidebar: 238px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Variable", Inter, system-ui, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
input,
select,
textarea {
  color: var(--ink);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #a33510;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
}
input[type="checkbox"] {
  accent-color: var(--action);
  width: 15px;
  height: 15px;
  cursor: pointer;
  margin: 0;
}
input:not([type="checkbox"]):not([type="file"]),
select,
textarea {
  border: 1px solid var(--border);
  background: white;
  border-radius: 6px;
  padding: 11px 12px;
  min-height: 42px;
}
input::placeholder,
textarea::placeholder {
  color: #61625c;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.2px;
  font-weight: 600;
  line-height: 1.2;
}
h2 {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
p {
  line-height: 1.7;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 15px;
  border: 1px solid #ddded5;
  border-radius: 7px;
  background: #fff;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.button:hover {
  background: #f6f6f1;
  border-color: #bfc0b5;
}
.button.primary {
  background: var(--action);
  border-color: var(--action);
  color: white;
}
.button.primary:hover {
  background: #a93209;
  border-color: #a93209;
}
.button.danger {
  color: #a32920;
  border-color: #e7c4be;
}
.icon-button {
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  color: #61625a;
  background: transparent;
}
.icon-button:hover {
  background: #efefe8;
  color: var(--ink);
}
.info-tip {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  vertical-align: middle;
  line-height: 1;
}
.info-tip-trigger {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  color: #5e6555;
}
.info-tip-trigger:hover {
  color: var(--ink);
}
.info-tip-content {
  position: absolute;
  z-index: 100;
  top: calc(100% + 5px);
  left: 0;
  display: block;
  width: min(280px, calc(100vw - 32px));
  padding: 11px 13px;
  border: 1px solid #41413a;
  border-radius: 7px;
  background: #292923;
  box-shadow: 0 7px 20px rgb(24 24 20 / 20%);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
  white-space: normal;
  pointer-events: auto;
}
.info-tip-content[hidden] {
  display: none;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--action);
  font-size: 12px;
}
.brand {
  font-size: 29px;
  letter-spacing: -1.7px;
  font-weight: 720;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.brand-dot {
  color: var(--orange);
}
.brandmark {
  position: relative;
  width: 25px;
  height: 29px;
  margin-right: 9px;
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  overflow: hidden;
  transform: rotate(-8deg);
}
.brandmark i {
  display: block;
  background: var(--orange);
  width: 6px;
  border-radius: 2px;
}
.brandmark i:nth-child(1) {
  height: 13px;
}
.brandmark i:nth-child(2) {
  height: 22px;
}
.brandmark i:nth-child(3) {
  height: 29px;
}
.brandmark:after {
  content: "";
  position: absolute;
  left: -1px;
  bottom: 5px;
  width: 28px;
  height: 3px;
  background: var(--bg);
  transform: rotate(8deg);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f0e9;
  border: 1px solid #e5e5da;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 550;
  white-space: nowrap;
}
.demo-tag {
  color: #95431e;
  background: #fff5e9;
  border-color: #eddbbf;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 650;
  color: #65655b;
  margin-bottom: 12px;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a7a99c;
  display: inline-block;
  flex-shrink: 0;
}
.low {
  color: #336f42;
}
.moderate {
  color: #7b5e1e;
}
.high {
  color: #9a4d32;
}
.score {
  font-size: 11px;
  font-weight: 600;
  min-width: 29px;
  height: 23px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #f2f1e8;
  font-variant-numeric: tabular-nums;
}
.low .score,
.score.low {
  background: #eaf3e7;
  color: #336f42;
}
.moderate .score,
.score.moderate {
  background: #f8f1d9;
  color: #7c5e19;
}
.high .score,
.score.high {
  background: #fbeae0;
  color: #9a4d32;
}
.index-track {
  width: 67px;
  height: 4px;
  background: #f0efe9;
  display: inline-block;
  border-radius: 4px;
  overflow: hidden;
}
.index-track i {
  display: block;
  height: 100%;
  background: #e5a785;
  border-radius: 4px;
}
.unknown {
  font-size: 11px;
  color: #63645b;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-page {
  padding: 80px;
  text-align: center;
}
.full-width {
  width: 100%;
}
/* Public pages */
.public-nav {
  height: 93px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 0 38px;
}
.public-nav nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
}
.public-nav .brand {
  font-size: 31px;
}
.landing {
  max-width: 1060px;
  margin: auto;
  padding: 72px 35px 0;
}
.hero-kicker {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #616559;
}
.hero-kicker > span {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}
.landing h1 {
  font-size: 78px;
  line-height: 1.05;
  font-weight: 550;
  text-align: center;
  letter-spacing: -5px;
  margin: 23px 0;
}
.landing h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--action);
  letter-spacing: -4px;
}
.hero-copy {
  font-size: 16px;
  line-height: 1.75;
  color: #64655c;
  text-align: center;
  margin-bottom: 28px;
}
.hero-search {
  max-width: 650px;
  margin: auto;
  display: flex;
  align-items: center;
  border: 1px solid #dcdcd1;
  background: #fff;
  border-radius: 10px;
  padding: 7px;
  box-shadow: 0 4px 16px #20201d05;
  gap: 12px;
}
.hero-search > svg {
  margin-left: 10px;
  color: #64655d;
}
.hero-search input {
  flex: 1;
  width: 100px;
  border: 0 !important;
  font-size: 12px;
  padding: 8px !important;
  outline-offset: 0 !important;
}
.hero-search .button {
  min-height: 43px;
}
.hero-secondary {
  display: flex;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  color: #62655b;
  margin-top: 17px;
  align-items: center;
}
.hero-secondary a {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--action);
}
.hero-secondary > span {
  margin-left: 6px;
  color: #62645b;
}
.product-preview {
  margin-top: 66px;
  border: 1px solid #dedfd6;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 45px #28291b04;
}
.preview-top {
  padding: 15px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.preview-top > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 550;
}
.preview-query {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 25px;
  font-size: 13px;
}
.preview-query > svg {
  color: #61655b;
}
.preview-query .muted {
  margin-left: auto;
  font-size: 11px;
}
.product-preview table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
.product-preview th {
  font-weight: 500;
  font-size: 10px;
  color: #60645a;
  background: #f9faf7;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 23px;
}
.product-preview td {
  padding: 18px 23px;
  border-bottom: 1px solid #efefe8;
}
.product-preview td:first-child {
  font-weight: 550;
}
.preview-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8eee5;
  border: 1px solid #eac4a8;
  color: #9d4b21;
  width: 15px;
  height: 15px;
  border-radius: 3px;
  margin-right: 13px;
}
.product-preview .index-track {
  margin-left: 12px;
}
.product-preview .status-dot {
  background: #6c9369;
  margin-right: 6px;
}
.preview-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fdfdfb;
  padding: 14px 23px;
  font-size: 10px;
  color: #606358;
}
.preview-foot a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--action);
  font-weight: 500;
}
.landing-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin: 65px 0 48px;
}
.landing-principles article > svg {
  color: #92512f;
  margin-bottom: 15px;
}
.landing-principles h2 {
  font-size: 14px;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}
.landing-principles p {
  font-size: 12px;
  color: #63665b;
  line-height: 1.8;
}
.landing-method {
  padding: 29px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.landing-method p {
  margin: 0;
}
.landing-method a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8d532d;
}
.public-footer {
  margin-top: 25px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 35px 6%;
  font-size: 10px;
  color: #61625a;
}
.public-footer > a:last-child {
  margin-left: auto;
}
.public-footer .brand {
  font-size: 22px;
  color: var(--ink);
}
.public-footer .brandmark {
  transform: scale(0.8);
  margin-right: 4px;
}
.prose {
  max-width: 780px;
  margin: 55px auto 90px;
  padding: 0 28px;
  font-size: 15px;
  line-height: 1.8;
}
.prose h1 {
  font-size: 52px;
  letter-spacing: -2px;
  margin: 20px 0;
}
.prose .lead {
  font-size: 20px;
  color: #64665c;
  line-height: 1.6;
}
.prose h2 {
  margin: 40px 0 14px;
}
.prose h2 small {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0;
  margin-left: 12px;
  color: #616459;
}
.prose pre {
  background: #f0f0e8;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.8;
}
.prose li {
  margin-bottom: 6px;
}
.prose p {
  color: #626558;
}
.auth-page {
  max-width: 480px;
  margin: 90px auto;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}
.setup-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.setup-card p {
  color: var(--muted);
}
.setup-card h1 {
  margin-bottom: 0;
}
.setup-card > a:last-child {
  font-size: 12px;
  color: var(--muted);
}
/* Research shell */
.workspace {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #f5f5f0;
  border-right: 1px solid var(--border);
  padding: 31px 19px 0;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 12px;
}
.sidebar .brand {
  font-size: 29px;
}
.beta {
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.7px;
  border: 1px solid #d7d8ca;
  border-radius: 4px;
  color: #616559;
  padding: 3px 4px;
  margin-top: 5px;
}
.workspace-picker {
  margin: 33px 2px 31px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.workspace-avatar {
  height: 31px;
  width: 31px;
  border: 1px solid #dfded1;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaeade;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 19px;
  color: #616650;
}
.workspace-picker > div {
  flex: 1;
}
.workspace-picker strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  margin-bottom: 5px;
}
.workspace-picker span:not(.workspace-avatar) {
  font-size: 9px;
  color: #63655b;
}
.workspace-picker > svg {
  color: #63665b;
}
.nav-label {
  font-size: 8px;
  letter-spacing: 1.3px;
  font-weight: 600;
  color: #62655b;
  margin: 0 12px 12px;
}
.main-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.main-nav > a,
.main-nav > button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 41px;
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  border-radius: 6px;
  color: #5f6458;
  white-space: nowrap;
  font-weight: 450;
}
.main-nav > a:hover,
.main-nav > button:hover {
  background: #eceee4;
}
.main-nav > button.active {
  background: #fcebdd;
  color: #a3441b;
  font-weight: 550;
}
.main-nav > button.active > svg {
  stroke-width: 2;
}
.nav-count {
  font-size: 9px;
  margin-left: auto;
  background: #eceee4;
  min-width: 21px;
  text-align: center;
  border-radius: 4px;
  padding: 3px;
}
.lists-label {
  margin: 29px 3px 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lists-label .icon-button {
  height: 25px;
  width: 25px;
  min-width: 25px;
}
.list-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 230px;
  overflow: auto;
}
.list-nav > button {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  align-items: center;
  text-align: left;
  font-size: 11px;
  color: #616658;
  border-radius: 6px;
  min-height: 38px;
}
.list-nav > button > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 124px;
}
.list-nav > button > small {
  margin-left: auto;
  font-size: 9px;
  color: #63665a;
}
.list-nav > button.chosen {
  background: #e9ece0;
  color: #414935;
}
.list-nav > p {
  font-size: 10px;
  line-height: 1.8;
  margin: 5px 12px;
  color: #606359;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.quiet-note {
  padding: 15px 13px 13px;
  border: 1px solid #e3e5d8;
  border-radius: 7px;
  margin: 0 4px 19px;
  background: #f8f8f2;
}
.little-surface {
  display: block;
  width: 24px;
  height: 24px;
  font-size: 23px;
  color: #74623d;
  margin-bottom: 9px;
}
.quiet-note strong {
  display: block;
  font-size: 10px;
  font-weight: 550;
  margin-bottom: 7px;
  color: #616752;
}
.quiet-note p {
  font-size: 9px;
  line-height: 1.7;
  color: #606358;
  margin-bottom: 9px;
}
.quiet-note a {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  color: #5e644f;
}
.bottom-nav {
  margin-bottom: 18px;
}
.bottom-nav > a,
.bottom-nav > button {
  min-height: 35px;
  font-size: 10px;
}
.profile {
  border-top: 1px solid #e1e3d7;
  padding: 19px 3px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  background: #e8ebdf;
  border-radius: 50%;
  color: #5b654f;
}
.profile strong {
  font-size: 10px;
  font-weight: 550;
  display: block;
  margin-bottom: 4px;
  color: #58624e;
}
.profile div > span {
  font-size: 8px;
  color: #5f6558;
}
.online-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
  background: #7b9866;
  border-radius: 50%;
}
.workspace-main {
  width: calc(100% - var(--sidebar));
  margin-left: var(--sidebar);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.workspace-topbar {
  height: 66px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 39px;
  background: #fdfdfa;
  font-size: 10px;
  flex-shrink: 0;
}
.workspace-topbar > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.breadcrumb {
  color: #61635a;
}
.workspace-topbar svg {
  color: #64665b;
}
.beta-tag {
  font-size: 8px;
  background: #f2f3ec;
  border-color: #e4e6d8;
  color: #5f6554;
  letter-spacing: 0.7px;
  padding: 4px 6px;
}
.top-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  background: #eceee1;
  color: #5d654e;
  font-size: 11px;
  border: 2px solid white;
  border-radius: 50%;
}
.workspace-account-menu {
  display: flex;
  align-items: center;
  min-width: 30px;
  min-height: 32px;
}
.workspace-account-signin {
  color: #536144;
  font-size: 11px;
  text-decoration: none;
}
.workspace-account-signin:hover {
  text-decoration: underline;
}
.demo-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 39px;
  background: #fdf5e9;
  border-bottom: 1px solid #f0e4d1;
  color: #7c5e36;
  font-size: 9px;
  min-height: 38px;
  gap: 15px;
}
.demo-banner > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.demo-banner strong {
  font-weight: 550;
  color: #7d5c2f;
}
.demo-banner a {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-weight: 500;
  color: #885a2e;
}
.research-main {
  padding: 40px 39px 22px;
  flex: 1;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
}
.page-heading h1 {
  font-size: 29px;
  letter-spacing: -1.1px;
  margin: 0 0 11px;
  font-weight: 550;
}
.page-heading p {
  font-size: 11px;
  line-height: 1.5;
  color: #616359;
  margin-bottom: 0;
}
.page-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #64665b;
  margin-bottom: 13px;
}
.export-button {
  font-size: 10px;
  min-height: 34px;
  padding: 9px 12px;
  align-self: flex-end;
  margin-bottom: 1px;
  gap: 7px;
  color: #5f6454;
  background: #fdfdf9;
}
.search-box {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #dcded0;
  border-radius: 8px;
  padding: 6px 7px 6px 17px;
  height: 54px;
  box-shadow: 0 2px 4px #292b1903;
  gap: 12px;
}
.search-box > svg {
  color: #62655a;
  stroke-width: 1.7;
}
.search-box input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  outline-offset: 0 !important;
  padding: 8px 0 !important;
  min-height: 37px !important;
  font-size: 12px;
  background: transparent !important;
}
.search-box input::placeholder {
  color: #626458;
}
.search-box kbd {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e8e9de;
  background: #fafbf6;
  border-radius: 4px;
  font-family: inherit;
  font-size: 9px;
  color: #636658;
  padding: 4px 5px;
  margin-right: 7px;
}
.search-box .button {
  font-size: 10px;
  min-height: 39px;
  padding: 10px 17px;
  gap: 14px;
}
.suggestions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 13px 0 29px;
  font-size: 9px;
  flex-wrap: wrap;
}
.suggestions > span {
  color: #626558;
  margin-right: 1px;
}
.suggestions > button {
  color: #616655;
  background: #f1f3e9;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 23px;
}
.suggestions > button:hover {
  background: #e8ecdc;
}
.suggestions > button > svg {
  color: #606655;
}
.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}
.filter-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}
.filter-button {
  font-size: 10px;
  min-height: 33px;
  padding: 8px 11px;
  color: #5f6655;
  gap: 7px;
  background: #fefefb;
  border-color: #e4e7d9;
}
.filter-button.pressed {
  border-color: #bfc5ae;
  background: #f1f4e9;
}
.filter-count {
  background: #ece3cf;
  border-radius: 3px;
  padding: 2px 4px;
}
.select-control {
  position: relative;
  display: flex;
  align-items: center;
}
.select-control select {
  appearance: none;
  font-size: 10px;
  min-height: 33px;
  padding: 8px 27px 8px 11px;
  border-color: #e5e8da;
  background: #fdfefa;
  color: #5f6754;
  border-radius: 6px;
  cursor: pointer;
}
.select-control > svg {
  pointer-events: none;
  position: absolute;
  right: 10px;
  color: #616655;
}
.preset-button {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: #716042;
  font-size: 9px;
  padding: 8px 0;
}
.preset-button > svg:first-child {
  color: #755f3e;
}
.preset-button.enabled {
  color: var(--action);
}
.advanced-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px;
  background: #f3f4ec;
  border: 1px solid #e3e7d7;
  border-radius: 7px;
  margin: -7px 0 17px;
}
.advanced-filters[hidden] {
  display: none;
}
.advanced-filters label {
  font-size: 10px;
  color: #5f6752;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.advanced-filters input,
.advanced-filters select {
  width: 100%;
  font-size: 11px;
  min-height: 35px !important;
  padding: 8px !important;
}
.filter-explanation {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c6546;
  font-size: 10px;
  background: #fbf7e9;
  border: 1px solid #eee7d1;
  border-radius: 6px;
  padding: 10px;
  margin: -8px 0 15px;
}
.clear-filters {
  font-size: 10px;
  color: var(--action);
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 15px;
}
.results-section {
  background: white;
  border: 1px solid #e1e5d6;
  border-radius: 8px;
  overflow: hidden;
}
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 19px;
  min-height: 56px;
  border-bottom: 1px solid #e9ecdf;
  gap: 15px;
}
.results-header > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}
.results-header strong {
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}
.results-header > div > span:not(.dataset-indicator):not(.table-density) {
  font-size: 9px;
  color: #5f6355;
}
.dataset-indicator {
  font-size: 8px;
  color: #5e6554;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.dataset-indicator .status-dot {
  background: #7f9a65;
  width: 4px;
  height: 4px;
}
.table-density {
  display: inline-flex;
  color: #5e6552;
  border-left: 1px solid #e4e9d8;
  padding-left: 13px;
  margin-left: 3px;
}
.table-wrap {
  overflow: auto;
}
.keyword-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  min-width: 750px;
  table-layout: fixed;
}
.keyword-table th {
  background: #f9faf5;
  font-size: 9px;
  font-weight: 450;
  color: #606656;
  border-bottom: 1px solid #e7ecdb;
  height: 37px;
  padding: 9px 16px;
  white-space: nowrap;
}
.keyword-table th button {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: inherit;
}
.keyword-table th button > svg {
  color: #5e6555;
  stroke-width: 1.5;
}
.sortable-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.keyword-table th .sort-trigger {
  min-width: 0;
  min-height: 44px;
  gap: 6px;
}
.keyword-table th .info-tip-trigger {
  width: 34px;
  min-width: 34px;
  height: 44px;
  min-height: 44px;
  justify-content: center;
}
.sortable-heading .info-tip-content {
  right: 0;
  left: auto;
}
.keyword-table th .info-tip-trigger > svg {
  width: 15px;
  height: 15px;
}
.keyword-table th:nth-child(2) {
  width: 30%;
}
.keyword-table th:nth-child(3) {
  width: 21%;
}
.keyword-table th:nth-child(4) {
  width: 24%;
}
.keyword-table th:nth-child(5) {
  width: 22%;
}
.keyword-table .select-col {
  width: 44px;
  padding: 0 8px 0 18px;
}
.keyword-table .save-col {
  width: 43px;
  padding: 0 15px 0 0;
}
.save-col > svg {
  float: right;
}
.keyword-table td {
  height: 49px;
  border-bottom: 1px solid #eef1e6;
  padding: 8px 16px;
  font-size: 11px;
}
.keyword-table td:first-child {
  padding-left: 18px;
  padding-right: 8px;
}
.keyword-table td:last-child {
  padding: 4px 7px 4px 0;
  text-align: right;
}
.keyword-table tr:last-child td {
  border-bottom: 0;
}
.keyword-table tbody tr:hover {
  background: #fcfdf8;
}
.keyword-table tr.selected-row {
  background: #fff8f0 !important;
}
.keyword-table input[type="checkbox"] {
  width: 13px;
  height: 13px;
  appearance: none;
  border: 1px solid #d9e1ca;
  border-radius: 3px;
  background: white;
  display: block;
}
.keyword-table input[type="checkbox"]:checked {
  appearance: auto;
  accent-color: var(--action);
}
.keyword-link {
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  padding: 3px 0;
  max-width: 100%;
  line-height: 1.5;
}
.keyword-link > svg {
  opacity: 0;
  flex-shrink: 0;
  color: #606355;
}
.keyword-link:hover > svg,
.keyword-link:focus-visible > svg {
  opacity: 1;
}
.volume-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}
.volume-cell > span:first-child {
  width: 64px;
  display: inline-block;
  font-weight: 500;
  color: #4b5340;
  white-space: nowrap;
}
.volume-cell .index-track {
  background: #f3f1e7;
  width: 58px;
  height: 3px;
}
.volume-cell .index-track i {
  background: #e7ae86;
}
.difficulty-cell {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  color: #5d6552;
}
.difficulty-cell .score {
  font-size: 10px;
  min-width: 27px;
  height: 22px;
}
.freshness {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: #606556;
  white-space: normal;
}
.freshness.fresh {
  color: #5b6550;
}
.freshness.fresh .status-dot {
  background: #9aad8c;
  width: 4px;
  height: 4px;
}
.freshness .status-dot {
  width: 4px;
  height: 4px;
}
.save-icon {
  color: #606556;
}
.save-icon:hover,
.save-icon.is-saved {
  color: #925127;
}
.column-hint {
  margin-left: 7px;
  color: #606558;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e9eddf;
  background: #fdfef9;
  min-height: 49px;
  padding: 10px 17px;
  font-size: 8px;
  color: #5e6651;
}
.pagination-note {
  color: #606657;
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pagination .icon-button {
  width: 24px;
  min-width: 24px;
  height: 25px;
  color: #5c6651;
  border: 1px solid #e5ebda;
  background: #fff;
}
.pagination .icon-button:disabled {
  border-color: transparent;
  background: transparent;
  color: #60635a;
}
.research-footnote {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 19px 3px 0;
  color: #616756;
  font-size: 9px;
}
.research-footnote > svg {
  flex-shrink: 0;
  color: #5f6557;
  margin-top: 2px;
  width: 13px;
}
.research-footnote p {
  margin: 0;
  line-height: 1.8;
  max-width: 760px;
}
.research-footnote strong {
  font-weight: 500;
  color: #5e6551;
}
.research-footnote > a {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  margin-left: auto;
  color: #5e6452;
  font-size: 8px;
  padding-top: 2px;
}
.dataset-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  font-size: 8px;
  color: #606458;
  margin: 22px 3px 0;
  line-height: 1.7;
}
.workspace-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 39px 0;
  border-top: 1px solid #e5eadb;
  padding: 18px 0;
  font-size: 8px;
  color: #606555;
}
.workspace-footer > span:last-child {
  display: flex;
  gap: 14px;
}
.empty-state {
  text-align: center;
  padding: 55px 30px;
  color: #5e6552;
}
.empty-state > svg {
  color: #5e6455;
  margin-bottom: 16px;
}
.empty-state h3 {
  font-size: 16px;
  font-weight: 500;
  color: #525f42;
}
.empty-state p {
  font-size: 12px;
  max-width: 410px;
  margin: 0 auto 20px;
}
.selection-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 11px 18px;
  background: #fff3e8;
  border-bottom: 1px solid #eedbc7;
  font-size: 10px;
  color: #8a582e;
}
.selection-bar > button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.selection-clear {
  margin-left: auto;
}
.list-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.list-toolbar input {
  width: 250px;
}
.note-inline {
  display: block;
  padding: 0;
  font-size: 9px;
  font-weight: 400;
  color: #5e6652;
  text-align: left;
  max-width: 210px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.error-banner {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: #fff0ec;
  border: 1px solid #efd2c8;
  color: #a34329;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.error-banner strong {
  font-weight: 500;
}
.error-banner p {
  margin: 8px 0 0;
  font-size: 11px;
}
.error-banner a {
  text-decoration: underline;
}
.warning-banner {
  padding: 12px 14px;
  background: #fcf5e5;
  border: 1px solid #ece1c4;
  color: #7d5e2b;
  border-radius: 6px;
  font-size: 11px;
  margin: 12px 0;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 70px);
  transform: translateX(-50%);
  background: #303529;
  color: #fff;
  padding: 14px 16px;
  border-radius: 8px;
  box-shadow: 0 8px 30px #202a2022;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  z-index: 100;
  max-width: calc(100vw - 30px);
}
.toast > svg {
  color: #606754;
  flex-shrink: 0;
}
.toast button {
  display: flex;
  padding: 3px;
  margin-left: 6px;
  color: #61655d;
}
/* Dialogs and evidence */
.overlay {
  position: fixed;
  inset: 0;
  background: #252a2038;
  z-index: 50;
  animation: fade-in 0.15s ease;
}
.panel-overlay {
  background: #242a1f30;
}
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 430px;
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  overflow: auto;
  z-index: 60;
  background: var(--bg);
  border: 1px solid #e2e5d8;
  border-radius: 12px;
  box-shadow: 0 24px 80px #1f2c2220;
}
.modal.wide {
  width: 640px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.modal-header h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 0;
}
.modal-body {
  padding: 23px;
}
.modal-body > p {
  font-size: 12px;
  color: #5d6552;
  margin-bottom: 20px;
}
.modal-body label,
.import-form label:not(.checkbox-label) {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  font-weight: 500;
  color: #5c674c;
  margin-bottom: 19px;
}
.modal-body input,
.modal-body select,
.modal-body textarea {
  width: 100%;
  font-size: 12px;
}
.modal-body .button {
  margin-top: 5px;
}
.detail-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 570px;
  max-width: 100%;
  padding: 25px 28px;
  z-index: 55;
  overflow: auto;
  background: var(--bg);
  box-shadow: -8px 0 40px #25302112;
  animation: slide-in 0.2s ease;
}
.detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.detail-top .eyebrow {
  margin: 0;
  font-size: 9px;
}
.detail-panel > h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
.detail-intro {
  font-size: 11px;
  color: #616756;
  margin-bottom: 14px;
}
.detail-word-count {
  width: fit-content;
  margin: -8px 0 0;
  color: #616756;
  font-size: 10px;
}
.detail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 23px 0;
}
.detail-actions .button {
  font-size: 11px;
}
.detail-actions > a {
  margin-left: auto;
}
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #e2e7d7;
  background: white;
  border-radius: 9px;
  overflow: visible;
  margin: 24px 0 17px;
}
.metric-grid > section {
  padding: 19px;
}
.metric-grid > section + section {
  border-left: 1px solid #e5e9dc;
}
.metric-label {
  position: relative;
  font-size: 10px;
  color: #5e6852;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
}
.metric-label > span:first-child {
  min-width: 0;
}
.metric-label .info-tip {
  position: relative;
}
.metric-label .info-tip-content {
  right: 0;
  left: auto;
}
.metric-value {
  font-size: 33px;
  font-weight: 550;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  margin: 14px 0 7px;
  color: #414d36;
}
.metric-value small {
  font-size: 13px;
  letter-spacing: 0;
  color: #606558;
  margin-left: 8px;
  font-weight: 400;
}
.metric-grid p {
  font-size: 9px;
  color: #5e6652;
  margin: 0;
}
.detail-explainer {
  font-size: 10px;
  color: #5e6754;
  border-bottom: 1px solid #e2e8d6;
  padding-bottom: 18px;
}
.detail-explainer p {
  margin-bottom: 8px;
  line-height: 1.75;
}
.detail-explainer strong {
  font-weight: 550;
  color: #5a664c;
}
.provenance {
  padding: 23px 0;
  border-bottom: 1px solid #e2e8d6;
}
.provenance h3 {
  font-size: 12px;
  color: #5b674b;
  margin-bottom: 15px;
}
.provenance dl {
  margin: 0;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.provenance dl > div {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.provenance dt {
  color: #5f6755;
  flex-shrink: 0;
}
.provenance dd {
  margin: 0;
  text-align: right;
  color: #5b6848;
  line-height: 1.5;
}
.evidence-section {
  padding-top: 24px;
}
.evidence-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.evidence-heading h3 {
  font-size: 13px;
  color: #546345;
  margin: 0;
}
.evidence-heading .tag {
  font-size: 9px;
  color: #5c654f;
  background: #eef2e6;
  border-color: #e1e8d5;
}
.evidence-time {
  font-size: 9px;
  line-height: 1.8;
  color: #5e6753;
  margin: 13px 0 17px;
}
.coverage-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 15px 17px;
  background: #f0f4e8;
  border: 1px solid #e1e9d2;
  border-radius: 7px;
}
.coverage-row > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.coverage-row strong {
  font-size: 22px;
  font-weight: 550;
  color: #566b3d;
  letter-spacing: -0.5px;
}
.coverage-row small {
  font-size: 12px;
  font-weight: 400;
  color: #5e6652;
}
.coverage-row > div > span {
  font-size: 9px;
  color: #5b674f;
}
.formula-inline {
  font-size: 10px;
  padding: 13px 0;
  color: #5d694e;
  font-family: monospace;
  line-height: 1.6;
}
.formula-inline strong {
  color: #536c37;
  font-size: 13px;
}
.evidence-disclosure {
  font-size: 9px;
  color: #5e674f;
  line-height: 1.9;
  margin: 2px 0 20px;
}
.app-evidence {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e0e8d1;
  border-radius: 7px;
  overflow: hidden;
  background: white;
}
.app-evidence > li {
  display: flex;
  padding: 15px 13px;
  gap: 13px;
  border-bottom: 1px solid #e8eedf;
}
.app-evidence > li:last-child {
  border-bottom: 0;
}
.app-position {
  font-size: 9px;
  color: #5f6756;
  padding-top: 3px;
}
.app-evidence li > div > strong {
  font-size: 11px;
  font-weight: 500;
  color: #556940;
  line-height: 1.7;
}
.app-evidence li > div > p {
  font-size: 10px;
  line-height: 1.7;
  color: #5b654c;
  margin: 5px 0 9px;
}
.app-evidence mark {
  background: #fff0d4;
  color: #855d26;
  border-radius: 2px;
  padding: 1px 0;
}
.match-flags {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 8px;
  color: #5e6556;
}
.match-flags > span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.match-flags .matched {
  color: #576841;
}
.match-flags > a {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}
.detail-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 27px 0 15px;
  color: #56673e;
  font-size: 10px;
}
.detail-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 70px 0;
  color: #5b6650;
  font-size: 12px;
}
.empty-evidence {
  text-align: center;
  padding: 40px 24px;
  color: #5b664e;
}
.empty-evidence > svg {
  margin-bottom: 14px;
}
.empty-evidence h3 {
  color: #55693f;
  font-size: 14px;
}
.empty-evidence p {
  font-size: 11px;
  line-height: 1.7;
}
.batch-list {
  list-style: none;
  padding: 0;
  font-size: 11px;
  max-height: 300px;
  overflow: auto;
}
.batch-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.batch-list li > span:last-child {
  text-align: right;
  color: #5d6551;
  font-size: 10px;
}
.settings-page h1,
.admin-page h1 {
  font-size: 31px;
  font-weight: 550;
}
.settings-card {
  background: white;
  border: 1px solid #e2e7d8;
  border-radius: 8px;
  padding: 27px;
  margin: 25px 0;
}
.settings-card h2 {
  font-size: 18px;
  margin-bottom: 14px;
}
.settings-card p {
  font-size: 12px;
  color: #5b654f;
  line-height: 1.8;
}
.settings-card .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
  color: #5c674c;
  font-size: 11px;
  font-weight: 500;
}
.settings-card .form-field input {
  width: 100%;
  font-size: 12px;
}
.settings-card > a {
  font-size: 12px;
  color: #5a6a45;
  display: flex;
  align-items: center;
  gap: 7px;
}
.settings-card > .danger {
  display: block;
  margin-top: 30px;
}
.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 30px 0 18px;
}
.ops-grid > section {
  background: white;
  border: 1px solid #e1e8d5;
  border-radius: 7px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ops-grid span,
.ops-grid small {
  font-size: 10px;
  color: #5d6751;
}
.ops-grid strong {
  font-size: 24px;
  font-weight: 550;
  color: #556b3c;
}
.ops-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  color: #586849;
}
.ops-summary .button {
  margin-left: auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.upload-zone {
  border: 1px dashed #cdd9bb;
  border-radius: 7px;
  text-align: center;
  align-items: center;
  padding: 25px;
  background: #fafcf6;
  cursor: pointer;
}
.upload-zone > span {
  font-size: 10px;
  color: #5d694d;
}
.upload-zone input {
  font-size: 11px;
  margin-top: 10px;
  max-width: 100%;
}
.import-form input {
  font-size: 12px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #596946;
  margin: 16px 0;
}
.import-form .checkbox-label:last-of-type {
  margin-bottom: 22px;
}
.import-errors {
  max-height: 300px;
  overflow: auto;
  margin: 15px 0;
}
.import-errors p {
  font-size: 11px;
  color: #92553a;
  margin-bottom: 7px;
}
.settings-card > .button + .button {
  margin-left: 10px;
}
.dataset-version {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}
.dataset-version strong {
  font-size: 12px;
}
.dataset-version p {
  font-size: 10px;
  margin: 8px 0 0;
}
.dataset-version:last-child {
  border-bottom: 0;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slide-in {
  from {
    transform: translateX(30px);
    opacity: 0.6;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
/* More legible neutral text and consistent type at workspace scale */
.workspace {
  font-size: 14px;
}
.research-main .eyebrow {
  color: #616559;
}
.page-heading p {
  color: #5e6455;
}
.demo-banner {
  font-size: 10px;
}
.main-nav > a,
.main-nav > button {
  font-size: 12px;
}
.list-nav > button {
  font-size: 12px;
}
.keyword-table th,
.keyword-table th button {
  font-size: 11px;
  color: #5c6552;
}
.keyword-table td,
.keyword-link {
  font-size: 13px;
}
.difficulty-cell {
  font-size: 10px;
}
.freshness {
  font-size: 10px;
  color: #5b6551;
}
.freshness.fresh {
  color: #5b6551;
}
.volume-cell > span:first-child {
  width: 64px;
}
.keyword-table td {
  height: 50px;
}
.search-box input {
  font-size: 13px;
}
.select-control select,
.filter-button {
  font-size: 11px;
}
.preset-button {
  font-size: 10px;
}
.suggestions {
  font-size: 10px;
}
.suggestions > button {
  font-size: 9px;
}
.suggestions > span {
  color: #5e6753;
}
.results-header strong {
  font-size: 12px;
}
.results-header > div > span:not(.dataset-indicator):not(.table-density) {
  font-size: 10px;
  color: #5e6853;
}
.dataset-indicator {
  font-size: 9px;
  color: #596648;
}
.pagination {
  font-size: 10px;
  color: #5a6748;
}
.pagination-note {
  color: #5c674f;
}
.research-footnote {
  font-size: 10px;
  color: #5b684f;
}
.research-footnote strong {
  color: #586a45;
}
.research-footnote > a {
  font-size: 10px;
  color: #556940;
}
.dataset-footer {
  font-size: 9px;
  color: #5b694a;
}
.workspace-footer {
  font-size: 9px;
  color: #5a6949;
}
.detail-explainer {
  font-size: 12px;
  color: #586945;
}
.detail-explainer strong {
  color: #526a3b;
}
.provenance dl {
  font-size: 11px;
}
.provenance dt {
  color: #596949;
}
.provenance dd {
  color: #526b3c;
}
.evidence-time {
  font-size: 10px;
  color: #566942;
}
.evidence-disclosure {
  font-size: 10px;
  color: #556840;
}
.app-evidence li > div > strong {
  font-size: 13px;
  color: #3e5d23;
}
.app-evidence li > div > p {
  font-size: 11px;
  color: #556b3f;
}
.match-flags {
  font-size: 9px;
  color: #576a44;
}
.match-flags .matched {
  color: #486b2a;
}
.metric-label {
  font-size: 11px;
  color: #5a6949;
}
.metric-grid p {
  font-size: 10px;
  color: #5a6949;
}
.detail-intro {
  font-size: 12px;
  color: #5d694f;
}
.eyebrow {
  color: #5e6754;
}
.workspace-footer,
.dataset-footer,
.research-footnote {
  line-height: 1.7;
}
/* Responsive */
@media (min-width: 1500px) {
  :root {
    --sidebar: 250px;
  }
  .research-main {
    padding: 45px 55px;
  }
  .workspace-topbar,
  .demo-banner {
    padding-left: 55px;
    padding-right: 55px;
  }
  .keyword-table td {
    height: 54px;
  }
  .keyword-table th:nth-child(2) {
    width: 33%;
  }
  .volume-cell .index-track {
    width: 80px;
  }
  .page-heading h1 {
    font-size: 33px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .sidebar {
    padding-top: 33px;
  }
  .main-nav > a,
  .main-nav > button {
    min-height: 45px;
  }
  .search-box {
    height: 58px;
  }
  .workspace-footer {
    margin-left: 55px;
    margin-right: 55px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 215px;
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .research-main {
    padding: 32px 25px 20px;
  }
  .workspace-topbar,
  .demo-banner {
    padding-left: 25px;
    padding-right: 25px;
  }
  .demo-banner > div > span {
    display: none;
  }
  .filter-toolbar {
    flex-wrap: wrap;
    margin-bottom: 17px;
  }
  .preset-button {
    margin-left: auto;
  }
  .keyword-table {
    min-width: 750px;
  }
  .keyword-table th,
  .keyword-table td {
    padding-left: 11px;
    padding-right: 11px;
  }
  .results-header > div > span:not(.dataset-indicator):not(.table-density) {
    display: none;
  }
  .workspace-footer {
    margin-left: 25px;
    margin-right: 25px;
  }
  .quiet-note {
    padding: 12px;
  }
  .hero-search {
    max-width: 650px;
  }
}
@media (max-width: 900px) {
  :root {
    --sidebar: 185px;
  }
  .sidebar-brand {
    gap: 8px;
  }
  .sidebar .brand {
    font-size: 25px;
  }
  .sidebar .brandmark {
    width: 22px;
    margin-right: 6px;
  }
  .beta {
    font-size: 7px;
  }
  .main-nav > a,
  .main-nav > button {
    font-size: 11px;
    padding-left: 9px;
    gap: 8px;
  }
  .workspace-picker {
    gap: 7px;
  }
  .workspace-picker strong {
    font-size: 10px;
  }
  .workspace-picker span:not(.workspace-avatar) {
    font-size: 8px;
  }
  .workspace-picker > svg {
    display: none;
  }
  .quiet-note {
    display: none;
  }
  .list-nav > button {
    font-size: 10px;
    gap: 7px;
  }
  .list-nav > button > span {
    max-width: 105px;
  }
  .research-main {
    padding: 27px 21px 18px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 300px;
  }
  .demo-banner a {
    font-size: 9px;
  }
  .filter-buttons {
    gap: 5px;
  }
  .select-control select,
  .filter-button {
    font-size: 10px;
  }
  .filter-toolbar {
    gap: 3px;
  }
  .advanced-filters {
    grid-template-columns: repeat(2, 1fr);
  }
  .dataset-footer {
    gap: 3px;
    flex-direction: column;
  }
  .research-footnote > a {
    display: none;
  }
  .public-nav {
    padding: 0 25px;
  }
  .landing {
    padding-top: 50px;
  }
  .landing h1 {
    font-size: 66px;
  }
  .product-preview td,
  .product-preview th {
    padding-left: 17px;
    padding-right: 17px;
  }
  .product-preview .index-track {
    width: 45px;
  }
  .product-preview td .muted {
    font-size: 10px;
  }
  .landing-principles {
    gap: 22px;
  }
  .ops-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  :root {
    --sidebar: 0px;
  }
  .workspace {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 17px 19px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    background: #f6f6f0;
  }
  .sidebar-brand {
    padding: 0;
    margin-bottom: 16px;
  }
  .sidebar .brand {
    font-size: 27px;
  }
  .workspace-picker,
  .nav-label,
  .list-nav,
  .sidebar-bottom {
    display: none;
  }
  .sidebar > .main-nav {
    margin-left: auto;
    flex-direction: row;
    margin-bottom: 13px;
    gap: 5px;
  }
  .sidebar > .main-nav > button {
    font-size: 10px;
    padding: 8px;
    gap: 6px;
    min-height: 35px;
  }
  .sidebar > .main-nav > button > svg {
    width: 15px;
  }
  .nav-count {
    font-size: 8px;
    min-width: 16px;
    padding: 2px;
  }
  .workspace-main {
    width: 100%;
    margin: 0;
  }
  .workspace-topbar {
    display: none;
  }
  .demo-banner {
    padding: 10px 20px;
    gap: 10px;
    font-size: 9px;
  }
  .demo-banner > div {
    gap: 6px;
  }
  .demo-banner > div > svg {
    width: 13px;
  }
  .demo-banner a {
    font-size: 8px;
  }
  .research-main {
    padding: 29px 20px 18px;
  }
  .page-heading {
    margin-bottom: 23px;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 25px;
    letter-spacing: -0.8px;
  }
  .page-heading .eyebrow {
    font-size: 7px;
    margin-bottom: 11px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 250px;
    line-height: 1.7;
  }
  .export-button {
    font-size: 0;
    padding: 8px 11px;
    gap: 0;
  }
  .export-button > svg:last-child {
    display: none;
  }
  .search-box {
    padding-left: 12px;
    height: 52px;
    gap: 7px;
  }
  .search-box > svg {
    width: 18px;
  }
  .search-box input {
    font-size: 11px;
  }
  .search-box kbd {
    display: none;
  }
  .search-box .button {
    font-size: 10px;
    padding: 9px 12px;
    gap: 7px;
    min-height: 37px;
  }
  .suggestions {
    margin-bottom: 23px;
    gap: 6px;
  }
  .suggestions > span {
    width: 100%;
    margin-bottom: 3px;
    font-size: 9px;
  }
  .suggestions > button {
    font-size: 8px;
    min-height: 24px;
  }
  .filter-toolbar {
    gap: 10px;
  }
  .filter-buttons {
    flex-wrap: wrap;
    gap: 6px;
  }
  .filter-button,
  .select-control select {
    font-size: 10px;
    min-height: 34px;
  }
  .preset-button {
    font-size: 9px;
    margin-left: 0;
  }
  .results-header {
    padding: 14px;
    min-height: 50px;
  }
  .results-header strong {
    font-size: 11px;
  }
  .dataset-indicator {
    font-size: 8px;
  }
  .table-density {
    display: none;
  }
  .keyword-table {
    min-width: 750px;
  }
  .keyword-table td {
    height: 52px;
  }
  .results-section {
    border-radius: 7px;
  }
  .pagination {
    padding: 11px 12px;
    font-size: 9px;
  }
  .pagination-note {
    display: none;
  }
  .pagination > div {
    gap: 7px;
  }
  .research-footnote {
    font-size: 9px;
    margin-top: 15px;
  }
  .dataset-footer {
    font-size: 8px;
  }
  .workspace-footer {
    margin: 10px 20px 0;
    font-size: 8px;
    padding: 17px 0;
  }
  .selection-bar {
    padding: 12px;
    font-size: 9px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .selection-bar > button {
    font-size: 9px;
  }
  .toast {
    left: 50%;
    bottom: 16px;
    width: max-content;
    font-size: 11px;
  }
  .detail-panel {
    width: 100%;
    padding: 20px;
  }
  .detail-panel > h2 {
    font-size: 28px;
  }
  .metric-grid > section {
    padding: 17px 13px;
  }
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .metric-grid > section + section {
    border-top: 1px solid #e5e9dc;
    border-left: 0;
  }
  .metric-value {
    font-size: 29px;
  }
  .detail-actions .button {
    font-size: 11px;
  }
  .advanced-filters {
    gap: 12px;
    padding: 16px;
  }
  .filter-explanation {
    font-size: 10px;
    line-height: 1.6;
  }
  .public-nav {
    height: 75px;
    padding: 0 20px;
  }
  .public-nav nav {
    gap: 16px;
  }
  .public-nav nav > a:first-child {
    display: none;
  }
  .public-nav nav > a:nth-child(2) {
    font-size: 10px;
  }
  .public-nav .button {
    font-size: 10px;
    padding: 9px 11px;
    min-height: 36px;
  }
  .public-nav .brand {
    font-size: 27px;
  }
  .landing {
    padding: 47px 20px 0;
  }
  .hero-kicker {
    font-size: 9px;
    gap: 6px;
  }
  .landing h1 {
    font-size: 56px;
    letter-spacing: -3.5px;
    line-height: 1.08;
    margin: 23px 0;
  }
  .landing h1 em {
    letter-spacing: -3px;
  }
  .hero-copy {
    font-size: 13px;
    line-height: 1.9;
  }
  .hero-search {
    padding: 6px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .hero-search input {
    font-size: 10px;
  }
  .hero-search > svg {
    width: 17px;
    margin-left: 6px;
  }
  .hero-search .button {
    font-size: 10px;
    padding: 10px;
    gap: 6px;
    min-height: 38px;
  }
  .hero-secondary {
    font-size: 9px;
    gap: 5px;
  }
  .hero-secondary > span {
    display: none;
  }
  .product-preview {
    margin-top: 42px;
    overflow: auto;
  }
  .preview-top {
    padding: 14px;
    font-size: 10px;
    min-width: 480px;
  }
  .preview-top .tag {
    font-size: 8px;
  }
  .preview-query {
    padding: 17px;
    min-width: 480px;
    font-size: 11px;
  }
  .preview-query .muted {
    font-size: 9px;
  }
  .product-preview table {
    min-width: 620px;
    font-size: 11px;
  }
  .product-preview th {
    font-size: 9px;
  }
  .preview-foot {
    min-width: 570px;
    padding: 13px 17px;
    font-size: 9px;
  }
  .landing-principles {
    grid-template-columns: 1fr;
    gap: 21px;
    margin: 37px 0;
  }
  .landing-principles article {
    position: relative;
    padding-left: 40px;
  }
  .landing-principles article > svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
  }
  .landing-principles h2 {
    font-size: 13px;
    margin-bottom: 7px;
  }
  .landing-principles p {
    font-size: 11px;
    margin: 0;
  }
  .landing-method {
    font-size: 11px;
    padding: 23px 0;
    gap: 15px;
    line-height: 1.7;
  }
  .landing-method a {
    font-size: 10px;
    gap: 4px;
  }
  .public-footer {
    padding: 25px 20px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .public-footer > span {
    font-size: 9px;
    max-width: 210px;
    line-height: 1.8;
  }
  .public-footer > a:last-child {
    margin-left: 0;
    font-size: 9px;
  }
  .prose {
    margin-top: 35px;
    padding: 0 23px;
    font-size: 13px;
  }
  .prose h1 {
    font-size: 42px;
  }
  .prose .lead {
    font-size: 17px;
  }
  .prose h2 {
    font-size: 21px;
  }
  .prose pre {
    font-size: 10px;
    padding: 15px;
  }
  .settings-card {
    padding: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .ops-grid {
    gap: 10px;
  }
  .ops-grid > section {
    padding: 15px;
  }
  .ops-summary {
    font-size: 10px;
    gap: 10px;
  }
  .list-toolbar {
    flex-wrap: wrap;
  }
  .list-toolbar input {
    flex: 1;
    min-width: 150px;
    width: auto;
  }
  .detail-method {
    font-size: 11px;
  }
  .batch-list {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.workspace-main,
.research-main,
.results-section,
.table-wrap {
  min-width: 0;
  max-width: 100%;
}
.keyword-table td,
.keyword-link {
  font-size: 14px;
}
.keyword-table th,
.keyword-table th button {
  font-size: 12px;
}
.search-box {
  min-height: 58px;
}
.search-box .button {
  min-height: 44px;
}
.button {
  min-height: 44px;
}
.search-box input::placeholder {
  color: #69705f;
}
.keyword-table input[type="checkbox"] {
  border-color: #838c74;
}
.keyword-table .select-col input {
  outline-offset: 4px;
}
.keyword-link {
  min-height: 28px;
}
.difficulty-cell {
  font-size: 11px;
}
.freshness {
  font-size: 11px;
}
.mobile-workspace-tools {
  display: none;
}
.results-header {
  min-height: 60px;
}
.unknown {
  color: #656d5b;
}
@media (max-width: 700px) {
  .sidebar {
    gap: 0;
  }
  .sidebar > .main-nav {
    margin-left: 0;
    width: 100%;
    margin-bottom: 10px;
  }
  .sidebar-brand {
    margin-bottom: 12px;
  }
  .sidebar > .main-nav > button {
    flex: 1;
    min-height: 40px;
    justify-content: center;
    font-size: 12px;
  }
  .mobile-workspace-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -5px 0 22px;
  }
  .mobile-workspace-tools select {
    flex: 1;
    min-width: 0;
    font-size: 11px;
  }
  .mobile-workspace-tools .button {
    font-size: 11px;
  }
  .demo-banner {
    flex-wrap: wrap;
  }
  .detail-actions .button {
    min-height: 44px;
  }
  .icon-button {
    min-width: 36px;
    width: 36px;
    height: 36px;
  }
  .modal-header .icon-button,
  .detail-top .icon-button {
    height: 44px;
    width: 44px;
  }
  .advanced-filters input,
  .advanced-filters select {
    min-height: 44px !important;
  }
  .keyword-table {
    min-width: 750px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .search-box .button {
    min-height: 40px;
  }
}

.note-inline {
  min-height: 28px;
  line-height: 1.5;
  white-space: normal;
}
.undo-button {
  text-decoration: underline;
  font-weight: 600;
  min-height: 28px;
}
.import-preview {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
.import-preview th,
.import-preview td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.table-wrap {
  position: relative;
}
.sr-only {
  clip-path: inset(50%);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 26px 0 8px;
}
.plan-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.plan-card h2 {
  font-size: 15px;
  margin: 0;
}
.plan-amount {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.plan-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.plan-card .button {
  margin-top: 6px;
  font-size: 12px;
}

.research-shell {
  min-height: 100vh;
  background: #fafaf7;
  color: #202b2c;
}
.research-header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid #e2e5df;
  background: white;
}
.research-wordmark {
  font-weight: 750;
  font-size: 27px;
  letter-spacing: -1px;
  color: #172728;
  text-decoration: none;
}
.research-wordmark span {
  color: #e84b16;
}
.research-header nav {
  display: flex;
  gap: 20px;
  flex: 1;
  font-size: 13px;
}
.research-shell main {
  max-width: 1200px;
  margin: auto;
  padding: 40px 24px 80px;
}
.research-intro {
  max-width: 760px;
  margin-bottom: 28px;
}
.research-intro h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 12px 0;
}
.research-intro p {
  line-height: 1.7;
}
.research-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #bd3b10;
}
.research-panel {
  background: white;
  border: 1px solid #e2e5df;
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}
.research-panel h2 {
  font-size: 21px;
  margin: 0 0 20px;
}
.research-panel h3 {
  margin: 28px 0 12px;
}
.research-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 12px;
}
.research-context-panel {
  min-width: 0;
  padding: 12px 18px;
  margin-top: 12px;
}
.research-context-panel h2 {
  font-size: 18px;
  margin-bottom: 8px;
}
.research-context-panel summary {
  padding: 6px 0;
}
.research-context-panel select {
  width: 100%;
  min-width: 0;
}
.research-context:has(details[open]) {
  grid-template-columns: minmax(0, 1fr);
}
.research-panel p {
  line-height: 1.65;
}
.research-shell input,
.research-shell select {
  border: 1px solid #d8dfd9;
  background: white;
  border-radius: 6px;
  padding: 12px;
  color: inherit;
  font: inherit;
  min-width: 0;
}
.research-shell
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.research-shell select,
.research-shell textarea {
  border-color: #7b897f;
}
.research-shell label {
  font-size: 13px;
  display: grid;
  gap: 7px;
}
.research-shell input[type="checkbox"] {
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  flex-shrink: 0;
}
.research-shell a {
  display: inline-flex;
  align-items: center;
  min-width: 24px;
  min-height: 24px;
}
.research-shell button {
  border: 1px solid #d3d9d3;
  border-radius: 6px;
  background: #fff;
  padding: 11px 17px;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.research-shell button:disabled {
  opacity: 0.5;
  cursor: default;
}
.research-shell :focus-visible {
  outline: 3px solid #d64413;
  outline-offset: 3px;
}
.research-shell details {
  margin-top: 18px;
}
.research-shell summary {
  cursor: pointer;
  font-size: 13px;
  min-height: 32px;
  padding-block: 6px;
  line-height: 20px;
}
.research-search {
  margin-top: 1rem;
  display: flex;
  gap: 10px;
}
.research-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.research-filters label {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}
.research-filters input,
.research-filters select {
  width: 100%;
  min-width: 0;
}
.research-search input {
  flex: 1;
}
.research-search button {
  background: var(--action);
  color: white;
  border-color: var(--action);
}
.research-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.research-form label {
  flex: 1;
  min-width: 180px;
}
.project-setup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  gap: 8px;
  align-items: stretch;
}
.growth-workspace {
  overflow-wrap: anywhere;
}
.growth-workspace .research-outcome-table {
  min-width: 580px;
  overflow-wrap: normal;
  word-break: normal;
  font-variant-numeric: tabular-nums;
}
.research-outcome-table caption {
  padding: 12px 0;
  text-align: left;
  font-weight: 600;
}
.research-outcome-table td:not(:first-child) {
  white-space: nowrap;
}
.research-outcome-scroll-hint {
  display: none;
}
@media (max-width: 700px) {
  .research-outcome-scroll-hint {
    display: block;
  }
}
.growth-workspace .research-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  align-items: start;
  padding: 16px;
  min-width: 0;
}
.growth-workspace label {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.growth-workspace textarea,
.growth-workspace input:not([type="checkbox"]),
.growth-workspace select {
  width: 100%;
  min-width: 0;
}
.growth-workspace textarea {
  min-height: 80px;
  resize: vertical;
}
.growth-workspace input[type="checkbox"] {
  width: auto;
  justify-self: start;
}
.project-setup-form label {
  min-width: 0;
  margin-top: 12px;
}
.project-setup-form button {
  justify-self: start;
  margin-top: 12px;
}
.research-muted {
  color: #647170;
  font-size: 13px;
}
.research-tag {
  font-size: 11px;
  color: #52635e;
  background: #f1f4ed;
  border: 1px solid #dbe2d6;
  border-radius: 4px;
  padding: 4px 8px;
  white-space: nowrap;
}
.research-notice {
  color: #7c480c;
  background: #fff7e9;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13px;
}
.research-error {
  background: #fff1ec;
  color: #963419;
  padding: 16px 20px;
  border-radius: 8px;
}
.research-error small {
  display: block;
  margin-top: 12px;
}
.research-table-scroll {
  overflow-x: auto;
}
.research-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.research-table th,
.research-table td {
  padding: 16px 12px;
  border-bottom: 1px solid #eceee7;
}
.research-table thead th {
  color: #52635e;
  font-size: 13px;
  font-weight: 550;
}
.research-table small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin-top: 4px;
}
.research-shell .research-text-button {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: #bd3b10;
  font-weight: 600;
}
.research-pagination {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  font-size: 13px;
}
.research-empty {
  text-align: center;
  padding: 28px 16px;
  color: #647170;
}
.research-placements {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  list-style: none;
  padding: 0;
  gap: 16px;
  margin: 24px 0;
}
.research-placements li {
  border: 1px solid #e3e7df;
  border-radius: 8px;
  padding: 18px;
}
.research-placement-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.research-placements p {
  font-size: 13px;
  margin-bottom: 0;
}
.research-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.research-plans article {
  border: 1px solid #e3e7df;
  border-radius: 8px;
  padding: 18px;
}
.research-plans h4 {
  margin: 0;
}
.research-preserve {
  white-space: pre-wrap;
}
@media (max-width: 650px) {
  .research-header {
    padding: 18px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .research-header nav {
    order: 3;
    flex-basis: 100%;
  }
  .research-shell main {
    padding: 24px 16px 60px;
  }
  .research-panel {
    padding: 18px;
  }
  .research-table {
    min-width: 580px;
  }
}
.research-comparison-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.research-cohort-members {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.research-cohort-members li {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.research-cohort-members label {
  display: grid;
  gap: 0.25rem;
}
.research-cohort-members select {
  max-width: 100%;
  min-width: 0;
}
.research-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
}
.research-comparison-grid > article {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}
.research-section-navigation {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--background, #fff);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 24px 0;
  padding: 8px;
}
.research-section-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.research-section-navigation a {
  display: block;
  padding: 12px;
  color: #7b3219;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.research-section-navigation a:hover {
  background: #fff1ec;
}
.research-shell :is(a, button, input, select, textarea, summary, [tabindex]) {
  scroll-margin-top: var(--research-navigation-offset, 150px);
}
.research-shell .research-section-navigation a {
  scroll-margin-top: 0;
}
.acquisition-preferences {
  max-width: 1200px;
  margin: 24px auto;
  padding: 16px 24px;
  color: var(--text, #242424);
  font-size: 14px;
}
.acquisition-preferences summary {
  cursor: pointer;
  padding: 8px 0;
}
.acquisition-preferences p {
  max-width: 680px;
  line-height: 1.6;
}
.acquisition-preferences-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.acquisition-preferences-actions button {
  padding: 10px 16px;
  border: 1px solid var(--border, #d7d7d7);
  border-radius: 6px;
  background: #fff;
  color: #242424;
  cursor: pointer;
}
.acquisition-preferences-actions button:disabled {
  opacity: 0.6;
  cursor: wait;
}
@media (max-width: 650px) {
  .research-section-navigation {
    position: static;
    overflow-x: auto;
    margin: 16px 0;
  }
  .research-section-navigation ul {
    flex-wrap: nowrap;
    width: max-content;
  }
  .research-section-navigation a {
    white-space: nowrap;
  }
  .research-context-panel {
    padding: 12px;
  }
  .research-context {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .research-context-panel h2 {
    margin-bottom: 4px;
  }
  .research-intro {
    margin-bottom: 16px;
  }
  .research-intro h1 {
    font-size: 26px;
  }
  .research-shell :is(a, button, input, select, textarea, summary, [tabindex]) {
    scroll-margin-top: 24px;
  }
}

/* Standalone public document layout, including narrow screens. */
.public-nav{height:auto;min-height:93px;gap:20px;flex-wrap:wrap;padding-top:20px;padding-bottom:20px}
.public-nav nav{gap:20px;flex-wrap:wrap}.prose h1{overflow-wrap:anywhere}
footer.prose{border-top:1px solid var(--border);padding-top:24px}
a:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
@media(max-width:500px){.prose h1{font-size:36px;letter-spacing:-1px}.public-nav{padding-left:24px;padding-right:24px}.prose{margin-top:28px}.hero-copy br{display:none}}
