:root {
  --ink: #191816;
  --ink-soft: #4f4a42;
  --muted: #8a8174;
  --faint: #a39a8b;
  --paper: #f3efe6;
  --surface: #fffdf8;
  --surface-warm: #fbf7ef;
  --line: #ded7c9;
  --line-soft: #eee7db;
  --red: #c94f3d;
  --red-deep: #a83f30;
  --green: #1f3a2f;
  --gold: #c9a55c;
  --display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(90% 60% at 50% -10%, #fbf8f0 0%, transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
::selection {
  background: #e9c9b8;
  color: var(--ink);
}

.mt-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;
}
.mt-skip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}
.mt-skip:focus {
  transform: translateY(0);
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Site chrome */
.mt-site-head,
main,
.mt-site-foot {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.mt-site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 8px;
}
.mt-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  gap: 9px;
  color: var(--ink);
  font: 500 15px/1 var(--sans);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mt-mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--red);
  box-shadow: inset 0 -1px 0 #0000001f;
}
.mt-mark-play {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff8ec;
}
.mt-site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mt-site-nav a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.mt-site-nav a:hover {
  color: var(--ink);
}
.mt-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid #d8d0c1;
  border-radius: 999px;
  background: #fffdf8a8;
  color: #5f594f;
  font-size: 9px;
  letter-spacing: 0.06em;
}
.mt-live-pill span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4f8a62;
  box-shadow: 0 0 0 2px #4f8a6222;
}

/* Hero */
.mt-hero {
  max-width: 820px;
  padding: 28px 0 28px;
}
.mt-kicker {
  margin: 0 0 14px;
  color: var(--red-deep);
  font: 500 10px/1.2 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mt-hero h1 {
  max-width: 17ch;
  margin: 0;
  font: 400 clamp(40px, 5vw, 64px) / 0.97 var(--display);
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.mt-lede {
  max-width: 56ch;
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* App shell */
.mt-app {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  height: min(720px, calc(100vh - 238px));
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow:
    0 1px 0 #ffffffb3 inset,
    0 40px 90px -60px #19181673;
}
.mt-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 15px 12px 13px;
  border-right: 1px solid var(--line-soft);
  background: #f8f4eb;
}
.mt-sidebar-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 5px;
}
.mt-app-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--red);
}
.mt-app-name {
  color: var(--ink);
  font: 500 13px/1 var(--sans);
  letter-spacing: -0.02em;
}
.mt-new {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.mt-new:hover {
  background: #33302a;
}
.mt-history {
  display: grid;
  gap: 2px;
}
.mt-history-label {
  margin: 12px 8px 3px;
  color: var(--faint);
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mt-history-item {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 7px;
  color: #5f594f;
  font-size: 12px;
  text-decoration: none;
}
.mt-history-item:hover {
  background: #efe8db;
  color: var(--ink);
}
.mt-history-item.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px #1918160a;
}
.mt-history-item.is-active::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--red);
}
.mt-sidebar-foot {
  display: grid;
  gap: 10px;
  margin-top: auto;
}
.mt-plan {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  border: 1px solid #e4dccd;
  border-radius: 10px;
  background: var(--surface);
}
.mt-plan-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f8a62;
}
.mt-plan b {
  display: block;
  font: 600 10px/1.2 var(--sans);
}
.mt-plan small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.mt-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
  color: #5f594f;
  font-size: 11px;
}
.mt-avatar-sm {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #e7ddcb;
  color: #574f42;
  font: 600 9px/1 var(--sans);
}
.mt-profile-more {
  margin-left: auto;
  color: var(--faint);
  letter-spacing: 0.08em;
}

/* Chat */
.mt-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--surface);
}
.mt-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line-soft);
}
.mt-model {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.mt-model-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--green);
  color: #f7f1e3;
  font: 600 11px/1 var(--sans);
}
.mt-model-copy {
  min-width: 0;
}
.mt-model-copy b {
  display: block;
  font: 600 12px/1.2 var(--sans);
  letter-spacing: -0.01em;
}
.mt-model-copy small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}
.mt-model-chevron {
  margin-left: 1px;
  color: var(--faint);
  font-size: 11px;
}
.mt-head-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.mt-credit-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px 6px 8px;
  border: 1px solid #eadfc8;
  border-radius: 999px;
  background: #f8efdc;
  color: #4d3e22;
  white-space: nowrap;
}
.mt-coin {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f6e6b9, #c9a55c);
  box-shadow: 0 0 0 1px #b28a4333;
}
.mt-credit-chip b {
  font: 600 11px/1 var(--sans);
}
.mt-credit-chip small {
  margin-left: 3px;
  color: #8b7445;
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mt-icon-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #e6dece;
  border-radius: 9px;
  background: transparent;
  color: #6d675c;
  font-size: 12px;
  cursor: pointer;
}
.mt-icon-btn:hover {
  background: #f6f0e4;
  color: var(--ink);
}
.mt-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.mt-thread {
  width: min(720px, calc(100% - 44px));
  margin-inline: auto;
  padding: 22px 0 6px;
}
.mt-msg {
  display: flex;
  gap: 11px;
  margin-bottom: 19px;
}
.mt-msg-assistant {
  align-items: flex-start;
}
.mt-msg-user {
  justify-content: flex-end;
}
.mt-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 27px;
  height: 27px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green);
  color: #f7f1e3;
  font: 600 9px/1 var(--sans);
}
.mt-msg-body {
  max-width: 660px;
  color: #2a2824;
  font-size: 14px;
  line-height: 1.6;
}
.mt-msg-body p {
  margin: 0;
}
.mt-msg-user .mt-msg-body {
  max-width: 76%;
  padding: 10px 14px;
  border-radius: 16px 16px 5px 16px;
  background: #efe7d9;
}
.mt-msg-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  color: var(--faint);
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mt-msg-actions {
  font-size: 10px;
  letter-spacing: 0;
  opacity: 0.65;
}
.mt-system {
  width: fit-content;
  max-width: 100%;
  margin: 10px auto 15px;
  padding: 7px 11px;
  border: 1px solid #dbe4d7;
  border-radius: 999px;
  background: #eef3ea;
  color: #3f5a46;
  font: 500 9px/1.4 var(--mono);
  letter-spacing: 0.03em;
  text-align: center;
}
.mt-system[data-tone="reject"] {
  border-color: #eed4cd;
  background: #f8e9e5;
  color: #8f3f33;
}

/* Sponsored film */
.mt-ad {
  margin: 23px 0 6px;
  overflow: hidden;
  border: 1px solid #e2dacb;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 44px -36px #19181680;
}
.mt-ad-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 13px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-warm);
}
.mt-ad-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7b7466;
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mt-ad-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.mt-ad-why {
  min-height: 32px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.mt-ad-why:hover {
  color: var(--ink);
}
matinee-card {
  display: block;
  width: 100%;
  --mt-radius: 0px;
  --mt-line: transparent;
  --mt-stage-ratio: 16 / 9;
  --mt-accent: var(--red);
}
.mt-ad-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
}
.mt-ad-brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
}
.mt-ad-brand-mark {
  color: var(--green);
  font: 400 19px/1 var(--display);
  letter-spacing: -0.04em;
}
.mt-ad-brand-copy {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mt-ad-scope {
  flex: none;
  color: #9a8a6a;
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mt-transcript {
  padding: 0 14px 10px;
  border-top: 1px solid #f0e9dd;
}
.mt-transcript summary {
  display: flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.mt-transcript summary::-webkit-details-marker {
  display: none;
}
.mt-transcript summary::after {
  content: "+";
  margin-left: auto;
  color: var(--faint);
  font-size: 13px;
}
.mt-transcript[open] summary::after {
  content: "−";
}
.mt-transcript p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.mt-transcript-note {
  color: var(--faint) !important;
}

/* Composer */
.mt-composer-wrap {
  padding: 8px 24px 15px;
  background: linear-gradient(transparent, var(--surface) 24%);
}
.mt-composer {
  width: min(720px, 100%);
  margin-inline: auto;
}
.mt-composer-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid #ddd5c5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px -20px #19181659;
}
.mt-composer-row input {
  flex: 1;
  min-width: 0;
  height: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.mt-composer-row input::placeholder {
  color: var(--faint);
}
.mt-composer-row input:disabled {
  cursor: not-allowed;
}
.mt-composer-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
}
.mt-composer-icon:hover {
  background: #f6f0e4;
  color: var(--ink);
}
.mt-send {
  flex: none;
  min-width: 52px;
  height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: #f7f1e3;
  font: 600 11px/1 var(--sans);
  cursor: pointer;
}
.mt-send:hover {
  background: #2b4b3d;
}
.mt-send:disabled {
  background: #ded7c9;
  color: var(--muted);
  cursor: not-allowed;
}
.mt-composer-note {
  width: min(720px, 100%);
  margin: 7px auto 0;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}
.mt-composer-note span {
  color: var(--muted);
}

/* Footer */
.mt-site-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding: 22px 0 40px;
  border-top: 1px solid #e2dacb;
}
.mt-site-foot p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.mt-site-foot nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 14px;
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mt-site-foot button,
.mt-site-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  cursor: pointer;
}
.mt-site-foot button:hover,
.mt-site-foot a:hover {
  color: var(--ink);
}

/* Dialogs */
.mt-dialog {
  width: min(780px, calc(100% - 32px));
  max-height: min(86vh, 780px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px #191816cc;
}
.mt-dialog::backdrop {
  background: #1918168c;
  backdrop-filter: blur(3px);
}
.mt-dialog-wide {
  width: min(900px, calc(100% - 32px));
}
.mt-dialog-small {
  width: min(580px, calc(100% - 32px));
}
.mt-dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 21px;
  border-bottom: 1px solid var(--line-soft);
  background: #fffdf8f2;
  backdrop-filter: blur(8px);
}
.mt-dialog-head h2 {
  margin: 0;
  font: 400 30px/1 var(--display);
  letter-spacing: -0.04em;
}
.mt-dialog-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #e4dccd;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.mt-dialog-close:hover {
  background: #f6f0e4;
  color: var(--ink);
}
.mt-dialog-body {
  padding: 20px 21px 24px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}
.mt-dialog-body p {
  margin: 0 0 12px;
}
.mt-dialog-note {
  margin-top: 16px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 11px;
}
.mt-dialog-note a {
  color: var(--ink);
}
.mt-how {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}
.mt-how dt {
  color: var(--red-deep);
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mt-how dd {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}
.mt-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.mt-dialog-actions button,
.mt-code-head button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #ddd5c5;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.mt-dialog-actions button:hover,
.mt-code-head button:hover {
  background: #f6f0e4;
  color: var(--ink);
}
.mt-dialog-actions button:disabled,
.mt-code-head button:disabled {
  color: var(--faint);
  cursor: not-allowed;
}
.mt-inspect-grid,
.mt-snippets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.mt-snippets {
  margin-top: 18px;
}
.mt-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}
.mt-code-head h3,
.mt-snippets h3 {
  margin: 0;
  color: var(--ink);
  font: 600 10px/1.2 var(--sans);
}
.mt-code-head span {
  color: var(--faint);
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mt-events ol {
  min-height: 190px;
  max-height: 260px;
  margin: 0;
  padding: 8px 10px;
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fbf8f1;
  list-style: none;
}
.mt-events li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 2px 8px;
  padding: 4px 0;
  border-bottom: 1px solid #f0e9dd;
  color: var(--ink-soft);
  font: 500 9px/1.3 var(--mono);
}
.mt-events li:last-child {
  border-bottom: 0;
}
.mt-trace-time {
  color: var(--faint);
}
.mt-trace-type {
  color: var(--ink);
}
.mt-trace-detail {
  grid-column: 2;
  color: var(--muted);
}
.mt-events .mt-empty {
  display: block;
  color: var(--faint);
  border: 0;
}
.mt-replay-note {
  min-height: 17px;
  margin: 7px 0 0;
  color: var(--muted);
  font: 500 9px/1.4 var(--mono);
}
.mt-replay-note[data-state="error"] {
  color: var(--red-deep);
}
.mt-receipt pre {
  min-height: 190px;
  max-height: 260px;
  margin: 0;
  padding: 10px;
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fbf8f1;
  color: var(--ink-soft);
  font: 500 9px/1.45 var(--mono);
  white-space: pre-wrap;
  word-break: break-word;
}
.mt-snippets pre {
  margin: 0;
  padding: 11px;
  overflow: auto;
  border-radius: 10px;
  background: #1d1c18;
  color: #e9e4d8;
  font: 500 9px/1.5 var(--mono);
  white-space: pre;
}
.mt-noscript {
  max-width: 60ch;
  margin: 20px auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .mt-app {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .mt-hero h1 {
    font-size: clamp(38px, 5.4vw, 54px);
  }
  .mt-ad-brand-copy {
    max-width: 260px;
  }
}

@media (max-width: 820px) {
  .mt-site-head,
  main,
  .mt-site-foot {
    width: min(100% - 30px, 720px);
  }
  .mt-site-head {
    padding-top: 16px;
  }
  .mt-hero {
    padding: 22px 0 20px;
  }
  .mt-hero h1 {
    font-size: clamp(36px, 8vw, 48px);
  }
  .mt-lede {
    font-size: 13px;
  }
  .mt-app {
    grid-template-columns: minmax(0, 1fr);
    height: calc(100svh - 150px);
    min-height: 620px;
    border-radius: 16px;
  }
  .mt-sidebar {
    display: none;
  }
  .mt-chat-head {
    min-height: 58px;
    padding: 0 14px;
  }
  .mt-thread {
    width: calc(100% - 28px);
    padding-top: 17px;
  }
  .mt-msg-body {
    font-size: 13.5px;
  }
  .mt-ad {
    border-radius: 15px;
  }
  .mt-ad-brand-copy {
    max-width: 210px;
  }
  .mt-composer-wrap {
    padding: 7px 12px 11px;
  }
  .mt-composer-note {
    font-size: 8px;
  }
  .mt-site-foot {
    flex-direction: column;
    gap: 14px;
    padding-bottom: 30px;
  }
  .mt-how,
  .mt-inspect-grid,
  .mt-snippets {
    grid-template-columns: minmax(0, 1fr);
  }
  .mt-dialog-body {
    padding: 16px 16px 20px;
  }
  .mt-dialog-head {
    padding: 14px 16px;
  }
  .mt-dialog-head h2 {
    font-size: 25px;
  }
}

@media (max-width: 520px) {
  .mt-site-nav {
    gap: 11px;
    font-size: 9px;
  }
  .mt-live-pill {
    display: none;
  }
  .mt-hero h1 {
    font-size: clamp(33px, 10.5vw, 42px);
  }
  .mt-kicker {
    font-size: 9px;
  }
  .mt-lede {
    font-size: 12px;
  }
  .mt-app {
    height: calc(100svh - 130px);
    min-height: 600px;
  }
  .mt-model-copy small {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mt-icon-btn {
    display: none;
  }
  .mt-msg-user .mt-msg-body {
    max-width: 86%;
  }
  .mt-ad-brand-copy {
    max-width: 150px;
  }
  .mt-ad-scope {
    display: none;
  }
  .mt-ad-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .mt-composer-icon[aria-label="Attach a file"],
  .mt-composer-icon[aria-label="Voice input"] {
    display: none;
  }
  .mt-composer-row {
    padding: 6px;
  }
  .mt-send {
    min-width: 48px;
  }
  .mt-site-foot nav {
    gap: 2px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
