.pagination {
    justify-content: center !important;
}
.tagify {
    display: flex !important;
    width: 100% !important;
    min-height: calc(1.5em + .75rem + 2px) !important;
    max-height: none !important;
    padding: .375rem .75rem !important;
    border-radius: .375rem !important;
    overflow-y: visible;
    flex-wrap: wrap !important;
}

.tagify__input {
    flex: 0 1 auto !important;
    min-width: 80px !important;
    max-width: 100% !important;
}
/* 비어 있으면 안내 문구(::before, absolute)가 입력칸 폭(최소 80px)에서 잘린다 — 줄 끝까지 늘린다 */
.tagify--empty .tagify__input {
    flex-grow: 1 !important;
}

/* 그룹 태그 필드 가로 폭 고정 */
#selected-group-tags + .tagify {
    width: 100% !important;
    max-width: 100% !important;
}

#selected-group-tags + .tagify .tagify__input {
    width: auto !important;
    flex: 0 1 80px !important;
}

.tagify-group-input {
    border: 1px solid var(--falcon-border-color) !important;
    border-radius: .375rem !important;
    background-color: var(--falcon-body-bg) !important;
    padding: .375rem .75rem !important;
    min-height: calc(1.5em + .75rem + 2px) !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

.tagify-group-input .tagify__tag {
    margin-bottom: 0 !important;
}

.group-filter-select {
    flex: 1 0 150px;
    min-width: 150px;
}

.group-filter-select .choices {
    width: 100% !important;
    min-width: 150px;
    margin-bottom: 0;
}

/* 옆의 form-control-sm(29px)과 높이를 맞춘다 — choices 기본 여백이 36px 로 키웠다 */
.group-filter-select .choices__inner {
    width: 100%;
    min-height: 29px;
    padding: 1px 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    border-radius: 0.5rem;
}
.group-filter-select .choices__list--multiple .choices__item {
    margin: 2px 4px 2px 0;
    padding: 1px 6px;
}

.group-filter-select .choices__list--multiple .choices__item,
.group-filter-select .choices__input {
    font-size: 0.875rem;
}

.group-filter-select .choices__input--cloned {
    max-width: 1px !important;
    width: auto !important;
}

/* 목록 행 클릭 → 상세(fragments/config.html 의 tr[data-href] 핸들러). hover 색은 각 table 의 .table-hover */
tr[data-href] {
    cursor: pointer;
}

/* 설정 화면 행 레이아웃 — server/runtime·server/data-purge 공용.
   한 줄에 한 항목: 이름·설명 | 현재 값 | 입력. 좁은 화면에서는 세 칸이 차례로 내려간다 */
.rt-row { display: flex; flex-wrap: wrap; gap: .875rem 2rem; padding: 1.25rem 0; align-items: center; }
.rt-row + .rt-row { border-top: 1px solid var(--falcon-gray-200, #edf2f9); }
.rt-a { flex: 1 1 250px; min-width: 0; }
.rt-b { flex: 0 0 190px; }
.rt-c { flex: 1.3 1 340px; min-width: 0; display: flex; flex-direction: column; gap: .625rem; }
.rt-val { font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.rt-line { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem .625rem; }
.rt-line .form-control, .rt-line .form-select { width: 200px; }
.rt-ck { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; margin: 0; cursor: pointer;
         border: 1px solid var(--falcon-border-color, #d8e2ef); border-radius: .25rem; background: var(--falcon-gray-100, #f9fafd); }
.rt-ck input { margin: 0; }
/* 입력 영역 + 120px 버튼 열 — 두 도구의 버튼이 같은 세로선에 놓인다 */
.rt-tool { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: .625rem .75rem; align-items: end; }
.rt-tool .btn { width: 100%; }
.rt-dl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; min-height: 31px;
         border: 1px solid var(--falcon-border-color, #d8e2ef); border-radius: .25rem; }
.rt-dl > div { display: flex; align-items: center; justify-content: center; gap: .375rem; min-width: 0; }
.rt-dl > div + div { border-left: 1px solid var(--falcon-gray-200, #edf2f9); }
.rt-dl dt { font-weight: 400; } .rt-dl dd { margin: 0; font-weight: 600; }
