*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--bg:#0f0f13;--bg-card:#1a1a23;--bg-input:#23232f;--border:#2d2d3a;--text:#e4e4eb;--text-muted:#8b8b9e;--primary:#6366f1;--primary-hover:#5558e6;--success:#22c55e;--danger:#ef4444;--warning:#f59e0b;--sidebar-width:240px;--mobile-header-height:56px}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font-family:Inter,-apple-system,sans-serif}input,select,textarea,button{font-family:inherit}a{color:var(--primary);text-decoration:none}.mono{font-family:JetBrains Mono,monospace}.btn{cursor:pointer;white-space:nowrap;border:none;border-radius:.75rem;justify-content:center;align-items:center;gap:.5rem;height:2.75rem;padding:0 1.25rem;font-size:.875rem;font-weight:600;transition:all .15s;display:inline-flex}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-ghost{color:var(--text-muted);border:1px solid var(--border);background:0 0}.btn-ghost:hover:not(:disabled){border-color:var(--text-muted);color:var(--text)}.btn-sm{border-radius:.5rem;height:2rem;padding:0 .75rem;font-size:.75rem}.input{border:1px solid var(--border);background:var(--bg-input);height:2.75rem;color:var(--text);border-radius:.75rem;outline:none;width:100%;padding:0 1rem;font-size:.875rem;transition:border-color .15s}.input:focus{border-color:var(--primary)}.card{background:var(--bg-card);border:1px solid var(--border);border-radius:1rem;padding:1.25rem}.badge{border-radius:9999px;flex-shrink:0;align-items:center;padding:.125rem .5rem;font-size:.75rem;font-weight:600;display:inline-flex}.badge-success{color:#22c55e;background:#22c55e20}.badge-warning{color:#f59e0b;background:#f59e0b20}.badge-danger{color:#ef4444;background:#ef444420}.badge-info{color:#6366f1;background:#6366f120}.spinner{border:2px solid #0000;border-top-color:currentColor;border-radius:50%;width:1.25rem;height:1.25rem;animation:.6s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.app-layout{min-height:100vh;display:flex}.main-content{margin-left:var(--sidebar-width);flex:1;min-width:0;min-height:100vh;padding:2rem}.mobile-header{height:var(--mobile-header-height);background:var(--bg-card);border-bottom:1px solid var(--border);z-index:40;justify-content:space-between;align-items:center;padding:0 1rem;display:none;position:fixed;top:0;left:0;right:0}.mobile-header-title{color:var(--primary);font-size:1.1rem;font-weight:800}.hamburger-btn{color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:6px}.hamburger-btn:active{background:var(--bg-input)}.sidebar{width:var(--sidebar-width);background:var(--bg-card);border-right:1px solid var(--border);z-index:50;flex-direction:column;height:100vh;transition:transform .25s;display:flex;position:fixed;top:0;left:0}.sidebar-header{border-bottom:1px solid var(--border);padding:1.5rem;position:relative}.sidebar-close{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px;display:none;position:absolute;top:1rem;right:1rem}.sidebar-close:active{background:var(--bg-input)}.sidebar-nav{flex-direction:column;flex:1;gap:2px;padding:.75rem;display:flex;overflow-y:auto}.sidebar-link{color:var(--text-muted);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;width:100%;padding:.625rem .75rem;font-size:.875rem;font-weight:500;transition:all .12s;display:flex}.sidebar-link:hover{color:var(--text);background:var(--bg-input)}.sidebar-link-active{color:#fff!important;background:var(--primary)!important}.sidebar-footer{border-top:1px solid var(--border);padding:1rem}.sidebar-overlay{z-index:45;background:#0009;display:none;position:fixed;inset:0}.page-title{margin-bottom:1.25rem;font-size:1.35rem;font-weight:700}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem;margin-bottom:1.5rem;display:grid}.stat-card{text-align:center}.stat-value{font-size:1.75rem;font-weight:800}.stat-label{color:var(--text-muted);margin-top:2px;font-size:.75rem}.table-wrap{-webkit-overflow-scrolling:touch;margin:0 -1.25rem;padding:0 1.25rem;overflow-x:auto}.table{border-collapse:collapse;width:100%;min-width:600px}.table th{text-align:left;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;border-bottom:1px solid var(--border);padding:.625rem .75rem;font-size:.7rem;font-weight:600}.table td{border-bottom:1px solid var(--border);white-space:nowrap;padding:.625rem .75rem;font-size:.85rem}.table td.wrap{white-space:normal;word-break:break-word}.mobile-card-list{flex-direction:column;gap:.75rem;display:none}.mobile-card-row{justify-content:space-between;align-items:center;gap:.5rem;font-size:.85rem;display:flex}.mobile-card-row+.mobile-card-row{margin-top:.375rem}.mobile-card-label{color:var(--text-muted);font-size:.75rem}.code-block{background:var(--bg);-webkit-overflow-scrolling:touch;white-space:pre;border-radius:8px;padding:.75rem;font-family:JetBrains Mono,monospace;font-size:.75rem;overflow-x:auto}.api-key-box{background:var(--bg);border-radius:8px;align-items:center;gap:.5rem;padding:.75rem;display:flex}.api-key-box code{word-break:break-all;flex:1;min-width:0;font-size:.75rem}.api-key-actions{flex-shrink:0;gap:.375rem;display:flex}@media (width<=768px){.mobile-header{display:flex}.sidebar{transform:translate(-100%)}.sidebar-open{transform:translate(0)}.sidebar-close,.sidebar-overlay{display:block}.main-content{padding:1rem;padding-top:calc(var(--mobile-header-height) + 1rem);margin-left:0}.card{border-radius:.75rem;padding:1rem}.page-title{font-size:1.15rem}.stat-value{font-size:1.5rem}.stats-grid{grid-template-columns:repeat(2,1fr);gap:.5rem}.btn{height:2.5rem;padding:0 1rem;font-size:.8rem}.page-header{flex-direction:column;align-items:stretch}.page-header .btn{width:100%}.table-wrap.has-mobile-cards{display:none}.mobile-card-list{display:flex}.api-key-box{flex-direction:column;align-items:stretch}.api-key-actions{justify-content:flex-end;margin-top:.5rem}}@media (width<=400px){.stats-grid{grid-template-columns:1fr 1fr}.stat-value{font-size:1.25rem}.card{padding:.75rem}}
