/* Positioning and operability only; the conversation uses ElevenLabs defaults. */
#luna-chat-entry {
 position: fixed;
 right: max(12px, env(safe-area-inset-right));
 bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--luna-clearance, 0px));
 z-index: 60;
 max-width: calc(100vw - 24px);
 font: 14px/1.5 Arial, sans-serif;
 color: #111;
}
#luna-chat-entry[hidden] { display: none; }
#luna-chat-entry details { background: #fff; border: 1px solid #ddd; border-radius: 8px; }
#luna-chat-entry summary { cursor: pointer; padding: 12px 16px; min-height: 44px; box-sizing: border-box; }
#luna-chat-entry details[open] { width: min(320px, calc(100vw - 24px)); }
#luna-chat-entry .luna-chat-notice { padding: 0 16px 16px; }
#luna-chat-entry p { margin: 0 0 12px; }
#luna-chat-entry a { color: inherit; text-decoration: underline; }
#luna-chat-entry button { font: inherit; cursor: pointer; min-height: 44px; padding: 6px 12px; }
#luna-chat-entry :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
#luna-text-widget {
 position: fixed;
 inset: 0 0 var(--luna-clearance, 0px);
 width: auto;
 height: auto;
 /* Native mobile fullscreen controls must sit above the existing sticky header. */
 z-index: 200;
}
