html, body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid #6366f1; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.app-toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 10000; padding: 13px 22px; max-width: calc(100vw - 32px); border: 1px solid rgba(99, 102, 241, 0.2); border-radius: 14px; background: #fff; color: #1e293b; box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1); font: 14px/1.5 -apple-system, BlinkMacSystemFont, sans-serif; }
.el-overlay { position: fixed; inset: 0; background-color: rgba(15, 23, 42, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.el-overlay-dialog { inset: 0; align-items: center; justify-content: center; }
.history-page { min-height: 100vh; color: #1e293b; font-family: -apple-system, BlinkMacSystemFont, sans-serif; background: transparent; }
.history-topbar { height: 80px; padding: 0 max(24px, calc((100vw - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(226, 232, 240, 0.8); }
.history-back { padding: 10px 0; color: #64748b; border: 0; background: none; cursor: pointer; font-size: 14px; }
.history-wordmark { font-size: 11px; color: #6366f1; font-weight: 700; letter-spacing: 2px; }
.history-main { max-width: 1120px; margin: auto; padding: 64px 24px 80px; }
.history-eyebrow { font-size: 11px; letter-spacing: 3px; color: #6366f1; font-weight: 600; }
.history-main > h1 { font-size: 36px; font-weight: 700; margin: 12px 0; letter-spacing: -1px; }
.history-intro { color: #94a3b8; font-size: 15px; margin-bottom: 40px; }
.history-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.history-card { text-align: left; border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 24px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(16px); overflow: hidden; cursor: pointer; box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05); transition: transform .25s, box-shadow .25s; }
.history-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px -4px rgba(99, 102, 241, 0.15); border-color: rgba(99, 102, 241, 0.3); }
.history-card > img { width: 100%; height: 180px; object-fit: cover; }
.history-card-content { padding: 24px; }
.history-date { color: #94a3b8; font-size: 12px; }
.history-card-heading { display: flex; justify-content: space-between; align-items: center; margin: 12px 0; }
.history-card-heading h2 { font-size: 26px; font-weight: 700; }
.history-card-heading strong { color: #6366f1; font-size: 24px; }
.history-card-content p { font-size: 12px; color: #94a3b8; }
.history-view { display: block; color: #6366f1; font-size: 13px; margin-top: 24px; }
.history-empty { max-width: 680px; padding: 64px 24px; margin: 48px auto; border-radius: 32px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); text-align: center; box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08); }
.history-empty-icon { color: #6366f1; font-size: 72px; line-height: 1; }
.history-empty h2 { font-size: 23px; font-weight: 600; margin: 24px 0 12px; }
.history-empty p { color: #94a3b8; font-size: 14px; margin-bottom: 32px; }
.history-start { border: 0; border-radius: 30px; padding: 16px 30px; background: linear-gradient(135deg, #6366f1, #8b5cf6 50%, #ec4899); color: white; font-weight: 600; cursor: pointer; box-shadow: 0 10px 24px -4px rgba(99, 102, 241, 0.45); }
@media (max-width: 800px) { .history-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .history-topbar { height: 68px; } .history-main { padding-top: 40px; } .history-main > h1 { font-size: 28px; } .history-grid { grid-template-columns: 1fr; } .history-empty { padding: 44px 20px; } .history-empty h2 { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
