/* Herman / Hermes chat — always-on floating dock */ .ha-dock { /* wrapper only; FAB/panel are fixed to viewport */ } .ha-dock-hidden { display: none !important; } .ha-fab { position: fixed !important; right: max(1.25rem, env(safe-area-inset-right, 0px)); bottom: max(1.25rem, env(safe-area-inset-bottom, 0px)); z-index: 10050 !important; height: 52px; width: auto; min-width: 52px; padding: 0 1.15rem 0 0.9rem; border-radius: 999px; border: 1px solid rgba(56, 189, 248, 0.65); background: linear-gradient(145deg, #0ea5e9 0%, #0284c7 55%, #0369a1 100%); color: #f8fafc; font-size: 1.15rem; cursor: pointer; display: inline-flex !important; align-items: center; justify-content: center; gap: 0.45rem; box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18), 0 10px 28px rgba(0, 0, 0, 0.5); transition: transform 0.15s, box-shadow 0.15s, background 0.15s; pointer-events: auto; } .ha-fab-icon { line-height: 1; font-size: 1.2rem; } .ha-fab-label { font-size: 0.88rem; font-weight: 700; letter-spacing: 0.02em; text-transform: none; } .ha-fab:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.28), 0 14px 34px rgba(0, 0, 0, 0.55); } .ha-fab.is-open { background: linear-gradient(145deg, #4c1d95, #1e1b4b); border-color: rgba(167, 139, 250, 0.7); box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.2), 0 10px 28px rgba(0, 0, 0, 0.5); } .ha-fab.is-busy { border-color: #38bdf8; animation: ha-pulse 1.2s infinite; } .ha-panel { position: fixed !important; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)); z-index: 10049 !important; width: min(420px, calc(100vw - 2rem)); max-height: min(620px, calc(100vh - 8rem)); display: flex; flex-direction: column; border-radius: 16px; border: 1px solid rgba(56, 189, 248, 0.35); background: rgba(10, 14, 20, 0.97); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55); overflow: hidden; } .ha-head { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0.85rem; border-bottom: 1px solid rgba(148, 163, 184, 0.12); background: rgba(167, 139, 250, 0.08); gap: 0.5rem; } .ha-head-title { min-width: 0; } .ha-head h2 { margin: 0; font-size: 0.9rem; color: #f8fafc; display: flex; align-items: center; gap: 0.4rem; } .ha-badge { font-size: 0.62rem; font-weight: 600; color: #ddd6fe; background: rgba(124, 58, 237, 0.35); border: 1px solid rgba(167, 139, 250, 0.45); border-radius: 999px; padding: 0.12rem 0.45rem; letter-spacing: 0.02em; } .ha-conn { margin: 0.15rem 0 0; font-size: 0.62rem; color: #64748b; } .ha-conn.is-ok { color: #34d399; } .ha-conn.is-err { color: #f87171; } .ha-head-actions { display: flex; gap: 0.35rem; align-items: center; flex-shrink: 0; } .ha-head-actions a { font-size: 0.72rem; color: #a78bfa; text-decoration: none; } .ha-head-actions button { background: none; border: none; color: #94a3b8; cursor: pointer; font-size: 1.1rem; padding: 0.2rem; } .ha-text-btn { font-size: 0.68rem !important; color: #94a3b8 !important; padding: 0.2rem 0.35rem !important; } .ha-text-btn:hover { color: #e2e8f0 !important; } .ha-text-btn:disabled { opacity: 0.4; cursor: not-allowed; } .ha-confirm { padding: 0.5rem 0.75rem; background: rgba(251, 191, 36, 0.1); border-bottom: 1px solid rgba(251, 191, 36, 0.25); font-size: 0.75rem; color: #fde68a; } .ha-confirm-actions { display: flex; gap: 0.35rem; margin-top: 0.35rem; } .ha-log { flex: 1; overflow-y: auto; padding: 0.65rem; display: flex; flex-direction: column; gap: 0.5rem; min-height: 220px; max-height: 360px; } .ha-bubble { max-width: 92%; padding: 0.5rem 0.7rem; border-radius: 10px; font-size: 0.8rem; line-height: 1.4; } .ha-bubble-user { align-self: flex-end; background: rgba(14, 165, 233, 0.15); border: 1px solid rgba(14, 165, 233, 0.28); } .ha-bubble-agent { align-self: flex-start; background: rgba(167, 139, 250, 0.12); border: 1px solid rgba(167, 139, 250, 0.25); } .ha-bubble-meta { font-size: 0.62rem; color: #64748b; margin-bottom: 0.15rem; } .ha-bubble p { margin: 0; white-space: pre-wrap; word-break: break-word; } .ha-preview { margin: 0 0.65rem; padding: 0.4rem 0.55rem; border-radius: 8px; font-size: 0.72rem; color: #94a3b8; border: 1px dashed rgba(167, 139, 250, 0.3); min-height: 1.5rem; } .ha-preview.is-interim { font-style: italic; } .ha-input-row { display: flex; gap: 0.35rem; padding: 0.55rem 0.65rem; border-top: 1px solid rgba(148, 163, 184, 0.12); align-items: center; margin: 0; } .ha-input-row .form-input { flex: 1; font-size: 0.8rem; padding: 0.45rem 0.6rem; } .ha-mic { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(167, 139, 250, 0.45); background: rgba(15, 20, 25, 0.95); cursor: pointer; font-size: 1rem; flex-shrink: 0; } .ha-mic.is-listening { border-color: #f87171; animation: ha-pulse 1s infinite; } .ha-mic.is-busy { border-color: #38bdf8; } @keyframes ha-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.15); } 50% { box-shadow: 0 0 0 8px rgba(248, 113, 113, 0.28); } } .ha-status { font-size: 0.72rem; color: #cbd5e1; padding: 0.25rem 0.65rem 0.4rem; line-height: 1.35; } .ha-status.is-error { color: #fecaca; background: rgba(127, 29, 29, 0.35); border-radius: 6px; margin: 0 0.5rem 0.35rem; padding: 0.4rem 0.55rem; } .ha-secure-hint { margin: 0.25rem 0.55rem 0.45rem; padding: 0.55rem 0.65rem; border-radius: 8px; background: rgba(14, 165, 233, 0.12); border: 1px solid rgba(56, 189, 248, 0.45); color: #e2e8f0; font-size: 0.78rem; line-height: 1.4; } .ha-secure-hint strong { color: #f8fafc; display: block; margin-bottom: 0.25rem; } .ha-secure-hint a { display: inline-block; margin-top: 0.4rem; } .ha-results-modal { z-index: 1600; } .ha-results-card { width: min(640px, 96vw); max-height: 80vh; } .ei-modal-root { position: fixed; inset: 0; z-index: 1600; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(0, 0, 0, 0.55); } .ei-modal-card { background: #0f1419; border-radius: 14px; padding: 1.25rem; border: 1px solid rgba(14, 165, 233, 0.25); max-width: 96vw; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5); } .ei-modal-card h3 { margin: 0 0 0.5rem; color: #f8fafc; } .ei-modal-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem; } .voice-results-table th, .voice-results-table td { padding: 0.4rem 0.55rem; border-top: 1px solid rgba(148,163,184,0.1); font-size: 0.78rem; } .voice-results-table a { color: #38bdf8; } @media (max-width: 480px) { .ha-fab { right: 1rem; bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)); /* above mobile bottom nav */ } .ha-panel { right: 0.5rem; left: 0.5rem; width: auto; bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px)); } } .ha-toggles { display: flex; flex-wrap: wrap; gap: 0.55rem 0.9rem; padding: 0.15rem 0.65rem 0.35rem; font-size: 0.68rem; color: #94a3b8; } .ha-toggles label { display: inline-flex; align-items: center; gap: 0.3rem; cursor: pointer; user-select: none; } .ha-toggles input { accent-color: #38bdf8; margin: 0; } .ha-mic.is-listening { box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.35); } /* Toasts boven de Herman FAB, niet erachter */ .toast-container { bottom: 5.75rem !important; right: 1rem !important; left: auto !important; z-index: 10120 !important; max-width: min(360px, calc(100vw - 2rem)); } .toast { color: #f1f5f9 !important; background: #0f172a !important; box-shadow: 0 8px 24px rgba(0,0,0,0.45); } .toast-error { border-color: #f87171 !important; color: #fecaca !important; } .ha-https-prompt { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 0 0.55rem 0.4rem; padding: 0.45rem 0.55rem; border-radius: 8px; background: rgba(14, 165, 233, 0.12); border: 1px solid rgba(56, 189, 248, 0.4); color: #e2e8f0; font-size: 0.75rem; } .ha-https-prompt .btn { flex-shrink: 0; } .ha-https-prompt .ha-text-btn { margin-left: auto; color: #94a3b8; } .ha-fab.has-custom-pos { right: auto !important; bottom: auto !important; } .ha-fab.is-dragging { cursor: grabbing !important; transition: none !important; transform: none !important; user-select: none; touch-action: none; } .ha-fab { touch-action: none; user-select: none; } .ha-panel.has-custom-pos { right: auto !important; bottom: auto !important; }