/* ───────────────────────────────────────────────────────────── Scope: only wrapper + overlay elements. DO NOT add global resets — they bleed into the EasyBusy plugin. ───────────────────────────────────────────────────────────── */ :root { --color-primary: #1d6fdb; --color-primary-hover: #155bb5; --color-success: #1a9e5f; --color-warning: #d97706; --color-error: #dc2626; --color-info: #2563eb; --color-text: #1e2535; --color-muted: #6b7280; --color-border: #dde1ea; --color-surface: #ffffff; --radius: 8px; --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } /* Page sizing */ html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; } /* Chat container — explicit vw/vh so the plugin can measure correct dimensions */ #chat_container_holder { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; overflow: hidden; } /* Plugin root fills container */ #chat_container_holder > *, .easy-busy-chats-plugin { width: 100%; height: 100%; } /* ── Status bar — floating pill ── */ #status-bar { display: none; position: fixed; top: 8px; left: 50%; transform: translateX(-50%); z-index: 9000; padding: 6px 14px; border-radius: 20px; font-family: var(--font); font-size: 12px; font-weight: 500; white-space: nowrap; box-shadow: 0 2px 12px rgba(0,0,0,.18); pointer-events: none; max-width: 90vw; overflow: hidden; text-overflow: ellipsis; border: 1px solid transparent; } #status-bar.visible { display: block; } #status-bar.info { background: #eff6ff; color: var(--color-info); border-color: #bfdbfe; } #status-bar.success { background: #f0fdf4; color: var(--color-success); border-color: #bbf7d0; } #status-bar.warning { background: #fffbeb; color: var(--color-warning); border-color: #fde68a; } #status-bar.error { background: #fef2f2; color: var(--color-error); border-color: #fecaca; pointer-events: auto; } /* ── Debug panel ── */ #debug-toggle { appearance: none; position: fixed; right: 8px; top: 8px; z-index: 9301; border: 1px solid #2d3a50; background: #111827; color: #dbe7fb; border-radius: 999px; padding: 6px 10px; font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; cursor: pointer; opacity: 0.8; } #debug-toggle:hover, #debug-toggle[aria-pressed="true"] { opacity: 1; background: #1f2937; } #debug-toolbar { display: none; position: fixed; right: 8px; bottom: 188px; z-index: 9000; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: calc(100vw - 16px); } #debug-toolbar.visible { display: flex; } #debug-toolbar button { appearance: none; border: 1px solid #2d3a50; background: #111827; color: #dbe7fb; border-radius: 999px; padding: 6px 10px; font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; cursor: pointer; } #debug-toolbar input { min-width: 180px; max-width: 240px; border: 1px solid #2d3a50; background: #0b1220; color: #dbe7fb; border-radius: 999px; padding: 6px 10px; font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; } #debug-toolbar input::placeholder { color: #7f8ea7; } #debug-toolbar button:hover { background: #1f2937; } #debug-panel { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 8999; background: #1e2535; color: #a8b5cc; padding: 10px 14px; font-size: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: pre-wrap; word-break: break-all; max-height: 180px; overflow-y: auto; border-top: 1px solid #2d3a50; } #debug-panel.visible { display: block; } /* ── Env badge (debug mode only) — click to toggle dev/prod ── */ .eb-env-badge { position: fixed; top: 8px; left: 8px; z-index: 9300; max-width: 60vw; padding: 4px 10px; border-radius: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); opacity: 0.92; } .eb-env-badge:hover { opacity: 1; } .eb-env-dev { background: #d97706; } /* amber → dev */ .eb-env-prod { background: #1a9e5f; } /* green → prod */ .eb-env-unknown { background: #6b7280; } /* ── Modals ── */ .modal { display: none; position: fixed; inset: 0; z-index: 9100; background: rgba(0,0,0,.45); align-items: center; justify-content: center; } .modal.visible { display: flex; } .modal-box { background: var(--color-surface); border-radius: var(--radius); padding: 20px; width: 320px; max-width: 90vw; max-height: 90vh; overflow: auto; box-shadow: 0 8px 32px rgba(0,0,0,.22); font-family: var(--font); } .modal-box-wide { width: 520px; } .modal-title { font-size: 14px; font-weight: 600; margin: 0 0 6px; color: var(--color-text); } .modal-desc { font-size: 12px; color: var(--color-muted); margin: 0 0 14px; line-height: 1.4; } .modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .modal-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--color-text); } .modal-input { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--color-border); border-radius: 6px; font-size: 12px; font-family: var(--font); outline: none; color: var(--color-text); } .modal-input:focus { border-color: var(--color-primary); } .modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; } .search-row { display: flex; gap: 8px; margin-bottom: 12px; } .search-row .modal-input { flex: 1; } .contact-results { border: 1px solid var(--color-border); border-radius: 6px; min-height: 120px; max-height: 260px; overflow-y: auto; background: #fff; } .contact-result-empty { padding: 14px; font-size: 12px; color: var(--color-muted); } .contact-result-item { padding: 10px 12px; border-bottom: 1px solid var(--color-border); cursor: pointer; font-family: var(--font); } .contact-result-item:last-child { border-bottom: none; } .contact-result-item:hover { background: #f5f6fa; } .contact-result-name { font-size: 13px; font-weight: 600; color: var(--color-text); } .contact-result-meta { margin-top: 3px; font-size: 11px; color: var(--color-muted); } /* ── Shared button styles ── */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 6px; border: 1px solid transparent; font-size: 12px; font-family: var(--font); font-weight: 500; cursor: pointer; transition: background 0.15s, border-color 0.15s; box-sizing: border-box; } .btn:disabled { opacity: 0.55; cursor: not-allowed; } .btn-primary { background: var(--color-primary); color: #fff; } .btn-primary:hover:not(:disabled) { background: var(--color-primary-hover); } .btn-outline { background: var(--color-surface); color: var(--color-text); border-color: var(--color-border); } .btn-outline:hover:not(:disabled) { background: #f5f6fa; } /* ── Onboarding overlay (auth / company picker / token-wait) ── */ .eb-overlay { display: none; position: fixed; inset: 0; z-index: 9200; background: #f5f6fa; align-items: center; justify-content: center; font-family: var(--font); } .eb-overlay.visible { display: flex; } .eb-card { background: var(--color-surface); border-radius: var(--radius); padding: 28px 26px; width: 360px; max-width: 90vw; max-height: 90vh; overflow: auto; box-shadow: 0 8px 32px rgba(0,0,0,.12); text-align: center; } .eb-title { font-size: 16px; font-weight: 600; color: var(--color-text); margin-bottom: 8px; } .eb-message { font-size: 13px; line-height: 1.5; color: var(--color-muted); margin-bottom: 16px; white-space: pre-wrap; } .eb-companies { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; text-align: left; } .eb-company-item { padding: 11px 14px; border: 1px solid var(--color-border); border-radius: 6px; cursor: pointer; font-size: 13px; color: var(--color-text); transition: border-color 0.15s, background 0.15s; } .eb-company-item:hover { border-color: var(--color-primary); background: #f5f8ff; } .eb-company-name { font-weight: 600; } .eb-company-meta { margin-top: 2px; font-size: 11px; color: var(--color-muted); } .eb-actions { display: flex; justify-content: center; gap: 8px; }