/* ═══════════════════════════════════════════════════════════════
   LIST PAGE
═══════════════════════════════════════════════════════════════ */
.list-header {
    text-align: center;
    padding: 3rem 1rem 2rem;
    max-width: 640px;
    margin: 0 auto;
}

.list-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.list-subtitle {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.7;
    margin: 0;
}

.list-grid {
    max-width: 820px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Card */
.list-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow-xs);
    transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.list-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--accent);
    transform: translateY(-1px);
}
.list-card:hover .home-card-arrow {
    color: var(--accent);
    transform: translateX(3px);
}

/* Icon */
.list-card-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.list-card-icon--blue  { background: rgba(37,99,235,0.10);   color: #2563eb; }
.list-card-icon--slate { background: rgba(100,116,139,0.10); color: #64748b; }

html.dark-mode .list-card-icon--blue  { background: rgba(59,130,246,0.12); color: #60a5fa; }
html.dark-mode .list-card-icon--slate { background: rgba(148,163,184,0.10); color: #94a3b8; }

/* Card body */
.list-card-body { flex: 1; min-width: 0; }

.list-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.list-card-path {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: 2px 8px;
}

.list-card-desc {
    font-size: 0.84rem;
    color: var(--text-2);
    margin: 0 0 12px;
    line-height: 1.55;
}

/* Parameters */
.list-params { margin-top: 4px; }

.list-params-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-3);
    margin-bottom: 8px;
}

.list-params-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.list-param-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-size: 0.75rem;
}

.list-param-name {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text);
}

.list-param-type {
    color: var(--text-3);
    font-family: var(--font-mono);
}

/* Empty state */
.list-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-3);
    max-width: 400px;
    margin: 0 auto;
}

.list-empty-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.4;
    display: block;
}

.list-empty-text {
    font-size: 0.9rem;
    color: var(--text-2);
}