*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #0f172a;--surface: #1e293b;--surface-hover: #334155;--border: #334155;--text: #f1f5f9;--text-muted: #94a3b8;--accent: #38bdf8;--radius: 8px}html[data-theme=light]{--bg: #f8fafc;--surface: #ffffff;--surface-hover: #f1f5f9;--border: #e2e8f0;--text: #0f172a;--text-muted: #64748b;--accent: #0284c7}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;min-height:100vh}#app{max-width:1100px;margin:0 auto;padding:2rem 1.5rem;display:flex;flex-direction:column;min-height:100vh}header{text-align:center;margin-bottom:2rem}h1{font-size:1.75rem;font-weight:700;letter-spacing:-.02em}.subtitle{color:var(--text-muted);font-size:.9rem;margin-top:.25rem}.controls{display:flex;justify-content:center;gap:.25rem;margin-top:1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.25rem;width:fit-content;margin-left:auto;margin-right:auto}.toggle-btn{padding:.5rem 1rem;border:none;border-radius:6px;background:transparent;color:var(--text-muted);font-size:.85rem;cursor:pointer;transition:all .15s ease;font-family:inherit}.toggle-btn:hover{color:var(--text)}.toggle-btn.active{background:var(--accent);color:#0f172a;font-weight:600}#chart-container{flex:1;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;min-height:450px}#chart-container[hidden]{display:none}#gdp-chart{width:100%;height:100%;min-height:400px}#loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:4rem 2rem;color:var(--text-muted)}#loading[hidden]{display:none}.spinner{width:32px;height:32px;border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#error{text-align:center;padding:4rem 2rem;color:#ef4444}#error[hidden]{display:none}footer{text-align:center;padding-top:1.5rem;font-size:.8rem;color:var(--text-muted);margin-top:auto}footer a{color:var(--accent);text-decoration:none}footer a:hover{text-decoration:underline}
