*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
    background: #000000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    color: #e0e0e0;
    position: relative;
    overflow-x: hidden;
}
#matrix-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.12;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 10;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
    z-index: 10;
}
.container {
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 5;
}
.banner {
    text-align: center;
    margin-bottom: 30px;
}
.ascii-art {
    font-size: 9px;
    line-height: 1.15;
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6),
                 0 0 20px rgba(0, 212, 255, 0.2);
    white-space: pre;
    display: inline-block;
    text-align: left;
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
}
.ascii-by {
    color: #5588aa;
    font-size: 11px;
    margin: 12px 0 8px 0;
    letter-spacing: 3px;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}
.ascii-llm {
    font-size: 7px;
    line-height: 1.15;
    white-space: pre;
    display: inline-block;
    text-align: left;
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
}
.c-l1 { color: #ff79c6; text-shadow: 0 0 8px rgba(255, 121, 198, 0.5); }
.c-l2 { color: #f1fa8c; text-shadow: 0 0 8px rgba(241, 250, 140, 0.5); }
.c-m { color: #50fa7b; text-shadow: 0 0 8px rgba(80, 250, 123, 0.5); }
.c-t { color: #8be9fd; text-shadow: 0 0 8px rgba(139, 233, 253, 0.5); }
.c-o1 { color: #ff5555; text-shadow: 0 0 8px rgba(255, 85, 85, 0.5); }
.c-o2 { color: #bd93f9; text-shadow: 0 0 8px rgba(189, 147, 249, 0.5); }
.c-l3 { color: #f8f8f2; text-shadow: 0 0 8px rgba(248, 248, 242, 0.5); }
.tagline {
    margin-top: 20px;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.tagline strong {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}
@media (max-width: 600px) {
    .ascii-art { font-size: 5px; }
    .ascii-llm { font-size: 4px; }
    .tagline { font-size: 13px; }
    .doccano-row {
        flex-direction: column;
        gap: 15px;
    }
    .doccano-btn {
        padding: 12px 24px;
        font-size: 12px;
        letter-spacing: 1px;
        white-space: normal;
        text-align: center;
        max-width: 90vw;
        word-break: break-word;
    }
    .doccano-panel-art { font-size: 3px !important; }
    .doccano-panel-llm { font-size: 3px !important; }
}
/* Models locked state */
.models-locked-state {
    text-align: center;
    padding: 30px 20px;
}
.models-locked-icon {
    font-size: 36px;
    margin-bottom: 12px;
    opacity: 0.7;
}
.models-locked-text {
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}
.models-locked-hint {
    color: #5588aa;
    font-size: 11px;
    margin-top: 10px;
    letter-spacing: 0.5px;
    line-height: 1.6;
}
.models-locked-hint strong {
    color: #00d4ff;
}
/* Playground styles */
.playground-panel { margin-top: 20px; }
.playground-locked {
    text-align: center;
    padding: 30px 20px;
}
.locked-icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.locked-text {
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}
.locked-hint {
    color: #334455;
    font-size: 11px;
    margin-top: 15px;
    letter-spacing: 1px;
}
.playground-unlock-btn {
    padding: 14px 40px;
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 2px;
    color: #00d4ff;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.playground-unlock-btn:hover {
    transform: translateY(-2px);
    border-color: #00d4ff;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2),
                inset 0 0 20px rgba(0, 212, 255, 0.05);
}
.doccano-btn {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 2px;
    color: #00d4ff;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.doccano-btn:hover {
    border-color: #00d4ff;
    transform: translateY(-2px);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
}
.doccano-subtitle {
    color: #334455;
    font-size: 11px;
    margin-top: 12px;
    letter-spacing: 1px;
}
.doccano-panel-art {
    font-size: 7px;
    line-height: 1.15;
    color: #00d4ff;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.4),
                 0 0 12px rgba(0, 212, 255, 0.15);
    white-space: pre;
    display: inline-block;
    text-align: left;
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
}
.doccano-panel-by {
    color: #5588aa;
    font-size: 10px;
    margin: 10px 0 6px 0;
    letter-spacing: 3px;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}
.doccano-panel-llm {
    font-size: 5px;
    line-height: 1.15;
    white-space: pre;
    display: inline-block;
    text-align: left;
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
    margin: 0;
}
.doccano-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 18px;
}
.doccano-left {
    text-align: left;
}
.contact-bar {
    text-align: center;
    margin: 15px 0;
    font-size: 11px;
    color: #5c7a8a;
    letter-spacing: 1px;
}
.contact-bar a {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s;
}
.contact-bar a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}
/* Models hint dissolve */
.models-hint {
    font-size: 11px;
    color: #00d4ff;
    letter-spacing: 1px;
    opacity: 0.8;
}
.models-hint span, .doccano-btn span {
    transition: color 0.08s, text-shadow 0.08s;
}
.mx-glitch {
    color: #50fa7b !important;
    text-shadow: 0 0 8px rgba(80, 250, 123, 0.8) !important;
}
/* Matrix typewriter effect */
.tw-hidden { opacity: 0; }
.tw-char { opacity: 0; transition: opacity 0.04s; }
.tw-char.tw-visible { opacity: 1; }
.matrix-cursor {
    display: inline-block;
    color: #00d4ff;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.6);
    animation: mcBlink 0.8s step-end infinite;
    margin-left: 1px;
    font-weight: normal;
}
@keyframes mcBlink { 50% { opacity: 0; } }
.playground-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,212,255,0.1);
}
.connected-badge {
    color: #00ff88;
    font-size: 13px;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}
.disconnect-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid rgba(255,85,85,0.3);
    border-radius: 2px;
    color: #ff5555;
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
}
.disconnect-btn:hover {
    background: rgba(255,85,85,0.05);
    border-color: #ff5555;
    text-shadow: 0 0 6px rgba(255,85,85,0.4);
}
.playground-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.tab-btn {
    flex: 1;
    padding: 10px 8px;
    background: transparent;
    border: 1px solid rgba(0,212,255,0.1);
    border-radius: 2px;
    color: #555;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.tab-btn:hover { border-color: rgba(0,212,255,0.3); color: #00d4ff; text-shadow: 0 0 6px rgba(0,212,255,0.3); }
.tab-btn.active {
    background: rgba(0,212,255,0.05);
    border-color: rgba(0,212,255,0.5);
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0,212,255,0.4);
}
.input-group { margin-bottom: 15px; }
.input-group label {
    display: block;
    color: #00d4ff;
    font-size: 10px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}
.input-group label::before {
    content: '> ';
    color: #00d4ff;
}
.input-field {
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.8);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 2px;
    color: #00d4ff;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}
.input-field:focus {
    outline: none;
    border-color: rgba(0,212,255,0.6);
    box-shadow: 0 0 12px rgba(0,212,255,0.15), inset 0 0 12px rgba(0,212,255,0.03);
}
select.input-field { cursor: pointer; }
.submit-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 2px;
    color: #00d4ff;
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.submit-btn:hover {
    transform: translateY(-2px);
    border-color: #00d4ff;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
}
.submit-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.results-header {
    color: #00d4ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 20px 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,212,255,0.15);
    text-shadow: 0 0 6px rgba(0,212,255,0.3);
}
.results-content {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(0,212,255,0.1);
    border-radius: 2px;
    padding: 15px;
}
.result-label, .result-confidence {
    color: #b0b0b0;
    margin-bottom: 8px;
}
.result-label strong { color: #ffd700; }
.result-confidence strong { color: #00ff88; }
.prob-bars { margin-top: 15px; }
.prob-bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12px;
}
.prob-label { min-width: 120px; max-width: 250px; color: #888; font-size: 11px; word-break: break-word; }
.prob-bar-bg {
    flex: 1;
    height: 8px;
    background: rgba(0,212,255,0.08);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 10px;
}
.prob-bar {
    height: 100%;
    background: rgba(0,212,255,0.3);
    border-radius: 2px;
    transition: width 0.3s;
}
.prob-bar.top { background: #00d4ff; box-shadow: 0 0 8px rgba(0,212,255,0.5); }
.prob-value { width: 50px; text-align: right; color: #888; }
.ollama-response {
    white-space: pre-wrap;
    color: #b0b0b0;
    line-height: 1.6;
}
.error-msg { color: #ff5555; }
/* NER entity display */
.ner-text-display { line-height: 2; font-size: 14px; color: #e0e0e0; margin-bottom: 15px; }
.ner-entity { padding: 2px 0; border-bottom: 2px solid; position: relative; cursor: help; }
.ner-entity-tag { font-size: 9px; font-weight: bold; vertical-align: super; margin-left: 2px; text-transform: uppercase; }
.ner-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(0,212,255,0.1); }
.ner-legend-item { font-size: 11px; display: flex; align-items: center; gap: 4px; }
.ner-legend-dot { width: 10px; height: 10px; border-radius: 1px; }
/* Segmentation display */
.seg-sentence { padding: 8px 12px; margin: 4px 0; background: rgba(0,0,0,0.3); border-left: 2px solid rgba(0,212,255,0.3); border-radius: 0 2px 2px 0; font-size: 13px; color: #e0e0e0; line-height: 1.5; }
.seg-sentence:hover { background: rgba(0,212,255,0.05); border-left-color: #00d4ff; }
.seg-idx { color: #666; font-size: 11px; margin-right: 8px; }
/* Model info styles */
.model-info-container {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(0,212,255,0.1);
    border-radius: 2px;
    padding: 15px;
    margin-top: 15px;
}
.model-info-section {
    margin-bottom: 20px;
}
.model-info-section h4 {
    color: #00d4ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0,212,255,0.1);
    text-shadow: 0 0 6px rgba(0,212,255,0.3);
}
.model-info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8px;
    font-size: 12px;
}
.model-info-key {
    color: #888;
}
.model-info-value {
    color: #e0e0e0;
}
.model-info-value.highlight {
    color: #00ff88;
}
.model-info-value.warning {
    color: #ffd700;
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.metric-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(0,212,255,0.1);
    padding: 10px;
    border-radius: 2px;
    text-align: center;
}
.metric-value {
    font-size: 18px;
    color: #00d4ff;
    font-weight: bold;
}
.metric-label {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
}
.labels-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.label-badge {
    background: rgba(0,212,255,0.05);
    border: 1px solid rgba(0,212,255,0.2);
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 11px;
    color: #00d4ff;
}
.class-metrics-table {
    width: 100%;
    font-size: 11px;
    border-collapse: collapse;
}
.class-metrics-table th, .class-metrics-table td {
    padding: 6px 8px;
    text-align: left;
    border-bottom: 1px solid rgba(0,212,255,0.08);
}
.class-metrics-table th {
    color: #888;
    font-weight: normal;
    text-transform: uppercase;
}
.class-metrics-table td {
    color: #b0b0b0;
}
.class-metrics-table td.good { color: #00ff88; }
.class-metrics-table td.medium { color: #ffd700; }
.class-metrics-table td.low { color: #ff5555; }
.resource-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 10px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(0,212,255,0.1);
    border-radius: 2px;
    font-size: 11px;
}
.resource-detail { color: #666; }
.tagline {
    color: #ffffff;
    font-size: 14px;
    margin-top: 15px;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.panel {
    background: rgba(0, 212, 255, 0.02);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 2px;
    padding: 25px;
    margin-bottom: 20px;
}
.panel-title {
    color: #00d4ff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}
.description {
    color: #8899aa;
    line-height: 1.8;
    font-size: 13px;
}
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}
.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5588aa;
    font-size: 12px;
    letter-spacing: 1px;
}
.feature-icon {
    font-size: 18px;
}
.packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}
.package {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 2px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.package:hover {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}
.package-name {
    color: #ffd700;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
}
.package-desc {
    color: #5588aa;
    font-size: 12px;
    line-height: 1.5;
}
.package-lang {
    display: inline-block;
    margin-top: 10px;
    padding: 3px 8px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: bold;
}
.lang-python { background: #306998; color: #ffd43b; }
.lang-r { background: #276DC3; color: white; }
.lang-api { background: #00d4ff; color: #0a0a0f; }
.lang-core { background: linear-gradient(135deg, #ff79c6, #bd93f9); color: white; }
.package-mother {
    background: rgba(255, 121, 198, 0.05);
    border: 1px solid rgba(255, 121, 198, 0.3);
    position: relative;
}
.package-mother:hover {
    border-color: rgba(255, 121, 198, 0.7);
    box-shadow: 0 0 20px rgba(255, 121, 198, 0.2);
}
.package-mother .package-name {
    color: #ff79c6;
}
.package-mother-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: rgba(0,0,0,0.9);
    border: 1px solid rgba(255, 121, 198, 0.5);
    color: #ff79c6;
    font-size: 9px;
    padding: 3px 10px;
    border-radius: 2px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(255, 121, 198, 0.5);
}
.status {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 2px;
}
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.version {
    color: #334455;
    font-size: 10px;
    margin-top: 8px;
    letter-spacing: 1px;
}
.author-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.author-by {
    color: #334455;
    font-size: 12px;
    letter-spacing: 2px;
}
.author-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border: 1px solid rgba(0,212,255,0.1);
    border-radius: 2px;
    color: #5588aa;
    text-decoration: none;
    font-size: 12px;
    font-family: inherit;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    background: transparent;
}
.author-link:hover {
    border-color: rgba(0,212,255,0.4);
    color: #00d4ff;
    background: rgba(0,212,255,0.05);
    transform: translateY(-1px);
    text-shadow: 0 0 6px rgba(0,212,255,0.4);
    box-shadow: 0 0 12px rgba(0,212,255,0.1);
}
.author-link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex-shrink: 0;
}
.author-sep {
    color: #223344;
    font-size: 11px;
    user-select: none;
}
.footer {
    text-align: center;
    margin-top: 30px;
    color: #334455;
    font-size: 10px;
    letter-spacing: 2px;
}
.footer a {
    color: #334455;
    text-decoration: none;
    transition: color 0.3s;
}
.footer a:hover {
    color: #00d4ff;
    text-shadow: 0 0 6px rgba(0,212,255,0.4);
}
/* Public models list */
.models-section {
    margin-bottom: 30px;
}
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 15px;
}
.model-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(0,212,255,0.1);
    border-radius: 2px;
    padding: 18px;
    transition: all 0.3s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
}
.model-card:hover {
    border-color: rgba(0,212,255,0.4);
    background: rgba(0,212,255,0.05);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0,212,255,0.1);
}
.model-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,212,255,0.08);
}
.model-card-name {
    color: #00d4ff;
    font-weight: 600;
    font-size: 14px;
    word-break: break-word;
    flex: 1;
    line-height: 1.3;
}
.model-card-badge {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.badge-classification {
    background: rgba(80,250,123,0.25);
    color: #50fa7b;
    border: 1px solid rgba(80,250,123,0.3);
}
.badge-multilabel {
    background: rgba(255,121,198,0.25);
    color: #ff79c6;
    border: 1px solid rgba(255,121,198,0.3);
}
.badge-binary {
    background: rgba(139,233,253,0.25);
    color: #8be9fd;
    border: 1px solid rgba(139,233,253,0.3);
}
.badge-ollama {
    background: rgba(189,147,249,0.25);
    color: #bd93f9;
    border: 1px solid rgba(189,147,249,0.3);
}
.badge-wtpsplit {
    background: rgba(241,250,140,0.25);
    color: #f1fa8c;
    border: 1px solid rgba(241,250,140,0.3);
}
.badge-segmentation {
    background: rgba(241,250,140,0.25);
    color: #f1fa8c;
    border: 1px solid rgba(241,250,140,0.3);
}
.model-card-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}
.model-card-label {
    font-size: 11px;
    color: #8be9fd;
    background: rgba(0,212,255,0.05);
    padding: 4px 8px;
    border-radius: 2px;
    border: 1px solid rgba(0,212,255,0.15);
    white-space: nowrap;
}
.model-card-meta {
    font-size: 12px;
    color: #888;
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.model-card-meta > div {
    display: flex;
    align-items: center;
    gap: 5px;
}
/* Model section headers */
.section-header {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,212,255,0.1);
    letter-spacing: 1px;
}
.section-header-llmtool { color: #00d4ff; text-shadow: 0 0 8px rgba(0,212,255,0.4); }
.section-header-thirdparty { color: #6272a4; }
.model-card.llmtool-card {
    border-left: 3px solid #00d4ff;
}
.badge-llmtool-tag {
    font-size: 9px;
    color: #00d4ff;
    background: rgba(0,212,255,0.05);
    border: 1px solid rgba(0,212,255,0.2);
    padding: 2px 7px;
    border-radius: 2px;
    margin-top: 8px;
    display: inline-block;
    text-shadow: 0 0 6px rgba(0,212,255,0.3);
}
.models-section + .models-section {
    margin-top: 25px;
}
/* ===== THEME TOGGLE ===== */
.dlt-theme-toggle {
    position: fixed; bottom: 16px; right: 16px; z-index: 50;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1.5px solid rgba(255,184,108,0.3);
    background: rgba(255,184,108,0.06);
    color: rgba(255,184,108,0.6); font-size: 15px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
    text-shadow: 0 0 8px rgba(255,184,108,0.4);
    font-family: 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;
    line-height: 1; padding: 0;
}
.dlt-theme-toggle:hover {
    border-color: rgba(255,184,108,0.7);
    background: rgba(255,184,108,0.12);
    color: #ffd4a0;
    text-shadow: 0 0 14px rgba(255,184,108,0.8);
    box-shadow: 0 0 16px rgba(255,184,108,0.25), 0 0 30px rgba(255,184,108,0.08);
    transform: scale(1.1);
}
.dlt-theme-toggle:active { transform: scale(0.95); }
body.dlt-light .dlt-theme-toggle {
    border-color: rgba(0,107,128,0.4);
    background: rgba(0,107,128,0.08);
    color: #006b80;
    text-shadow: none;
}
body.dlt-light .dlt-theme-toggle:hover {
    border-color: rgba(0,107,128,0.6);
    background: rgba(0,107,128,0.12);
    color: #004d5c;
    box-shadow: 0 0 12px rgba(0,107,128,0.2);
}
/* ===== LIGHT THEME ===== */
body.dlt-light { background: #f0ede6; color: #2a2a2e; }
body.dlt-light #matrix-bg { opacity: 0.07; }
body.dlt-light::after { background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.05) 2px, rgba(0,0,0,0.05) 4px); }
body.dlt-light::before { background: radial-gradient(ellipse at center, transparent 50%, rgba(140,130,110,0.25) 100%); }
body.dlt-light .ascii-art { color: #006b80; text-shadow: 0 0 8px rgba(0,107,128,0.3), 0 0 20px rgba(0,107,128,0.1); }
body.dlt-light .ascii-by { color: #6a7a8c; text-shadow: 0 0 4px rgba(0,107,128,0.1); }
body.dlt-light .c-l1, body.dlt-light .c-l2, body.dlt-light .c-m, body.dlt-light .c-t,
body.dlt-light .c-o1, body.dlt-light .c-o2, body.dlt-light .c-l3 { filter: brightness(0.8); }
body.dlt-light .tagline { color: #2a2a2e; text-shadow: 0 0 4px rgba(0,0,0,0.08); }
body.dlt-light .tagline strong { color: #006b80; text-shadow: 0 0 6px rgba(0,107,128,0.15); }
body.dlt-light .author-by { color: #6a7a8c; }
body.dlt-light .author-link { color: #006b80; border-color: rgba(0,107,128,0.15); }
body.dlt-light .author-link:hover { color: #004d5c; border-color: rgba(0,107,128,0.4); background: rgba(0,107,128,0.05); text-shadow: 0 0 4px rgba(0,107,128,0.15); box-shadow: 0 0 8px rgba(0,107,128,0.08); }
body.dlt-light .author-sep { color: #aab8c2; }
body.dlt-light .panel { background: rgba(0,107,128,0.03); border-color: rgba(0,107,128,0.15); box-shadow: 0 1px 6px rgba(0,107,128,0.06); }
body.dlt-light .panel-title { color: #006b80; text-shadow: 0 0 6px rgba(0,107,128,0.15); }
body.dlt-light .description { color: #5a6a7a; }
body.dlt-light .feature { color: #006b80; }
body.dlt-light .package { background: rgba(0,107,128,0.02); border-color: rgba(0,107,128,0.12); }
body.dlt-light .package:hover { border-color: rgba(0,107,128,0.4); background: rgba(0,107,128,0.06); box-shadow: 0 2px 12px rgba(0,107,128,0.08); }
body.dlt-light .package-name { color: #b8860b; }
body.dlt-light .package-desc { color: #5a6a7a; }
body.dlt-light .package-mother { background: rgba(200,80,140,0.04); border-color: rgba(200,80,140,0.25); }
body.dlt-light .package-mother:hover { border-color: rgba(200,80,140,0.5); box-shadow: 0 2px 12px rgba(200,80,140,0.1); }
body.dlt-light .package-mother .package-name { color: #c05088; }
body.dlt-light .package-mother-badge { background: #f0ede6; border-color: rgba(200,80,140,0.4); color: #c05088; text-shadow: none; }
body.dlt-light .models-hint { color: #006b80; }
body.dlt-light .models-locked-text { color: #2a2a2e; text-shadow: 0 0 4px rgba(0,0,0,0.08); }
body.dlt-light .models-locked-hint { color: #6a7a8c; }
body.dlt-light .models-locked-hint strong { color: #006b80; }
body.dlt-light .mx-glitch { color: #1a7a3a !important; text-shadow: 0 0 4px rgba(26,122,58,0.15) !important; }
body.dlt-light .matrix-cursor { color: #006b80; text-shadow: 0 0 4px rgba(0,107,128,0.3); }
body.dlt-light .model-card { background: rgba(0,107,128,0.02); border-color: rgba(0,107,128,0.12); }
body.dlt-light .model-card:hover { border-color: rgba(0,107,128,0.4); background: rgba(0,107,128,0.06); box-shadow: 0 2px 12px rgba(0,107,128,0.08); }
body.dlt-light .model-card.llmtool-card { border-left-color: #006b80; }
body.dlt-light .model-card-name { color: #006b80; }
body.dlt-light .model-card-meta { color: #6a7a8c; }
body.dlt-light .model-card-label { color: #006b80; background: rgba(0,107,128,0.05); border-color: rgba(0,107,128,0.15); }
body.dlt-light .model-card-header { border-bottom-color: rgba(0,107,128,0.1); }
body.dlt-light .section-header-llmtool { color: #006b80; text-shadow: 0 0 4px rgba(0,107,128,0.15); }
body.dlt-light .section-header-thirdparty { color: #6a7a8c; }
body.dlt-light .badge-llmtool-tag { color: #006b80; background: rgba(0,107,128,0.05); border-color: rgba(0,107,128,0.2); text-shadow: none; }
body.dlt-light .badge-classification { background: rgba(26,122,58,0.15); color: #1a7a3a; border-color: rgba(26,122,58,0.25); }
body.dlt-light .badge-multilabel { background: rgba(200,80,140,0.15); color: #c05088; border-color: rgba(200,80,140,0.25); }
body.dlt-light .badge-binary { background: rgba(0,107,128,0.15); color: #006b80; border-color: rgba(0,107,128,0.25); }
body.dlt-light .badge-ollama { background: rgba(120,90,200,0.15); color: #6a5aaa; border-color: rgba(120,90,200,0.25); }
body.dlt-light .badge-wtpsplit, body.dlt-light .badge-segmentation { background: rgba(180,160,60,0.15); color: #8a7a20; border-color: rgba(180,160,60,0.25); }
body.dlt-light .status { background: rgba(26,122,58,0.06); border-color: rgba(26,122,58,0.2); }
body.dlt-light .version { color: #6a7a8c; }
body.dlt-light .contact-bar { color: #6a7a8c; }
body.dlt-light .contact-bar a { color: #006b80; }
body.dlt-light .contact-bar a:hover { color: #004d5c; text-shadow: 0 0 4px rgba(0,107,128,0.15); }
body.dlt-light .footer { color: #8899aa; }
body.dlt-light .footer a { color: #8899aa; }
body.dlt-light .footer a:hover { color: #006b80; text-shadow: 0 0 4px rgba(0,107,128,0.15); }
body.dlt-light .doccano-panel-art { color: #006b80; text-shadow: 0 0 4px rgba(0,107,128,0.2); }
body.dlt-light .doccano-panel-by { color: #6a7a8c; text-shadow: 0 0 4px rgba(0,107,128,0.1); }
body.dlt-light .doccano-btn { border-color: rgba(0,107,128,0.3); color: #006b80; }
body.dlt-light .doccano-btn:hover { border-color: #006b80; color: #004d5c; text-shadow: 0 0 4px rgba(0,107,128,0.12); box-shadow: 0 2px 12px rgba(0,107,128,0.15); }
body.dlt-light .doccano-subtitle { color: #6a7a8c; }
body.dlt-light .locked-text { color: #2a2a2e; text-shadow: 0 0 4px rgba(0,0,0,0.08); }
body.dlt-light .locked-hint { color: #6a7a8c; }
body.dlt-light .playground-unlock-btn { border-color: rgba(0,107,128,0.3); color: #006b80; }
body.dlt-light .playground-unlock-btn:hover { border-color: #006b80; color: #004d5c; text-shadow: 0 0 4px rgba(0,107,128,0.12); box-shadow: 0 2px 12px rgba(0,107,128,0.15); }
body.dlt-light .tab-btn { border-color: rgba(0,107,128,0.1); color: #8899aa; }
body.dlt-light .tab-btn:hover { border-color: rgba(0,107,128,0.3); color: #006b80; text-shadow: 0 0 4px rgba(0,107,128,0.15); }
body.dlt-light .tab-btn.active { background: rgba(0,107,128,0.06); border-color: rgba(0,107,128,0.4); color: #006b80; text-shadow: 0 0 4px rgba(0,107,128,0.15); }
body.dlt-light .input-group label { color: #006b80; }
body.dlt-light .input-group label::before { color: #006b80; }
body.dlt-light .input-field { background: rgba(255,253,248,0.8); border-color: rgba(0,107,128,0.2); color: #2a2a2e; }
body.dlt-light .input-field:focus { border-color: rgba(0,107,128,0.6); box-shadow: 0 0 8px rgba(0,107,128,0.1), inset 0 0 8px rgba(0,107,128,0.03); }
body.dlt-light .submit-btn { border-color: rgba(0,107,128,0.3); color: #006b80; }
body.dlt-light .submit-btn:hover { border-color: #006b80; color: #004d5c; text-shadow: 0 0 4px rgba(0,107,128,0.12); box-shadow: 0 2px 12px rgba(0,107,128,0.15); }
body.dlt-light .results-header { color: #006b80; border-bottom-color: rgba(0,107,128,0.15); text-shadow: 0 0 4px rgba(0,107,128,0.15); }
body.dlt-light .results-content { background: rgba(0,107,128,0.02); border-color: rgba(0,107,128,0.12); }
body.dlt-light .result-label, body.dlt-light .result-confidence { color: #5a6a7a; }
body.dlt-light .result-label strong { color: #b8860b; }
body.dlt-light .result-confidence strong { color: #1a7a3a; }
body.dlt-light .prob-label { color: #6a7a8c; }
body.dlt-light .prob-bar-bg { background: rgba(0,107,128,0.08); }
body.dlt-light .prob-bar { background: rgba(0,107,128,0.25); }
body.dlt-light .prob-bar.top { background: #006b80; box-shadow: 0 0 6px rgba(0,107,128,0.3); }
body.dlt-light .prob-value { color: #6a7a8c; }
body.dlt-light .ollama-response { color: #5a6a7a; }
body.dlt-light .error-msg { color: #c42b2b; }
body.dlt-light .connected-badge { color: #1a7a3a; text-shadow: 0 0 4px rgba(26,122,58,0.15); }
body.dlt-light .disconnect-btn { border-color: rgba(196,43,43,0.3); color: #c42b2b; }
body.dlt-light .disconnect-btn:hover { background: rgba(196,43,43,0.05); border-color: #c42b2b; text-shadow: 0 0 4px rgba(196,43,43,0.15); }
body.dlt-light .ner-text-display { color: #2a2a2e; }
body.dlt-light .seg-sentence { background: rgba(0,107,128,0.03); border-left-color: rgba(0,107,128,0.3); color: #2a2a2e; }
body.dlt-light .seg-sentence:hover { background: rgba(0,107,128,0.06); border-left-color: #006b80; }
body.dlt-light .seg-idx { color: #8899aa; }
body.dlt-light .model-info-container { background: rgba(0,107,128,0.02); border-color: rgba(0,107,128,0.12); }
body.dlt-light .model-info-section h4 { color: #006b80; border-bottom-color: rgba(0,107,128,0.1); text-shadow: 0 0 4px rgba(0,107,128,0.15); }
body.dlt-light .model-info-key { color: #6a7a8c; }
body.dlt-light .model-info-value { color: #2a2a2e; }
body.dlt-light .model-info-value.highlight { color: #1a7a3a; }
body.dlt-light .model-info-value.warning { color: #b8860b; }
body.dlt-light .metric-card { background: rgba(0,107,128,0.03); border-color: rgba(0,107,128,0.12); }
body.dlt-light .metric-value { color: #006b80; }
body.dlt-light .metric-label { color: #8899aa; }
body.dlt-light .label-badge { background: rgba(0,107,128,0.05); border-color: rgba(0,107,128,0.2); color: #006b80; }
body.dlt-light .class-metrics-table th { color: #6a7a8c; }
body.dlt-light .class-metrics-table td { color: #5a6a7a; }
body.dlt-light .class-metrics-table td.good { color: #1a7a3a; }
body.dlt-light .class-metrics-table td.medium { color: #b8860b; }
body.dlt-light .class-metrics-table td.low { color: #c42b2b; }
body.dlt-light .class-metrics-table th, body.dlt-light .class-metrics-table td { border-bottom-color: rgba(0,107,128,0.08); }
body.dlt-light .resource-bar { background: rgba(0,107,128,0.03); border-color: rgba(0,107,128,0.12); }
body.dlt-light .resource-detail { color: #6a7a8c; }
body.dlt-light .playground-header { border-bottom-color: rgba(0,107,128,0.1); }
