.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

#data-date {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
}

#search {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 250px;
}

button, .link-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    background: #1890ff;
    color: #fff;
    display: inline-block;
}

.link-btn {
    background: #52c41a;
}

.loading {
    text-align: center;
    padding: 50px;
    color: #666;
}

.hidden {
    display: none !important;
}

.mindmap {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.node {
    margin: 4px 0;
}

.node-header {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
}

.node-header:hover {
    background: #f0f0f0;
}

.node-toggle {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
}

.node-title {
    font-weight: 600;
}

.node-count {
    margin-left: 8px;
    color: #999;
    font-size: 12px;
}

.node-children {
    margin-left: 24px;
    border-left: 1px dashed #ddd;
    padding-left: 8px;
}

.level-1 > .node-header {
    background: #e6f7ff;
    color: #096dd9;
}

.level-2 > .node-header {
    background: #f6ffed;
    color: #389e0d;
}

.level-3 > .node-header {
    background: #fff7e6;
    color: #d46b08;
}

.stock-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 13px;
}

.stock-table th, .stock-table td {
    padding: 6px 10px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.stock-table th {
    background: #fafafa;
    font-weight: 600;
}

.stock-table .num {
    text-align: right;
    font-family: monospace;
}

.highlight {
    background: #fff2cc !important;
}

.up {
    color: #d93026;
}

.down {
    color: #1e8e3e;
}

@media (max-width: 768px) {
    .stock-table {
        font-size: 11px;
    }
    .stock-table th, .stock-table td {
        padding: 4px 6px;
    }
}
