/* V0.17.5.1 — calm, readable, stable motion. UI-only changes. */
html[data-ui="refined"] .portal-gateway {
  animation:tolga-gentle-in .18s ease-out both;
}
html[data-ui="refined"] .portal-gateway.portal-leaving {
  animation:none!important;
  opacity:0;
  transform:none!important;
  filter:none!important;
  transition:opacity .16s ease!important;
  pointer-events:none;
}
html[data-ui="refined"] .portal-gateway.portal-leaving .portal-option,
html[data-ui="refined"] .portal-gateway.portal-leaving .portal-option.portal-chosen {
  opacity:1!important;
  transform:none!important;
  transition:none!important;
}
html[data-ui="refined"] .portal-option {
  transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease!important;
}
html[data-ui="refined"] .portal-option:is(:hover,:focus-visible),
html[data-ui="refined"] .portal-option:active { transform:none!important; }
html[data-ui="refined"] .portal-option-arrow { transition:none!important; }
html[data-ui="refined"] .portal-option:is(:hover,:focus-visible) .portal-option-arrow { transform:none!important; }
html[data-ui="refined"] .portal-candidate-view {
  animation:tolga-gentle-in .18s ease-out both;
}
html[data-ui="refined"] #track-panel[open] .sheet-shell,
html[data-ui="refined"] #dialogue-panel[open] .sheet-shell {
  animation:tolga-gentle-in .16s ease-out both;
}
.portal-flight { display:none!important; }
/* Only the selected candidate's portrait flies to the compact chat avatar. */
#ask-panel.living-handoff-active {overflow:visible!important;}
#ask-panel .living-flight {display:grid!important;overflow:hidden!important;box-shadow:0 13px 26px #07180f24;will-change:transform;backface-visibility:hidden;}
/* Dense published conversations are easier to scan when the cards are compact. */
html[data-ui="refined"] #dialogue-panel .dialogue-item summary {
  padding:14px 2px;
  gap:10px;
  line-height:1.6;
  align-items:flex-start;
}
html[data-ui="refined"] #dialogue-panel .dialogue-item summary span:not(.example-badge) {
  flex:1;min-width:0;overflow-wrap:anywhere;
}
html[data-ui="refined"] #dialogue-panel .dialogue-item:not([open]) summary span:not(.example-badge) {
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
  overflow:hidden;
}
html[data-ui="refined"] #dialogue-panel .example-badge {
  font-size:12px;line-height:1.5;flex:none;
}
html[data-ui="refined"] #dialogue-panel .dialogue-explanation {
  padding:0 0 14px;color:#364d40;line-height:1.75;
}
html[data-ui="refined"] #dialogue-panel .dialogue-explanation .tracked-message {
  padding:13px 15px;margin:0 0 10px;border-radius:16px;
  background:#f9f7f1;border:1px solid #e2dfd4;box-shadow:none;
}
html[data-ui="refined"] #dialogue-panel .dialogue-explanation .tracked-message strong {
  font-size:15px;color:#415c49;
}
html[data-ui="refined"] #dialogue-panel .dialogue-explanation .tracked-message p {
  font-size:16px;line-height:1.75;color:#253d31;
}
@keyframes tolga-gentle-in { from {opacity:0;} to {opacity:1;} }
@media(prefers-reduced-motion:reduce) {
  html[data-ui="refined"] .portal-gateway,
  html[data-ui="refined"] .portal-gateway.portal-leaving,
  html[data-ui="refined"] .portal-candidate-view,
  html[data-ui="refined"] #track-panel[open] .sheet-shell,
  html[data-ui="refined"] #dialogue-panel[open] .sheet-shell {
    animation:none!important;transition:none!important;opacity:1!important;
  }
}
