:root{--bg: #0f1419;--surface: #1a2332;--surface2: #243044;--border: #334155;--text: #e2e8f0;--muted: #94a3b8;--accent: #38bdf8;--accent2: #818cf8;--danger: #f87171;--success: #4ade80;--radius: 10px;--font: "Segoe UI", system-ui, -apple-system, sans-serif}*{box-sizing:border-box}body{margin:0;font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.45;min-height:100vh}#app{max-width:1100px;margin:0 auto;padding:1.25rem 1rem 3rem}.app-header{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--border)}.app-header h1{margin:0 0 .35rem;font-size:1.5rem;font-weight:600;letter-spacing:-.02em}.app-header .subtitle{color:var(--muted);font-size:.9rem;margin:0}.token-bar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:1rem;padding:.65rem .85rem;background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);font-size:.85rem}.token-bar .badge{padding:.2rem .5rem;border-radius:6px;background:var(--surface2);color:var(--accent);font-weight:600}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:1.25rem;overflow:hidden}.panel>h2{margin:0;padding:.65rem 1rem;font-size:1rem;font-weight:600;background:var(--surface2);border-bottom:1px solid var(--border);color:var(--accent)}.panel-body{padding:.75rem 1rem 1rem}.endpoint{border:1px solid var(--border);border-radius:8px;padding:.75rem;margin-bottom:.65rem;background:#00000026}.endpoint:last-child{margin-bottom:0}.endpoint-header{display:flex;align-items:baseline;gap:.5rem;flex-wrap:wrap;margin-bottom:.5rem}.method{font-size:.7rem;font-weight:700;text-transform:uppercase;padding:.15rem .4rem;border-radius:4px;letter-spacing:.04em}.method.get{background:#14532d;color:#86efac}.method.post{background:#1e3a5f;color:#7dd3fc}.method.put{background:#713f12;color:#fcd34d}.method.patch{background:#581c87;color:#e9d5ff}.method.delete{background:#7f1d1d;color:#fecaca}.path{font-family:ui-monospace,monospace;font-size:.8rem;color:var(--muted)}.badge-auth{font-size:.65rem;padding:.1rem .35rem;border-radius:4px;background:var(--surface2);color:var(--muted)}.badge-auth.admin{color:#fcd34d;border:1px solid #854d0e}.field-grid{display:grid;gap:.45rem;margin-bottom:.5rem}.field-grid label{display:grid;gap:.2rem;font-size:.75rem;color:var(--muted)}.field-grid input,.field-grid textarea,.field-grid select{width:100%;padding:.45rem .55rem;border-radius:6px;border:1px solid var(--border);background:var(--bg);color:var(--text);font-family:inherit;font-size:.85rem}.field-grid textarea{min-height:4.5rem;font-family:ui-monospace,monospace;font-size:.78rem;resize:vertical}.actions{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}button.btn{cursor:pointer;border:none;border-radius:6px;padding:.45rem .85rem;font-size:.8rem;font-weight:600;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#0f172a}button.btn:hover{filter:brightness(1.08)}button.btn-secondary{background:var(--surface2);color:var(--text);border:1px solid var(--border)}button.btn-secondary:hover{background:var(--border)}.output-global{position:sticky;bottom:0;margin-top:1.5rem;padding:.75rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);max-height:40vh;overflow:auto}.output-global h3{margin:0 0 .4rem;font-size:.85rem;color:var(--muted)}.output-global pre{margin:0;font-size:.75rem;white-space:pre-wrap;word-break:break-word;color:var(--text)}.err{color:var(--danger)}
