:root {
  color-scheme: light;
  --canvas: #f3f5f1;
  --paper: #fbfcf9;
  --ink: #17211e;
  --muted: #6b7772;
  --line: rgba(23, 33, 30, 0.12);
  --line-strong: rgba(23, 33, 30, 0.2);
  --green: #2f735e;
  --green-deep: #1e5645;
  --green-soft: #dcece4;
  --lime: #c8f27b;
  --blue: #496cff;
  --orange: #df8b4b;
  --purple: #8d6bd6;
  --shadow: 0 24px 70px rgba(27, 49, 41, 0.11);
  --shadow-soft: 0 12px 32px rgba(27, 49, 41, 0.08);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 82% 4%, rgba(200, 242, 123, 0.27), transparent 23rem),
    radial-gradient(circle at 5% 34%, rgba(89, 142, 119, 0.1), transparent 28rem),
    var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
textarea,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(73, 108, 255, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  opacity: 0;
  transform: translateY(-150%);
  transition: 160ms ease;
}

.skip-link:focus {
  opacity: 1;
  transform: translateY(0);
}

.demo-disclosure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 20px;
  background: #17392f;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-align: center;
}

.demo-disclosure strong {
  color: var(--lime);
}

.demo-disclosure__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(200, 242, 123, 0.12);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--lime);
  font-size: 1.15rem;
  font-weight: 950;
  box-shadow: 0 9px 22px rgba(23, 33, 30, 0.18);
}

.brand > span:last-child {
  display: grid;
  line-height: 1.15;
}

.brand strong {
  font-size: 0.92rem;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.back-link {
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.back-link:hover {
  border-color: var(--green);
  background: #fff;
  transform: translateY(-2px);
}

main {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 72px;
  align-items: end;
  padding: 86px 0 62px;
}

.eyebrow,
.panel-kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.intro h1 {
  max-width: 850px;
  margin: 17px 0 24px;
  font-size: clamp(3rem, 6vw, 5.85rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.intro__lead {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.boundary-card {
  position: relative;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(47, 115, 94, 0.2);
  border-radius: 22px;
  background: rgba(251, 252, 249, 0.8);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.boundary-card::after {
  position: absolute;
  top: -46px;
  right: -38px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(200, 242, 123, 0.25);
  content: "";
}

.boundary-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
}

.boundary-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.boundary-card__head div {
  display: grid;
}

.boundary-card__head strong {
  font-size: 0.95rem;
}

.boundary-card__head span:last-child {
  color: var(--muted);
  font-size: 0.72rem;
}

.boundary-card ul {
  display: grid;
  gap: 9px;
  margin: 21px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.boundary-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4d5b56;
  font-size: 0.76rem;
  font-weight: 700;
}

.boundary-card li span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.workspace {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  min-height: 920px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.control-panel {
  padding: 28px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(rgba(248, 250, 246, 0.94), rgba(248, 250, 246, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(23, 33, 30, 0.04) 35px 36px);
}

.panel-heading,
.history-heading,
.result-header,
.section-label,
.analysis-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.panel-heading h2,
.history-heading h2,
.result-header h2,
.analysis-card h3,
.section-label h3 {
  margin: 4px 0 0;
  letter-spacing: -0.03em;
}

.panel-heading h2,
.history-heading h2 {
  font-size: 1.25rem;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.64rem;
  font-weight: 850;
}

.live-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 115, 94, 0.11);
}

.demo-form {
  margin-top: 25px;
}

.demo-form > label,
.mode-picker legend {
  display: block;
  margin-bottom: 8px;
  color: #43504c;
  font-size: 0.72rem;
  font-weight: 800;
}

.demo-form textarea {
  display: block;
  width: 100%;
  min-height: 108px;
  resize: vertical;
  padding: 14px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.6;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.demo-form textarea::placeholder {
  color: #98a29e;
}

.demo-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 115, 94, 0.1);
  outline: 0;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 21px;
  color: var(--muted);
  font-size: 0.65rem;
}

.privacy-note span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
}

.mode-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
}

.mode-picker legend {
  grid-column: 1 / -1;
}

.mode-picker label {
  cursor: pointer;
}

.mode-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-picker span {
  display: grid;
  place-items: center;
  min-height: 39px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  text-align: center;
  transition: 160ms ease;
}

.mode-picker input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 33, 30, 0.15);
}

.mode-picker input:focus-visible + span {
  outline: 3px solid rgba(73, 108, 255, 0.55);
  outline-offset: 2px;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 51px;
  margin-top: 16px;
  padding: 0 17px;
  border: 0;
  border-radius: 13px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(47, 115, 94, 0.22);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover:not(:disabled) {
  background: var(--green-deep);
  box-shadow: 0 16px 34px rgba(47, 115, 94, 0.28);
  transform: translateY(-2px);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.primary-button i {
  font-size: 1.15rem;
  font-style: normal;
}

.simulation-status {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.65rem;
}

.simulation-status__bar {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 33, 30, 0.09);
}

.simulation-status__bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 360ms ease;
}

.history-heading {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

#history-count {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
}

.history-list {
  display: grid;
  gap: 9px;
  margin-top: 15px;
}

.history-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.history-item:hover,
.history-item.is-active {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(27, 49, 41, 0.06);
}

.history-item:hover {
  transform: translateX(3px);
}

.history-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 50px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--thumb), #1e2825);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 950;
}

.history-thumb::after {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 25px;
  height: 25px;
  border: 5px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.history-copy {
  min-width: 0;
}

.history-copy strong,
.history-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-copy strong {
  font-size: 0.73rem;
  line-height: 1.45;
}

.history-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.61rem;
}

.result-panel {
  min-width: 0;
  padding: 35px;
  background:
    radial-gradient(circle at 100% 0, rgba(200, 242, 123, 0.17), transparent 21rem),
    var(--paper);
}

.result-header {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.result-header h2 {
  max-width: 760px;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.15;
}

.result-status {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(47, 115, 94, 0.2);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.66rem;
  font-weight: 850;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 -35px;
  padding: 0 35px;
  border-bottom: 1px solid var(--line);
}

.metrics > div {
  display: grid;
  gap: 5px;
  padding: 20px 18px;
  border-right: 1px solid var(--line);
}

.metrics > div:first-child {
  padding-left: 0;
}

.metrics > div:last-child {
  border-right: 0;
}

.metrics span {
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
}

.metrics strong {
  overflow: hidden;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-top: 26px;
}

.media-card,
.summary-card,
.analysis-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(27, 49, 41, 0.055);
}

.media-card,
.summary-card {
  padding: 18px;
}

.section-label h3,
.analysis-card h3 {
  font-size: 0.95rem;
}

.section-label > span {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
}

.mock-media {
  position: relative;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 14px;
  background: #17211e;
  aspect-ratio: 16 / 8.2;
}

.mock-media__glow {
  position: absolute;
  top: -42%;
  right: -8%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mock-accent, var(--green));
  filter: blur(80px);
  opacity: 0.7;
}

.mock-media__frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background:
    linear-gradient(100deg, rgba(14, 25, 21, 0.9), rgba(14, 25, 21, 0.25)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px);
  color: #fff;
}

.mock-media__badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: var(--lime);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mock-media strong {
  max-width: 420px;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.mock-media p {
  margin: 5px 0 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
}

.mock-media__timeline {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.mock-media__timeline span {
  display: block;
  width: 37%;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
}

.mock-media__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.mock-media__controls span {
  font-size: 0.65rem;
}

.mock-media__controls small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.56rem;
}

.summary-card {
  display: flex;
  flex-direction: column;
}

.summary-card > p {
  margin: 24px 0 18px;
  color: #3e4a46;
  font-size: 0.8rem;
  line-height: 1.8;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.tag-list span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f0f3ee;
  color: #5a6762;
  font-size: 0.59rem;
  font-weight: 750;
}

.analysis-card {
  margin-top: 18px;
  overflow: hidden;
}

.analysis-card__head {
  padding: 19px 20px;
}

.fake-data-mark {
  padding: 6px 8px;
  border: 1px solid rgba(223, 139, 75, 0.25);
  border-radius: 7px;
  background: rgba(223, 139, 75, 0.09);
  color: #9b5929;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.tabs {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  padding: 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  position: relative;
  flex: 0 0 auto;
  padding: 13px 11px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
}

.tab::after {
  position: absolute;
  right: 10px;
  bottom: -1px;
  left: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: 160ms ease;
}

.tab:hover,
.tab.is-active {
  color: var(--ink);
}

.tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.analysis-content {
  min-height: 270px;
  padding: 23px 22px 26px;
  color: #35433e;
  font-size: 0.78rem;
  line-height: 1.85;
  white-space: pre-wrap;
}

.analysis-content strong {
  display: block;
  margin: 15px 0 5px;
  color: var(--ink);
  font-size: 0.81rem;
}

.analysis-content strong:first-child {
  margin-top: 0;
}

.process-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: rgba(243, 246, 241, 0.74);
}

.process-strip article {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.process-strip article > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #fff;
  color: var(--green);
  font-size: 0.57rem;
  font-weight: 900;
  box-shadow: 0 5px 13px rgba(27, 49, 41, 0.08);
}

.process-strip article div {
  display: grid;
  min-width: 0;
}

.process-strip strong {
  font-size: 0.68rem;
}

.process-strip small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.55rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.process-strip > i {
  color: #93a19b;
  font-size: 0.7rem;
  font-style: normal;
}

.final-disclosure {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 30px 80px;
  align-items: end;
  padding: 120px 0 115px;
}

.final-disclosure .eyebrow {
  grid-column: 1 / -1;
}

.final-disclosure h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.5vw, 4.55rem);
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.final-disclosure > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.final-disclosure a {
  grid-column: 2;
  justify-self: start;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.8rem;
  font-weight: 850;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(24px, calc((100% - 1280px) / 2));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
}

@media (max-width: 1060px) {
  .intro {
    grid-template-columns: 1fr 330px;
    gap: 42px;
  }

  .workspace {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .control-panel,
  .result-panel {
    padding: 24px;
  }

  .metrics {
    margin-right: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .summary-card > p {
    margin-bottom: 20px;
  }

  .process-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-strip > i {
    display: none;
  }
}

@media (max-width: 800px) {
  .demo-disclosure {
    flex-wrap: wrap;
    gap: 5px 8px;
  }

  .site-header,
  main {
    width: min(100% - 32px, 1280px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand > span:last-child {
    display: none;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 0 44px;
  }

  .intro h1 {
    font-size: clamp(2.85rem, 13vw, 4.5rem);
  }

  .boundary-card {
    max-width: 520px;
  }

  .workspace {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .control-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .result-panel {
    padding: 24px;
  }

  .history-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .history-item {
    grid-template-columns: 1fr;
  }

  .history-thumb {
    width: 100%;
    height: 64px;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics > div:nth-child(2) {
    border-right: 0;
  }

  .metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .metrics > div:nth-child(3) {
    padding-left: 0;
  }

  .final-disclosure {
    grid-template-columns: 1fr;
    padding: 85px 0;
  }

  .final-disclosure .eyebrow,
  .final-disclosure a {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .demo-disclosure span[aria-hidden="true"] {
    display: none;
  }

  .site-header,
  main {
    width: min(100% - 22px, 1280px);
  }

  .back-link {
    padding: 8px 11px;
    font-size: 0.68rem;
  }

  .intro {
    padding-top: 48px;
  }

  .intro h1 {
    font-size: clamp(2.55rem, 14vw, 3.6rem);
  }

  .workspace {
    border-radius: 20px;
  }

  .control-panel,
  .result-panel {
    padding: 18px;
  }

  .mode-picker {
    grid-template-columns: 1fr;
  }

  .history-list {
    grid-template-columns: 1fr;
  }

  .history-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .history-thumb {
    width: 48px;
    height: 50px;
  }

  .result-header {
    align-items: flex-start;
  }

  .result-header h2 {
    font-size: 1.4rem;
  }

  .result-status {
    margin-top: 3px;
  }

  .metrics {
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .metrics > div {
    padding: 16px 12px;
  }

  .mock-media {
    aspect-ratio: 4 / 3;
  }

  .mock-media__frame {
    padding: 16px;
  }

  .tabs {
    padding: 0 9px;
  }

  .analysis-content {
    min-height: 300px;
    padding: 20px 17px;
  }

  .process-strip {
    grid-template-columns: 1fr;
  }

  .final-disclosure {
    padding: 72px 3px;
  }

  footer {
    flex-direction: column;
    padding: 22px 16px;
  }
}

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