:root{--primary:#2563eb;--primary-hover:#1d4ed8;--primary-light:#eff6ff;--secondary:#4f46e5;--accent:#0ea5e9;--success:#16a34a;--success-light:#f0fdf4;--warning:#d97706;--warning-light:#fffbeb;--danger:#dc2626;--danger-light:#fef2f2;--background:#f8fafc;--surface:#fff;--text-main:#0f172a;--text-muted:#64748b;--border:#e2e8f0;--code-bg:#0f172a;--code-text:#f1f5f9}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--background);color:var(--text-main);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5}button{cursor:pointer;background:0 0;border:none;outline:none;font-family:inherit;transition:all .2s}textarea,input{outline:none;font-family:inherit}.container{max-width:1200px;margin:0 auto;padding:1.5rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:1.5rem;padding:1.5rem;transition:transform .2s,box-shadow .2s;box-shadow:0 2px 8px #0000000a}.card-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;display:flex}.btn{border-radius:8px;align-items:center;gap:.5rem;padding:.6rem 1.2rem;font-size:.95rem;font-weight:500;text-decoration:none;display:inline-flex}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover);transform:translateY(-1px)}.btn-secondary{color:#334155;border:1px solid var(--border);background:#f1f5f9}.btn-secondary:hover{background:#e2e8f0}.btn-success{background:var(--success);color:#fff}.btn-success:hover{background:#15803d}.btn-outline{border:1px solid var(--border);color:var(--text-main);background:#fff}.btn-outline:hover{background:#f8fafc;border-color:#cbd5e1}.badge{text-transform:uppercase;letter-spacing:.025em;border-radius:9999px;align-items:center;padding:.25rem .65rem;font-size:.78rem;font-weight:600;display:inline-flex}.badge-blue{color:#1e40af;background:#dbeafe}.badge-green{color:#166534;background:#dcfce7}.badge-amber{color:#92400e;background:#fef3c7}.badge-purple{color:#6b21a8;background:#f3e8ff}.badge-red{color:#991b1b;background:#fee2e2}.terminal{background:var(--code-bg);color:var(--code-text);white-space:pre-wrap;word-break:break-word;border:1px solid #1e293b;border-radius:8px;max-height:250px;padding:1rem;font-family:Courier New,Courier,monospace;font-size:.88rem;overflow-y:auto}.code-editor{color:#f8fafc;resize:vertical;tab-size:4;background:#0f172a;border:1px solid #334155;border-radius:8px;width:100%;padding:1rem;font-family:Fira Code,Courier New,monospace;font-size:.92rem;line-height:1.6}.code-inline{color:#0f172a;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:.15rem .4rem;font-family:monospace;font-size:.9em}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0f172a99;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:16px;width:100%;max-width:800px;max-height:90vh;padding:2rem;overflow-y:auto;box-shadow:0 20px 25px -5px #0003}@media print{body{color:#000;background:#fff}.no-print,nav,.btn,.timer-banner{display:none!important}.card{break-inside:avoid;box-shadow:none!important;border:1px solid #ccc!important}}
