:root {
  --outcome-content: 820px;
  --outcome-rail: 232px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

html.is-handoff-active,
html.is-handoff-active body {
  overflow: hidden;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body::before {
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(47, 118, 132, 0.12), transparent 30%);
  opacity: 0.72;
}

body::after {
  top: 12vh;
  right: -18vw;
  width: 60vw;
  height: 60vw;
  border: 1px solid rgba(47, 118, 132, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(47, 118, 132, 0.018),
    0 0 0 220px rgba(47, 118, 132, 0.014);
}

.outcome-app {
  width: min(calc(100% - 48px), 1320px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--ty-space-20);
  padding: var(--ty-space-28) 0 var(--ty-space-20);
}

.outcome-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ty-space-16);
}

.outcome-header a {
  text-decoration: none;
}

.outcome-auth-entry {
  position: relative;
  z-index: 12;
}

.outcome-login {
  min-width: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px var(--ty-space-16);
  border: 1px solid var(--ty-border);
  border-radius: var(--ty-radius-pill);
  color: var(--ty-text);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--ty-shadow-inner-edge);
  font: inherit;
  font-size: var(--ty-text-13);
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition:
    color var(--ty-duration-base) var(--ty-ease-out),
    border-color var(--ty-duration-base) var(--ty-ease-out),
    background var(--ty-duration-base) var(--ty-ease-out),
    transform var(--ty-duration-fast) var(--ty-ease-out);
}

.outcome-login:hover,
.outcome-login:focus-visible {
  border-color: var(--ty-border-water);
  color: var(--ty-accent-strong);
  background: rgba(255, 255, 255, 0.82);
  outline: 0;
}

.outcome-login:active {
  transform: translateY(1px);
}

.outcome-login-note {
  position: absolute;
  top: calc(100% + var(--ty-space-8));
  right: 0;
  width: max-content;
  max-width: min(260px, calc(100vw - 32px));
  padding: var(--ty-space-8) var(--ty-space-12);
  border: 1px solid var(--ty-border);
  border-radius: var(--ty-radius-10);
  color: var(--ty-text-soft);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ty-shadow-card);
  font-size: var(--ty-text-12);
  animation: outcome-note-enter var(--ty-duration-enter) var(--ty-ease-enter) both;
}

.outcome-shell {
  flex: 1;
  min-height: 0;
}

.outcome-app[data-view="landing"] .outcome-shell {
  display: block;
}

.outcome-app[data-view="handoff"] .outcome-shell,
.outcome-app[data-view="conversation-empty"] .outcome-shell,
.outcome-app[data-view="conversation-handoff"] .outcome-shell,
.outcome-app[data-view="conversation"] .outcome-shell {
  display: grid;
  grid-template-columns: var(--outcome-rail) minmax(0, 1fr);
  gap: var(--ty-space-32);
}

.outcome-workspace {
  min-width: 0;
}

.outcome-app[data-view="landing"] .outcome-workspace,
.outcome-app[data-view="conversation-empty"] .outcome-workspace {
  width: min(100%, var(--outcome-content));
  min-height: calc(100vh - 126px);
  min-height: calc(100dvh - 126px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--ty-space-20);
  padding-bottom: min(10vh, 84px);
  transform: translateY(clamp(-168px, -21vh, -112px));
}

.outcome-app[data-view="handoff"] .outcome-workspace,
.outcome-app[data-view="conversation-handoff"] .outcome-workspace,
.outcome-app[data-view="conversation"] .outcome-workspace {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  align-content: stretch;
}

.outcome-rail {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: var(--ty-space-24);
  min-width: 0;
  max-height: calc(100vh - 120px);
  max-height: calc(100dvh - 120px);
  padding: var(--ty-space-14);
  border: 1px solid rgba(47, 118, 132, 0.12);
  border-radius: var(--ty-radius-14);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: var(--ty-shadow-inner-edge);
  backdrop-filter: blur(18px);
}

.outcome-new-conversation,
.outcome-conversation-item {
  width: 100%;
  border: 0;
  color: var(--ty-text-soft);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.outcome-new-conversation {
  display: flex;
  align-items: center;
  gap: var(--ty-space-8);
  padding: var(--ty-space-10) var(--ty-space-12);
  border: 1px solid var(--ty-border);
  border-radius: var(--ty-radius-10);
  color: var(--ty-accent-strong);
  background: rgba(255, 255, 255, 0.46);
  font-size: var(--ty-text-13);
  font-weight: 600;
  transition:
    border-color var(--ty-duration-base) var(--ty-ease-out),
    background var(--ty-duration-base) var(--ty-ease-out),
    transform var(--ty-duration-fast) var(--ty-ease-out);
}

.outcome-new-conversation span {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.outcome-new-conversation:hover,
.outcome-new-conversation:focus-visible {
  border-color: var(--ty-border-water);
  background: rgba(255, 255, 255, 0.72);
  outline: 0;
  transform: translateY(-1px);
}

.outcome-new-conversation:disabled {
  cursor: wait;
  opacity: 0.5;
  transform: none;
}

.outcome-conversation-nav {
  display: grid;
  gap: var(--ty-space-8);
  min-height: 0;
}

.outcome-conversation-list {
  display: grid;
  gap: var(--ty-space-4);
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.outcome-rail-label {
  padding-inline: var(--ty-space-8);
  color: var(--ty-text-muted);
  font-family: var(--ty-font-mono);
  font-size: var(--ty-text-11);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.outcome-conversation-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--ty-space-8);
  align-items: center;
  padding: var(--ty-space-10);
  border-radius: var(--ty-radius-8);
  font-size: var(--ty-text-13);
  line-height: 1.4;
  transition:
    color var(--ty-duration-base) var(--ty-ease-out),
    background var(--ty-duration-base) var(--ty-ease-out);
}

.outcome-conversation-item:hover,
.outcome-conversation-item:focus-visible {
  color: var(--ty-text);
  background: rgba(47, 118, 132, 0.055);
  outline: 0;
}

.outcome-conversation-item:disabled {
  cursor: wait;
}

.outcome-conversation-item.is-current {
  color: var(--ty-text);
  background: rgba(47, 118, 132, 0.08);
}

.outcome-conversation-item span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.outcome-conversation-marker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ty-accent);
  box-shadow: 0 0 0 4px rgba(47, 118, 132, 0.09);
  opacity: 0.42;
}

.outcome-conversation-item.is-current .outcome-conversation-marker {
  opacity: 1;
}

.outcome-app[data-view="landing"] .outcome-rail,
.outcome-app[data-view="landing"] .outcome-auth-entry {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-12px);
}

.outcome-app[data-view="landing"] .outcome-auth-entry {
  transform: translateY(-8px);
}

.outcome-app[data-view="handoff"] .outcome-rail {
  animation: outcome-rail-reveal 640ms 1000ms var(--ty-ease-enter) both;
}

.outcome-app[data-view="handoff"] .outcome-auth-entry {
  animation: outcome-auth-reveal 540ms 1120ms var(--ty-ease-enter) both;
}

.outcome-footer,
.outcome-hint {
  color: var(--ty-text-muted);
  font-size: var(--ty-text-12);
}

.outcome-stage,
.outcome-composer,
.outcome-footer {
  width: min(100%, var(--outcome-content));
  margin-inline: auto;
}

.outcome-stage {
  align-self: stretch;
  display: grid;
  gap: var(--ty-space-20);
  padding: var(--ty-space-24) 0;
}

.outcome-app[data-view="landing"] .outcome-stage,
.outcome-app[data-view="conversation-empty"] .outcome-stage {
  align-self: auto;
  padding: 0;
}

.outcome-app[data-view="handoff"] .outcome-stage,
.outcome-app[data-view="conversation-handoff"] .outcome-stage,
.outcome-app[data-view="conversation"] .outcome-stage {
  align-content: start;
}

.outcome-empty {
  max-width: 700px;
  animation: outcome-enter var(--ty-duration-enter) var(--ty-ease-enter) both;
}

.outcome-kicker {
  color: var(--ty-accent);
  font-family: var(--ty-font-mono);
  font-size: var(--ty-text-11);
  font-weight: 650;
  letter-spacing: 0.14em;
}

.outcome-empty h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 580;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.outcome-empty p {
  max-width: 620px;
  margin: 0;
  color: var(--ty-text-soft);
  font-size: var(--ty-text-16);
  line-height: var(--ty-line-body);
}

.outcome-conversation {
  display: grid;
  gap: var(--ty-space-20);
}

.outcome-message {
  animation: outcome-enter var(--ty-duration-enter) var(--ty-ease-enter);
}

.outcome-message.is-restored,
.outcome-message.is-handoff-complete {
  animation: none;
}

.outcome-message.is-user {
  justify-self: end;
  width: min(84%, 650px);
  padding: var(--ty-space-14) var(--ty-space-16);
  border: 1px solid var(--ty-border);
  border-radius: var(--ty-radius-14) var(--ty-radius-4) var(--ty-radius-14) var(--ty-radius-14);
  background: rgba(18, 39, 45, 0.05);
}

.outcome-message.is-user.is-handoff-target {
  visibility: hidden;
  animation: none;
}

.outcome-message.is-user p {
  margin: var(--ty-space-6) 0 0;
  color: var(--ty-text);
  line-height: var(--ty-line-body);
  white-space: pre-wrap;
}

.outcome-message.is-assistant.is-streaming .outcome-answer::after {
  display: inline-block;
  width: 0.48em;
  height: 1.05em;
  margin-left: 0.18em;
  border-radius: 2px;
  background: var(--ty-accent);
  vertical-align: -0.15em;
  content: "";
  animation: outcome-stream-caret var(--ty-cycle-stream-caret) ease-in-out infinite;
}

.outcome-message.is-assistant {
  display: grid;
  gap: var(--ty-space-14);
  padding: var(--ty-space-20);
  border: 1px solid var(--ty-border);
  border-radius: var(--ty-radius-14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(244, 248, 249, 0.74)),
    var(--ty-surface);
  box-shadow: var(--ty-shadow-card), var(--ty-shadow-inner-edge);
}

.outcome-message.is-assistant header {
  display: flex;
  align-items: center;
  gap: var(--ty-space-8);
}

.ty-brand-symbol.ty-brand-symbol--small {
  --ty-brand-symbol-size: 22px;
  --ty-brand-symbol-inner-inset: 4px;
}

.outcome-message-role,
.outcome-deliverables-label {
  color: var(--ty-text-muted);
  font-family: var(--ty-font-mono);
  font-size: var(--ty-text-11);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.outcome-run-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--ty-space-10) var(--ty-space-12);
  align-items: center;
  padding: var(--ty-space-14) var(--ty-space-16);
  border: 1px solid var(--ty-border-water);
  border-radius: var(--ty-radius-12);
  background: rgba(255, 255, 255, 0.48);
  opacity: 0;
  transform: translateY(10px);
}

.outcome-run-state.is-visible {
  animation: outcome-run-reveal 560ms var(--ty-ease-enter) both;
}

.outcome-run-state p {
  margin: 0;
  color: var(--ty-text-soft);
  font-size: var(--ty-text-13);
}

.outcome-progress {
  grid-column: 1 / -1;
}

.outcome-progress i {
  --value: 42%;
  animation: outcome-progress 1.8s var(--ty-ease-in-out, ease-in-out) infinite alternate;
}

.outcome-error {
  grid-template-columns: minmax(0, 1fr);
}

.outcome-composer {
  position: sticky;
  bottom: var(--ty-space-16);
  z-index: 5;
  border-radius: var(--ty-radius-18);
  transition:
    border-color var(--ty-duration-base) var(--ty-ease-out),
    box-shadow var(--ty-duration-base) var(--ty-ease-out),
    transform var(--ty-duration-fast) var(--ty-ease-out);
}

.outcome-app[data-view="landing"] .outcome-composer,
.outcome-app[data-view="conversation-empty"] .outcome-composer {
  position: relative;
  bottom: auto;
  z-index: 2;
  animation: outcome-composer-enter var(--ty-duration-enter) 80ms var(--ty-ease-enter) both;
}

.outcome-app[data-view="handoff"] .outcome-composer.is-handoff-source {
  animation: outcome-composer-dock 580ms 1220ms var(--ty-ease-enter) both;
}

.outcome-app[data-view="conversation-handoff"] .outcome-composer.is-handoff-source {
  animation: outcome-composer-dock 580ms 1000ms var(--ty-ease-enter) both;
}

.outcome-composer:focus-within,
.outcome-composer.is-dragging {
  border-color: var(--ty-border-water);
  box-shadow: var(--ty-shadow-card), var(--ty-shadow-focus), var(--ty-shadow-inner-edge);
}

.outcome-composer.is-dragging {
  transform: translateY(-2px);
}

.outcome-composer textarea {
  min-height: 82px;
  font-size: var(--ty-text-16);
  line-height: var(--ty-line-body);
}

.outcome-composer.is-busy textarea,
.outcome-composer.is-busy button {
  cursor: wait;
}

.outcome-composer .ty-composer-footer {
  align-items: center;
  flex-direction: row;
}

.outcome-add-file {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--ty-border);
  border-radius: 999px;
  place-items: center;
  color: var(--ty-text-soft);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition:
    color var(--ty-duration-fast) var(--ty-ease-out),
    border-color var(--ty-duration-fast) var(--ty-ease-out),
    background var(--ty-duration-fast) var(--ty-ease-out);
}

.outcome-add-file:hover,
.outcome-add-file:focus-visible {
  border-color: var(--ty-border-water);
  color: var(--ty-accent-strong);
  background: var(--ty-water-soft);
  outline: 0;
}

.outcome-add-file svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.outcome-send {
  min-width: 94px;
  justify-content: center;
}

.outcome-send .ui-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.outcome-attachments,
.outcome-deliverable-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ty-space-8);
}

.outcome-attachment,
.outcome-deliverable {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: var(--ty-space-8);
  padding: var(--ty-space-8) var(--ty-space-10);
  border: 1px solid var(--ty-border);
  border-radius: var(--ty-radius-10);
  color: var(--ty-text-soft);
  background: rgba(18, 39, 45, 0.035);
  font-size: var(--ty-text-12);
}

.outcome-attachment span,
.outcome-deliverable span {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.outcome-attachment button {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: var(--ty-radius-pill);
  color: var(--ty-text-muted);
  background: transparent;
  cursor: pointer;
}

.outcome-attachment button:hover {
  color: var(--ty-danger);
  background: var(--ty-danger-bg);
}

.outcome-deliverables {
  display: grid;
  gap: var(--ty-space-10);
  padding-top: var(--ty-space-12);
  border-top: 1px solid var(--ty-border);
}

.outcome-presentation-preview {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ty-border-water);
  border-radius: var(--ty-radius-14);
  background: rgba(238, 245, 246, 0.94);
  box-shadow: var(--ty-shadow-inner-edge);
}

.outcome-presentation-preview[hidden] {
  display: none;
}

.outcome-presentation-toolbar {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: var(--ty-space-12);
  padding: var(--ty-space-10) var(--ty-space-12) var(--ty-space-10) var(--ty-space-14);
  border-bottom: 1px solid var(--ty-border);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}

.outcome-presentation-toolbar > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.outcome-presentation-toolbar strong {
  color: var(--ty-text);
  font-size: var(--ty-text-13);
  font-weight: 650;
}

.outcome-presentation-toolbar span {
  overflow: hidden;
  color: var(--ty-text-muted);
  font-size: var(--ty-text-11);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.outcome-presentation-expand {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--ty-border);
  border-radius: var(--ty-radius-10);
  place-items: center;
  color: var(--ty-text-soft);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition:
    color var(--ty-duration-fast) var(--ty-ease-out),
    border-color var(--ty-duration-fast) var(--ty-ease-out),
    background var(--ty-duration-fast) var(--ty-ease-out),
    transform var(--ty-duration-fast) var(--ty-ease-out);
}

.outcome-presentation-expand:hover,
.outcome-presentation-expand:focus-visible {
  border-color: var(--ty-border-water);
  color: var(--ty-accent-strong);
  background: var(--ty-water-soft);
  outline: 0;
  transform: translateY(-1px);
}

.outcome-presentation-expand svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 420ms var(--ty-ease-enter);
}

.outcome-presentation-preview.is-expanded .outcome-presentation-expand svg {
  transform: rotate(180deg);
}

.outcome-presentation-frame-shell {
  position: relative;
  height: clamp(380px, 52vw, 620px);
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(48, 132, 147, 0.1), transparent 32%),
    var(--ty-surface-subtle, #eef4f5);
}

.outcome-presentation-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: white;
  opacity: 1;
  transition: opacity var(--ty-duration-base) var(--ty-ease-out);
}

.outcome-presentation-frame-shell.is-loading .outcome-presentation-frame {
  opacity: 0;
}

.outcome-presentation-loading {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 1;
  align-items: center;
  justify-content: center;
  color: var(--ty-text-muted);
  font-size: var(--ty-text-13);
  pointer-events: none;
}

.outcome-presentation-frame-shell.is-loading .outcome-presentation-loading {
  display: flex;
}

.outcome-presentation-preview.is-expanded {
  position: fixed;
  top: 5vh;
  left: 5vw;
  width: 90vw;
  height: 90vh;
  height: 90dvh;
  z-index: 200;
  border-color: var(--ty-border-water);
  box-shadow: 0 30px 90px rgba(7, 29, 35, 0.28);
  transform-origin: top left;
}

.outcome-presentation-preview.is-presentation-animating {
  pointer-events: none;
  will-change: transform, border-radius, opacity;
}

.outcome-presentation-preview.is-presentation-settling {
  pointer-events: none;
  animation: outcome-presentation-settle 180ms var(--ty-ease-out) both;
}

.outcome-presentation-preview.is-expanded .outcome-presentation-frame-shell {
  height: auto;
  min-height: 0;
}

body.has-expanded-presentation {
  overflow: hidden;
}

.outcome-presentation-placeholder {
  width: 100%;
  min-width: 0;
  visibility: hidden;
  pointer-events: none;
}

.outcome-presentation-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(9, 26, 31, 0.48);
  opacity: 0;
  cursor: zoom-out;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.outcome-deliverable {
  color: var(--ty-accent-strong);
  text-decoration: none;
}

.outcome-deliverable:hover {
  border-color: var(--ty-border-water);
  background: var(--ty-accent-soft);
}

.outcome-footer {
  text-align: center;
}

.outcome-motion-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  pointer-events: none;
}

.outcome-handoff-ghost {
  position: fixed;
  left: var(--handoff-start-left);
  top: var(--handoff-start-top);
  width: var(--handoff-start-width);
  height: var(--handoff-start-height);
  z-index: 2;
  overflow: hidden;
  padding: var(--ty-space-14) var(--ty-space-16);
  border: 1px solid var(--ty-border-water);
  border-radius: var(--ty-radius-18);
  color: var(--ty-text);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--ty-shadow-card), var(--ty-shadow-focus), var(--ty-shadow-inner-edge);
  contain: layout paint;
  backdrop-filter: blur(18px);
  transition:
    left 900ms 40ms var(--ty-ease-enter),
    top 900ms 40ms var(--ty-ease-enter),
    width 900ms 40ms var(--ty-ease-enter),
    height 900ms 40ms var(--ty-ease-enter),
    border-color 720ms 80ms var(--ty-ease-out),
    border-radius 860ms 60ms var(--ty-ease-enter),
    background 760ms 100ms var(--ty-ease-out),
    box-shadow 720ms 80ms var(--ty-ease-out);
  will-change: left, top, width, height, border-radius;
}

.outcome-handoff-ghost.is-active {
  left: var(--handoff-target-left);
  top: var(--handoff-target-top);
  width: var(--handoff-target-width);
  height: var(--handoff-target-height);
  border-color: var(--ty-border);
  border-radius: var(--ty-radius-14) var(--ty-radius-4) var(--ty-radius-14) var(--ty-radius-14);
  background: rgba(18, 39, 45, 0.05);
  box-shadow: none;
}

.outcome-handoff-role {
  display: block;
  color: var(--ty-text-muted);
  font-family: var(--ty-font-mono);
  font-size: var(--ty-text-11);
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 300ms 520ms var(--ty-ease-out),
    transform 360ms 480ms var(--ty-ease-enter);
}

.outcome-handoff-copy {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--ty-text);
  font-size: var(--ty-text-16);
  line-height: var(--ty-line-body);
  white-space: pre-wrap;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  transition: margin-top 440ms 360ms var(--ty-ease-enter);
}

.outcome-handoff-ghost.is-active .outcome-handoff-role {
  opacity: 1;
  transform: translateY(0);
}

.outcome-handoff-ghost.is-active .outcome-handoff-copy {
  margin-top: var(--ty-space-6);
}

.outcome-handoff-actions {
  position: absolute;
  right: var(--ty-space-14);
  bottom: var(--ty-space-12);
  display: flex;
  gap: var(--ty-space-8);
  align-items: center;
  opacity: 0.82;
  transition:
    opacity 280ms 80ms var(--ty-ease-exit),
    transform 340ms 60ms var(--ty-ease-exit);
}

.outcome-handoff-actions::before,
.outcome-handoff-actions::after {
  display: block;
  content: "";
}

.outcome-handoff-actions::before {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ty-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.outcome-handoff-actions::after {
  width: 88px;
  height: 40px;
  border-radius: var(--ty-radius-8);
  background: var(--ty-accent);
}

.outcome-handoff-ghost.is-active .outcome-handoff-actions {
  opacity: 0;
  transform: translateY(5px) scale(0.96);
}

.outcome-handoff-title {
  position: fixed;
  left: var(--handoff-title-left);
  top: var(--handoff-title-top);
  width: var(--handoff-title-width);
  z-index: 1;
  margin: 0;
  color: var(--ty-text);
  font-size: var(--handoff-title-size);
  font-weight: 580;
  letter-spacing: -0.055em;
  line-height: 1.04;
  transition:
    opacity 300ms var(--ty-ease-exit),
    transform 360ms var(--ty-ease-exit),
    filter 360ms var(--ty-ease-exit);
}

.outcome-handoff-title.is-active {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(-12px);
}

[hidden] {
  display: none !important;
}

@keyframes outcome-enter {
  from {
    opacity: 0;
    transform: translateY(var(--ty-dist-enter));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.daily-news-dialog {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ty-border-water);
  border-radius: var(--ty-radius-14);
  background: rgba(238, 245, 246, 0.94);
  box-shadow: var(--ty-shadow-inner-edge);
  animation: outcome-enter var(--ty-duration-slow) var(--ty-ease-enter) both;
}

.daily-news-dialog[hidden] {
  display: none;
}

.daily-news-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0%, rgba(47, 118, 132, 0.12), transparent 34%),
    rgba(250, 253, 253, 0.88);
  transition: grid-template-rows 360ms var(--ty-ease-enter);
}

.daily-news-panel-header {
  display: flex;
  min-height: 54px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: var(--ty-space-12);
  padding: var(--ty-space-10) var(--ty-space-12) var(--ty-space-10) var(--ty-space-14);
  border-bottom: 1px solid var(--ty-border);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}

.daily-news-panel-header > div {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.daily-news-kicker {
  color: var(--ty-accent-strong);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.daily-news-panel-header h2 {
  margin: 0;
  color: var(--ty-text);
  font-size: var(--ty-text-13);
  font-weight: 650;
  line-height: 1.3;
}

.daily-news-panel-header p {
  margin: 0;
  overflow: hidden;
  color: var(--ty-text-soft);
  font-size: var(--ty-text-11);
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-news-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--ty-border);
  border-radius: var(--ty-radius-10);
  color: var(--ty-text-soft);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition:
    color var(--ty-duration-fast) var(--ty-ease-out),
    border-color var(--ty-duration-fast) var(--ty-ease-out),
    background var(--ty-duration-fast) var(--ty-ease-out),
    transform var(--ty-duration-fast) var(--ty-ease-out);
}

.daily-news-close:hover,
.daily-news-close:focus-visible {
  border-color: var(--ty-border-water);
  color: var(--ty-accent-strong);
  background: var(--ty-water-soft);
  outline: 0;
  transform: translateY(-1px);
}

.daily-news-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 360ms var(--ty-ease-enter);
}

.daily-news-dialog.is-collapsed .daily-news-close svg {
  transform: rotate(-90deg);
}

.daily-news-dialog.is-collapsed .daily-news-panel-header {
  border-bottom-color: transparent;
}

.daily-news-workbench-body {
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
  opacity: 1;
  transition:
    padding 360ms var(--ty-ease-enter),
    opacity 220ms var(--ty-ease-out);
}

.daily-news-workbench-body[hidden] {
  display: none;
}

.daily-news-dialog.is-collapsed .daily-news-panel {
  grid-template-rows: auto 0fr;
}

.daily-news-dialog.is-collapsed .daily-news-workbench-body {
  padding-block: 0;
  opacity: 0;
  pointer-events: none;
}

.daily-news-message {
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid rgba(47, 118, 132, 0.2);
  border-radius: 12px;
  color: var(--ty-accent-strong);
  background: rgba(47, 118, 132, 0.07);
  font-size: 13px;
  line-height: 1.5;
}

.daily-news-message[data-kind="error"] {
  border-color: rgba(171, 91, 68, 0.24);
  color: #8a452f;
  background: rgba(171, 91, 68, 0.07);
}

.daily-news-form {
  display: grid;
  gap: 16px;
}

.daily-news-form[hidden] {
  display: none;
}

.daily-news-form label:not(.daily-news-switch) {
  display: grid;
  gap: 7px;
  color: var(--ty-text-soft);
  font-size: 12px;
  font-weight: 650;
}

.daily-news-form input[type="email"],
.daily-news-form input[type="text"],
.daily-news-form input[type="time"] {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 0 13px;
  border: 1px solid var(--ty-border);
  border-radius: 12px;
  color: var(--ty-text);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 14px;
  outline: 0;
  transition: border-color var(--ty-duration-fast) var(--ty-ease-out), box-shadow var(--ty-duration-fast) var(--ty-ease-out);
}

.daily-news-form input:focus {
  border-color: var(--ty-border-water);
  box-shadow: 0 0 0 3px rgba(47, 118, 132, 0.1);
}

.daily-news-form input[readonly] {
  color: var(--ty-text-soft);
  background: rgba(235, 242, 243, 0.72);
}

.daily-news-form-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
}

.daily-news-fine-print,
.daily-news-verification-copy {
  margin: -2px 0 0;
  color: var(--ty-text-soft);
  font-size: 12px;
  line-height: 1.55;
}

.daily-news-primary {
  width: 100%;
  justify-content: center;
}

.daily-news-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 2px;
}

.daily-news-danger {
  margin-right: auto;
  padding: 8px 0;
  border: 0;
  color: #98533d;
  background: transparent;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.daily-news-subscription-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(47, 118, 132, 0.14);
  border-radius: 14px;
  background: rgba(47, 118, 132, 0.055);
}

.daily-news-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ty-accent);
  box-shadow: 0 0 0 5px rgba(47, 118, 132, 0.1);
}

.daily-news-subscription-summary div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.daily-news-subscription-summary strong {
  overflow: hidden;
  color: var(--ty-text);
  font-size: 14px;
  text-overflow: ellipsis;
}

.daily-news-subscription-summary small {
  color: var(--ty-text-soft);
  font-size: 12px;
}

.daily-news-send-now-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(47, 118, 132, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 118, 132, 0.11), transparent 44%),
    rgba(255, 255, 255, 0.68);
}

.daily-news-send-now-card > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.daily-news-send-now-card strong {
  color: var(--ty-text);
  font-size: 13px;
  font-weight: 650;
}

.daily-news-send-now-card small {
  color: var(--ty-text-soft);
  font-size: 12px;
  line-height: 1.5;
}

.daily-news-send-now-card .ty-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.daily-news-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ty-text);
  cursor: pointer;
}

.daily-news-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.daily-news-switch > span {
  width: 38px;
  height: 22px;
  padding: 3px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #cbd7d9;
  transition: background var(--ty-duration-fast) var(--ty-ease-out);
}

.daily-news-switch i {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 7px rgba(21, 54, 61, 0.2);
  transition: transform var(--ty-duration-fast) var(--ty-ease-out);
}

.daily-news-switch input:checked + span {
  background: var(--ty-accent);
}

.daily-news-switch input:checked + span i {
  transform: translateX(16px);
}

.daily-news-switch b {
  font-size: 13px;
  font-weight: 650;
}

.mcdonalds-workbench {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(186, 136, 18, 0.28);
  border-radius: var(--ty-radius-14);
  background: rgba(255, 252, 241, 0.94);
  box-shadow: var(--ty-shadow-inner-edge);
  animation: outcome-enter var(--ty-duration-slow) var(--ty-ease-enter) both;
}

.mcdonalds-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 199, 44, 0.2), transparent 30%),
    rgba(255, 253, 247, 0.9);
  transition: grid-template-rows 360ms var(--ty-ease-enter);
}

.mcdonalds-header {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(122, 95, 29, 0.16);
  background: rgba(255, 255, 255, 0.76);
}

.mcdonalds-header > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.mcdonalds-kicker {
  color: #9b6500;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.mcdonalds-header h2,
.mcdonalds-header p {
  margin: 0;
}

.mcdonalds-header h2 {
  color: var(--ty-text);
  font-size: 15px;
  font-weight: 680;
}

.mcdonalds-header p {
  color: var(--ty-text-soft);
  font-size: 11px;
  line-height: 1.45;
}

.mcdonalds-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--ty-border);
  border-radius: 10px;
  place-items: center;
  color: var(--ty-text-soft);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.mcdonalds-close:hover,
.mcdonalds-close:focus-visible {
  border-color: rgba(186, 136, 18, 0.45);
  color: #8b5b00;
  outline: 0;
}

.mcdonalds-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 360ms var(--ty-ease-enter);
}

.mcdonalds-workbench.is-collapsed .mcdonalds-close svg {
  transform: rotate(-90deg);
}

.mcdonalds-workbench.is-collapsed .mcdonalds-header {
  border-bottom-color: transparent;
}

.mcdonalds-body {
  display: grid;
  min-height: 0;
  overflow: hidden;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  opacity: 1;
  transition:
    padding 360ms var(--ty-ease-enter),
    opacity 220ms var(--ty-ease-out);
}

.mcdonalds-workbench.is-collapsed .mcdonalds-panel {
  grid-template-rows: auto 0fr;
}

.mcdonalds-workbench.is-collapsed .mcdonalds-body {
  padding-block: 0;
  opacity: 0;
  pointer-events: none;
}

.mcdonalds-message {
  padding: 11px 13px;
  border: 1px solid rgba(186, 136, 18, 0.25);
  border-radius: 12px;
  color: #7f5708;
  background: rgba(255, 199, 44, 0.1);
  font-size: 13px;
  line-height: 1.5;
}

.mcdonalds-message[data-kind="error"] {
  border-color: rgba(171, 91, 68, 0.24);
  color: #8a452f;
  background: rgba(171, 91, 68, 0.07);
}

.mcdonalds-connection {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(186, 136, 18, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 199, 44, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.76);
}

.mcdonalds-connection > span,
.mcdonalds-connected > span {
  color: #8b5b00;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.mcdonalds-connection h3,
.mcdonalds-connection p,
.mcdonalds-connection ol {
  margin: 0;
}

.mcdonalds-connection h3 {
  color: var(--ty-text);
  font-size: 17px;
}

.mcdonalds-connection p,
.mcdonalds-connection li,
.mcdonalds-connection small {
  color: var(--ty-text-soft);
  font-size: 12px;
  line-height: 1.65;
}

.mcdonalds-connection ol {
  display: grid;
  gap: 4px;
  padding-left: 20px;
}

.mcdonalds-connection > .ty-button {
  width: fit-content;
}

#mcdonalds-connection-form {
  display: grid;
  gap: 7px;
}

#mcdonalds-connection-form label {
  color: var(--ty-text-soft);
  font-size: 12px;
  font-weight: 650;
}

#mcdonalds-connection-form > div {
  display: flex;
  gap: 8px;
}

#mcdonalds-token {
  min-width: 0;
  min-height: 42px;
  flex: 1;
  padding: 0 12px;
  border: 1px solid var(--ty-border);
  border-radius: 10px;
  color: var(--ty-text);
  background: white;
  font: inherit;
}

#mcdonalds-token:focus {
  border-color: rgba(186, 136, 18, 0.6);
  outline: 3px solid rgba(255, 199, 44, 0.15);
}

.mcdonalds-connected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(47, 118, 132, 0.16);
  border-radius: 12px;
  background: rgba(47, 118, 132, 0.055);
}

#mcdonalds-ordering-content {
  display: grid;
  gap: 16px;
}

.mcdonalds-selectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mcdonalds-selectors label {
  display: grid;
  gap: 7px;
  color: var(--ty-text-soft);
  font-size: 12px;
  font-weight: 650;
}

.mcdonalds-selectors select {
  width: 100%;
  min-height: 44px;
  padding: 0 36px 0 12px;
  overflow: hidden;
  border: 1px solid var(--ty-border);
  border-radius: 11px;
  color: var(--ty-text);
  background: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-size: 13px;
  text-overflow: ellipsis;
}

.mcdonalds-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 14px;
  align-items: start;
}

.mcdonalds-menu,
.mcdonalds-cart {
  min-width: 0;
  border: 1px solid rgba(122, 95, 29, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.mcdonalds-menu > header,
.mcdonalds-cart > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(122, 95, 29, 0.12);
}

.mcdonalds-menu > header > div,
.mcdonalds-cart > header {
  min-width: 0;
}

.mcdonalds-menu header span,
.mcdonalds-cart header span {
  color: var(--ty-text-muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mcdonalds-menu header strong,
.mcdonalds-cart header strong {
  display: block;
  color: var(--ty-text);
  font-size: 14px;
}

.mcdonalds-menu header small {
  color: var(--ty-text-muted);
  font-size: 11px;
}

.mcdonalds-menu-list {
  display: grid;
  max-height: 420px;
  overflow-y: auto;
  padding: 7px;
}

.mcdonalds-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 10px;
  border: 0;
  border-radius: 9px;
  color: var(--ty-text);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mcdonalds-menu-item:hover,
.mcdonalds-menu-item:focus-visible {
  background: rgba(255, 199, 44, 0.11);
  outline: 0;
}

.mcdonalds-menu-item.is-suggested {
  background: rgba(255, 199, 44, 0.1);
  box-shadow: inset 3px 0 0 #ffbc0d;
}

.mcdonalds-menu-item > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.mcdonalds-menu-item strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mcdonalds-menu-item small,
.mcdonalds-cart-item small {
  color: var(--ty-text-muted);
  font-size: 11px;
}

.mcdonalds-menu-item b {
  flex: 0 0 auto;
  color: #956200;
  font-size: 12px;
}

.mcdonalds-cart {
  display: grid;
  gap: 12px;
  padding-bottom: 14px;
}

.mcdonalds-cart > header {
  display: block;
}

#mcdonalds-cart-list {
  display: grid;
  gap: 8px;
  padding: 0 14px;
}

.mcdonalds-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mcdonalds-cart-item > div:first-child {
  display: grid;
  min-width: 0;
}

.mcdonalds-cart-item strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mcdonalds-cart-item > div:last-child {
  display: grid;
  grid-template-columns: 28px 24px 28px;
  align-items: center;
  text-align: center;
}

.mcdonalds-cart-item button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--ty-border);
  border-radius: 8px;
  color: var(--ty-text);
  background: white;
  cursor: pointer;
}

.mcdonalds-cart > .ty-button,
.mcdonalds-quote-card,
.mcdonalds-order-card {
  margin-inline: 14px;
}

.mcdonalds-cart > .ty-button {
  justify-content: center;
}

.mcdonalds-empty {
  margin: 0;
  padding: 16px 10px;
  color: var(--ty-text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.mcdonalds-quote-card,
.mcdonalds-order-card {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(186, 136, 18, 0.22);
  border-radius: 12px;
  background: rgba(255, 199, 44, 0.075);
}

.mcdonalds-quote-card dl,
.mcdonalds-quote-card p {
  margin: 0;
}

.mcdonalds-quote-card dl {
  display: grid;
  gap: 6px;
}

.mcdonalds-quote-card dl div {
  display: flex;
  justify-content: space-between;
  color: var(--ty-text-soft);
  font-size: 12px;
}

.mcdonalds-quote-card dl .is-total {
  margin-top: 3px;
  padding-top: 8px;
  border-top: 1px solid rgba(122, 95, 29, 0.14);
  color: var(--ty-text);
  font-size: 14px;
  font-weight: 700;
}

.mcdonalds-quote-card p {
  color: var(--ty-text-soft);
  font-size: 11px;
  line-height: 1.5;
}

.mcdonalds-order-card span,
.mcdonalds-order-card small {
  color: var(--ty-text-soft);
  font-size: 11px;
}

.mcdonalds-order-card strong {
  color: var(--ty-text);
  font-size: 15px;
}

.mcdonalds-order-card .ty-button {
  justify-content: center;
  text-decoration: none;
}

@keyframes daily-news-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes daily-news-panel-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes outcome-presentation-settle {
  from {
    opacity: 0.14;
  }
  to {
    opacity: 1;
  }
}

@keyframes outcome-composer-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes outcome-run-reveal {
  from {
    opacity: 0;
    filter: blur(2px);
    transform: translateY(10px) scale(0.995);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes outcome-stream-caret {
  0%,
  42% {
    opacity: 0.92;
  }
  58%,
  100% {
    opacity: 0.18;
  }
}

@keyframes outcome-composer-dock {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes outcome-rail-reveal {
  from {
    visibility: visible;
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes outcome-auth-reveal {
  from {
    visibility: visible;
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes outcome-note-enter {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes outcome-progress {
  from { width: 18%; }
  to { width: 82%; }
}

@media (max-width: 960px) and (min-width: 681px) {
  :root {
    --outcome-rail: 72px;
  }

  .outcome-app[data-view="handoff"] .outcome-shell,
  .outcome-app[data-view="conversation-empty"] .outcome-shell,
  .outcome-app[data-view="conversation-handoff"] .outcome-shell,
  .outcome-app[data-view="conversation"] .outcome-shell {
    gap: var(--ty-space-20);
  }

  .outcome-rail {
    padding: var(--ty-space-10);
  }

  .outcome-new-conversation {
    justify-content: center;
    padding-inline: var(--ty-space-8);
    font-size: 0;
  }

  .outcome-new-conversation span {
    font-size: 19px;
  }

  .outcome-rail-label,
  .outcome-conversation-item span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .outcome-conversation-item {
    display: grid;
    place-items: center;
  }
}

@media (max-width: 680px) {
  .outcome-app {
    width: min(calc(100% - 24px), 1080px);
    padding-top: var(--ty-space-20);
    gap: var(--ty-space-14);
  }

  .outcome-header .ty-brand-latin {
    display: none;
  }

  .outcome-login {
    min-width: auto;
    padding-inline: 12px;
  }

  .daily-news-dialog {
    padding: 0;
  }

  .daily-news-panel {
    width: 100%;
    box-sizing: border-box;
  }

  .daily-news-panel-header p {
    display: none;
  }

  .daily-news-workbench-body {
    padding: 18px;
  }

  .daily-news-form-row {
    grid-template-columns: 1fr;
  }

  .daily-news-send-now-card {
    align-items: stretch;
    flex-direction: column;
  }

  .daily-news-send-now-card .ty-button {
    justify-content: center;
  }

  .mcdonalds-header p {
    display: none;
  }

  .mcdonalds-body {
    padding: 16px;
  }

  .mcdonalds-selectors,
  .mcdonalds-order-grid {
    grid-template-columns: 1fr;
  }

  #mcdonalds-connection-form > div,
  .mcdonalds-connected {
    align-items: stretch;
    flex-direction: column;
  }

  #mcdonalds-connection-form .ty-button,
  .mcdonalds-connected .ty-button {
    justify-content: center;
  }

  .mcdonalds-menu-list {
    max-height: 340px;
  }

  .outcome-app[data-view="landing"] .outcome-workspace,
  .outcome-app[data-view="conversation-empty"] .outcome-workspace {
    min-height: calc(100vh - 98px);
    min-height: calc(100dvh - 98px);
    padding-bottom: 8vh;
    transform: translateY(-9vh);
  }

  .outcome-app[data-view="handoff"] .outcome-shell,
  .outcome-app[data-view="conversation-empty"] .outcome-shell,
  .outcome-app[data-view="conversation-handoff"] .outcome-shell,
  .outcome-app[data-view="conversation"] .outcome-shell {
    display: block;
  }

  .outcome-rail {
    display: none;
  }

  .outcome-stage {
    padding-block: var(--ty-space-16);
  }

  .outcome-empty h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .outcome-message.is-user {
    width: 94%;
  }

  .outcome-presentation-frame-shell {
    height: clamp(300px, 70vw, 460px);
  }

  .outcome-presentation-toolbar span {
    display: none;
  }

  .outcome-composer {
    bottom: var(--ty-space-8);
  }

  .outcome-handoff-actions::after {
    width: 74px;
  }

  .outcome-hint {
    max-width: 180px;
    line-height: 1.4;
  }
}

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

  .outcome-motion-layer {
    display: none;
  }
}
