.history-page[data-astro-cid-tal57otx]{max-width:1200px;margin:0 auto;padding:2rem}.history-header[data-astro-cid-tal57otx]{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.history-header[data-astro-cid-tal57otx] h1[data-astro-cid-tal57otx]{font-size:2rem;font-weight:600;color:var(--color-text, #1a1a1a);margin:0}.history-actions[data-astro-cid-tal57otx]{display:flex;gap:1rem}.export-button[data-astro-cid-tal57otx]{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:var(--color-primary, #0066cc);color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.95rem;transition:background .2s}.export-button[data-astro-cid-tal57otx]:hover{background:var(--color-primary-dark, #0052a3)}.history-filters[data-astro-cid-tal57otx]{background:var(--color-bg-secondary, #f5f5f5);padding:1.5rem;border-radius:8px;margin-bottom:2rem}.search-container[data-astro-cid-tal57otx]{margin-bottom:1rem}#searchInput[data-astro-cid-tal57otx]{width:100%;padding:.75rem;font-size:1rem;border:1px solid var(--color-border, #ddd);border-radius:6px;background:#fff}.filter-controls[data-astro-cid-tal57otx]{display:flex;gap:1rem;flex-wrap:wrap}.date-filter[data-astro-cid-tal57otx]{padding:.5rem;border:1px solid var(--color-border, #ddd);border-radius:6px;font-size:.9rem}.clear-filters[data-astro-cid-tal57otx]{padding:.5rem 1rem;background:transparent;border:1px solid var(--color-border, #ddd);border-radius:6px;cursor:pointer;font-size:.9rem}.clear-filters[data-astro-cid-tal57otx]:hover{background:var(--color-bg-secondary, #f5f5f5)}.loading[data-astro-cid-tal57otx]{text-align:center;padding:3rem;color:var(--color-text-secondary, #666)}.spinner[data-astro-cid-tal57otx]{width:40px;height:40px;border:4px solid var(--color-border, #ddd);border-top-color:var(--color-primary, #0066cc);border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 1rem}@keyframes spin{to{transform:rotate(360deg)}}.error-message[data-astro-cid-tal57otx]{text-align:center;padding:2rem;background:#fee;border:1px solid #fcc;border-radius:8px;color:#c33}.error-message[data-astro-cid-tal57otx] button[data-astro-cid-tal57otx]{margin-top:1rem;padding:.5rem 1.5rem;background:#c33;color:#fff;border:none;border-radius:6px;cursor:pointer}.history-empty-state[data-astro-cid-tal57otx]{text-align:center;padding:4rem 2rem;color:var(--color-text-secondary, #666)}.history-empty-state[data-astro-cid-tal57otx] svg[data-astro-cid-tal57otx]{margin-bottom:1rem;opacity:.5}.history-empty-state[data-astro-cid-tal57otx] h2[data-astro-cid-tal57otx]{font-size:1.5rem;margin-bottom:.5rem;color:var(--color-text, #1a1a1a)}.history-empty-state[data-astro-cid-tal57otx] p[data-astro-cid-tal57otx]{margin-bottom:1.5rem}.btn-primary[data-astro-cid-tal57otx]{display:inline-block;padding:.75rem 1.5rem;background:var(--color-primary, #0066cc);color:#fff;text-decoration:none;border-radius:6px;transition:background .2s}.btn-primary[data-astro-cid-tal57otx]:hover{background:var(--color-primary-dark, #0052a3)}.history-container[data-astro-cid-tal57otx]{display:flex;flex-direction:column;gap:1rem}.history-item[data-astro-cid-tal57otx]{background:#fff;border:1px solid var(--color-border, #ddd);border-radius:8px;padding:1.5rem;transition:box-shadow .2s}.history-item[data-astro-cid-tal57otx]:hover{box-shadow:0 2px 8px #0000001a}.history-item-header[data-astro-cid-tal57otx]{display:flex;justify-content:space-between;align-items:start;margin-bottom:1rem}.history-timestamp[data-astro-cid-tal57otx]{font-size:.85rem;color:var(--color-text-secondary, #666)}.history-question[data-astro-cid-tal57otx]{font-size:1.1rem;font-weight:600;color:var(--color-text, #1a1a1a);margin-bottom:.75rem}.history-answer[data-astro-cid-tal57otx]{color:var(--color-text-secondary, #444);line-height:1.6;margin-bottom:1rem}.history-item-footer[data-astro-cid-tal57otx]{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;border-top:1px solid var(--color-border, #eee)}.history-session[data-astro-cid-tal57otx]{font-size:.85rem;color:var(--color-text-secondary, #666)}.delete-button[data-astro-cid-tal57otx]{padding:.5rem 1rem;background:transparent;color:#c33;border:1px solid #c33;border-radius:6px;cursor:pointer;font-size:.9rem;transition:all .2s}.delete-button[data-astro-cid-tal57otx]:hover{background:#c33;color:#fff}.history-pagination[data-astro-cid-tal57otx]{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:2rem;padding:1rem}.pagination-prev[data-astro-cid-tal57otx],.pagination-next[data-astro-cid-tal57otx]{padding:.5rem 1rem;background:var(--color-primary, #0066cc);color:#fff;border:none;border-radius:6px;cursor:pointer;transition:background .2s}.pagination-prev[data-astro-cid-tal57otx]:hover:not(:disabled),.pagination-next[data-astro-cid-tal57otx]:hover:not(:disabled){background:var(--color-primary-dark, #0052a3)}.pagination-prev[data-astro-cid-tal57otx]:disabled,.pagination-next[data-astro-cid-tal57otx]:disabled{background:var(--color-border, #ddd);cursor:not-allowed}.pagination-info[data-astro-cid-tal57otx]{font-size:.95rem;color:var(--color-text-secondary, #666)}.modal[data-astro-cid-tal57otx]{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content[data-astro-cid-tal57otx]{background:#fff;border-radius:8px;max-width:500px;width:90%;max-height:90vh;overflow-y:auto}.modal-header[data-astro-cid-tal57otx]{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--color-border, #ddd)}.modal-header[data-astro-cid-tal57otx] h2[data-astro-cid-tal57otx]{margin:0;font-size:1.25rem}.modal-close[data-astro-cid-tal57otx]{background:transparent;border:none;font-size:1.5rem;cursor:pointer;color:var(--color-text-secondary, #666);padding:0;width:30px;height:30px}.modal-body[data-astro-cid-tal57otx]{padding:1.5rem}.modal-footer[data-astro-cid-tal57otx]{display:flex;justify-content:flex-end;gap:1rem;padding:1.5rem;border-top:1px solid var(--color-border, #ddd)}.export-options[data-astro-cid-tal57otx]{display:flex;gap:1rem;margin-top:1rem}.btn-secondary[data-astro-cid-tal57otx]{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:var(--color-bg-secondary, #f5f5f5);border:1px solid var(--color-border, #ddd);border-radius:6px;cursor:pointer;font-size:.95rem;transition:all .2s}.btn-secondary[data-astro-cid-tal57otx]:hover{background:var(--color-border, #ddd)}.btn-danger[data-astro-cid-tal57otx]{padding:.75rem 1.5rem;background:#c33;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.95rem;transition:background .2s}.btn-danger[data-astro-cid-tal57otx]:hover{background:#a22}.toast[data-astro-cid-tal57otx]{position:fixed;bottom:2rem;right:2rem;background:var(--color-text, #1a1a1a);color:#fff;padding:1rem 1.5rem;border-radius:6px;box-shadow:0 4px 12px #0000004d;z-index:1001;animation:slideIn .3s ease-out}.toast[data-astro-cid-tal57otx].success-message,.toast[data-astro-cid-tal57otx].alert-success{background:#2d7a2d}@keyframes slideIn{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}@media(max-width:768px){.history-page[data-astro-cid-tal57otx]{padding:1rem}.history-header[data-astro-cid-tal57otx]{flex-direction:column;align-items:flex-start;gap:1rem}.filter-controls[data-astro-cid-tal57otx]{flex-direction:column}.date-filter[data-astro-cid-tal57otx]{width:100%}.export-options[data-astro-cid-tal57otx]{flex-direction:column}.btn-secondary[data-astro-cid-tal57otx]{width:100%;justify-content:center}.history-pagination[data-astro-cid-tal57otx]{flex-wrap:wrap}}.no-results[data-astro-cid-tal57otx]{text-align:center;padding:3rem;color:var(--color-text-secondary, #666)}.no-results[data-astro-cid-tal57otx] h3[data-astro-cid-tal57otx]{margin-bottom:.5rem}
