TeknikoAI's picture
Initial release: 8 MiniLM INT8 ONNX/INT4 PT security specialist models, IEEE technical paper PDF, and AegisVault portal
9e49f67 verified
Raw History Blame Contribute Delete
11.9 kB
:root {
--bg: #070b12;
--surface: #0e1523;
--surface-2: #141e30;
--border: rgba(148, 163, 184, 0.14);
--border-strong: rgba(148, 163, 184, 0.25);
--text: #e2e8f0;
--muted: #94a3b8;
--cyan: #06b6d4;
--cyan-soft: rgba(6, 182, 212, 0.14);
--emerald: #10b981;
--emerald-soft: rgba(16, 185, 129, 0.14);
--amber: #f59e0b;
--amber-soft: rgba(245, 158, 11, 0.14);
--red: #ef4444;
--red-soft: rgba(239, 68, 68, 0.15);
--purple: #a855f7;
--radius: 12px;
--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--font-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: var(--font-sans);
background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.08), transparent 40%),
radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.06), transparent 35%),
var(--bg);
color: var(--text);
min-height: 100vh;
}
code {
font-family: var(--font-mono);
font-size: 0.85em;
background: rgba(148, 163, 184, 0.12);
padding: 2px 6px;
border-radius: 5px;
color: #67e8f9;
}
.topbar {
position: sticky;
top: 0;
z-index: 50;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 12px 24px;
background: rgba(7, 11, 18, 0.86);
backdrop-filter: blur(14px);
border-bottom: 1px solid var(--border);
flex-wrap: wrap;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
}
.brand-icon {
width: 38px;
height: 38px;
border-radius: 10px;
background: linear-gradient(135deg, #06b6d4, #0284c7);
display: grid;
place-items: center;
color: #fff;
box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
}
.brand-icon svg {
width: 22px;
height: 22px;
}
.brand-name {
font-weight: 700;
font-size: 1.05rem;
letter-spacing: -0.01em;
}
.brand-sub {
font-size: 0.74rem;
color: var(--muted);
}
.nav-tabs {
display: flex;
gap: 6px;
background: var(--surface);
padding: 4px;
border-radius: 10px;
border: 1px solid var(--border);
flex-wrap: wrap;
}
.nav-tab {
border: none;
background: transparent;
color: var(--muted);
padding: 8px 14px;
border-radius: 8px;
font-size: 0.86rem;
font-weight: 500;
cursor: pointer;
transition: all 0.15s ease;
}
.nav-tab:hover {
color: var(--text);
background: rgba(148, 163, 184, 0.08);
}
.nav-tab.active {
background: var(--cyan-soft);
color: #67e8f9;
box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.35);
}
.topbar-right {
display: flex;
align-items: center;
gap: 10px;
}
.status-pill, .session-pill {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 12px;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 500;
border: 1px solid var(--border);
background: var(--surface);
}
.status-pill.ready {
border-color: rgba(16, 185, 129, 0.35);
color: #6ee7b7;
}
.session-pill.authed {
border-color: rgba(6, 182, 212, 0.45);
background: var(--cyan-soft);
color: #67e8f9;
}
.pulse-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--emerald);
box-shadow: 0 0 8px var(--emerald);
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.45; transform: scale(0.85); }
}
.main-content {
max-width: 1380px;
margin: 0 auto;
padding: 24px;
}
.tab-panel {
display: none;
}
.tab-panel.active {
display: block;
animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(4px); }
to { opacity: 1; transform: translateY(0); }
}
.page-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 16px;
margin-bottom: 20px;
flex-wrap: wrap;
}
h1 {
margin: 0 0 6px;
font-size: 1.5rem;
letter-spacing: -0.02em;
}
h2 {
margin: 0;
font-size: 1rem;
font-weight: 600;
}
.muted {
color: var(--muted);
margin: 0;
}
.small {
font-size: 0.8rem;
}
.mt-20 {
margin-top: 20px;
}
.kpi-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
gap: 14px;
margin-bottom: 20px;
}
.kpi-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 16px 18px;
}
.kpi-card.kpi-danger { border-color: rgba(239, 68, 68, 0.3); }
.kpi-card.kpi-warn { border-color: rgba(245, 158, 11, 0.3); }
.kpi-card.kpi-cyan { border-color: rgba(6, 182, 212, 0.3); }
.kpi-label {
font-size: 0.78rem;
color: var(--muted);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.kpi-value {
font-size: 1.9rem;
font-weight: 700;
margin: 6px 0 4px;
font-variant-numeric: tabular-nums;
}
.kpi-danger .kpi-value { color: #f87171; }
.kpi-warn .kpi-value { color: #fbbf24; }
.kpi-cyan .kpi-value { color: #22d3ee; }
.kpi-sub {
font-size: 0.75rem;
color: var(--muted);
font-family: var(--font-mono);
}
.two-col {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
}
@media (max-width: 960px) {
.two-col {
grid-template-columns: 1fr;
}
}
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 18px 20px;
}
.card-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 14px;
padding-bottom: 10px;
border-bottom: 1px solid var(--border);
}
.badge {
display: inline-flex;
align-items: center;
padding: 3px 9px;
border-radius: 999px;
font-size: 0.73rem;
font-weight: 600;
letter-spacing: 0.02em;
font-family: var(--font-mono);
}
.badge-neutral { background: rgba(148, 163, 184, 0.14); color: var(--text); }
.badge-cyan { background: var(--cyan-soft); color: #67e8f9; }
.badge-emerald { background: var(--emerald-soft); color: #6ee7b7; }
.badge-amber { background: var(--amber-soft); color: #fcd34d; }
.badge-red { background: var(--red-soft); color: #fca5a5; }
.badge-purple { background: rgba(168, 85, 247, 0.16); color: #d8b4fe; }
.btn {
border: none;
border-radius: 8px;
padding: 10px 16px;
font-size: 0.88rem;
font-weight: 600;
cursor: pointer;
transition: all 0.15s ease;
}
.btn-primary {
background: linear-gradient(135deg, #06b6d4, #0284c7);
color: #fff;
}
.btn-primary:hover {
filter: brightness(1.1);
}
.btn-secondary {
background: var(--surface-2);
color: var(--text);
border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
border-color: var(--cyan);
}
.btn-xs {
padding: 4px 9px;
font-size: 0.73rem;
border-radius: 6px;
border: 1px solid var(--border-strong);
background: var(--surface-2);
color: var(--text);
cursor: pointer;
}
.btn-xs:hover {
border-color: var(--cyan);
color: #67e8f9;
}
.preset-bar {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 14px;
}
.preset-label {
font-size: 0.78rem;
color: var(--muted);
}
.chip {
background: var(--surface-2);
border: 1px solid var(--border-strong);
color: var(--text);
padding: 5px 10px;
border-radius: 999px;
font-size: 0.76rem;
cursor: pointer;
transition: all 0.15s ease;
}
.chip:hover { border-color: var(--cyan); color: #67e8f9; }
.chip-danger:hover { border-color: var(--red); color: #fca5a5; }
.chip-warn:hover { border-color: var(--amber); color: #fcd34d; }
.form-stack {
display: flex;
flex-direction: column;
gap: 14px;
}
.form-stack label {
display: flex;
flex-direction: column;
gap: 6px;
font-size: 0.84rem;
color: var(--muted);
}
input[type="text"], textarea {
width: 100%;
background: var(--bg);
border: 1px solid var(--border-strong);
border-radius: 8px;
padding: 10px 12px;
color: var(--text);
font-family: var(--font-sans);
font-size: 0.9rem;
resize: vertical;
}
input[type="text"]:focus, textarea:focus {
outline: none;
border-color: var(--cyan);
box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
.row-between {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
}
.result-placeholder {
color: var(--muted);
font-size: 0.88rem;
padding: 18px;
border: 1px dashed var(--border-strong);
border-radius: 10px;
text-align: center;
}
.verdict-banner {
padding: 14px 16px;
border-radius: 10px;
margin-bottom: 14px;
border: 1px solid transparent;
}
.verdict-allowed {
background: var(--emerald-soft);
border-color: rgba(16, 185, 129, 0.4);
}
.verdict-blocked {
background: var(--red-soft);
border-color: rgba(239, 68, 68, 0.45);
}
.verdict-title {
font-weight: 700;
font-size: 1rem;
margin-bottom: 4px;
}
.metric-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 10px 0;
}
.code-box {
background: var(--bg);
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px 12px;
font-family: var(--font-mono);
font-size: 0.82rem;
white-space: pre-wrap;
word-break: break-word;
color: #cbd5e1;
}
.bar-row {
display: grid;
grid-template-columns: 140px 1fr 52px;
align-items: center;
gap: 10px;
margin: 6px 0;
font-size: 0.78rem;
}
.bar-track {
height: 7px;
background: rgba(148, 163, 184, 0.14);
border-radius: 999px;
overflow: hidden;
}
.bar-fill {
height: 100%;
background: linear-gradient(90deg, #06b6d4, #38bdf8);
border-radius: 999px;
}
.bar-fill.danger { background: linear-gradient(90deg, #f97316, #ef4444); }
.bar-fill.safe { background: linear-gradient(90deg, #10b981, #34d399); }
.table-wrap {
max-height: 390px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 10px;
}
.event-item {
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 10px;
padding: 12px 14px;
}
.event-top {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
margin-bottom: 6px;
flex-wrap: wrap;
}
.event-title {
font-weight: 600;
font-size: 0.9rem;
}
.event-body {
font-size: 0.82rem;
color: #cbd5e1;
font-family: var(--font-mono);
margin-bottom: 8px;
word-break: break-word;
}
.event-footer {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
flex-wrap: wrap;
font-size: 0.74rem;
color: var(--muted);
}
.models-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 12px;
}
.model-card {
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 10px;
padding: 14px;
}
.model-name {
font-family: var(--font-mono);
font-weight: 600;
font-size: 0.86rem;
color: #67e8f9;
margin-bottom: 6px;
}
.model-desc {
font-size: 0.8rem;
color: var(--muted);
margin-bottom: 10px;
line-height: 1.4;
}
/* Chat */
.chat-card {
display: flex;
flex-direction: column;
min-height: 460px;
}
.chat-feed {
flex: 1;
max-height: 340px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 12px;
padding: 6px 2px 14px;
}
.chat-msg {
display: flex;
flex-direction: column;
max-width: 90%;
}
.chat-msg.user {
align-self: flex-end;
align-items: flex-end;
}
.chat-msg.assistant {
align-self: flex-start;
}
.chat-meta {
font-size: 0.72rem;
color: var(--muted);
margin-bottom: 4px;
}
.chat-bubble {
padding: 10px 14px;
border-radius: 12px;
font-size: 0.88rem;
line-height: 1.45;
white-space: pre-wrap;
background: var(--surface-2);
border: 1px solid var(--border);
}
.chat-msg.user .chat-bubble {
background: rgba(6, 182, 212, 0.16);
border-color: rgba(6, 182, 212, 0.35);
}
.chat-msg.blocked .chat-bubble {
background: var(--red-soft);
border-color: rgba(239, 68, 68, 0.45);
color: #fecaca;
}
.chat-input-row {
display: flex;
gap: 8px;
margin-top: auto;
padding-top: 10px;
border-top: 1px solid var(--border);
}
.inspector-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
gap: 14px;
}