/* Asker bileşenleri. Yalnızca CSS; değerler tokens.css değişkenlerinden gelir. */
.ak-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--touch-min);padding:0 var(--space-6);border-radius:var(--radius-full);border:none;font-family:var(--font-sans);font-size:16px;line-height:20px;font-weight:500;cursor:pointer;text-decoration:none;transition:background-color .15s ease}
.ak-btn:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.ak-btn svg{width:18px;height:18px;flex-shrink:0}
.ak-btn--primary{background:var(--ink);color:var(--surface)}
.ak-btn--primary:hover{background:var(--ink-hover)}
.ak-btn--secondary{background:var(--fill-secondary);color:var(--ink)}
.ak-btn--secondary:hover{background:var(--fill-secondary-hover)}
.ak-btn--ghost{background:transparent;color:var(--ink-muted)}
.ak-btn--ghost:hover{background:var(--fill-secondary);color:var(--ink)}
.ak-btn--chip{min-height:40px;padding:0 var(--space-4);font-size:15px;background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--border)}
.ak-btn--chip:hover{background:var(--surface-alt)}
.ak-btn--chip svg{color:var(--brand)}
.ak-btn[disabled]{background:var(--fill-secondary);color:var(--ink-muted);cursor:not-allowed}

.ak-typing{display:inline-flex;align-items:center;gap:6px;padding:var(--space-3) var(--space-4);border-radius:var(--radius-lg);background:var(--brand-soft)}
.ak-typing__dot{width:8px;height:8px;border-radius:var(--radius-full);background:var(--brand);animation:ak-dot 1.2s ease-in-out infinite}
.ak-typing__dot:nth-child(2){animation-delay:.15s}
.ak-typing__dot:nth-child(3){animation-delay:.3s}
@keyframes ak-dot{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.ak-working{display:inline-flex;align-items:center;gap:var(--space-3);font-family:var(--font-sans);font-size:15px;line-height:20px;color:var(--ink-muted)}
.ak-working svg{width:28px;height:28px;flex-shrink:0}
.ak-working .ak-ray{stroke:var(--brand);animation:ak-ray 1.2s ease-in-out infinite}
.ak-working .ak-ray:nth-of-type(2){animation-delay:.15s}
.ak-working .ak-ray:nth-of-type(3){animation-delay:.3s}
.ak-working .ak-body{fill:var(--ink);stroke:var(--ink)}
@keyframes ak-ray{0%,100%{opacity:.25}40%{opacity:1}}
@media (prefers-reduced-motion:reduce){.ak-typing__dot,.ak-working .ak-ray{animation:none;opacity:1}}

.ak-msg{display:flex;flex-direction:column;gap:var(--space-3);max-width:560px;padding:var(--space-4);border-radius:var(--radius-lg);font-family:var(--font-sans);font-size:18px;line-height:28px;color:var(--ink)}
.ak-msg--asker{background:var(--brand-soft);border-top-left-radius:var(--radius-sm)}
.ak-msg--user{background:var(--surface);border:1px solid var(--border);border-top-right-radius:var(--radius-sm);margin-left:auto}
.ak-msg__meta{font-size:14px;line-height:20px;color:var(--ink-muted)}
.ak-msg__actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}

.ak-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 8px;border-radius:var(--radius-sm);font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:500}
.ak-badge::before{content:"";width:16px;height:16px;flex-shrink:0;background:currentColor;-webkit-mask:var(--ak-ic) center/contain no-repeat;mask:var(--ak-ic) center/contain no-repeat}
.ak-badge--acil{background:var(--danger-soft);color:var(--danger);--ak-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cpath%20d%3D%22M12%208v4M12%2016h.01%22/%3E%3C/svg%3E")}
.ak-badge--cevap{background:var(--warning-soft);color:var(--warning);--ak-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cpath%20d%3D%22M12%207v5l3%203%22/%3E%3C/svg%3E")}
.ak-badge--taslak{background:var(--brand-soft);color:var(--brand-strong);--ak-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l1.9%205.1L19%2010l-5.1%201.9L12%2017l-1.9-5.1L5%2010l5.1-1.9z%22/%3E%3C/svg%3E")}
.ak-badge--bilgi{background:var(--fill-secondary);color:var(--ink-muted);--ak-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cpath%20d%3D%22M12%2011v5M12%208h.01%22/%3E%3C/svg%3E")}
.ak-badge--hassas{background:var(--fill-secondary);color:var(--ink);--ak-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2211%22%20width%3D%2214%22%20height%3D%2210%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M8%2011V7a4%204%200%200%201%208%200v4%22/%3E%3C/svg%3E")}
.ak-badge--tamam{background:var(--success-soft);color:var(--success);--ak-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cpath%20d%3D%22M8.5%2012l2.5%202.5%204.5-5%22/%3E%3C/svg%3E")}

.ak-file{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3);min-height:var(--touch-min);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);font-family:var(--font-sans);color:var(--ink);max-width:420px}
.ak-file svg{width:40px;height:40px;flex-shrink:0}
.ak-file__name{font-size:15px;line-height:20px;font-weight:500}
.ak-file__meta{font-size:14px;line-height:20px;color:var(--ink-muted)}
.ak-draft{display:flex;align-items:center;gap:var(--space-2);padding-top:var(--space-2);border-top:1px solid var(--border);font-family:var(--font-sans);font-size:13px;line-height:18px;font-weight:500;color:var(--ink-muted)}
.ak-draft svg{width:16px;height:16px;flex-shrink:0}

.ak-alert{display:flex;gap:var(--space-3);padding:var(--space-4);border-radius:var(--radius-md);font-family:var(--font-sans);color:var(--ink);max-width:560px}
.ak-alert--cevap{background:var(--warning-soft)}
.ak-alert--acil{background:var(--danger-soft)}
.ak-alert__icon{width:20px;height:20px;flex-shrink:0;margin-top:2px}
.ak-alert--cevap .ak-alert__icon{color:var(--warning)}
.ak-alert--acil .ak-alert__icon{color:var(--danger)}
.ak-alert__title{font-size:16px;line-height:24px;font-weight:600}
.ak-alert__text{font-size:15px;line-height:22px;color:var(--ink-muted);margin-bottom:var(--space-3)}
