:root {
    --hs-accent: #10b981;
    --hs-navy: #1e2a4a;
    --hs-border: #d1d5db;
}

.ic-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 16px;
    line-height: 1.6;
}

.ic-actionbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hs-search-input {
    flex: 1;
    min-width: 240px;
    box-sizing: border-box;
    border: 1px solid var(--hs-border);
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 13.5px;
    color: var(--hs-navy);
}

.hs-search-input:focus {
    outline: none;
    border-color: var(--hs-accent);
}

.hs-select {
    border: 1px solid var(--hs-border);
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--hs-navy);
    background: #fff;
}

.hs-select:focus {
    outline: none;
    border-color: var(--hs-accent);
}

.hs-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hs-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--hs-border);
    border-radius: 10px;
}

.hs-code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 20px;
    font-weight: 800;
    min-width: 56px;
    text-align: center;
    padding: 6px 0;
    border-radius: 8px;
    flex-shrink: 0;
}

.hs-code.hs-cat-1 { background: #eff6ff; color: #2563eb; }
.hs-code.hs-cat-2 { background: #ecfdf5; color: #0d9668; }
.hs-code.hs-cat-3 { background: #fefce8; color: #ca8a04; }
.hs-code.hs-cat-4 { background: #fff7ed; color: #ea580c; }
.hs-code.hs-cat-5 { background: #fef2f2; color: #dc2626; }

.hs-item-body {
    flex: 1;
    min-width: 0;
}

.hs-item-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--hs-navy);
    margin-bottom: 3px;
}

.hs-item-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.hs-empty {
    padding: 40px 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 13.5px;
}

@media (max-width: 640px) {
    .ic-actionbar {
        flex-direction: column;
        align-items: stretch;
    }

    .hs-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
