.yjh-list-settings-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 34px;
    padding: 4px 0;
}

.yjh-list-settings-button {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    padding: 6px 10px;
    font: inherit;
    line-height: 1.2;
    cursor: pointer;
}

.yjh-list-settings-button:hover {
    border-color: #2563eb;
    color: #1d4ed8;
}

.yjh-list-column-hidden {
    display: none !important;
}

.yjh-list-settings-root[hidden] {
    display: none !important;
}

.yjh-list-settings-root {
    position: fixed;
    inset: 0;
    z-index: 2600;
}

.yjh-list-settings-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
}

.yjh-list-settings-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: min(390px, 92vw);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #0f172a;
    box-shadow: -12px 0 36px rgba(15, 23, 42, 0.18);
}

.yjh-list-settings-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.yjh-list-settings-head h2 {
    margin: 0;
    font-size: 20px;
}

.yjh-list-settings-title {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
}

.yjh-list-settings-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #475569;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.yjh-list-settings-close:hover {
    background: #f1f5f9;
}

.yjh-list-settings-actions {
    display: flex;
    gap: 8px;
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.yjh-list-settings-actions button {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    padding: 7px 10px;
    font: inherit;
    cursor: pointer;
}

.yjh-list-settings-columns {
    flex: 1;
    overflow: auto;
    padding: 10px 20px 24px;
}

.yjh-list-settings-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.yjh-list-settings-option input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.yjh-list-settings-note,
.yjh-list-settings-status {
    margin: 0;
    padding: 10px 20px;
    color: #64748b;
    font-size: 13px;
}

.yjh-list-settings-status {
    min-height: 38px;
    border-top: 1px solid #e2e8f0;
}

.yjh-list-settings-status.is-error {
    color: #b91c1c;
}

body.yjh-list-settings-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .yjh-list-settings-drawer {
        width: 100%;
    }
}
