/* Give the checklist more room inside the existing thumbnail result portrait frame.
   Adjust the image dimensions and anchor so the ambient animation keeps its baseline. */
body[data-tool="thumbnail"][data-view="results"] #companion[data-mood="checking"] .character-image {
  height:94%;
  width:auto;
  top:2%;
  right:auto;
  left:12px;
  translate:-51% 0;
}

/* Keep the assistant frame stable while the article's left panel changes. */
#article-details-panel {grid-column:1;grid-row:2;min-width:0;min-height:0}
body[data-article-detail="open"] #results-panel {display:none}
@media(min-width:1200px) {
  body[data-view="results"] #article-details-panel {height:var(--analysis-frame-height);max-height:none}
  body[data-article-detail="open"] .main-shell {grid-template-columns:minmax(0,1fr) 390px}
  body[data-view="results"] .page-footer {padding:8px 0}
}
@media(max-width:1199px) {
  #article-details-panel {height:min(820px,calc(100dvh - 110px));min-height:450px}
}
body[data-view="results"] .has-detail-navigation .companion-dialogue {
  display:flex;flex-direction:column;padding:10px 14px;overflow:hidden;
}
body[data-view="results"] .has-detail-navigation .dialogue-eyebrow {order:1;flex:none;margin-bottom:4px;line-height:1.4}
body[data-view="results"] .has-detail-navigation .companion-dialogue h2 {order:2;flex:none;margin-bottom:6px;font-size:16px;line-height:1.4}
body[data-view="results"] .has-detail-navigation #assistant-message {
  order:3;flex:none;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;
  overflow:hidden;font-size:12px;line-height:1.5;margin:0;
}
.assistant-detail-button {
  order:4;flex:none;position:relative;isolation:isolate;overflow:hidden;
  display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:48px;
  margin-top:auto;padding:10px 12px;border:1px solid #b7ffcb;border-radius:8px;
  background:linear-gradient(115deg,#d9ff79,#83f5ce 70%,#74ede5);color:#061d21;
  font-size:13px;font-weight:800;line-height:1.5;white-space:nowrap;
  box-shadow:0 0 18px #77efce30,inset 0 1px #ffffffaa;animation:assistant-nav-glow 4.8s ease-in-out infinite;
}
.assistant-detail-button:hover:not(:disabled) {background:linear-gradient(115deg,#e6ffa7,#a3ffe5 70%,#8cfff1);border-color:#edfff5}
.assistant-detail-button:focus-visible {outline:2px solid #b6ffec;outline-offset:3px}
.assistant-detail-button::after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(105deg,transparent 40%,#b2ffed38 50%,transparent 60%);
  transform:translateX(-130%);animation:assistant-nav-sweep 6.5s ease-in-out infinite;
}
.assistant-nav-beacon {width:6px;height:6px;flex:none;border-radius:50%;background:#087d7b;box-shadow:0 0 6px #087d7b55}
.assistant-nav-arrow {margin-left:auto;color:#12616a;font-size:18px}
@keyframes assistant-nav-glow {0%,100%{box-shadow:0 0 10px #41d8cb18}50%{box-shadow:0 0 17px #41d8cb44}}
@keyframes assistant-nav-sweep {0%,45%{transform:translateX(-130%)}80%,100%{transform:translateX(130%)}}
@media(prefers-reduced-motion:reduce) {
  .assistant-detail-button {animation:none}
  .assistant-detail-button::after {display:none}
}
