diff --git a/index.html b/index.html index a9b586f..04cdba6 100644 --- a/index.html +++ b/index.html @@ -62,6 +62,21 @@ th{color:var(--gray);font-size:10px;text-transform:uppercase;font-weight:600;let .funnel .step:nth-child(6){background:var(--green);color:#fff;width:14%} @media(max-width:768px){.grid2,.grid3{grid-template-columns:1fr}.kpi-row{grid-template-columns:repeat(2,1fr)}} + +.ai-btn{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,var(--accent),#e74c3c);color:#fff;border:none;font-size:24px;cursor:pointer;box-shadow:0 4px 16px rgba(9,132,227,.3);z-index:999;transition:all .3s;display:flex;align-items:center;justify-content:center} +.ai-btn:hover{transform:scale(1.1)} +.ai-chat{position:fixed;bottom:90px;right:24px;width:340px;max-height:450px;background:var(--card);border-radius:14px;box-shadow:0 8px 32px rgba(0,0,0,.15);z-index:998;display:none;flex-direction:column;overflow:hidden;border:1px solid var(--border)} +.ai-chat.open{display:flex} +.ai-chat .hd{background:linear-gradient(135deg,#2d3436,#636e72);color:#fff;padding:12px 16px;font-size:14px;font-weight:700;display:flex;justify-content:space-between;align-items:center} +.ai-chat .hd button{background:none;border:none;color:#fff;font-size:18px;cursor:pointer} +.ai-chat .msgs{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;max-height:300px} +.ai-chat .msg{padding:10px 14px;border-radius:12px;font-size:12px;line-height:1.45;max-width:90%} +.ai-chat .msg.ai{background:#f0f4ff;color:var(--text);align-self:flex-start;border-bottom-left-radius:4px} +.ai-chat .msg.user{background:var(--accent);color:#fff;align-self:flex-end;border-bottom-right-radius:4px} +.ai-chat .input-row{display:flex;gap:4px;padding:8px 12px;border-top:1px solid var(--border)} +.ai-chat .input-row input{flex:1;padding:8px 12px;border-radius:8px;border:1px solid var(--border);font-size:13px;margin:0} +.ai-chat .input-row button{padding:8px 14px;border-radius:8px;background:var(--accent);color:#fff;border:none;font-weight:600;cursor:pointer;font-size:13px} + @media print{body{background:#fff}.card{box-shadow:none;border:1px solid #ddd}nav.tabs{display:none}} @@ -954,5 +969,75 @@ document.querySelectorAll('#tabs .tab').forEach(tab => { }); + + +
+
+ 🤖 HR-ассистент + +
+
+
👋 Здравствуйте! Я HR-ассистент. Спросите меня о любом показателе из дашборда: текучесть, бюджет, KPI, найм, обучение...
+
+
+ + +
+
+ + + \ No newline at end of file