:root {
  color-scheme: light;
  --ink:#252932;
  --muted:#677181;
  --line:#e3e6eb;
  --blue:#2859c5;
  --wash:#f6f7f9;
  --sidebar:192px;
  font:
    14px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    sans-serif;
  color: var(--ink);
  background: #fcfcfd;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--blue);
  color: white;
  padding: 7px 14px;
  font-weight: 550;
}
button:disabled {
  opacity: .55;
  cursor: wait;
}
.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.quiet {
  background: transparent;
  color: var(--muted);
  padding: 5px 8px;
  font-weight: 400;
}
.quiet:hover,
.secondary:hover {
  background: #edf0f5;
}
.quiet.active {
  color: var(--blue);
  background: #edf2fd;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
input,
select,
textarea {
  border: 1px solid #d6dce5;
  background: #fff;
  color: var(--ink);
  border-radius: 4px;
  padding: 8px 10px;
  min-width: 0;
  max-width: 100%;
}
textarea {
  width: 100%;
  resize: vertical;
}
label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 25px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -.5px;
  margin-bottom: 8px;
}
h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
h3 {
  font-size: 14px;
  font-weight: 600;
}
p {
  margin-bottom: 12px;
}
small,
.metadata,
.muted {
  color: var(--muted);
  font-size: 12px;
}
.error {
  color: #a63e39;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  padding: 22px 12px 16px;
  background: #f2f3f6;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.logo {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .8px;
  padding: 0 7px;
}
.logo small {
  display: block;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 10px;
  margin-top: 3px;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 17px;
}
.nav-label {
  margin: 32px 10px 8px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
}
nav {
  display: grid;
  gap: 4px;
}
nav a {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 5px;
  color: #596271;
  font-size: 13px;
}
nav a:hover {
  background: #e9ecf1;
  text-decoration: none;
}
nav a.active {
  background: #e7ecf7;
  color: #254e9e;
  font-weight: 600;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 11px;
  color: var(--muted);
  padding: 12px 7px 0;
}
.sidebar-bottom details {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 10px;
}
.sidebar-bottom p {
  overflow-wrap: anywhere;
}
.dot {
  display: inline-block;
  background: #7c90ae;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  margin-right: 7px;
}
.workspace {
  margin-left: var(--sidebar);
  min-width: 0;
}
.workspace > header {
  height: 49px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.environment {
  font-size: 10px;
  letter-spacing: 1px;
}
main {
  padding: 26px 28px 36px;
  min-width: 0;
  max-width: 1800px;
  margin: auto;
}
.page-heading {
  margin-bottom: 24px;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0 12px;
}
.section-heading h1,
.section-heading h2 {
  margin: 0;
}
.editorial-note {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.editorial-note strong {
  color: var(--ink);
  font-weight: 550;
}
.editorial-note span {
  flex-basis: 100%;
}
.today-layout {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(380px, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: auto;
}
.topic-feed {
  min-width: 0;
}
.topic-stack {
  border-top: 1px solid var(--line);
}
.topic-stack:last-child {
  border-bottom: 1px solid var(--line);
}
.topic-stack > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 0;
  cursor: pointer;
}
.topic-stack > summary strong {
  display: block;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -.2px;
}
.topic-stack > summary .metadata {
  display: block;
  margin-top: 5px;
}
.topic-stack[open] > summary {
  padding-bottom: 15px;
}
.topic-posts {
  max-height: 65vh;
  overflow: auto;
  border-top: 1px solid var(--line);
}
.search-row {
  display: flex;
  gap: 10px;
}
.search-row input {
  flex: 1;
  font-size: 17px;
  padding: 13px 14px;
}
.search-row button {
  min-width: 88px;
}
.search-options {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
}
.search-options .filter-grid {
  margin-top: 15px;
}
.search-options p {
  margin-top: 12px;
}
.runtime-line {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 20px;
  align-items: start;
  margin: 10px 0 20px;
}
.runtime-line strong {
  font-weight: 450;
}
.runtime-line details {
  margin-left: auto;
  text-align: right;
}
.runtime-line details p {
  font-size: 11px;
  max-width: 430px;
}
.search-context {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 16px;
}
.result-counts {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.result-counts b {
  color: var(--ink);
  font-weight: 550;
}
.execution-detail {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.progress-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  margin: 12px 0;
}
.progress-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.progress-title h2 {
  font-size: 14px;
}
.progress-steps {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 18px;
  font-size: 12px;
}
.progress-steps li {
  color: var(--muted);
}
.progress-steps li span {
  margin-right: 5px;
}
.progress-steps li small {
  display: block;
  margin-left: 17px;
}
.progress-steps .current {
  color: var(--blue);
}
.progress-steps .done {
  color: #3d6e58;
}
.progress-panel p {
  font-size: 12px;
  margin: 8px 0;
}
.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}
.filter-grid label {
  flex: 1;
  min-width: 100px;
}
.filter-grid input,
.filter-grid select {
  width: 100%;
}
.task-list {
  border-top: 1px solid var(--line);
}
.task-line {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 80px minmax(260px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.task-line:hover {
  background: var(--wash);
  text-decoration: none;
}
.task-line strong {
  font-size: 14px;
  font-weight: 550;
}
.task-line small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}
.task-counts {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.badge {
  display: inline-block;
  font-size: 10px;
  line-height: 1.5;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  color: #697384;
  background: #eef0f3;
  font-weight: 450;
}
.state-complete,
.review-KEEP {
  background: #ecf3ee;
  color: #40644a;
}
.state-failed,
.state-login_blocked {
  color: #943f37;
  background: #f8eeec;
}
.state-searching,
.state-details,
.state-filtering,
.state-queued {
  color: #375b93;
  background: #edf2fa;
}
.split-view {
  display: grid;
  grid-template-columns: minmax(380px, 430px) minmax(0, 1fr);
  height: max(510px, calc(100vh - 350px));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.results-pane {
  overflow: auto;
  min-width: 0;
  border-right: 1px solid var(--line);
}
.result-tabs {
  display: flex;
  gap: 2px;
  padding: 10px 8px;
  background: #fcfcfd;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 2;
  font-size: 12px;
}
.result-tabs button {
  font-size: 12px;
}
.result-tabs span {
  font-size: 10px;
  margin-left: 3px;
}
.compact-row {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.compact-row:last-child {
  border-bottom: 0;
}
.row-select {
  display: flex;
  gap: 12px;
  align-items: start;
  text-align: left;
  width: 100%;
  padding: 15px 12px 20px;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  font-weight: 400;
}
.row-select:hover,
.compact-row.selected {
  background: #f0f3f8;
}
.compact-row.selected {
  box-shadow: inset 2px 0 var(--blue);
}
.thumbnail {
  flex: 0 0 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f2f3f5;
  color: #a6aeb9;
  font-size: 23px;
  border-radius: 3px;
}
.thumbnail small {
  font-size: 9px;
  color: #727d8c;
}
.row-copy {
  flex: 1;
  min-width: 0;
}
.row-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 550;
}
.row-copy .metadata {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.row-summary {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.row-status {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: end;
  max-width: 55px;
}
.row-actions {
  position: absolute;
  right: 8px;
  bottom: 1px;
  display: flex;
  opacity: 0;
  background: #f0f3f8;
}
.row-actions button {
  font-size: 10px;
  padding: 1px 6px;
}
.compact-row:hover .row-actions,
.compact-row:focus-within .row-actions {
  opacity: 1;
}
.reading-pane {
  overflow: auto;
  min-width: 0;
  padding: 22px 26px;
  background: #fff;
  overscroll-behavior: contain;
}
.reading-pane .page-heading {
  margin: 8px 0 22px;
}
.reading-pane h1 {
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -.3px;
}
.reading-pane .page-heading p {
  font-size: 11px;
}
.reader-empty {
  padding: 60px 8px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.reader-empty > span {
  font-size: 28px;
  color: #adb6c4;
}
.reader-empty h2 {
  color: #576171;
  font-weight: 450;
}
.reader-close {
  font-size: 11px;
  float: right;
  margin-bottom: 8px;
}
.research-layout {
  clear: both;
}
.research-layout .panel {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.research-layout h2 {
  font-size: 12px;
  letter-spacing: .5px;
  color: #6c7685;
  font-weight: 550;
}
.research-layout p {
  font-size: 12px;
}
.body-text {
  font-family: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.9;
  margin: 16px 0 22px;
}
.research-aside .body-text {
  font-size: 12px;
}
.cover-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  background: #f5f6f8;
  color: var(--muted);
  font-size: 12px;
}
.research-aside form > label {
  margin: 12px 0;
}
.research-aside form > button {
  font-size: 12px;
  margin: 4px 0 10px;
}
.reader-footer {
  position: sticky;
  bottom: -22px;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 0 0;
  display: flex;
  gap: 8px;
}
.reader-footer button {
  font-size: 12px;
}
.today-layout > .reading-pane {
  position: sticky;
  top: 20px;
  height: calc(100vh - 100px);
  border-left: 1px solid var(--line);
  margin-top: 20px;
}
.following-head {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--muted);
}
.empty,
.loading-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.empty h2,
.empty h3 {
  color: var(--ink);
  font-weight: 500;
}
.empty-symbol {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
  color: #a2aab5;
}
.following-empty {
  padding: 70px 20px;
}
.capability-note {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
  font-size: 12px;
}
.idea-row {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 20px 8px;
  align-items: start;
}
.idea-row h2 {
  font-size: 16px;
}
.idea-row p {
  font-size: 13px;
}
.idea-row details {
  font-size: 12px;
  margin-top: 12px;
}
.idea-row a {
  overflow-wrap: anywhere;
}
.service-state {
  padding: 60px 30px;
  max-width: 750px;
  margin: auto;
}
.service-state h1 {
  margin-top: 18px;
}
.service-state p {
  color: var(--muted);
}
#message:not(:empty) {
  position: fixed;
  bottom: 20px;
  right: 24px;
  max-width: 480px;
  padding: 12px 18px;
  background: #edf4ef;
  color: #35543d;
  border: 1px solid #d2e2d6;
  border-radius: 5px;
  z-index: 30;
  font-size: 13px;
}
#message.error:not(:empty) {
  background: #fbefed;
  color: #923e36;
  border-color: #ecd1cb;
}
dialog {
  max-width: 460px;
  width: 90%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 28px;
  color: var(--ink);
}
dialog::backdrop {
  background: #20273544;
}
dialog p {
  font-size: 13px;
  color: var(--muted);
}
@media (min-width: 1600px) {
  .split-view {
    grid-template-columns: 460px minmax(0, 1fr);
  }
}
@media (max-width: 1150px) {
  main {
    padding: 22px 20px;
  }
  .split-view {
    grid-template-columns: 380px minmax(0, 1fr);
  }
  .reading-pane {
    padding: 20px;
  }
  .task-line {
    grid-template-columns: 1fr 75px;
  }
  .task-counts {
    grid-column: 1/-1;
    text-align: left;
  }
  .today-layout {
    grid-template-columns: minmax(340px, 1fr) minmax(300px, 1fr);
    gap: 12px;
  }
  .thumbnail {
    flex-basis: 70px;
    height: 70px;
  }
}
@media (max-width: 1050px) {
  :root {
    --sidebar:180px;
  }
  .split-view,
  .today-layout {
    display: block;
  }
  .results-pane {
    border-right: 0;
    height: 100%;
  }
  .reading-pane,
  .today-layout > .reading-pane {
    display: none;
  }
  .reading-pane.is-open,
  .today-layout > .reading-pane.is-open {
    display: block;
    position: fixed;
    inset: 49px 0 0 auto;
    margin: 0;
    width: min(620px, calc(100vw - 180px));
    height: auto;
    z-index: 15;
    border-left: 1px solid var(--line);
    background: #fff;
    padding: 24px;
  }
  .topic-posts {
    max-height: 65vh;
  }
  .topic-feed {
    max-width: 900px;
    margin: auto;
  }
  .row-select {
    padding-right: 20px;
  }
  .row-status {
    margin-left: 20px;
  }
  .row-copy .metadata {
    font-size: 12px;
  }
  .thumbnail {
    flex-basis: 88px;
    height: 88px;
  }
}
@media (max-width: 650px) {
  :root {
    --sidebar:60px;
  }
  .sidebar {
    padding: 18px 6px;
  }
  .logo {
    padding: 0;
    justify-content: center;
  }
  .logo > span:last-child,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    margin-top: 30px;
  }
  nav a {
    padding: 10px;
    justify-content: center;
  }
  nav a span {
    display: none;
  }
  .workspace > header {
    padding: 0 16px;
  }
  main {
    padding: 20px 14px;
  }
  .reading-pane.is-open,
  .today-layout > .reading-pane.is-open {
    width: calc(100vw - 60px);
    padding: 18px;
  }
  .search-row input {
    font-size: 14px;
  }
  .search-row button {
    min-width: 60px;
  }
  .runtime-line {
    display: block;
  }
  .runtime-line details {
    margin-top: 8px;
    text-align: left;
  }
  .row-select {
    gap: 9px;
    padding: 12px 8px 22px;
  }
  .thumbnail {
    flex-basis: 60px;
    height: 65px;
  }
  .row-status {
    margin-left: 0;
  }
  .row-copy .metadata {
    font-size: 10px;
  }
  .row-actions {
    opacity: 1;
  }
  .filter-grid label {
    min-width: 40%;
  }
  .task-line {
    gap: 8px;
  }
  .idea-row {
    grid-template-columns: 1fr;
  }
  .following-head {
    gap: 6px;
    padding: 10px 2px;
    font-size: 10px;
  }
  .topic-stack > summary strong {
    font-size: 16px;
  }
  .progress-steps {
    gap: 10px;
  }
  #message:not(:empty) {
    max-width: calc(100vw - 84px);
    right: 12px;
  }
}

/* Saved evidence: quiet editorial hierarchy, no nested cards. */
.view-tabs{display:flex;gap:24px;border-bottom:1px solid #dce1e8;margin:8px 0 24px;padding:0 0 12px}.view-tabs a{color:#697381;text-decoration:none}.view-tabs .active{color:#2458c7;font-weight:600}.view-tabs span{font-size:12px;margin-left:6px}
.thumbnail{width:88px;min-width:88px;height:100px;overflow:hidden}.thumbnail img{width:100%;height:100%;object-fit:cover}.thumbnail small{font-size:10px;padding:3px}.row-copy{min-width:0}.row-copy .metadata{white-space:normal}.row-select{align-items:start}.row-copy strong{line-height:1.55}
.evidence-section{padding:22px 0;border-bottom:1px solid #e3e7ec}.evidence-section h1{font-size:23px;line-height:1.5}.evidence-section h2{font-size:15px;margin:0 0 12px}.eyebrow{font-size:11px;letter-spacing:.1em;color:#788291}.evidence-caption{font-size:12px;color:#758090}.tag-line{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:12px 0;font-size:12px}.body-text{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:14px;line-height:1.9}.comment-thread{padding:14px 0;border-bottom:1px solid #edf0f3}.comment-thread p{margin:0 0 6px;line-height:1.7;font-size:14px}.comment-thread blockquote{border-left:2px solid #dce3eb;margin:12px 0 0 12px;padding:0 0 0 14px;color:#566271}.comment-thread small{font-size:11px}.reading-pane #review{padding:22px 0}.reading-pane label{display:block;margin:12px 0}.reading-pane textarea,.reading-pane input,.reading-pane select{width:100%}.reading-pane .reader-footer{flex-wrap:wrap}.reading-pane details summary{cursor:pointer;font-weight:600;padding:8px 0}
.image-missing{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#eef1f5;color:#8b95a2;font-size:15px}.image-grid{display:grid;gap:4px;height:280px;margin:12px 0 20px}.image-cell{padding:0;position:relative;background:#eef1f5;color:#7e8998;border:0;border-radius:2px;overflow:hidden;min-width:0}.image-cell:hover{background:#e7ecf2}.image-cell img{width:100%;height:100%;object-fit:cover}.image-cell>span{display:flex;flex-direction:column;align-items:center;gap:6px}.image-cell small{font-size:10px}.images-1{grid-template-columns:1fr}.images-2{grid-template-columns:1fr 1fr}.images-3{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}.images-3 .image-cell:first-child{grid-row:span 2}.images-4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.images-5{grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr 1fr}.images-5 .image-cell:first-child{grid-column:span 2}.image-more{position:absolute;inset:0;background:#26334399;color:white;display:grid;place-items:center;font-size:24px}.lightbox{width:min(90vw,1000px);max-height:90vh;padding:20px}.lightbox>img{display:block;max-width:100%;max-height:75vh;margin:12px auto;object-fit:contain}.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.lightbox::backdrop{background:#19212ddb}
.following-rule{border-bottom:1px solid #dce2e9;padding:12px 0}.following-rule>summary{display:grid;grid-template-columns:2fr .7fr .7fr 1.3fr 1fr;align-items:center;gap:12px;cursor:pointer;font-size:12px}.following-rule>summary strong{font-size:14px}.following-rule p{font-size:13px;color:#677382}.route-production .idea-row h2 a{color:#263143;text-decoration:none}.route-production .idea-row h2 a:hover{color:#2458c7}
@media(max-width:1050px){.image-grid{height:250px}.following-rule>summary{grid-template-columns:2fr .7fr .7fr 1.2fr 1fr}.view-tabs{gap:14px}.thumbnail{width:80px;min-width:80px}.reading-pane{padding:22px}}

/* Research reading breakpoints: never squeeze the master list. */
.row-select{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px 12px}
.row-copy{min-width:0}.row-copy strong{display:block;white-space:normal;overflow:visible;-webkit-line-clamp:unset;line-height:1.5;overflow-wrap:anywhere}
.row-status{grid-column:2;display:flex;flex-wrap:wrap;gap:6px;margin:0!important;max-width:none}
.row-copy .metadata{white-space:normal;overflow-wrap:anywhere}.saved-discussion{display:block;font-size:11px;color:#53677b;margin-top:5px}
.post-heading{clear:both;padding:8px 0 20px}.post-heading h1{margin:0 0 12px}.post-metrics{font-size:13px}.note-preview{font-size:13px;white-space:pre-wrap}.review-editor summary{font-size:13px;color:#53677b}.review-editor .panel{border:0;box-shadow:none}
.reader-footer{position:sticky;bottom:-24px;z-index:3;padding:12px 0;background:#fff}.image-grid{margin:0 0 14px}
@media(min-width:1280px){:root{--sidebar:190px}.split-view{grid-template-columns:400px minmax(420px,1fr)}.today-layout{grid-template-columns:minmax(380px,440px) minmax(420px,1fr);gap:18px}}
@media(max-width:1279px){.split-view,.today-layout{display:block}.results-pane{width:100%;height:100%;border-right:0}.reading-pane,.today-layout>.reading-pane{display:none}.reading-pane.is-open,.today-layout>.reading-pane.is-open{display:block;position:fixed;inset:49px 0 0 auto;width:min(680px,calc(100vw - 190px));height:auto;margin:0;padding:24px;z-index:20;border-left:1px solid #dce2e9;box-shadow:-20px 0 0 100vw #18243333}.row-select{grid-template-columns:88px minmax(0,1fr)}}
@media(max-width:1023px){main:has(.reading-pane.is-open) .results-pane,main:has(.reading-pane.is-open) .topic-feed{visibility:hidden}.reading-pane.is-open,.today-layout>.reading-pane.is-open{width:calc(100vw - var(--sidebar));box-shadow:none}.split-view{height:calc(100vh - 230px)}.row-copy strong{font-size:14px}}
@media(max-width:650px){.row-select{grid-template-columns:70px minmax(0,1fr)}.thumbnail{width:70px;min-width:70px}.reading-pane.is-open,.today-layout>.reading-pane.is-open{width:calc(100vw - 60px);padding:18px}}

.row-status{flex-direction:row;align-items:center;justify-content:flex-start}.row-select{padding:12px 12px 20px;row-gap:7px}.row-copy strong{font-size:14px}.row-copy .metadata{font-size:11px}.row-summary{font-size:11px}

.reader-close{position:sticky;top:0;z-index:4;background:#fff;border:1px solid var(--line)}
/* V1 controls stay inside the existing five pages and shared reading pane. */
.v1-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:12px 0}.v1-controls label{min-width:130px}.v1-controls button{white-space:normal}.batch-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 12px;border-bottom:1px solid var(--line);font-size:12px}.batch-bar small{color:var(--muted)}.row-check{position:absolute;top:10px;left:6px;z-index:1}.row-check input{width:16px;height:16px;margin:0}.compact-row>.row-select{padding-left:28px}.today-topics{display:flex;flex-wrap:wrap;gap:8px}.today-topics .topic-stack{padding:10px;display:flex;flex-direction:column;align-items:start;gap:6px;font-size:12px}.v1-dialog{max-width:min(600px,90vw);max-height:85vh;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:24px}.v1-dialog label{display:block;margin:12px 0}.v1-dialog input[type=checkbox]{display:inline-block;width:16px;margin-right:8px}.v1-dialog::backdrop{background:#18243366}.history-timeline{padding-left:20px}.history-timeline li{padding:8px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.v1-research [role=status]{overflow-wrap:anywhere}.following-rule{padding:16px 0}.following-rule h2{font-size:16px}.v1-dialog input,.v1-dialog select{max-width:100%}

/* Research workspace: subscription overview, compact master list, fixed reading actions. */
[hidden]{display:none!important}
main{max-width:none}
.page-heading h1{font-size:26px;letter-spacing:-.025em}.page-heading p{margin-top:6px}
.today-topics{display:block;max-width:1120px;margin:24px auto}
.today-topics .topic-stack{display:block;padding:24px 0;border-top:1px solid var(--line);width:100%}
.topic-stack>header{display:flex;justify-content:space-between;align-items:center}.topic-stack h2{font-size:21px;margin:3px 0 8px;letter-spacing:-.02em}.topic-stack>footer{display:flex;justify-content:space-between;padding-top:10px}
.topic-preview-rows .row-check,.topic-preview-rows .row-actions{display:none}.topic-preview-rows .row-select{padding-left:0}.topic-preview-rows .row-status{grid-column:3;grid-row:1;max-width:120px}.topic-preview-rows .row-select{grid-template-columns:80px minmax(0,1fr) 120px}.topic-preview-rows .thumbnail{width:80px;min-width:80px;height:80px}.topic-preview-rows .row-summary{display:none}.topic-preview-rows .row-copy strong{font-size:16px}.topic-preview-rows .row-copy .metadata{font-size:12px}
.topic-navigation{display:flex;justify-content:space-between;margin:8px 0}
.compact-row{border-radius:0;box-shadow:none}.row-select{background:transparent}.row-copy strong{font-weight:600}.thumbnail{background:#f0f2f5}.thumbnail:has(small){height:76px}.thumbnail small{font-size:10px}.row-summary{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.row-status .badge{font-size:10px}.badge{border-radius:3px}.row-select:focus-visible{outline-offset:-2px}
.reading-pane{padding:0!important;overflow:hidden}.reader-scroll{min-height:0;flex:1;overflow:auto;padding:18px 24px;overscroll-behavior:contain}.reader-scroll>.evidence-section,.reader-scroll>.post-heading,.reader-scroll>.image-grid{max-width:780px;margin-left:auto;margin-right:auto}.reader-scroll>.image-grid{margin-bottom:20px}.reading-pane .reader-footer{position:relative;bottom:auto;flex:none;margin:0;padding:10px 18px;border-top:1px solid var(--line);display:flex;gap:6px;background:#fff}.reader-footer button{font-size:12px;padding:7px 10px}.reading-pane .post-heading h1{font-size:24px;line-height:1.5}.evidence-strip{font-size:11px;color:var(--muted);margin-top:12px;border-top:1px solid var(--line);padding-top:10px}.reading-pane .reader-close{float:none;font-size:11px;border:0;color:var(--muted);padding:4px 0;margin-bottom:14px}.reader-scroll .body-text{font-size:15px;line-height:1.95}.v1-research h2{font-size:14px}.v1-research .v1-controls{margin:6px 0}.v1-research .v1-controls button{font-size:11px}.v1-research [data-evidence-status]{font-size:12px;color:var(--muted)}
.images-5{grid-template-columns:2fr 1fr;grid-template-rows:repeat(3,1fr)}.images-5 .image-cell:first-child{grid-column:1;grid-row:1/4}.image-grid{height:320px}.image-missing{min-height:70px;font-size:12px;flex-direction:row;margin-bottom:16px}
.idea-dialog{width:min(560px,90vw)}.idea-dialog #idea-entry{border:0;padding:0}.idea-dialog #idea-entry>summary{display:none}.idea-dialog textarea,.idea-dialog input,.idea-dialog select{width:100%}.idea-dialog [name=angle]{min-height:100px}
.following-rule{display:grid;grid-template-columns:minmax(220px,1fr) minmax(240px,1fr);gap:0 24px}.following-rule h2{margin:0;font-size:15px}.following-rule p{margin:5px 0}.following-rule .v1-controls{grid-column:2;grid-row:1/4;justify-content:flex-end;align-items:center}.following-rule button{font-size:12px}.capability-note{padding:10px 0;color:var(--muted);font-size:13px}.idea-row{border-radius:0;box-shadow:none}.search-options summary{font-size:12px}.runtime-line{font-size:12px}
@media(min-width:1280px){.split-view{grid-template-columns:410px minmax(420px,1fr);height:calc(100vh - 235px);min-height:520px}.reading-pane{display:flex;flex-direction:column;height:100%;min-height:0}.results-pane{min-width:0}.route-task .split-view{height:calc(100vh - 280px)}}
@media(max-width:1279px){.reading-pane.is-open{display:flex!important;flex-direction:column}.following-rule{display:block}.following-rule .v1-controls{justify-content:flex-start}}
@media(max-width:1023px){main:has(.reading-pane.is-open) #topic-previews{display:none}.reading-pane.is-open{inset:49px 0 0 var(--sidebar);width:auto!important}.topic-preview-rows .row-select{grid-template-columns:80px minmax(0,1fr)}.topic-preview-rows .row-status{grid-column:2;grid-row:auto}.reader-scroll{padding:16px 20px}}

.following-columns{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;padding:16px 0 8px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.following-columns span:last-child{text-align:right}@media(max-width:1023px){.following-columns{display:none}}

.row-copy .metadata:nth-last-child(2){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.topic-preview-rows .thumbnail:has(small){background:transparent}.topic-preview-rows .row-copy .metadata{line-height:1.6}.row-select{padding-bottom:12px}.row-status{gap:4px}.route-search .section-heading{margin-top:14px}

.login-page{width:min(420px,90vw);margin:12vh auto}.login-page input{display:block;width:100%;margin-top:8px}
