/* Edge drop zones while a header drag is live. Pointer events off (the header's capture owns the
   gesture); below the panel (90000), since they show where the panel would land. */
.chat-dock-zones {
    position: fixed;
    inset: 0;
    z-index: 89999;
    pointer-events: none;
}
/* Tint + blur, the image drop zones' recipe (#global-drop-overlay): the band
   reads as a surface over the page rather than a wash the page shows through. */
.chat-dock-zone {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed color-mix(in srgb, var(--accent) 70%, transparent);
    background: color-mix(in srgb, var(--accent) 32%, transparent);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 10px;
    transition: background 0.12s ease, border-color 0.12s ease;
}
.chat-dock-zone-left   { left: 8px;  top: 8px; bottom: 8px; width: 56px; --zone-nudge-x: -4px; --zone-nudge-y: 0px; }
.chat-dock-zone-right  { right: 8px; top: 8px; bottom: 8px; width: 56px; --zone-nudge-x: 4px;  --zone-nudge-y: 0px; }
.chat-dock-zone-top    { top: 8px;    left: 72px; right: 72px; height: 56px; --zone-nudge-x: 0px; --zone-nudge-y: -4px; }
.chat-dock-zone-bottom { bottom: 8px; left: 72px; right: 72px; height: 56px; --zone-nudge-x: 0px; --zone-nudge-y: 4px; }
/* Stays DASHED when hovered/targeted — only the tint and the arrow strengthen. */
.chat-dock-zone-active {
    background: color-mix(in srgb, var(--accent) 52%, transparent);
    border-color: var(--accent);
}
/* Directional "dock here" chevron, nudging into the edge (chatZoneNudge,
   animations/keyframes.css). A soft contrast halo keeps it legible over
   whatever the zone overlays. */
.chat-zone-arrow {
    display: inline-flex;
    color: var(--accent);
    opacity: 0.9;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.55));
    animation: chatZoneNudge 0.7s ease-in-out infinite alternate;
}
.chat-dock-zone-active .chat-zone-arrow { opacity: 1; color: var(--text-key); }

.chat-transcript {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;   /* a bubble sliding in from its side never widens the scroll (motionModes.css chatSideIn) */
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Measured for the narrow-column rule: the panel resizes independently of the viewport. */
    container-type: inline-size;
    container-name: chat-transcript;
}
