/* 標準LIST — 見出し右のフリーワード検索（メッセージアプリと同じピル型） */
.list-page-header {
    gap: 12px;
}
.list-page-header h2,
.list-page-header h3 {
    flex: 0 0 auto !important;
    white-space: nowrap;
}
.list-header-search {
    flex: 1 1 220px;
    max-width: 360px;
    min-width: 160px;
    margin: 0;
}
.list-header-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    box-sizing: border-box;
}
.list-header-search-field:focus-within {
    background: #fff;
    border-color: var(--unit-color, #c9a227);
}
.list-header-search-icon {
    color: #9ca3af;
    font-size: 13px;
    flex-shrink: 0;
    pointer-events: none;
}
.list-header-search-input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 13px !important;
    font-family: inherit;
    line-height: 1.3 !important;
    color: #212529;
}
.list-header-search-input::-webkit-search-decoration,
.list-header-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}
.list-header-search-input::placeholder {
    color: #9ca3af;
}
.list-header-search-clear {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.list-header-search-clear:hover {
    background: #d1d5db;
    color: #374151;
}
.list-header-search-clear[hidden] {
    display: none !important;
}
@media (max-width: 768px) {
    .list-page-header {
        flex-wrap: wrap !important;
    }
    .list-header-search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
        width: 100%;
    }
}
