:root {
  --paper: #f5f5ef;
  --panel: #fffefa;
  --forest: #213e36;
  --ink: #243c34;
  --muted: #6c7b72;
  --line: #dce2d5;
  --lime: #e1edac;
  --warm: #f3e8d6;
  --red: #99432c;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
a {
  color: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 7px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 550;
  line-height: 1.35;
}
button:hover:not(:disabled),
.button:hover {
  border-color: #7c957a;
  background: #edf2e5;
}
.primary {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.primary:hover:not(:disabled) {
  background: #305447;
  color: white;
}
.text {
  border-color: transparent;
  background: transparent;
  padding: 7px 0;
  font-size: 13px;
}
.text:hover:not(:disabled) {
  background: transparent;
  text-decoration: underline;
  border-color: transparent;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 10px 12px;
  min-width: 0;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--forest);
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  margin: 12px 0;
}
p {
  line-height: 1.6;
  margin: 10px 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 550;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 45px;
  letter-spacing: -1.8px;
  line-height: 1.15;
  max-width: 700px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 18px;
}
h4 {
  font-size: 13px;
  margin: 14px 0 8px;
}
small,
.tiny {
  font-size: 12px;
  line-height: 1.5;
}
.muted {
  color: var(--muted);
}
.danger {
  color: var(--red);
}
.row,
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spread {
  justify-content: space-between;
}
.toolbar {
  flex-wrap: wrap;
}
.shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 208px;
  padding: 31px 20px;
  background: #f0f1e8;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.1px;
  margin-top: 5px;
}
.mark {
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--lime);
  width: 33px;
  height: 36px;
  border-radius: 7px;
  font-size: 26px;
}
.sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 55px;
}
.navlink {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  padding: 12px 9px;
  border-radius: 7px;
  font-size: 13px;
}
.navlink.active {
  background: var(--lime);
  font-weight: 600;
}
.navlink span {
  font-size: 19px;
}
.sidebar-bottom {
  margin-top: auto;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.sidebar-bottom .text {
  font-size: 11px;
}
.mode {
  font-size: 10px;
  letter-spacing: 0.4px;
  color: var(--forest);
}
.workspace {
  margin-left: 208px;
  padding: 0 35px 30px;
  max-width: 1760px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 82px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 34px;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.provider-pill {
  border-radius: 30px;
  font-size: 11px;
  background: transparent;
  padding: 7px 12px;
}
.provider-pill:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #67935d;
}
.pagehead {
  margin: 30px 0 35px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 13px;
  color: var(--muted);
}
.subhead {
  font-size: 15px;
  color: var(--muted);
  max-width: 670px;
  line-height: 1.7;
  margin-top: 18px;
}
.sectionbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 26px 0 18px;
}
.count {
  display: inline-block;
  font-family: inherit;
  font-size: 12px;
  margin-left: 10px;
  color: var(--muted);
  vertical-align: middle;
}
.filters {
  display: flex;
  gap: 8px;
}
.filters select {
  font-size: 11px;
  padding: 8px;
  max-width: 185px;
  background: transparent;
}
.scenario-grid,
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.scenario {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}
.scenario:hover {
  border-color: #a2b797;
}
.scenario.selected {
  box-shadow: inset 0 0 0 1px var(--forest);
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 19px;
  background: #e9eccc;
}
.color-1 {
  background: #f0e1cb;
}
.color-2 {
  background: #dce8e3;
}
.select-check {
  margin: 0;
}
.person-title {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 15px;
}
.person-title h3 {
  font-size: 21px;
}
.badge {
  display: inline-flex;
  font-size: 10px;
  background: #ecf1e4;
  color: var(--forest);
  border-radius: 4px;
  padding: 4px 6px;
  line-height: 1.25;
  white-space: normal;
  text-align: left;
}
.badge.warn {
  background: var(--warm);
  color: var(--red);
}
.product-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.scenario h4 {
  font-size: 14px;
  margin: 20px 0 0;
}
.scenario p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 20px;
}
.card-history {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: auto;
  padding-top: 3px;
}
.card-bottom {
  margin-top: 15px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.card-bottom .tiny {
  font-size: 9px;
}
.open-story {
  font-size: 12px;
  text-align: left;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 23px;
}
.batch-panel {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}
.batch-panel h2 {
  font-size: 17px;
}
.batch-panel p {
  font-size: 12px;
}
.batch-panel .toolbar {
  gap: 10px;
}
.batch-panel label {
  margin: 0;
  font-size: 10px;
  gap: 3px;
}
.batch-panel input {
  width: 72px;
  padding: 7px;
}
.batch-panel button {
  font-size: 12px;
}
.batchline {
  margin-top: 12px;
  font-size: 12px;
}
.batch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}
.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.recent-card {
  display: block;
  text-decoration: none;
  padding: 17px;
}
.recent-card p {
  font-size: 12px;
}
.recent-card small {
  font-size: 10px;
  color: var(--muted);
}
.secondary-tools {
  margin-top: 24px;
  gap: 24px;
}
footer {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.back {
  font-size: 12px;
  text-decoration: none;
  color: var(--muted);
}
.runhead {
  margin-top: -5px;
}
.run-title {
  margin-top: 23px;
  align-items: flex-start;
}
.run-title .eyebrow {
  margin-bottom: 9px;
}
.run-title h1 {
  font-size: 32px;
  letter-spacing: -0.7px;
  max-width: 850px;
}
.run-title h1 > span:last-child {
  font-size: 27px;
}
.title-dot {
  margin: 0 10px;
  color: #a0ac94;
}
.run-title p {
  font-size: 12px;
}
.run-actions {
  margin: 18px 0 25px;
  gap: 16px;
}
.run-actions button,
.run-actions .button {
  font-size: 11px;
  padding: 8px 10px;
}
.clockbar {
  background: #e9eecf;
  border: 1px solid #dce3bb;
  border-radius: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  margin-bottom: 28px;
}
.clockbar .eyebrow {
  font-size: 9px;
  margin-bottom: 5px;
}
.clockbar strong {
  font-size: 16px;
  font-weight: 550;
}
.clockbar small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  color: var(--muted);
}
.clockbar button {
  font-size: 11px;
  padding: 9px 11px;
}
.clockbar .toolbar {
  gap: 8px;
}
.conversation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}
.conversation-column,
.state-column {
  min-width: 0;
}
.conversation-column > .sectionbar {
  margin-top: 2px;
  margin-bottom: 12px;
}
.intro {
  font-size: 12px;
  margin-bottom: 18px;
}
.provenance {
  font-size: 11px;
  border: 1px dashed #cbd5c2;
  border-radius: 7px;
  padding: 12px 14px;
  margin-bottom: 24px;
  color: var(--muted);
}
summary {
  cursor: pointer;
  line-height: 1.5;
}
details[open] > summary {
  margin-bottom: 12px;
}
details p {
  font-size: 12px;
}
.conversation {
  padding-bottom: 15px;
}
.date-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 27px 0 19px;
  color: var(--muted);
  font-size: 10px;
}
.date-divider:before,
.date-divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.message {
  max-width: 87%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 17px;
  margin-bottom: 13px;
  background: var(--panel);
}
.message.customer {
  margin-left: auto;
  background: #edf1e4;
  border-color: #e2e7d7;
  border-bottom-right-radius: 2px;
}
.message.assistant {
  border-bottom-left-radius: 2px;
}
.message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
}
.message-meta time {
  font-size: 9px;
  color: var(--muted);
}
.message p {
  font-size: 13px;
  white-space: pre-wrap;
  margin: 9px 0;
  line-height: 1.65;
}
.message-source {
  font-size: 9px;
  color: var(--muted);
}
.state-marker {
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  margin: 17px 0 23px;
  background: transparent;
  border: 1px dashed #cfd9c2;
  padding: 12px 13px;
  border-radius: 8px;
}
.state-marker strong {
  font-size: 11px;
  font-weight: 600;
}
.state-marker small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}
.marker-icon {
  font-size: 18px;
  line-height: 1;
  color: #739060;
}
.marker-arrow {
  margin-left: auto;
  font-size: 14px;
}
.state-marker.selected {
  background: #e6edcc;
  border: 1px solid #92a878;
}
.state-marker.initial {
  background: var(--forest);
  color: var(--lime);
  border: 0;
}
.state-marker.initial small {
  color: #c9d8bc;
}
.state-marker.initial .marker-icon {
  color: var(--lime);
}
.state-sticky {
  position: sticky;
  top: 18px;
  border: 1px solid #cdd7c5;
  border-radius: 11px;
  overflow: hidden;
  background: var(--panel);
}
.state-heading {
  padding: 20px 19px 15px;
  background: #eef1e5;
  border-bottom: 1px solid var(--line);
}
.state-heading h2 {
  font-size: 17px;
}
.live-dot {
  color: #73985b;
  font-size: 10px;
}
.state-heading select {
  margin-top: 15px;
  font-size: 11px;
  padding: 9px 8px;
}
.history-controls {
  margin: 8px 0;
}
.history-controls button {
  font-size: 10px;
  padding: 5px 0;
  border: 0;
  background: transparent;
}
.state-heading p {
  font-size: 10px;
  color: var(--muted);
  margin: 7px 0 0;
}
.state-heading > .text {
  font-size: 10px;
  padding-bottom: 0;
}
.state-body {
  max-height: calc(100vh - 235px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #c6d2bc transparent;
  overscroll-behavior: contain;
}
.state-section {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.state-section:last-child {
  border-bottom: 0;
}
.state-section h3 {
  font-size: 14px;
  margin-bottom: 12px;
}
.state-section h4 {
  font-size: 10px;
  letter-spacing: 0.3px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 16px;
}
.state-section p {
  font-size: 12px;
  line-height: 1.6;
}
.state-section ul {
  padding-left: 18px;
  font-size: 11px;
  line-height: 1.6;
}
.state-section details {
  font-size: 10px;
}
.memory-note {
  padding: 10px 12px;
  background: #f4f4e9;
  border-radius: 6px;
  margin-bottom: 9px;
  border-left: 2px solid #a1b77d;
}
.memory-note p {
  margin: 0 0 6px;
}
.memory-note small {
  font-size: 9px;
  color: var(--muted);
}
.memory-note details {
  margin-top: 5px;
}
.purchase {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #edf0e6;
  font-size: 11px;
}
.purchase small {
  font-size: 10px;
  color: var(--muted);
}
.product-state {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.product-state:last-child {
  border: 0;
  padding-bottom: 0;
}
.product-state strong {
  font-size: 12px;
}
.product-state .tiny {
  font-size: 9px;
  color: var(--muted);
}
dl {
  margin: 10px 0;
  font-size: 11px;
}
dl > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 9px 0;
}
dt {
  color: var(--muted);
  flex: 1;
}
dd {
  margin: 0;
  text-align: right;
  flex: 1;
  overflow-wrap: anywhere;
}
.job {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.job strong {
  display: block;
  font-size: 12px;
  margin-top: 10px;
}
.job small {
  font-size: 9px;
  color: var(--muted);
}
.job p {
  font-size: 11px;
}
.change-item {
  margin: 16px 0;
}
.change-item > strong {
  font-size: 11px;
  line-height: 1.6;
}
.diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.5;
}
.diff > div {
  background: #f4f1e8;
  border-radius: 5px;
  padding: 10px;
  overflow-wrap: anywhere;
}
.diff > div:last-child {
  background: #eaf0db;
}
.diff small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 6px;
}
.decision {
  background: #fcf9ef;
}
.decision .badge {
  font-size: 9px;
}
.source-fact {
  margin-top: 15px;
  overflow-wrap: anywhere;
}
.source-fact small {
  font-size: 9px;
  color: var(--muted);
}
.source-fact p {
  font-size: 11px;
}
.technical pre,
pre {
  font-size: 10px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 500px;
  overflow: auto;
  background: #f1f2ea;
  border-radius: 7px;
  padding: 14px;
}
.composer {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 18px;
  margin-top: 22px;
}
.composer label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
}
.composer textarea {
  font-size: 12px;
}
.composer .row {
  margin-top: 12px;
}
.composer .tiny {
  font-size: 9px;
  max-width: 55%;
}
.composer button {
  font-size: 12px;
}
.future {
  font-size: 12px;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.future article {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.future time {
  font-size: 10px;
  display: block;
  color: var(--muted);
  margin-bottom: 5px;
}
.future strong {
  font-size: 11px;
}
.notice {
  background: #f1ecd9;
  padding: 18px;
  border-radius: 7px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.notice.warn {
  color: #845037;
  background: #f6e8da;
}
.notice details {
  font-size: 11px;
}
.notice p {
  font-size: 12px;
}
.state-body > .notice {
  margin: 15px;
}
.annotations {
  margin-top: 35px;
  max-width: 850px;
}
.annotations article {
  margin-top: 15px;
}
.reportcard h3 {
  margin-top: 20px;
}
.reportcard p {
  font-size: 12px;
}
.reportcard > small {
  font-size: 10px;
  color: var(--muted);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 25px 0;
}
.metrics strong {
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: 25px;
  display: block;
}
.metrics small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 4px;
}
.reportcard .button {
  font-size: 11px;
}
.login {
  width: min(480px, calc(100% - 35px));
  margin: 12vh auto;
  padding: 40px;
}
.login .brand {
  margin-bottom: 45px;
}
.login h1 {
  font-size: 40px;
}
.login .subhead {
  font-size: 14px;
}
.login form {
  margin-top: 25px;
}
.login-error,
#login-error {
  color: var(--red);
  font-size: 12px;
}
.login .primary {
  width: 100%;
  margin-top: 10px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest);
  color: white;
  padding: 14px 20px;
  border-radius: 8px;
  max-width: 90vw;
  z-index: 100;
  font-size: 13px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
  max-width: min(740px, calc(100% - 30px));
  width: 620px;
  color: var(--ink);
  background: var(--panel);
}
dialog::backdrop {
  background: #203d3655;
}
dialog > p {
  font-size: 13px;
}
dialog h2 {
  font-size: 20px;
}
dialog form {
  margin-top: 20px;
}
dialog .primary {
  margin-top: 15px;
}
.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;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  margin-top: 20px;
}
th,
td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.loading {
  padding: 15vh 10vw;
  color: var(--muted);
}
@media (min-width: 1600px) {
  .scenario-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .workspace {
    padding-left: 55px;
    padding-right: 55px;
  }
  .conversation-layout {
    gap: 40px;
    grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr);
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 185px;
    padding: 30px 14px;
  }
  .workspace {
    margin-left: 185px;
    padding: 0 24px 24px;
  }
  .scenario-grid,
  .report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .conversation-layout {
    gap: 18px;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr);
  }
  .run-title h1 {
    font-size: 28px;
  }
  .run-title h1 > span:last-child {
    font-size: 24px;
  }
  .clockbar .toolbar {
    gap: 6px;
  }
  .recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .state-section {
    padding: 16px;
  }
  .state-heading {
    padding: 17px 15px;
  }
  .message {
    max-width: 92%;
  }
}
@media (max-width: 899px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 17px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .sidebar nav {
    display: flex;
    margin: 0;
    gap: 8px;
  }
  .sidebar-bottom {
    display: none;
  }
  .navlink {
    padding: 9px;
    font-size: 11px;
  }
  .navlink span {
    display: none;
  }
  .workspace {
    margin-left: 0;
    padding: 0 22px 25px;
  }
  .topbar {
    height: 62px;
    margin-bottom: 24px;
  }
  .conversation-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr);
  }
  h1 {
    font-size: 39px;
  }
  .top-right {
    gap: 10px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    padding: 15px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 18px;
  }
  .brand small {
    font-size: 7px;
  }
  .mark {
    width: 28px;
    height: 31px;
    font-size: 23px;
  }
  .sidebar nav {
    gap: 3px;
  }
  .navlink {
    font-size: 10px;
    padding: 8px 7px;
  }
  .workspace {
    padding: 0 16px 24px;
  }
  .topbar {
    font-size: 10px;
    margin-bottom: 25px;
  }
  .top-right {
    gap: 8px;
  }
  .provider-pill {
    font-size: 9px;
    padding: 6px 8px;
  }
  .top-right .text {
    font-size: 10px;
  }
  h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .pagehead {
    margin: 25px 0 30px;
  }
  .subhead {
    font-size: 13px;
  }
  .sectionbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  h2 {
    font-size: 18px;
  }
  .filters {
    width: 100%;
  }
  .filters select {
    max-width: none;
    flex: 1;
    font-size: 10px;
  }
  .scenario-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }
  .scenario {
    padding: 21px;
  }
  .scenario h4 {
    margin-top: 16px;
  }
  .card-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .scenario p {
    font-size: 13px;
  }
  .card-history {
    font-size: 11px;
  }
  .batch-panel {
    padding: 18px;
  }
  .batch-panel .toolbar {
    width: 100%;
    gap: 10px;
  }
  .batch-panel .primary {
    flex: 1;
  }
  .recent-grid {
    grid-template-columns: 1fr 1fr;
  }
  .recent-card {
    padding: 13px;
  }
  .recent-card strong {
    font-size: 12px;
  }
  .recent-card .badge {
    font-size: 8px;
  }
  .run-title h1 {
    font-size: 29px;
  }
  .run-title h1 > span:last-child {
    display: block;
    font-size: 22px;
    margin-top: 8px;
  }
  .title-dot {
    display: none;
  }
  .run-title > .badge {
    font-size: 9px;
  }
  .run-title p {
    font-size: 11px;
  }
  .run-actions {
    gap: 10px;
    margin-bottom: 20px;
  }
  .run-actions button {
    font-size: 10px;
  }
  .clockbar {
    padding: 15px;
    gap: 15px;
  }
  .clockbar .toolbar {
    width: 100%;
    gap: 7px;
  }
  .clockbar button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .conversation-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .conversation-column > .sectionbar {
    flex-direction: row;
  }
  .message {
    max-width: 89%;
  }
  .message p {
    font-size: 13px;
  }
  .state-sticky {
    position: static;
  }
  .state-body {
    max-height: none;
    overflow: visible;
  }
  .state-column {
    scroll-margin-top: 16px;
  }
  .state-heading {
    padding: 20px;
  }
  .state-section {
    padding: 20px;
  }
  .state-section p {
    font-size: 13px;
  }
  .state-section h3 {
    font-size: 15px;
  }
  .history-controls button {
    font-size: 11px;
  }
  .state-heading select {
    font-size: 12px;
  }
  .diff {
    font-size: 12px;
  }
  .state-section dl {
    font-size: 12px;
  }
  .login {
    padding: 27px;
    margin: 8vh auto;
  }
  .login h1 {
    font-size: 35px;
  }
  .login .brand {
    margin-bottom: 30px;
  }
  dialog {
    padding: 20px;
  }
  .composer .row {
    align-items: flex-end;
  }
  .composer .tiny {
    max-width: 50%;
  }
  .sidebar .navlink.active {
    background: var(--lime);
  }
}
@media print {
  .sidebar,
  .topbar,
  .run-actions,
  .composer,
  .clockbar,
  .future,
  footer,
  .history-controls,
  #toast {
    display: none !important;
  }
  .workspace {
    margin: 0;
    padding: 10px;
  }
  .conversation-layout {
    display: block;
  }
  .state-sticky {
    position: static;
  }
  .state-body {
    max-height: none;
    overflow: visible;
  }
  .message,
  .state-section {
    break-inside: avoid;
  }
  .state-column {
    margin-top: 30px;
  }
  .conversation {
    overflow: visible;
  }
  body {
    background: white;
  }
}

.state-column {
  position: sticky;
  top: 18px;
}
.state-sticky {
  position: static;
}
@media (max-width: 700px) {
  .state-column {
    position: static;
  }
}
@media print {
  .state-column {
    position: static;
  }
}
