/* Sara — Invocation + Context Resolver + Response Layer Conversation-style bubble: persistent panel size, scrolling thread, never resets between prompts. Read-only against the system; outputs are non-binding drafts. */ #sa-orch-sara-root { position: fixed; bottom: 20px; right: 20px; z-index: 99999; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } #sa-orch-sara-button { background: #1d2327; color: #fff; border: none; border-radius: 50px; padding: 12px 20px; cursor: pointer; font-size: 14px; font-weight: 600; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2); transition: transform 0.1s ease, box-shadow 0.1s ease; } #sa-orch-sara-button:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); } #sa-orch-sara-button:focus { outline: 2px solid #2271b1; outline-offset: 2px; } /* Panel: fixed dimensions; doesn't shrink/grow with content. Inner conversation area is what scrolls. */ #sa-orch-sara-panel { display: none; position: absolute; bottom: 56px; right: 0; width: 440px; height: 600px; background: #fff; border: 1px solid #c3c4c7; border-radius: 6px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15); padding: 12px; box-sizing: border-box; flex-direction: column; } #sa-orch-sara-panel.open { display: flex; } .sa-orch-sara-header { font-size: 14px; margin-bottom: 6px; color: #1d2327; flex-shrink: 0; } .sa-orch-sara-tag { font-size: 11px; color: #50575e; background: #f0f0f1; padding: 1px 6px; border-radius: 3px; margin-left: 6px; font-weight: normal; } .sa-orch-sara-context { font-size: 11px; color: #50575e; margin-bottom: 8px; padding: 4px 8px; background: #f6f7f7; border-radius: 3px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; flex-shrink: 0; } /* Conversation thread: takes remaining space, scrolls */ .sa-orch-sara-conversation { flex: 1 1 auto; overflow-y: auto; border: 1px solid #f0f0f1; border-radius: 3px; padding: 8px; background: #fafbfc; margin-bottom: 8px; min-height: 0; /* lets flex item shrink properly inside flex column */ } .sa-orch-sara-conversation:empty::before { content: 'No conversation yet. Type a prompt below to start.'; color: #8c8f94; font-size: 12px; font-style: italic; } /* A turn = user message + Sara response */ .sa-orch-sara-turn { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed #dcdcde; } .sa-orch-sara-turn:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .sa-orch-sara-msg-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #50575e; margin-bottom: 3px; display: flex; align-items: center; gap: 6px; } .sa-orch-sara-not-saved { background: #fff2c2; color: #7a5b00; border: 1px solid #c9a300; padding: 1px 6px; border-radius: 3px; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; } .sa-orch-sara-user-msg { margin-bottom: 8px; padding: 6px 10px; background: #eef4fa; border-left: 3px solid #2271b1; border-radius: 3px; } .sa-orch-sara-user-msg .sa-orch-sara-msg-body { font-size: 13px; color: #1d2327; white-space: pre-wrap; user-select: text; } .sa-orch-sara-assistant-msg { padding: 0; } .sa-orch-sara-section { margin-bottom: 6px; } .sa-orch-sara-section:last-child { margin-bottom: 0; } .sa-orch-sara-section-header { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #50575e; margin-bottom: 2px; } .sa-orch-sara-section-body { padding: 6px 10px; background: #f6f7f7; border-left: 3px solid #1d2327; border-radius: 3px; font-size: 13px; line-height: 1.45; white-space: pre-wrap; color: #1d2327; user-select: text; } /* Notes section (last in a Sara block) gets a different accent */ .sa-orch-sara-assistant-msg .sa-orch-sara-section:last-child .sa-orch-sara-section-body { border-left-color: #c9a300; background: #fcf9e8; font-size: 12px; } #sa-orch-sara-panel textarea { width: 100%; padding: 8px; border: 1px solid #c3c4c7; border-radius: 3px; font-size: 13px; font-family: inherit; box-sizing: border-box; resize: vertical; flex-shrink: 0; } .sa-orch-sara-send { margin-top: 6px; background: #2271b1; color: #fff; border: none; border-radius: 3px; padding: 6px 14px; cursor: pointer; font-size: 13px; flex-shrink: 0; } .sa-orch-sara-send:hover { background: #135e96; } .sa-orch-sara-send:disabled { background: #8c8f94; cursor: not-allowed; } .sa-orch-sara-status { margin-top: 6px; padding: 6px 10px; background: #fcf9e8; border-left: 3px solid #c9a300; border-radius: 3px; font-size: 11px; color: #50575e; font-style: italic; flex-shrink: 0; } .sa-orch-sara-actions { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; } .sa-orch-sara-actions button { background: #f6f7f7; color: #1d2327; border: 1px solid #c3c4c7; border-radius: 3px; padding: 4px 10px; cursor: pointer; font-size: 12px; } .sa-orch-sara-actions button:hover { background: #fff; border-color: #8c8f94; } /* Board #15 — Draft Assist: warning + inline insert message */ .sa-orch-sara-insert-warning { margin-top: 6px; padding: 5px 10px; background: #fcf9e8; border-left: 3px solid #c9a300; border-radius: 3px; font-size: 11px; color: #7a5b00; flex-shrink: 0; } .sa-orch-sara-insert { background: #1d2327 !important; color: #fff !important; border-color: #1d2327 !important; } .sa-orch-sara-insert:hover { background: #2c3338 !important; } .sa-orch-sara-insert-message { margin-top: 4px; padding: 4px 10px; background: #f6f7f7; border-radius: 3px; font-size: 11px; color: #50575e; font-style: italic; flex-shrink: 0; } .sa-orch-sara-usage { margin-top: 8px; padding-top: 6px; border-top: 1px dashed #dcdcde; font-size: 11px; color: #646970; font-family: Consolas, Monaco, monospace; }