@font-face {
  font-family: LocalSystem;
  src: local("Inter"), local("SF Pro Display");
}
* {
  box-sizing: border-box;
}
:root {
  --ink: #20251f;
  --paper: #f6f7f2;
  --muted: #70766b;
  --line: #dfe3d8;
  --lime: #dfff72;
  --green: #244b39;
  --pink: #f6c7d9;
  --blue: #dbe9f3;
  --radius: 20px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    LocalSystem,
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #668842;
  outline-offset: 4px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #789443;
  outline-offset: 1px;
}
input,
select,
textarea {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 11px 13px;
  color: var(--ink);
}
textarea {
  resize: vertical;
  width: 100%;
}
.hidden {
  display: none !important;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  margin: auto;
  padding: 23px 44px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 23px;
  letter-spacing: -1px;
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 450;
  padding-top: 6px;
}
.topbar nav {
  display: flex;
  gap: 5px;
}
.nav {
  padding: 9px 20px;
  color: var(--muted);
  border-radius: 30px;
}
.nav.active {
  background: var(--ink);
  color: white;
}
.settings-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 10px 15px;
  border-radius: 25px;
}
.status-dot,
.tiny-dot {
  height: 6px;
  width: 6px;
  background: #668843;
  border-radius: 50%;
  display: inline-block;
}
.tiny-dot {
  margin-right: 5px;
}
main {
  max-width: 1360px;
  margin: auto;
  padding: 0 42px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 42px 0 28px;
}
.eyebrow {
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 650;
  color: var(--muted);
}
h1 {
  font-size: 39px;
  letter-spacing: -1.4px;
  line-height: 1.35;
  margin: 12px 0 10px;
  font-weight: 650;
}
h1 span {
  color: #69863e;
}
.intro p,
.page-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.intro-stamp {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-right: 6px;
}
.intro-stamp > span {
  font-size: 45px;
  font-weight: 450;
  letter-spacing: -3px;
  line-height: 1;
}
.intro-stamp small {
  max-width: 74px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 1px;
}
.lab-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
}
.collision-main {
  min-width: 0;
}
.chamber {
  position: relative;
  background: #eef1e5;
  border: 1px solid #dce2cf;
  border-radius: 22px;
  height: 308px;
  overflow: hidden;
  isolation: isolate;
}
.chamber-top,
.chamber-bottom {
  position: absolute;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 1px;
  color: #68735b;
}
.chamber-top {
  top: 17px;
}
.chamber-bottom {
  bottom: 16px;
  letter-spacing: 0;
}
.chamber-bottom > span {
  max-width: 65%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#particles {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.orbit-art {
  position: absolute;
  inset: 17px 0 0;
  width: 100%;
  height: 270px;
  stroke: #c4ceb3;
  fill: none;
  stroke-width: 1;
}
.orbit-art .axis {
  stroke-dasharray: 2 6;
  stroke: #cdd4c0;
}
.orbit-art .nucleus {
  fill: var(--lime);
  stroke: var(--ink);
  stroke-width: 1.5;
}
.orbit-art .cross {
  stroke: var(--ink);
  stroke-width: 3;
}
.concept-pair {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr);
  gap: 20px;
  padding: 82px 34px 0;
}
.concept-input {
  border: 1px solid #bcc6ad;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f9fbf3e8;
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 15px 17px;
  box-shadow: 0 7px 0 -5px #d5ddc8;
  transition: transform 0.6s cubic-bezier(0.5, 0, 0.5, 1);
}
.concept-input.target {
  background: #f8e7eef2;
  border-color: #debdcb;
}
.concept-input > span {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
.concept-input input {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 3px;
  padding: 12px 0;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.8px;
  width: 100%;
  outline-offset: 5px;
}
.concept-input small {
  font-size: 10px;
  opacity: 0.65;
  height: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pair-x {
  visibility: hidden;
}
.colliding .source {
  transform: translateX(110px) scale(0.65);
}
.colliding .target {
  transform: translateX(-110px) scale(0.65);
}
.text-btn {
  font-size: 12px;
  text-align: left;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
}
.text-btn:hover {
  border-bottom-color: currentColor;
}
.text-btn > span {
  font-size: 17px;
  margin-left: 10px;
}
.controls {
  background: #fff;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 0 0 20px 20px;
  margin-top: -12px;
  padding-top: 30px;
}
.energy-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  margin-bottom: 12px;
}
.energy-caption small {
  color: var(--muted);
  font-size: 10px;
}
.energy-control {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 5px;
  border-radius: 12px;
  gap: 5px;
  background: #f1f3ec;
}
.energy-control button {
  border-radius: 8px;
  padding: 8px 3px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.energy-control button small {
  display: block;
  letter-spacing: 0;
  font-size: 9px;
  color: var(--muted);
}
.energy-control button.active {
  background: var(--lime);
  box-shadow: 0 1px 2px #0000000a;
}
.energy-control button:hover:not(.active) {
  background: #e4e8db;
}
.launch-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}
.mode-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}
.mode-switch input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}
.launch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 42px;
  background: var(--ink);
  color: white;
  border-radius: 11px;
  padding: 13px 21px;
  min-width: 190px;
  font-weight: 500;
}
.launch:hover {
  background: var(--green);
}
.launch > span:last-child {
  color: var(--lime);
  font-size: 20px;
}
.launch.small {
  min-width: 0;
  gap: 15px;
  padding: 11px 17px;
  font-size: 12px;
}
.stop {
  padding: 13px 18px;
  background: var(--pink);
  border-radius: 10px;
}
.transport-note {
  font-size: 10px;
  color: var(--muted);
  margin: 12px 0 0;
}
.transport-note:empty {
  display: none;
}
.parent-context {
  padding: 12px;
  background: var(--blue);
  border-radius: 10px;
  margin-top: 14px;
  font-size: 12px;
}
.examples {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 17px 3px;
  font-size: 10px;
  color: var(--muted);
}
.examples button {
  font-size: 10px;
  border-bottom: 1px solid #cdd5c1;
  padding: 2px 0;
}
.side-note {
  padding: 23px 26px;
  border-radius: 20px;
  background: var(--lime);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.side-number {
  font-size: 39px;
  line-height: 1;
}
.side-note h2 {
  font-size: 22px;
  font-weight: 550;
  line-height: 1.7;
  letter-spacing: -0.6px;
  margin: 14px 0 12px;
}
.side-note p {
  font-size: 12px;
  line-height: 1.95;
  color: #485332;
  margin: 0;
}
.side-divider {
  height: 1px;
  width: 100%;
  background: #b9d154;
  margin: 22px 0;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 17px;
  font-size: 12px;
}
.step b {
  font-size: 10px;
  border: 1px solid #859c40;
  border-radius: 50%;
  height: 23px;
  width: 23px;
  text-align: center;
  line-height: 22px;
  font-weight: 500;
}
.step small {
  display: block;
  font-size: 10px;
  color: #617235;
  margin-top: 2px;
}
.side-note > .text-btn {
  margin-top: auto;
}
.provenance {
  font-size: 10px;
  line-height: 1.7;
  color: #56642d;
  padding-top: 10px;
}
.result-section {
  margin: 34px 0 30px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 26px 0 16px;
}
.section-heading h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
  margin: 5px 0;
  font-weight: 550;
}
.result-actions {
  display: flex;
  gap: 8px;
}
.outline {
  border: 1px solid #d3d9cb;
  background: transparent;
  border-radius: 9px;
  padding: 9px 14px;
  font-size: 12px;
  white-space: nowrap;
}
.outline:hover {
  background: #e9eee0;
}
.link-btn {
  display: inline-flex;
  align-items: center;
}
.progress-row {
  font-size: 11px;
  display: flex;
  gap: 18px;
  color: var(--green);
  padding: 8px 0;
  flex-wrap: wrap;
}
.progress-row:empty {
  display: none;
}
.result-warning {
  color: #727b66;
  font-size: 11px;
  margin: 0 0 12px;
}
.result-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.result-tabs button {
  font-size: 12px;
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.result-tabs button.active {
  color: var(--ink);
  border-color: var(--ink);
}
.result-tabs span {
  font-size: 10px;
  margin-left: 5px;
}
.result-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.fragment-field {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  align-content: start;
}
.fragment {
  border: 1px solid var(--line);
  background: white;
  border-radius: 13px;
  padding: 13px 12px;
  text-align: left;
  min-height: 82px;
  transition:
    transform 0.16s,
    border-color 0.16s;
  animation: appear 0.28s both;
}
.fragment:nth-child(5n + 1) {
  background: #eaf0de;
}
.fragment:nth-child(5n + 2) {
  background: #f3e5ed;
}
.fragment:nth-child(5n + 3) {
  background: #e6eef4;
}
.fragment:nth-child(5n + 4) {
  background: #f6efdd;
}
.fragment:hover {
  transform: translateY(-3px);
  border-color: #778567;
}
.fragment.selected {
  border: 2px solid var(--green);
  padding: 12px 11px;
}
.fragment .fragment-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #748067;
  margin-bottom: 5px;
}
.fragment strong {
  font-size: 11px;
  line-height: 1.5;
  display: block;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.fragment-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 23px;
  align-self: start;
  position: sticky;
  top: 20px;
  min-height: 235px;
}
.fragment-detail h3 {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 550;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
.fragment-detail p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.95;
}
.fragment-detail .launch {
  width: 100%;
  font-size: 12px;
  min-width: 0;
  margin-top: 20px;
}
.detail-map {
  padding: 12px;
  background: #f3f6ec;
  border-radius: 9px;
  font-size: 11px;
  color: #526044;
  margin-top: 8px;
}
.mapping-list {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.mapping-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.mapping-pair {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}
.mapping-pair span {
  color: #809c50;
}
.mapping-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.mapping-card .limit {
  font-size: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #8b6d67;
}
.idea-list {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.idea-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 15px;
  padding: 24px;
}
.idea-card h3 {
  font-size: 19px;
  line-height: 1.55;
  font-weight: 550;
}
.idea-card h4 {
  font-size: 11px;
  letter-spacing: 1px;
  color: #587440;
  margin: 22px 0 6px;
}
.idea-card p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}
.stream-details {
  margin-top: 20px;
  color: var(--muted);
  font-size: 10px;
}
.stream-details pre {
  background: #e9eee1;
  border-radius: 9px;
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 240px;
  overflow: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 46px 0 28px;
}
.library-toolbar {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.library-toolbar input {
  flex: 1;
  min-width: 200px;
}
.dark-btn {
  background: var(--green);
  color: white;
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 12px;
}
.muted {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
  max-height: 580px;
  overflow: auto;
  padding: 0 6px 8px 0;
}
.concept-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 17px;
}
.concept-card h3 {
  margin: 3px 0 8px;
  font-weight: 550;
  font-size: 17px;
}
.concept-card .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
}
.concept-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 8px 0;
}
.concept-card button {
  font-size: 11px;
  margin-top: 10px;
  color: var(--green);
}
.enrich-panel {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  padding: 40px 0;
}
.enrich-panel h2 {
  font-weight: 550;
}
.enrich-panel p {
  color: var(--muted);
  font-size: 12px;
}
.enrich-panel textarea {
  margin: 13px 0;
}
.search-row {
  display: flex;
  gap: 8px;
}
.search-row input {
  flex: 1;
}
.source-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
}
.source-item p {
  font-size: 11px;
  margin: 5px 0;
}
.source-item a {
  color: var(--green);
  font-size: 12px;
}
.experiment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.experiment-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}
.experiment-card h2 {
  font-weight: 550;
  font-size: 23px;
}
.experiment-card p {
  font-size: 12px;
  color: var(--muted);
}
.experiment-card label {
  font-size: 12px;
}
.experiment-card label input {
  width: 60px;
  padding: 8px;
}
.experiment-card .dark-btn {
  margin: 12px 8px 12px 0;
}
.pill {
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 10px;
  background: var(--lime);
}
.pill.pink {
  background: var(--pink);
}
.metric-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.metric-row > span:first-child {
  flex: 1;
}
.metric-row b {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.history-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  min-height: 100px;
}
.history-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 19px;
}
.history-item h3 {
  font-weight: 550;
  font-size: 16px;
}
.history-item p {
  font-size: 11px;
  color: var(--muted);
}
.history-item button {
  font-size: 12px;
}
.blind-card {
  padding: 15px;
  background: var(--paper);
  border-radius: 10px;
  margin-top: 12px;
}
.blind-card h3 {
  font-size: 16px;
}
.blind-card label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 4px;
}
.blind-card input {
  width: 44px !important;
}
.blind-card p {
  font-size: 11px;
}
footer {
  max-width: 1360px;
  margin: 60px auto 0;
  padding: 23px 42px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
dialog {
  width: min(820px, calc(100% - 24px));
  max-height: 90vh;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: #20251f70;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.dialog-head h2 {
  font-size: 27px;
  font-weight: 550;
  margin: 6px 0;
}
.icon-btn {
  font-size: 27px;
  width: 35px;
  height: 35px;
  line-height: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.settings-note {
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.provider-section {
  border-bottom: 1px solid var(--line);
  padding: 12px 0 20px;
}
.provider-section h3 {
  font-size: 15px;
  font-weight: 550;
  margin: 12px 0;
}
.provider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.provider-grid label {
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
}
.provider-grid .wide {
  grid-column: 1/-1;
}
.provider-grid input,
.provider-grid select {
  font-size: 12px;
  width: 100%;
}
.provider-grid .model-row {
  display: flex;
  gap: 8px;
}
.provider-grid .model-row input {
  flex: 1;
}
.provider-grid .model-row button {
  white-space: nowrap;
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 9px;
}
.provider-description {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 12px;
}
.settings-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 14px 21px;
  z-index: 1000;
  max-width: calc(100% - 30px);
  font-size: 12px;
  box-shadow: 0 6px 30px #0002;
}
.error {
  color: #a24750 !important;
}
.busy {
  opacity: 0.6;
}
progress {
  display: block;
  width: 100%;
  height: 8px;
  accent-color: var(--green);
  margin: 18px 0;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  main {
    padding: 0 64px;
  }
  .topbar {
    padding: 25px 65px;
  }
  .intro {
    margin-top: 50px;
  }
  .chamber {
    height: 328px;
  }
  .concept-pair {
    padding-top: 94px;
  }
  .orbit-art {
    height: 295px;
  }
}
@media (max-width: 1100px) {
  main {
    padding: 0 26px;
  }
  .topbar {
    padding: 20px 26px;
  }
  .lab-layout {
    grid-template-columns: minmax(0, 1fr) 222px;
    gap: 18px;
  }
  .side-note {
    padding: 22px;
  }
  .concept-pair {
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
    gap: 12px;
    padding-left: 22px;
    padding-right: 22px;
  }
  .concept-input input {
    font-size: 22px;
  }
  .fragment-field {
    grid-template-columns: repeat(3, 1fr);
  }
  .result-panel {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .library-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .topbar {
    padding: 17px 20px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 20px;
  }
  .topbar nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 8px;
  }
  .topbar .nav {
    font-size: 12px;
    padding: 8px 18px;
  }
  main {
    padding: 0 20px;
  }
  .intro {
    margin: 28px 0 22px;
  }
  h1 {
    font-size: 31px;
    letter-spacing: -1px;
  }
  .intro-stamp {
    display: none;
  }
  .lab-layout {
    grid-template-columns: 1fr;
  }
  .side-note {
    display: none;
  }
  .chamber {
    height: 282px;
  }
  .concept-pair {
    padding-top: 78px;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    gap: 8px;
  }
  .concept-input {
    padding: 13px;
  }
  .concept-input input {
    font-size: 21px;
  }
  .orbit-art {
    height: 257px;
    inset: 11px 0 0;
  }
  .chamber-top {
    font-size: 8px;
  }
  .chamber-bottom {
    font-size: 9px;
  }
  .result-panel {
    grid-template-columns: 1fr;
  }
  .fragment-field {
    grid-template-columns: repeat(4, 1fr);
  }
  .fragment-detail {
    position: static;
    min-height: 0;
  }
  .mapping-list {
    grid-template-columns: 1fr;
  }
  .idea-list {
    grid-template-columns: 1fr;
  }
  .page-heading {
    margin-top: 27px;
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading > .launch,
  .page-heading > .outline {
    font-size: 10px;
    padding: 9px;
  }
  .library-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .enrich-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .experiment-grid {
    grid-template-columns: 1fr;
  }
  .history-list {
    grid-template-columns: 1fr 1fr;
  }
  footer {
    padding: 20px;
    flex-wrap: wrap;
    margin-top: 35px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  .provider-grid {
    grid-template-columns: 1fr;
  }
  .provider-grid .wide {
    grid-column: auto;
  }
  .colliding .source {
    transform: translateX(65px) scale(0.65);
  }
  .colliding .target {
    transform: translateX(-65px) scale(0.65);
  }
}
@media (max-width: 480px) {
  .concept-pair {
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
    padding: 76px 13px 0;
  }
  .concept-input {
    padding: 11px;
  }
  .concept-input input {
    font-size: 18px;
    letter-spacing: -0.7px;
  }
  .concept-input > span,
  .concept-input small {
    font-size: 8px;
  }
  .chamber-bottom {
    left: 14px;
    right: 14px;
  }
  .chamber-bottom > span {
    max-width: 52%;
  }
  .chamber-top {
    left: 14px;
    right: 14px;
    letter-spacing: 0.2px;
  }
  .controls {
    padding: 22px 16px 20px;
  }
  .energy-control button {
    font-size: 9px;
  }
  .energy-control button small {
    font-size: 8px;
  }
  .energy-caption small {
    font-size: 9px;
    max-width: 64%;
    text-align: right;
  }
  .launch {
    min-width: 155px;
    padding: 11px 16px;
  }
  .mode-switch {
    font-size: 11px;
  }
  .intro .eyebrow {
    font-size: 8px;
  }
  .intro p {
    font-size: 12px;
  }
  h1 {
    font-size: 28px;
  }
  .fragment-field {
    grid-template-columns: repeat(2, 1fr);
  }
  .fragment {
    min-height: 75px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .result-actions .outline {
    padding: 7px 9px;
    font-size: 10px;
  }
  .result-tabs {
    gap: 20px;
  }
  .library-toolbar > button {
    font-size: 10px;
    padding: 9px;
  }
  .history-list {
    grid-template-columns: 1fr;
  }
  .library-grid {
    gap: 8px;
  }
  .concept-card {
    padding: 13px;
  }
  .concept-card h3 {
    font-size: 15px;
  }
  .concept-card p {
    font-size: 10px;
  }
  .search-row {
    flex-wrap: wrap;
  }
  .search-row input {
    width: 100%;
  }
  dialog {
    padding: 20px;
  }
  .settings-bottom {
    gap: 8px;
  }
  .settings-bottom button {
    font-size: 10px;
  }
  .page-heading {
    gap: 12px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 230px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .colliding .source,
  .colliding .target {
    transform: none;
  }
}
