/* The landing stays in the document scroll. The conversation has its own rail. */
html:is([data-interpret-document], :has(#root > .interpret-app)),
html:is([data-interpret-document], :has(#root > .interpret-app)) body {
  height: auto;
  overflow: visible;
}
html:is([data-interpret-document], :has(#root > .interpret-app)) { overflow-x: clip; }
html:is([data-interpret-document], :has(#root > .interpret-app)) #root {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
}

.interpret-app {
  --interpret-paper: #f8f7f2;
  --interpret-ink: #1e1f1d;
  --interpret-muted: #59564e;
  --interpret-rule: #c9c7be;
  --interpret-red: #99362d;
  --interpret-panel: #efede6;
  --interpret-gutter: clamp(.75rem, 4vw, 1.75rem);
  box-sizing: border-box;
  background: var(--interpret-paper);
  color: var(--interpret-ink);
  color-scheme: light;
}
html[data-w2-theme="dark"] .interpret-app {
  --interpret-paper: #161718;
  --interpret-ink: #f4f1ea;
  --interpret-muted: #c1bcb2;
  --interpret-rule: #57564f;
  --interpret-red: #f39b8e;
  --interpret-panel: #202123;
  color-scheme: dark;
}
.interpret-content {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 72rem);
  height: 100vh;
  height: 100svh;
  margin-inline: auto;
  padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px);
}
.interpret-head {
  position: relative;
  z-index: 1;
  padding: .25rem max(var(--interpret-gutter), env(safe-area-inset-right, 0px)) .5rem
    max(var(--interpret-gutter), env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--interpret-rule);
}
.interpret-wordmark {
  display: flex;
  align-items: center;
  gap: clamp(.4rem, 2vw, .8rem);
  min-width: 0;
  margin: 0 0 .55rem;
  font-size: clamp(1.35rem, 5.75vw, 3.2rem);
  font-weight: 820;
  line-height: 1;
  letter-spacing: -.06em;
}
.interpret-voice-mark {
  --voice-wave: #fff;
  flex: 0 0 auto;
  inline-size: clamp(1.8rem, 6vw, 2.625rem);
  block-size: auto;
  color: #bb362e;
}
html[data-w2-theme="dark"] .interpret-voice-mark {
  --voice-wave: #210c09;
  color: #f39b8e;
}
.interpret-wordmark-accent { color: var(--interpret-red, #a8382e); }
html[data-w2-theme="dark"] .interpret-wordmark-accent { color: #f39b8e; }
.interpret-wave { stroke: var(--voice-wave); }
.interpret-wave path { transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .interpret-wave path { animation: interpret-voice-wave 2.3s ease-in-out infinite alternate; }
  .interpret-wave path:nth-child(2n) { animation-delay: -1.4s; }
  .interpret-wave path:nth-child(3) { animation-delay: -.65s; }
  @keyframes interpret-voice-wave {
    0%, 24% { transform: scaleY(.68); }
    62%, 100% { transform: scaleY(1); }
  }
}
.interpret-title-row {
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
  align-items: center;
  gap: .4rem;
  min-height: 48px;
}
.interpret-title-row .interpret-wordmark {
  margin: 0;
  font-size: clamp(1.03rem, 4.4vw, 1.55rem);
  gap: .45rem;
  white-space: nowrap;
}
.interpret-title-row .interpret-voice-mark { inline-size: clamp(1.3rem, 5.6vw, 1.85rem); }
.interpret-history-trigger,.interpret-drawer-close {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--interpret-ink);
  cursor: pointer;
}
.interpret-history-trigger:hover,.interpret-drawer-close:hover { color: var(--interpret-red); background: var(--interpret-panel); }
.interpret-history-trigger:focus-visible,.interpret-drawer-close:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: -2px; }
.interpret-account { position: relative; justify-self: end; min-width: 0; max-width: min(100%, 11rem); }
.interpret-account summary {
  display: flex;
  align-items: center;
  gap: .3rem;
  min-height: 44px;
  border-bottom: 1px solid var(--interpret-rule);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 670;
  list-style: none;
}
.interpret-account summary::-webkit-details-marker { display: none; }
.interpret-account summary span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.interpret-account summary::after {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-inline-end: 1px solid var(--interpret-red);
  border-block-end: 1px solid var(--interpret-red);
  transform: translateY(-2px) rotate(45deg);
}
.interpret-account[open] summary::after { transform: translateY(2px) rotate(225deg); }
.interpret-account-panel {
  position: absolute;
  z-index: 3;
  inset-block-start: 100%;
  inset-inline-end: 0;
  display: grid;
  gap: .4rem;
  inline-size: min(16rem, calc(100vw - 3rem));
  max-block-size: min(27rem, 67vh);
  box-sizing: border-box;
  padding: .8rem 1rem;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  background: var(--interpret-paper);
  border: 1px solid var(--interpret-rule);
  box-shadow: 0 .4rem 1rem #0002;
  overflow-wrap: anywhere;
}
.interpret-account-panel p { margin: 0; color: var(--interpret-muted); font-size: .78rem; }
.interpret-account-panel > button { justify-self: start; }
.interpret-login-company-copy { margin: .65rem 0 0; font-size: .85rem; line-height: 1.5; }
.interpret-account-company { display: grid; gap: .18rem; margin-block: .3rem; color: var(--interpret-muted); font-size: .76rem; font-weight: 680; }
.interpret-account-company select {
  width: 100%;
  min-height: 44px;
  padding-inline: .35rem;
  border: 1px solid var(--interpret-rule);
  border-radius: 0;
  background: var(--interpret-paper);
  color: var(--interpret-ink);
  font: inherit;
  font-size: 1rem;
}
.interpret-account-company select:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: 2px; }
.interpret-company-notice { margin: .75rem 0 0; color: var(--interpret-red); font-size: .88rem; line-height: 1.5; }
.interpret-account-usage { padding-block: .35rem .55rem; border-block: 1px solid var(--interpret-rule); }
.interpret-account-usage + .interpret-account-usage { border-block-start: 0; }
.interpret-account-usage-head,.interpret-account-usage dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.interpret-account-usage h2 { margin: 0; font-size: .82rem; }
.interpret-account-usage dl { margin: .2rem 0 .55rem; font-size: .84rem; }
.interpret-account-usage dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 690; }
.interpret-account-link {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--interpret-red);
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
}
.interpret-account :is(summary,.interpret-account-link):focus-visible { outline: 2px solid var(--interpret-red); outline-offset: 2px; }
.interpret-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .1rem .65rem;
}
.interpret-direction {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem .4rem;
  align-items: baseline;
  margin: 0;
  color: var(--interpret-muted);
  font-size: .85rem;
  line-height: 1.45;
}
.interpret-direction span[lang] { color: var(--interpret-ink); font-weight: 640; }
.interpret-direction select,.interpret-locale {
  max-width: 100%;
  min-height: 44px;
  padding: 0 .25rem;
  border: 0;
  border-bottom: 1px solid var(--interpret-rule);
  border-radius: 0;
  background: transparent;
  color: var(--interpret-ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 640;
}
.interpret-locale { font-size: .82rem; }
:is(.interpret-direction select,.interpret-locale):focus-visible { outline: 2px solid var(--interpret-red); outline-offset: 2px; }
.interpret-direction select:disabled { opacity: 1; -webkit-text-fill-color: var(--interpret-ink); }
.interpret-feed {
  position: relative;
  min-height: 0;
}
.interpret-conversation {
  box-sizing: border-box;
  block-size: 100%;
  min-block-size: 0;
  overflow-y: auto;
  overflow-x: clip;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  scrollbar-color: var(--interpret-rule) transparent;
}
.interpret-conversation:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: -2px; }
.interpret-message-stack {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(100%, 49rem);
  min-height: 100%;
  margin-inline: auto;
  padding: .6rem max(var(--interpret-gutter), env(safe-area-inset-right, 0px)) 1.1rem
    max(var(--interpret-gutter), env(safe-area-inset-left, 0px));
}
.interpret-message-stack > .interpret-empty:only-child {
  margin-block: auto;
  padding: 0 1rem;
  text-align: center;
}
.interpret-jump {
  position: absolute;
  z-index: 1;
  inset-block-end: .65rem;
  inset-inline-end: max(var(--interpret-gutter), env(safe-area-inset-right, 0px));
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding: .35rem .65rem;
  border: 1px solid var(--interpret-rule);
  border-radius: 0;
  background: var(--interpret-paper);
  color: var(--interpret-ink);
  box-shadow: 0 2px 8px #0002;
  font: inherit;
  font-size: .8rem;
  font-weight: 670;
  cursor: pointer;
}
.interpret-jump:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: 2px; }
.interpret-jump:hover { color: var(--interpret-red); }
.interpret-composer {
  display: grid;
  justify-items: center;
  padding: .6rem var(--interpret-gutter) .7rem;
  border-top: 1px solid var(--interpret-rule);
  background: var(--interpret-paper);
}
.interpret-record {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  min-width: 8rem;
  min-height: 52px;
  padding: .55rem 1.35rem;
  border: 1px solid var(--interpret-ink);
  border-radius: 0;
  background: var(--interpret-ink);
  color: var(--interpret-paper);
  font: inherit;
  font-weight: 730;
  cursor: pointer;
}
.interpret-record[data-active="true"] {
  border-color: var(--interpret-red);
  background: var(--interpret-panel);
  color: var(--interpret-red);
}
.interpret-record:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: 3px; }
.interpret-record:disabled { opacity: .58; cursor: not-allowed; }
.interpret-indicator {
  min-block-size: 1.4em;
  margin: .22rem 0 0;
  color: var(--interpret-muted);
  font-size: .85rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.interpret-indicator[data-phase="listening"],.interpret-head[data-phase="listening"] .interpret-indicator {
  color: var(--interpret-red);
  font-weight: 650;
}
.interpret-caption,.interpret-draft {
  display: grid;
  gap: .6rem;
  padding-block: .95rem;
  border-bottom: 1px solid var(--interpret-rule);
  overflow-wrap: anywhere;
}
.interpret-caption span,.interpret-draft span {
  display: block;
  margin-bottom: .2rem;
  color: var(--interpret-muted);
  font-size: .72rem;
  font-weight: 680;
}
.interpret-speaker {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .15rem .6rem;
  justify-self: start;
  padding: .1rem 0 .1rem .55rem;
  border-inline-start: 2px solid var(--interpret-red);
  color: var(--interpret-red);
  font-size: .75rem;
  font-weight: 740;
  line-height: 1.3;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.interpret-speaker span { margin: 0; font-weight: 560; }
.interpret-entities {
  display: grid;
  gap: .55rem;
  list-style: none;
  padding: .2rem 0 .8rem;
  margin: 0;
}
.interpret-entities li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .7rem;
  overflow-wrap: anywhere;
}
.interpret-entities span { color: var(--interpret-muted); font-size: .75rem; }
.interpret-caption p,.interpret-draft p {
  margin: 0;
  color: var(--interpret-ink);
  font-size: 1rem;
  line-height: 1.5;
}
.interpret-original p,.interpret-draft p { color: var(--interpret-muted); }
.interpret-draft,.interpret-caption[data-status="translating"] { border-bottom-style: dashed; }
.interpret-caption[data-status="translating"] .interpret-translation p { color: var(--interpret-muted); }
.interpret-message-stack .interpret-translation p {
  font-size: clamp(1.04rem, 3.05vw, 1.26rem);
  font-weight: 660;
  line-height: 1.5;
}
.interpret-message-stack .interpret-caption.is-current { border-bottom-color: var(--interpret-red); }
.interpret-speech { display: flex; flex-wrap: wrap; gap: .3rem .65rem; align-items: center; }
.interpret-speech:empty { display: none; }
.interpret-copy { display: inline-flex; align-items: center; gap: .45rem; }
.interpret-copy:empty { display: none; }
.interpret-draft > .interpret-copy { justify-self: start; }
.interpret-speech-button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding: .25rem .65rem;
  border: 1px solid var(--interpret-rule);
  border-radius: 0;
  background: transparent;
  color: var(--interpret-ink);
  font: inherit;
  font-size: .84rem;
  font-weight: 690;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease;
}
.interpret-speech-button:enabled:hover,
.interpret-speech-button[data-phase="playing"],
.interpret-speech-button[data-phase="loading"] {
  border-color: var(--interpret-red);
  color: var(--interpret-red);
}
.interpret-speech-button:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: 2px; }
.interpret-speech-button:disabled { opacity: .65; cursor: default; }
.interpret-speech .interpret-speech-status { font-size: .82rem; color: var(--interpret-muted); }
.interpret-speech .interpret-speech-status.is-error { color: var(--interpret-red); }
.interpret-empty {
  margin: 0;
  padding-top: .9rem;
  color: var(--interpret-muted);
  font-size: .88rem;
  line-height: 1.5;
}
.interpret-caption .interpret-segment-note { color: var(--interpret-muted); font-size: .82rem; }
.interpret-caption .interpret-segment-note.is-error { color: var(--interpret-red); }
.interpret-preview-translation {
  margin-block-start: 10px;
  padding-block-start: 8px;
  border-top: 1px solid var(--interpret-rule);
}
.interpret-preview-translation p { font-weight: 670; }

.interpret-filler {
  border-bottom: 1px solid var(--interpret-rule);
  color: var(--interpret-muted);
}
.interpret-filler > summary {
  min-height: 44px;
  padding-block: .65rem;
  line-height: 1.4;
  font-size: .8rem;
  font-weight: 640;
  cursor: pointer;
}
.interpret-filler > summary::marker { color: var(--interpret-red); }
.interpret-filler > summary:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: -2px; }
.interpret-filler > .interpret-caption:last-child { border-bottom: 0; }

.interpret-brief {
  border-top: 1px solid var(--interpret-rule);
  overflow-wrap: anywhere;
}
.interpret-notes { overflow-wrap: anywhere; }
.interpret-note-filter {
  display: grid;
  grid-template-columns: max-content minmax(0,1fr);
  align-items: center;
  gap: .65rem;
  margin-block: .55rem .15rem;
  color: var(--interpret-muted);
  font-size: .8rem;
  font-weight: 660;
}
.interpret-note-filter select {
  width: 100%;
  min-height: 44px;
  padding-inline: .4rem;
  border: 0;
  border-bottom: 1px solid var(--interpret-rule);
  border-radius: 0;
  background: var(--interpret-paper);
  color: var(--interpret-ink);
  font: inherit;
  font-size: 1rem;
}
.interpret-note-filter select:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: 2px; }
.interpret-note-group > h2 {
  margin: 1rem 0 0;
  padding: .4rem 0 .35rem .55rem;
  border-inline-start: 2px solid var(--interpret-red);
  color: var(--interpret-muted);
  font-size: .82rem;
  line-height: 1.45;
}
.interpret-note-heading { display: grid; gap: .18rem; }
.interpret-note-heading h3 {
  margin: 0;
  font-size: clamp(1.1rem,3.5vw,1.3rem);
  line-height: 1.35;
  font-weight: 720;
}
.interpret-note-time { color: var(--interpret-muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.interpret-note-heading .interpret-note-meta { color: var(--interpret-muted); font-size: .82rem; }
.interpret-note-meta span { display: inline; font: inherit; color: inherit; margin: 0; }
.interpret-notes > .interpret-speech-button { margin-block: .65rem; }
.interpret-notes > .interpret-empty { padding-block-end: .9rem; }
.interpret-brief-head {
  display: list-item;
  box-sizing: border-box;
  min-height: 44px;
  padding-block: .7rem;
  border-bottom: 1px solid var(--interpret-rule);
  color: var(--interpret-ink);
  font-size: .9rem;
  font-weight: 720;
  cursor: pointer;
}
.interpret-brief-head::marker { color: var(--interpret-red); }
.interpret-brief-head:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: -2px; }
.interpret-brief-progress,.interpret-brief-label {
  color: var(--interpret-muted);
  font-size: .76rem;
  font-weight: 670;
  line-height: 1.4;
}
.interpret-brief-progress { margin: .7rem 0 0; }
.interpret-brief-error {
  margin: 0;
  padding-block: .7rem;
  border-bottom: 1px solid var(--interpret-rule);
  color: var(--interpret-red);
  line-height: 1.5;
}
.interpret-brief-topic,.interpret-brief-answer {
  padding-block: .88rem;
  border-bottom: 1px solid var(--interpret-rule);
}
.interpret-brief h3 { margin: 0; font-size: 1rem; font-weight: 740; line-height: 1.45; }
.interpret-brief-topic ul { margin: .35rem 0 0; padding-inline-start: 1.12em; line-height: 1.55; }
.interpret-brief-topic li + li { margin-block-start: .2rem; }
.interpret-brief-topic li::marker { color: var(--interpret-red); }
.interpret-brief-label { display: block; margin-block-end: .25rem; }
.interpret-brief-answer dl { display: grid; gap: .5rem 1.2rem; margin: .65rem 0 0; }
.interpret-brief-answer dl > div { display: grid; grid-template-columns: 1.55rem minmax(0, 1fr); gap: .45rem; min-width: 0; }
.interpret-brief-answer dt { color: var(--interpret-red); font-size: .73rem; font-weight: 760; line-height: 1.55rem; }
.interpret-brief-answer dd { margin: 0; line-height: 1.55; }
.interpret-brief-answer [lang="en"] dd { hyphens: auto; }
.interpret-brief-history { border-bottom: 1px solid var(--interpret-rule); }
.interpret-brief-history summary {
  display: list-item;
  box-sizing: border-box;
  min-height: 44px;
  padding-block: .65rem;
  color: var(--interpret-muted);
  line-height: 1.45;
  cursor: pointer;
}
.interpret-brief-history summary:hover { color: var(--interpret-ink); }
.interpret-brief-history summary:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: -2px; }
.interpret-brief-history summary span { margin-inline-start: .35rem; font-variant-numeric: tabular-nums; }
.interpret-brief-history .interpret-brief-batch:last-child > :last-child { border-bottom: 0; }

.interpret-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  box-sizing: border-box;
  inline-size: min(24rem, calc(100% - 1.35rem));
  block-size: 100vh;
  block-size: 100svh;
  max-inline-size: none;
  max-block-size: none;
  margin: 0;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
  border: 0;
  border-inline-end: 1px solid var(--interpret-rule);
  overflow: hidden;
  background: var(--interpret-paper);
  color: var(--interpret-ink);
}
.interpret-drawer[open] {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}
.interpret-drawer::backdrop { background: #15161962; }
.interpret-drawer-head,.interpret-drawer-tabs,.interpret-drawer-body {
  padding-inline: max(1rem, env(safe-area-inset-left, 0px)) 1rem;
}
.interpret-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  padding-block: .55rem .25rem;
}
.interpret-drawer-head h2 {
  margin: 0;
  color: var(--interpret-ink);
  font-size: 1.24rem;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.interpret-drawer-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: .3rem;
  border-bottom: 1px solid var(--interpret-rule);
}
.interpret-drawer-tabs button {
  min-height: 44px;
  min-width: 0;
  padding: .3rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--interpret-muted);
  font: inherit;
  font-size: .85rem;
  font-weight: 680;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.interpret-drawer-tabs button[aria-selected="true"] { border-bottom-color: var(--interpret-red); color: var(--interpret-ink); }
.interpret-drawer-tabs button:hover { color: var(--interpret-red); }
.interpret-drawer-tabs button:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: -2px; }
.interpret-drawer-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding-block: 1rem;
}
.interpret-experiment {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .65rem;
  min-height: 44px;
  padding-block: .5rem .9rem;
  border-bottom: 1px solid var(--interpret-rule);
  overflow-wrap: anywhere;
  color: var(--interpret-ink);
  font-size: .9rem;
  cursor: pointer;
}
.interpret-experiment input[type="checkbox"] {
  inline-size: 1.05rem;
  block-size: 1.05rem;
  margin: .15rem 0 0;
  accent-color: var(--interpret-red);
}
.interpret-experiment input:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: 3px; }
.interpret-experiment span { display: grid; gap: .22rem; }
.interpret-experiment strong { font-weight: 700; }
.interpret-experiment small { color: var(--interpret-muted); font-size: .8rem; line-height: 1.5; }
.interpret-history-new {
  min-height: 44px;
  padding: .45rem .75rem;
  border: 1px solid var(--interpret-ink);
  border-radius: 0;
  background: var(--interpret-ink);
  color: var(--interpret-paper);
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
.interpret-history-new:disabled { opacity: .58; cursor: not-allowed; }
.interpret-history-local,.interpret-history-empty {
  margin: .75rem 0;
  color: var(--interpret-muted);
  font-size: .78rem;
  line-height: 1.5;
}
.interpret-history-list { margin: .75rem 0 0; padding: 0; list-style: none; }
.interpret-history-list li + li { border-top: 1px solid var(--interpret-rule); }
.interpret-history-entry {
  display: grid;
  gap: .28rem;
  width: 100%;
  min-height: 58px;
  padding: .6rem .65rem;
  text-align: start;
  border: 0;
  border-inline-start: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--interpret-ink);
  font: inherit;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.interpret-history-entry:hover,.interpret-history-entry[aria-current="true"] { background: var(--interpret-panel); }
.interpret-history-entry[aria-current="true"] { border-inline-start-color: var(--interpret-red); }
.interpret-history-entry:focus-visible,.interpret-history-new:focus-visible { outline: 2px solid var(--interpret-red); outline-offset: -2px; }
.interpret-history-title { font-size: .89rem; font-weight: 680; line-height: 1.4; }
.interpret-history-meta { display: flex; flex-wrap: wrap; gap: .22rem .55rem; color: var(--interpret-muted); font-size: .74rem; }
.interpret-history-meta time { font-variant-numeric: tabular-nums; }
.interpret-history-meta small { font-size: inherit; }

@media (prefers-reduced-motion: no-preference) {
  .interpret-drawer[open] { animation: interpret-drawer-enter 160ms ease-out; }
  @keyframes interpret-drawer-enter { from { transform: translateX(-12px); opacity: .4; } }
}

@media (max-width: 360px) {
  .interpret-title-row { gap: .23rem; }
  .interpret-title-row .interpret-wordmark { gap: .32rem; font-size: .94rem; }
  .interpret-account summary { font-size: .76rem; }
}

@media (min-width: 40rem) {
  .interpret-brief-answer dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
