pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: GitHub Dark
  Description: Dark theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-dark
  Current colors taken from GitHub's CSS
*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}*{box-sizing:border-box}:root{color-scheme:dark}body{margin:0;background:#0b1120;color:#e2e8f0;font-family:system-ui,-apple-system,Segoe UI,sans-serif}.layout{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;width:200px;background:#0f172a;border-right:1px solid #1e293b;padding:16px 12px;display:flex;flex-direction:column;gap:8px}.brand{font-weight:700;font-size:18px;padding:8px;color:#38bdf8}.brand span{color:#94a3b8;font-weight:400}.nav-link{display:block;padding:10px 12px;border-radius:8px;color:#94a3b8;text-decoration:none}.nav-link:hover{background:#1e293b;color:#e2e8f0}.nav-link.active{background:#1d4ed8;color:#fff}.sidebar-foot{margin-top:auto;font-size:11px;color:#475569;padding:8px}.main{flex:1;padding:24px;max-width:1100px;min-width:0;margin:0 auto}.btn{font-family:inherit;padding:8px 14px;border-radius:8px;border:1px solid #334155;background:#1e293b;color:#e2e8f0;cursor:pointer;font-size:14px}.btn:hover{background:#2d3a4d}.btn-primary{background:#1d4ed8;border-color:#1d4ed8}.btn-primary:hover{background:#2563eb}.btn-danger{background:#b91c1c;border-color:#b91c1c}.btn-danger:hover{background:#dc2626}.btn:disabled{opacity:.5;cursor:not-allowed}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:100}.dialog{background:#1e293b;border-radius:12px;padding:20px;min-width:320px;max-width:min(90vw,520px)}.dialog h3{margin:0 0 8px}.dialog p{color:#94a3b8;margin:0 0 16px}.dialog-actions{display:flex;gap:8px;justify-content:flex-end}.stat-card{background:#1e293b;border-radius:12px;padding:20px}.stat-value{font-size:28px;font-weight:700;color:#38bdf8}.stat-label{color:#94a3b8;margin-top:4px}.page h2{margin-top:0}.card{background:#1e293b;border-radius:12px;padding:20px;margin-bottom:16px}.card h3{margin:0 0 8px}.hint{color:#94a3b8;font-size:13px;margin:0 0 12px}.progress{height:8px;background:#334155;border-radius:4px;overflow:hidden;margin-top:12px}.progress-bar{height:100%;background:#38bdf8;transition:width .2s}.ok{color:#4ade80;margin-top:12px;font-size:14px}.err{color:#f87171;margin-top:12px;font-size:14px}.list-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.search{padding:8px 12px;border-radius:8px;border:1px solid #334155;background:#1e293b;color:#e2e8f0;font-size:14px;width:260px;font-family:inherit}select.search{width:auto;min-width:130px}input.search[type=date]{width:auto}.checkbox{color:#94a3b8;font-size:13px}.bulk{display:flex;align-items:center;gap:8px;color:#e2e8f0;font-size:14px}.conv-list{background:#1e293b;border-radius:12px;overflow-x:auto}.conv-row{display:grid;grid-template-columns:28px minmax(0,1fr) 130px 60px 90px 150px;align-items:center;padding:10px 14px;gap:8px;border-bottom:1px solid #1e293b}.conv-row:hover{background:#223148}.conv-head{background:#16213a;font-size:12px;color:#64748b}.col-title{display:flex;align-items:center;gap:6px;overflow:hidden}.title-link{background:none;border:none;color:#e2e8f0;font-size:14px;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:inherit}.title-link:hover{color:#38bdf8}.pin{font-size:12px}.model-chip{font-size:11px;background:#0f172a;border:1px solid #334155;border-radius:6px;padding:2px 6px;color:#7dd3fc;white-space:nowrap}.col-time,.col-num{color:#94a3b8;font-size:13px}.col-actions{display:flex;gap:4px;justify-content:flex-end}.icon-btn{background:none;border:none;cursor:pointer;font-size:14px;padding:4px;border-radius:6px}.icon-btn:hover{background:#334155}.icon-btn.danger:hover{background:#7f1d1d}.empty{padding:40px;text-align:center;color:#64748b}.detail-head{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap;position:relative}.detail-title{margin:0;font-size:20px;cursor:pointer}.detail-sub{color:#64748b;font-size:13px}.detail-ops{margin-left:auto;display:flex;gap:8px;align-items:center;position:relative}.menu{position:absolute;top:36px;right:0;background:#1e293b;border:1px solid #334155;border-radius:8px;padding:4px;z-index:10;display:flex;flex-direction:column}.menu button{background:none;border:none;color:#e2e8f0;padding:8px 16px;cursor:pointer;text-align:left;border-radius:6px;font-family:inherit}.menu button:hover{background:#334155}.chat{display:flex;flex-direction:column;gap:12px}.bubble{background:#1e293b;border-radius:12px;padding:12px 16px;max-width:85%}.bubble.user{background:#1d4ed8;align-self:flex-end}.bubble.assistant{align-self:flex-start}.bubble-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#94a3b8;margin-bottom:8px}.bubble.user .bubble-meta{color:#bfdbfe}.bubble-ops{margin-left:auto;display:flex;gap:4px}.bubble .icon-btn{font-size:12px;opacity:0}.bubble:hover .icon-btn{opacity:1}.reason{font-size:12px;color:#94a3b8;margin-bottom:8px}.reason pre{background:#0b1120;padding:10px;border-radius:8px;white-space:pre-wrap;color:#94a3b8;font-size:12px}.md{line-height:1.6;font-size:14px}.md pre{background:#0b1120;padding:12px;border-radius:8px;overflow-x:auto}.md code{font-family:ui-monospace,monospace}.md :not(pre)>code{background:#334155;padding:1px 5px;border-radius:4px}.edit-area{width:100%;background:#0f172a;border:1px solid #334155;border-radius:8px;color:#e2e8f0;padding:10px;font-family:inherit;resize:vertical}.bubble-actions{display:flex;gap:8px;margin-top:8px;justify-content:flex-end}@media (hover: none){.bubble .icon-btn{opacity:1}}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:16px}.chart-card{background:#1e293b;border-radius:12px;padding:20px;margin-bottom:16px}.chart-card h3{margin:0 0 12px;font-size:15px}.chart-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media (max-width: 900px){.chart-row{grid-template-columns:1fr}}.bubble-select{margin-right:4px}.changes-summary{margin-top:12px;background:#0f172a;border:1px solid #334155;border-radius:8px;padding:10px 14px}.changes-summary h4{margin:0 0 6px;font-size:13px;color:#7dd3fc}.changes-summary ul{margin:0;padding-left:18px;font-size:13px;color:#94a3b8}.changes-summary li{margin:2px 0}
