:root { font-family: var(--font-body); color: var(--ink); background: var(--canvas); font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
button, input { color: var(--ink); }
button:disabled { cursor: not-allowed; opacity: .45; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--focus-outline); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.yellow { background: var(--yellow); }
.pink { background: var(--pink); }
.green { background: var(--green); }
.blue { background: var(--blue); color: var(--text-inverse); }
.orange { background: var(--orange); }
.white { background: var(--paper); }
.black { background: var(--ink); color: var(--paper); }
.mobile-only { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -70px; left: 24px; z-index: 20; padding: 12px; background: var(--surface-card); border-radius: var(--radius-control); }
.skip-link:focus { top: 12px; }
.site-header { max-width: 1552px; margin: 20px auto 0; min-height: 80px; padding: 14px 28px; display: flex; align-items: center; gap: 24px; background: var(--surface-card); border-radius: var(--radius-shell); }
.brand { flex-shrink: 0; font-size: var(--text-23); font-weight: var(--weight-heavy); line-height: 1.2; text-decoration: none; letter-spacing: -.7px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { padding: 13px 18px; border-radius: var(--radius-item); text-decoration: none; font-size: var(--text-15); font-weight: var(--weight-semibold); white-space: nowrap; color: var(--text-tertiary); transition: background var(--duration-fast); }
.main-nav a[aria-current] { background: var(--ink); color: var(--text-inverse); }
.main-nav a:hover:not([aria-current]) { background: var(--surface-sunken); color: var(--ink); }
.auth-actions { margin-left: auto; display: flex; align-items: baseline; gap: 14px; line-height: 20px; }
.auth-actions[hidden] { display: none; }
.account-name { font-size: var(--text-13); font-weight: var(--weight-bold); line-height: 20px; white-space: nowrap; }
.header-links { display: flex; align-items: baseline; gap: 2px; }
.header-link { display: inline-flex; align-items: center; border: 0; background: none; padding: 8px; border-radius: var(--radius-xs); font-size: var(--text-13); font-weight: var(--weight-semibold); line-height: 20px; color: var(--text-tertiary); white-space: nowrap; transition: color var(--duration-fast); }
.header-links > .header-link + .header-link { padding-left: 11px; background: linear-gradient(var(--border-control), var(--border-control)) left center / 1px 12px no-repeat; }
.header-link:hover:not(:disabled) { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.header-link.strong { color: var(--ink); }
main { max-width: 1600px; padding: 24px 24px 40px; margin: 0 auto; }
main:focus { outline: none; }
.session-loading { padding: var(--space-5) 0; color: var(--text-secondary); text-align: center; font-size: var(--text-body); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.metric { min-width: 0; border: 0; border-radius: var(--radius-panel); padding: 24px 28px; display: flex; flex-direction: column; text-align: left; text-decoration: none; transition: transform var(--duration-fast), box-shadow var(--duration-fast); }
button.metric:hover, a.metric:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.metric-name { font-size: var(--text-16); font-weight: var(--weight-semibold); color: var(--text-tertiary); }
.metric.black .metric-name, .metric.blue .metric-name { color: var(--inverse-text-strong); }
.metric-value { display: flex; align-items: baseline; gap: 5px; margin: 16px 0 0; font-weight: var(--weight-bold); font-size: var(--text-20); }
.metric-value strong { font-size: clamp(42px, 4.3vw, 66px); font-weight: var(--weight-heavy); line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.metric-value > span { transform: translateY(-.15em); }
.desk-grid { display: grid; grid-template-columns: minmax(0, 2.14fr) minmax(320px, 1fr); align-items: start; gap: 20px; margin-top: 20px; }
.loans-panel { min-width: 0; padding: 28px 26px 18px; background: var(--surface-card); border-radius: var(--radius-panel); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 2px 0 22px; }
.panel-heading h2 { font-size: var(--text-24); font-weight: var(--weight-heavy); letter-spacing: -.7px; }
.heading-count { font-size: var(--text-13); font-weight: var(--weight-medium); color: var(--muted); margin-left: 6px; letter-spacing: 0; white-space: nowrap; }
.text-button { background: none; border: 0; color: inherit; font-size: var(--text-13); font-weight: var(--weight-semibold); padding: 7px 0; text-underline-offset: 4px; }
.text-button:hover { text-decoration: underline; }
.filter-group { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-group button { background: var(--surface-card); border: var(--border); padding: 9px 14px; border-radius: var(--radius-control); font-size: var(--text-13); font-weight: var(--weight-semibold); min-height: 40px; }
.filter-group button[aria-pressed="true"] { background: var(--ink); color: var(--text-inverse); border-color: var(--ink); }
.desk-filters { padding: 4px; gap: 2px; background: var(--surface-page); border-radius: var(--radius-item); }
.desk-filters button { background: transparent; border-color: transparent; min-height: 36px; padding: 8px 13px; }
.desk-filters button[aria-pressed="true"] { background: var(--surface-card); color: var(--ink); border-color: transparent; box-shadow: var(--shadow-xs); }
.desk-toolbar { display: flex; margin-bottom: 16px; }
.search-field { border: var(--border); display: flex; align-items: center; background: var(--surface-card); min-height: 46px; border-radius: var(--radius-control); padding-left: 14px; gap: 8px; flex: 1; min-width: 0; }
.search-field > span { font-size: var(--text-25); color: var(--text-placeholder); line-height: 1; }
.search-field input { border: 0; background: transparent; flex: 1; padding: 10px 12px 10px 0; width: 100%; min-width: 0; min-height: 44px; font-size: var(--text-14); }
.search-field:focus-within { border-color: var(--focus-outline); }
.search-field input:focus-visible { outline-offset: -3px; }
.desk-toolbar .search-field { max-width: 340px; background: var(--surface-sunken); border-color: transparent; }
.table-scroll { position: relative; overflow-x: auto; }
.desk-table { border-collapse: collapse; width: 100%; min-width: 690px; table-layout: fixed; }
.desk-table th { text-align: center; padding: 12px 8px 16px; font-size: var(--text-12); font-weight: var(--weight-medium); color: var(--muted); white-space: nowrap; border-bottom: var(--border); }
.desk-table th:nth-child(1) { width: 34%; }
.desk-table th:nth-child(2) { width: 12%; }
.desk-table th:nth-child(3) { width: 10%; }
.desk-table th:nth-child(4) { width: 13%; }
.desk-table th:nth-child(5) { width: 15%; }
.desk-table th:nth-child(6) { width: 16%; }
.desk-table td { text-align: center; height: 92px; padding: 17px 8px; font-size: var(--text-13); font-weight: var(--weight-medium); border-bottom: var(--border); }
.borrower-cell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-cell { color: var(--text-secondary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.desk-table td:nth-child(4) { color: var(--text-strong); }
.loan-book { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; }
.loan-book-details { min-width: 0; }
.book-title-link { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; font-weight: var(--weight-bold); }
.book-title-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.loan-book-author { display: block; font-size: var(--text-11); font-weight: var(--weight-regular); color: var(--muted); margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cover { object-fit: contain; width: 118px; height: 168px; border-radius: var(--radius-control); border: 1px solid var(--border-hairline); background: var(--surface-sunken); box-shadow: var(--shadow-sm); }
.cover-fallback { display: grid; place-items: center; padding: 10px; border: 1px solid var(--cover-border); border-left: 5px solid var(--cover-spine); background: var(--cover-bg); text-align: center; font-size: var(--text-16); font-weight: var(--weight-bold); line-height: 1.4; color: var(--cover-text); overflow: hidden; overflow-wrap: anywhere; }
.loan-book .cover, .return-row > .cover { width: 40px; height: 56px; flex-shrink: 0; font-size: var(--text-9); padding: 0; }
.loan-book .cover-fallback, .return-row > .cover-fallback { padding: 4px; border-left-width: 3px; }
.badge { --badge-dot: var(--status-dot-neutral); display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; font-size: var(--text-13); font-weight: var(--weight-semibold); line-height: 20px; color: var(--text-strong); white-space: nowrap; }
.badge::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--badge-dot); }
.badge.tone-success { --badge-dot: var(--status-dot-success); }
.badge.tone-accent, .badge.status-active { --badge-dot: var(--status-dot-accent); }
.badge.tone-warning, .badge.status-due { --badge-dot: var(--status-dot-warning); }
.badge.tone-danger, .badge.status-overdue { --badge-dot: var(--status-dot-danger); color: var(--tone-danger-fg); }
.badge.tone-neutral { --badge-dot: var(--status-dot-neutral); color: var(--text-secondary); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 11px 18px; border: 1px solid transparent; border-radius: var(--radius-control); font-size: var(--text-14); font-weight: var(--weight-bold); text-decoration: none; text-align: center; transition: background var(--duration-fast), filter var(--duration-fast); }
.button.white { border-color: var(--border-control); }
.button:hover:not(:disabled) { filter: brightness(.94); }
.button:active:not(:disabled) { transform: translateY(1px); }
.full-width { width: 100%; }
/* 대시보드: 이번 달 새 도서 */
.new-books-panel { min-width: 0; padding: 28px 26px; background: var(--surface-card); border-radius: var(--radius-panel); }
.new-books-list { list-style: none; margin: 0; padding: 0; }
.new-book { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: var(--border); }
.new-book:first-child { border-top: 0; padding-top: 0; }
.new-book .cover { width: 40px; height: 56px; flex-shrink: 0; font-size: var(--text-9); padding: 0; }
.new-book .cover-fallback { padding: 4px; border-left-width: 3px; }
.new-book-details { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.new-book-details .book-title-link { font-size: var(--text-14); font-weight: var(--weight-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new-book-author { font-size: var(--text-12); color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new-book-date { flex-shrink: 0; font-size: var(--text-12); color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.new-books-empty { padding: 32px 8px; text-align: center; font-size: var(--text-13); color: var(--text-secondary); }
.panel-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: var(--text-11); color: var(--muted); margin-top: 14px; }
.panel-footer .text-button { color: var(--text-tertiary); font-size: var(--text-11); }
.empty-state { padding: 40px 24px; text-align: center; background: var(--surface-card); }
.empty-state strong { display: block; font-size: var(--text-21); font-weight: var(--weight-bold); }
.empty-state p { margin: 10px 0 18px; font-size: var(--text-14); color: var(--muted); line-height: 1.7; }
#deskEmpty { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bordered { border: var(--border); border-radius: var(--radius-panel); overflow: hidden; }
.view-heading { padding: 16px 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
/* 제목 줄 높이를 버튼 유무와 상관없이 같게 맞춰, 아래 툴바 시작 위치를 페이지마다 통일 */
.view-heading > div { min-height: var(--control-height); display: flex; align-items: center; }
.view-heading h1 { font-size: var(--text-38); line-height: 1.3; font-weight: var(--weight-heavy); letter-spacing: -1.4px; }
.list-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 24px; }
input { min-height: 46px; border: 1px solid var(--border-control); padding: 11px 13px; border-radius: var(--radius-control); width: 100%; min-width: 0; background: var(--surface-card); font-size: var(--text-15); line-height: 22px; }
input::placeholder { color: var(--text-placeholder); opacity: 1; font-weight: var(--weight-regular); }
input[readonly] { background: var(--surface-sunken); }
/* 목록 필터: 검색창 옆 필터 버튼 + 선택 창 + 적용된 조건 칩 */
.filter-toolbar > .search-field { flex: 0 1 280px; }
.list-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.filter-anchor { position: relative; }
.filter-button { min-height: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: var(--border); border-radius: var(--radius-control); background: var(--surface-card); color: var(--text-primary); font-size: var(--text-14); font-weight: var(--weight-semibold); transition: border-color var(--duration-fast), background var(--duration-fast); }
.filter-button:hover, .filter-button[aria-expanded="true"] { border-color: var(--border-control-hover); background: var(--surface-sunken); }
.filter-button svg { width: 17px; height: 17px; color: var(--text-tertiary); }
.filter-count { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: var(--radius-pill); background: var(--accent); color: var(--text-inverse); font-size: var(--text-12); font-weight: var(--weight-bold); }
.filter-count[hidden] { display: none; }
.filter-panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: 340px; max-width: calc(100vw - 32px); padding: 18px; border: var(--border); border-radius: var(--radius-item); background: var(--surface-card); box-shadow: var(--shadow-modal); }
.filter-panel[hidden] { display: none; }
.filter-section-title { margin-bottom: 10px; font-size: var(--text-12); font-weight: var(--weight-semibold); color: var(--text-secondary); }
.filter-options { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.filter-option { height: 34px; padding: 0 12px; border: var(--border); border-radius: var(--radius-pill); background: var(--surface-card); color: var(--text-tertiary); font-size: var(--text-13); font-weight: var(--weight-semibold); transition: border-color var(--duration-fast), color var(--duration-fast); }
.filter-option:hover { border-color: var(--border-control-hover); color: var(--ink); }
.filter-option[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--text-inverse); }
.filter-actions { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: var(--border); }
.filter-reset { padding: 6px 0; border: 0; background: none; color: var(--text-secondary); font-size: var(--text-13); font-weight: var(--weight-semibold); }
.filter-reset:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.filter-apply { min-height: 36px; padding: 0 16px; border: 0; border-radius: var(--radius-xs); background: var(--ink); color: var(--text-inverse); font-size: var(--text-13); font-weight: var(--weight-semibold); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chips:empty { display: none; }
.filter-chip { height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px 0 12px; border: 0; border-radius: var(--radius-pill); background: var(--tone-accent-bg); color: var(--tone-accent-fg); font-size: var(--text-13); font-weight: var(--weight-semibold); }
.filter-chip span { font-size: var(--text-15); line-height: 1; opacity: .7; }
.filter-chip:hover span { opacity: 1; }
.book-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-4); }
.book-card { border-radius: var(--radius-panel); background: var(--surface-card); overflow: hidden; min-width: 0; border: 1px solid var(--gray-100); }
/* 도서 카드: 표지가 카드 위쪽을 꽉 채움 (3:4) */
.book-art { aspect-ratio: 3 / 4; display: flex; background: var(--art-1); overflow: hidden; }
.book-art .cover { width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; object-fit: cover; }
.book-art .cover-fallback { font-size: var(--text-18); padding: 20px; border-left-width: 6px; }
.book-card:nth-child(4n + 2) .book-art { background: var(--art-2); }
.book-card:nth-child(4n + 3) .book-art { background: var(--art-3); }
.book-card:nth-child(4n + 4) .book-art { background: var(--art-4); }
.book-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.book-card .book-counts { margin: 6px 0 8px; }
.book-card h2 { line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.book-meta { font-size: var(--text-12); line-height: 1.5; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.book-isbn { font-size: var(--text-12); color: var(--muted); overflow-wrap: anywhere; }
.book-counts { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: var(--text-13); }
.source-link { font-size: var(--text-12); font-weight: var(--weight-medium); text-underline-offset: 3px; color: var(--text-secondary); }
.book-card .button { width: 100%; }
#loanedBar { background: var(--accent); }
#availableBar { background: var(--accent-subtle); flex: 1; }
dialog { border: 0; border-radius: var(--radius-panel); box-shadow: var(--shadow-modal); padding: 0; width: min(600px, calc(100% - 36px)); max-height: calc(100dvh - 56px); background: var(--surface-card); color: var(--ink); overflow: auto; }
dialog::backdrop { background: var(--surface-backdrop); backdrop-filter: blur(4px); }
dialog.wide-dialog { width: min(850px, calc(100% - 36px)); }
dialog.compact-dialog { width: min(480px, calc(100% - 36px)); }
.dialog-titlebar { position: sticky; top: 0; z-index: 2; padding: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: var(--border); }
.dialog-titlebar h2 { font-weight: var(--weight-heavy); font-size: var(--text-28); line-height: 1.3; letter-spacing: -.8px; }
.close-button { display: grid; place-items: center; flex-shrink: 0; border: 0; border-radius: 50%; width: 38px; height: 38px; background: var(--surface-glass);  }
.close-button:hover { background: var(--ink); color: var(--text-inverse); }
.dialog-body { padding: 24px; }
.dialog-body label { display: block; font-size: var(--text-13); font-weight: var(--weight-semibold); }
.dialog-body label input, .dialog-body label select { margin-top: 7px; }
.input-action { display: flex; gap: 10px; margin-top: 8px; }
.input-action input { flex: 1; width: 100%; }
.input-action .button { flex-shrink: 0; }
.field-note { font-size: var(--text-13); line-height: 1.7; margin-top: 10px; color: var(--muted); }
.form-message { font-size: var(--text-13); line-height: 1.7; padding: 11px 13px; margin-top: 15px; background: var(--tone-info-bg); color: var(--tone-info-fg); border-radius: var(--radius-control); }
.form-message:empty { display: none; }
.form-message.error { background: var(--tone-danger-bg); color: var(--tone-danger-fg); }
.catalog-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; max-height: 315px; overflow: auto; padding: 0 4px 4px 0; }
.catalog-item { border: var(--border); border-radius: var(--radius-item); padding: 14px; display: grid; grid-template-columns: 48px 1fr; gap: 13px; min-width: 0; }
.catalog-item .cover { width: 48px; height: 70px; font-size: var(--text-12); }
.catalog-item h3 { font-size: var(--text-15); font-weight: var(--weight-bold); line-height: 1.4; }
.catalog-item p { margin-top: 5px; font-size: var(--text-12); line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.catalog-item .catalog-details { min-width: 0; }
.catalog-item .catalog-actions { display: flex; align-items: center; justify-content: flex-end; grid-column: 1/-1; }
.catalog-item.selected { background: var(--surface-selected); border-color: var(--border-selected); }
.catalog-item .button { min-height: 35px; padding: 5px 13px; font-size: var(--text-13); border-radius: var(--radius-xs); }
/* 페이지 번호: 숫자 원형, 현재 페이지는 검정 원 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 16px; }
.pagination[hidden] { display: none; }
.page-number, .page-arrow { width: 36px; height: 36px; padding: 0; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--text-strong); font-size: var(--text-14); font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; transition: background var(--duration-fast); }
.page-number:hover:not([aria-current]), .page-arrow:hover:not(:disabled) { background: var(--surface-page); }
.page-number[aria-current="page"] { background: var(--ink); color: var(--text-inverse); }
.page-arrow { color: var(--text-secondary); }
.page-arrow svg { width: 16px; height: 16px; }
.page-arrow:disabled { color: var(--border-control-hover); cursor: default; }
.page-gap { width: 24px; text-align: center; color: var(--text-placeholder); font-size: var(--text-14); }
.registration-form { border-top: var(--border); margin-top: 20px; padding-top: 20px; }
.selected-book { display: flex; align-items: center; gap: 17px; padding: 15px; background: var(--surface-sunken); border-radius: var(--radius-item); margin-bottom: 18px; }
.selected-book > div { min-width: 0; }
.selected-book .cover { width: 57px; height: 80px; flex-shrink: 0; font-size: var(--text-13); }
.selected-book h3 { font-size: var(--text-18); font-weight: var(--weight-bold); line-height: 1.5; overflow-wrap: anywhere; }
.selected-book p { font-size: var(--text-13); line-height: 1.6; margin: 4px 0; }
/* 등록 줄: ISBN : 번호 | 소장 수량 [1] | 도서 등록 — 한 줄, 40px 높이에 맞춤 */
.registration-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; }
.selected-isbn { min-width: 0; font-size: var(--text-16); line-height: 40px; font-variant-numeric: tabular-nums; }
.selected-isbn > span { font-weight: var(--weight-bold); }
.selected-isbn strong { font-weight: var(--weight-semibold); letter-spacing: .02em; overflow-wrap: anywhere; }
.dialog-body .quantity-field { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.dialog-body .quantity-field input { width: 76px; height: 40px; min-height: 40px; margin: 0; padding: 0 10px; text-align: center; font-size: var(--text-14); }
.registration-fields > .button { min-height: 40px; height: 40px; padding: 0 18px; font-size: var(--text-14); white-space: nowrap; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 19px; }
#loanForm > .button { margin-top: 20px; }
.loan-book-results { max-height: 240px; overflow: auto; padding-right: 3px; }
.loan-book-results:empty { display: none; }
#loanSearchForm[hidden] ~ #loanForm > .selected-book { margin-top: 0; }
.loan-book-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: var(--border); padding: 14px 0; }
.loan-book-result strong { font-size: var(--text-15); line-height: 1.5; }
.loan-book-result p { font-size: var(--text-13); margin-top: 5px; color: var(--muted); }
.loan-book-result .button { padding: 7px 11px; min-height: 38px; font-size: var(--text-13); flex-shrink: 0; }
#loanSelected { margin-top: 18px; }
.return-filters { margin: 15px 0; }
.return-results { max-height: 390px; overflow-y: auto; }
.return-row { border-top: var(--border); padding: 16px 0; display: flex; align-items: center; gap: 12px; }
.return-row:first-child { border-top: 0; }
.return-row .return-info { flex: 1; min-width: 0; }
.return-row h3 { font-size: var(--text-16); line-height: 1.5; overflow-wrap: anywhere; }
.return-row p { font-size: var(--text-13); margin: 6px 0; color: var(--muted); }
.return-row .button { flex-shrink: 0; white-space: nowrap; }
.return-selected-title { font-size: var(--text-24); font-weight: var(--weight-bold); line-height: 1.4; margin-bottom: 14px; }
.return-selected-details { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; padding: 16px 18px; border-radius: var(--radius-control); background: var(--surface-sunken); font-size: var(--text-14); line-height: 1.5; }
.return-selected-details dt { color: var(--text-tertiary); font-weight: var(--weight-medium); }
.return-selected-details dd { margin: 0; color: var(--text-primary); font-weight: var(--weight-semibold); }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.dialog-actions > button { flex: 1; }
.toast { position: fixed; bottom: 27px; left: 50%; transform: translateX(-50%); border-radius: var(--radius-item); padding: 14px 22px; max-width: calc(100% - 32px); width: max-content; background: var(--ink); color: var(--text-inverse); box-shadow: var(--shadow-toast); font-weight: var(--weight-semibold); font-size: var(--text-14); z-index: 15; line-height: 1.5; }
.toast.error { background: var(--danger-strong); }
.error-banner { padding: 16px; background: var(--tone-danger-bg); border-radius: var(--radius-item); display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 20px; color: var(--tone-danger-fg); font-size: var(--text-14); }
.error-banner button { flex-shrink: 0; padding: 8px 12px; border: 0; background: var(--surface-card); border-radius: var(--radius-xs); font-weight: var(--weight-semibold); }
.auth-view { display: grid; grid-template-columns: 1fr 420px; gap: 70px; align-items: center; min-height: 620px; padding: 40px 6%; }
.auth-intro h1 { font-size: clamp(48px, 5vw, 70px); font-weight: var(--weight-heavy); line-height: 1.2; letter-spacing: -2px; }
.auth-card { border-radius: var(--radius-panel); background: var(--surface-card); overflow: hidden; }
.auth-card-heading { padding: 24px 28px; }
.auth-card-heading h2 { font-size: var(--text-26); font-weight: var(--weight-bold); }
#authForm { padding: 28px; }
#authForm > label { display: block; font-size: var(--text-13); font-weight: var(--weight-semibold); margin-bottom: 18px; }
#authForm input { margin-top: 8px; }
#authForm > .button { margin-top: 5px; background: var(--ink); color: var(--text-inverse); }
#signupNote { margin-top: 0; margin-bottom: 18px; }
.auth-switch { display: block; border: 0; text-decoration: underline; text-underline-offset: 4px; background: none; padding: 0; font-size: var(--text-13); margin: 20px auto 0; color: var(--text-secondary); }
@media (max-width: 1600px) { .site-header { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 1200px) {
  .site-header { gap: 18px; padding-left: 24px; padding-right: 24px; }
  .main-nav a { padding: 12px 14px; }
  .metric { padding: 22px 24px; }
  .desk-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .loans-panel { padding: 24px 20px 18px; }
  .panel-heading { gap: 12px; }
  .panel-heading h2 { font-size: var(--text-22); }
  .desk-filters button { padding: 8px 10px; }
  .auth-view { gap: 35px; padding-left: 3%; padding-right: 3%; }
}
@media (max-width: 1100px) {
  .book-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-header { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; }
  .desk-grid { grid-template-columns: 1fr; }
  .metric { padding: 20px; }
  .metric-name { font-size: var(--text-14); }
  .metric-value strong { font-size: var(--text-45); }
  .auth-view { grid-template-columns: 1fr 370px; gap: 25px; }
}
@media (max-width: 760px) {
  main { padding: 18px 16px 30px; }
  .site-header { margin: 16px 16px 0; padding: 18px; gap: 16px; border-radius: var(--radius-panel); }
  .brand { font-size: var(--text-21); }
  .auth-actions { gap: 8px; }
  .header-link, .account-name { font-size: var(--text-12); }
  .main-nav { gap: 4px; }
  .main-nav a { flex: 1; padding: 10px 8px; text-align: center; font-size: var(--text-13); border-radius: var(--radius-control); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .metric { padding: 18px 20px; border-radius: var(--radius-panel); }
  .metric-value { margin: 12px 0 0; font-size: var(--text-16); }
  .metric-value strong { font-size: var(--text-43); }
  .desk-grid { gap: 16px; margin-top: 16px; }
  .loans-panel { border-radius: var(--radius-panel); padding: 22px 18px 14px; }
  .panel-heading { gap: 16px; }
  .panel-heading h2 { font-size: var(--text-22); }
  .desk-filters { gap: 0; }
  .desk-filters button { font-size: var(--text-12); padding: 7px 11px; }
  .desk-toolbar .search-field input { font-size: var(--text-12); }
  .desk-table { min-width: 650px; }
  .view-heading { padding: 8px 0 24px; align-items: flex-start; }
  .view-heading h1 { font-size: var(--text-32); }
  .view-heading .button { font-size: var(--text-12); padding: 10px 12px; min-height: 42px; }
  .mobile-only { display: initial; }
  .list-toolbar > .search-field { flex-basis: 100%; }
  .list-toolbar { gap: 12px; margin-bottom: 20px; }
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
  .book-card { border-radius: var(--radius-item); }
  .book-card-body { padding: 14px; gap: 10px; }
  .book-card h2 { font-size: var(--text-15); }
  .book-meta { font-size: var(--text-12); }
  .book-counts { flex-direction: column; align-items: flex-start; }
  .book-isbn { font-size: var(--text-11); }
  .book-card .button { font-size: var(--text-13); }
  dialog, dialog.wide-dialog { width: calc(100% - 28px); max-height: calc(100dvh - 32px); border-radius: var(--radius-panel); }
  .dialog-titlebar { padding: 20px; }
  .dialog-titlebar h2 { font-size: var(--text-24); }
  .dialog-body { padding: 20px; }
  .catalog-results { grid-template-columns: 1fr; max-height: 270px; }
  .input-action { gap: 7px; }
  .input-action .button { padding: 10px 13px; }
  .registration-fields { grid-template-columns: 1fr auto; gap: 10px 12px; }
  .selected-isbn { grid-column: 1/-1; line-height: 1.5; }
  .form-columns { grid-template-columns: 1fr; gap: 14px; }
  .return-row { gap: 10px; }
  .return-row h3 { font-size: var(--text-15); }
  .auth-view { grid-template-columns: 1fr; padding: 22px 0 10px; gap: 30px; min-height: 0; }
  .auth-intro h1 { font-size: var(--text-46); }
  .auth-card-heading { padding: 22px; }
  #authForm { padding: 22px; }
}
@media (max-width: 560px) {
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* 공유 컨트롤: 검색 아이콘/글자 높이와 단일 테두리를 동일하게 유지 */
button, input, select { font-family: var(--font-body); }
input:not([type="checkbox"]), select { height: var(--control-height); border-radius: var(--radius-control); font-size: var(--text-body); }
input[type="search"] { -webkit-appearance: none; appearance: none; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
.button { min-height: var(--control-height); display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); border-radius: var(--radius-control); font-size: var(--text-body); font-weight: var(--weight-semibold); line-height: 20px; }
.search-field { box-sizing: border-box; height: var(--control-height); min-height: var(--control-height); padding: 0 14px; gap: var(--space-2); border: var(--border); border-radius: var(--radius-control); align-items: center; }
.search-field > svg { display: block; width: var(--icon-size); height: var(--icon-size); flex: 0 0 var(--icon-size); color: var(--muted); }
.search-field > input[type="search"] { display: block; flex: 1; width: 100%; height: 100%; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: var(--text-body); line-height: 20px; outline: none; }
.search-field:focus-within { border-color: var(--blue); box-shadow: var(--focus-ring); }
.search-field > input:focus-visible { outline: none; }
.input-action { align-items: stretch; gap: var(--space-2); }
.input-action > .search-field { margin: 0; }
.dialog-body .search-field > input { margin: 0; }
dialog { border-radius: var(--radius-panel); box-shadow: var(--shadow-modal); }
.dialog-titlebar, .dialog-body { padding: var(--space-5); }
.auth-card-heading h2 { font-size: var(--text-section); font-weight: var(--weight-bold); line-height: var(--line-heading); }
.dialog-titlebar h2 { font-size: var(--text-modal); font-weight: var(--weight-bold); line-height: var(--line-heading); letter-spacing: -.3px; }
.auth-card, .book-card, .loans-panel, .new-books-panel { border-radius: var(--radius-panel); }
.auth-intro h1 { font-size: var(--text-hero); font-weight: var(--weight-heavy); line-height: 1.2; }
.view-heading h1 { font-size: var(--text-page); font-weight: var(--weight-bold); line-height: var(--line-heading); }
.panel-heading h2 { font-size: var(--text-section); font-weight: var(--weight-bold); line-height: var(--line-heading); }
.book-card h2 { font-size: var(--text-15); font-weight: var(--weight-bold); }
.stacked-form { display: grid; gap: var(--space-4); }
.stacked-form input, .stacked-form select { width: 100%; margin-top: var(--space-2); }
.stacked-form .form-columns { margin-top: 0; gap: var(--space-4); }
.stacked-form .dialog-actions { margin-top: var(--space-2); gap: var(--space-2); }
.account-notice { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); padding: var(--space-4); background: var(--yellow); border-radius: var(--radius-control); margin-bottom: var(--space-5); font-size: var(--text-label); }
.member-table-wrap { background: var(--paper); border-radius: var(--radius-panel); padding: var(--space-5); overflow-x: auto; }
.member-table { width: 100%; border-collapse: collapse; text-align: center; font-size: var(--text-body); }
.member-table th { font-size: var(--text-label); color: var(--muted); font-weight: var(--weight-semibold); padding: var(--space-3); border-bottom: var(--border); white-space: nowrap; }
.member-table td { padding: var(--space-4) var(--space-3); border-bottom: var(--border); }
.member-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { dialog, dialog.wide-dialog { border-radius: var(--radius-panel); } .member-table-wrap { padding: var(--space-4); } }

/* ── 컴포넌트 ─────────────────────────────────────────────
 * 아래 규칙은 tokens.css의 의미 토큰만 씁니다. 새 화면도 이 클래스를 조합해 만드세요.
 *   버튼      .button [+ .small] [+ .black|.white|.yellow|.pink|.danger|.tone-*]  (비활성은 .tone-neutral + disabled)
 *   아이콘 버튼 .icon-button [+ .tone-accent|.tone-danger] data-tooltip="이름"
 *   배지      .badge + .tone-*  (배경 없이 색 점 + 글자)
 *   모달      dialog > .dialog-titlebar(.yellow|.pink) + .dialog-body + .dialog-actions
 */

/* 버튼 */
.button.small { min-height: var(--control-height-small); padding: 0 var(--button-padding-x-small); font-size: var(--button-font-size-small); white-space: nowrap; }
.button.danger { background: var(--tone-danger-fg); color: var(--text-inverse); }
.button.tone-accent { background: var(--tone-accent-bg); color: var(--tone-accent-fg); }
.button.tone-neutral { background: var(--tone-neutral-bg); color: var(--tone-neutral-fg); }
.button.tone-danger { background: var(--tone-danger-bg); color: var(--tone-danger-fg); }
/* 누를 수 없는 상태: 흐리게 하지 않고 회색 바탕 + 연한 글자 */
.button.tone-neutral:disabled { opacity: 1; color: var(--text-disabled); }

/* 아이콘 버튼: 32px 원, 마우스를 올리면 위쪽에 이름표 */
.icon-button { position: relative; flex-shrink: 0; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--radius-pill); display: inline-grid; place-items: center; background: var(--tone-neutral-bg); color: var(--tone-neutral-fg); transition: filter var(--duration-fast); }
.icon-button svg { display: block; width: 16px; height: 16px; }
.icon-button.tone-accent { background: var(--tone-accent-bg); color: var(--tone-accent-fg); }
.icon-button.tone-danger { background: var(--tone-danger-bg); color: var(--tone-danger-fg); }
.icon-button:hover:not(:disabled) { filter: brightness(.94); }
.icon-button:focus-visible { outline: 3px solid var(--focus-outline); outline-offset: 2px; }
.icon-button[data-tooltip]::after { content: attr(data-tooltip); position: absolute; bottom: calc(100% + 8px); left: 50%; z-index: 3; transform: translateX(-50%); padding: 6px 9px; border-radius: var(--radius-xs); background: var(--text-primary); color: var(--text-inverse); font-size: var(--text-caption); font-weight: var(--weight-semibold); line-height: 1.4; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity var(--duration-fast); }
.icon-button[data-tooltip]:hover::after, .icon-button[data-tooltip]:focus-visible::after { opacity: 1; }

/* 입력창: 포커스는 파랑 테두리 + 연한 링, 오류는 빨강 */
input:not([type="checkbox"]), select { transition: border-color var(--duration-fast), box-shadow var(--duration-fast); }
input:not([type="checkbox"]):focus-visible, select:focus-visible { outline: none; }
input:not([type="checkbox"]):focus, select:focus { outline: none; border-color: var(--border-focus); box-shadow: var(--focus-ring); }
input[readonly]:focus { border-color: var(--border-control); box-shadow: none; }
.search-field > input:focus { box-shadow: none; }
input[aria-invalid="true"], input[aria-invalid="true"]:focus { border-color: var(--tone-danger-fg); box-shadow: var(--focus-ring-danger); }
select { width: 100%; min-width: 0; padding: 0 40px 0 14px; border: 1px solid var(--border-control); background: var(--surface-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23747983' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; color: var(--text-primary); -webkit-appearance: none; appearance: none; }

/* 체크박스: 검정 */
input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex-shrink: 0; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; border: 1.5px solid var(--border-control-hover); border-radius: 6px; background: var(--surface-card) no-repeat center / 14px; cursor: pointer; transition: background-color var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast); }
input[type="checkbox"]:checked { border-color: var(--text-primary); background-color: var(--text-primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
input[type="checkbox"]:focus-visible { outline: none; border-color: var(--text-primary); box-shadow: var(--focus-ring-neutral); }
input[type="checkbox"]:disabled { border-color: var(--border-default); background-color: var(--surface-page); cursor: not-allowed; }
.checkbox-label { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-body); font-weight: var(--weight-medium); cursor: pointer; }
.dialog-body label.search-field { display: flex; }
.dialog-body label.search-field input { margin-top: 0; }
.dialog-body label.checkbox-label { display: inline-flex; font-size: var(--text-body); font-weight: var(--weight-medium); }
.dialog-body label input[type="checkbox"], .stacked-form input[type="checkbox"] { margin: 0; }

/* 모달: 색 띠 제목 + 본문 + 하단 2칸 버튼. 글자 크기는 제목 24 / 라벨 13 / 본문 14 / 버튼 14 */
.dialog-titlebar { padding: var(--space-4) var(--space-5); }
.dialog-body { padding: var(--space-5); }
.dialog-body label { font-size: var(--text-label); font-weight: var(--weight-semibold); }
.close-button { width: 36px; height: 36px; padding: 0; display: inline-grid; place-items: center; color: var(--text-primary); }
.close-button svg { display: block; width: 16px; height: 16px; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-top: var(--space-5); }
.dialog-actions > .button { width: 100%; }
.dialog-text { font-size: var(--text-body); line-height: 1.7; color: var(--text-strong); }
.callout { padding: var(--space-3) 14px; border-radius: var(--radius-control); font-size: var(--text-label); font-weight: var(--weight-medium); line-height: 1.6; }
.callout.tone-warning { background: var(--tone-warning-bg); color: var(--tone-warning-fg); }
.callout.tone-danger { background: var(--tone-danger-bg); color: var(--tone-danger-fg); }
.record-list { margin-top: var(--space-4); border: var(--border); border-radius: var(--radius-item); max-height: 260px; overflow-y: auto; }
.record-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) 14px; border-top: var(--border); font-size: var(--text-body); }
.record-row:first-child { border-top: 0; }
.record-row strong { display: block; font-weight: var(--weight-semibold); overflow-wrap: anywhere; }
.record-row small { display: block; margin-top: 3px; font-size: var(--text-caption); color: var(--text-secondary); }
.record-row .badge { flex-shrink: 0; }
#loanForm .form-columns { grid-template-columns: 1fr; }
.loan-period-note { margin-top: var(--space-3); padding: 12px 14px; border-radius: var(--radius-control); background: var(--surface-sunken); font-size: var(--text-13); color: var(--text-tertiary); }
.loan-period-note strong { color: var(--text-primary); font-weight: var(--weight-bold); }
#deleteEmployeeBody > .callout + .dialog-text, #deleteEmployeeBody > .dialog-text + .callout { margin-top: var(--space-4); }

/* 회원 관리 표 */
.member-table .actions-col { width: 1%; text-align: center; white-space: nowrap; }
.member-table td strong { font-weight: var(--weight-semibold); }
.member-actions { display: inline-flex; gap: var(--space-2); justify-content: center; }
.member-table .muted-cell { color: var(--text-secondary); }
.employee-mode [data-admin-only] { display: none !important; }
.panel-footer { justify-content: flex-end; }
/* 진행·결과 안내는 배경 없이 회색 글씨, 오류만 색 배경 */
.form-message:not(.error) { padding: 0; background: none; color: var(--text-secondary); }
.notice-link { padding: 0; border: 0; background: none; color: var(--text-primary); font-size: var(--text-label); font-weight: var(--weight-bold); text-decoration: underline; text-underline-offset: 4px; }

/* 대여 관리 · 회원별 이용 현황 */
.loan-covers { display: inline-flex; align-items: center; gap: 10px; max-width: 320px; min-width: 0; vertical-align: middle; }
.cover-stack { display: flex; flex-shrink: 0; }
.cover-stack .cover { width: 30px; height: 42px; padding: 0; border: 0; border-radius: 4px; box-shadow: 0 0 0 2px var(--surface-card); object-fit: cover; }
.cover-stack .cover + .cover { margin-left: -10px; }
.cover-stack .cover-fallback { font-size: 0; border-left: 3px solid var(--cover-spine); }
.loan-covers-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--weight-semibold); }
.loan-covers-more { flex-shrink: 0; color: var(--text-tertiary); white-space: nowrap; }
.history-summary { display: flex; margin-bottom: 8px; border-radius: var(--radius-control); background: var(--surface-sunken); }
.history-summary > div { flex: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 14px 18px; font-size: var(--text-14); }
.history-summary > div + div { border-left: var(--border); }
.history-summary span { color: var(--text-tertiary); }
.history-summary strong { color: var(--text-primary); font-weight: var(--weight-bold); }
.history-summary .is-danger strong { color: var(--tone-danger-fg); }
#historyRows .badge { flex-shrink: 0; }
.history-dates { display: grid; grid-template-columns: 72px 1fr; gap: 2px 10px; margin: 6px 0 0; font-size: var(--text-13); line-height: 1.6; }
.history-dates dt { color: var(--text-tertiary); }
.history-dates dd { margin: 0; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.role-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: var(--radius-pill); background: var(--tone-accent-bg); color: var(--tone-accent-fg); font-size: var(--text-caption); font-weight: var(--weight-semibold); vertical-align: 1px; }
.usage-panel { margin-top: 20px; }
@media (max-width: 760px) { .usage-panel { margin-top: 16px; } }
.panel-toolbar { margin-bottom: 16px; }

/* 처음 불러오는 동안의 자리표시자 */
.skeleton { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--gray-50) 25%, var(--gray-100) 50%, var(--gray-50) 75%); background-size: 200% 100%; animation: skeleton-shimmer 1.4s ease-in-out infinite; }
td > .skeleton { margin: 0 auto; }
.skeleton-cover { width: 40px; height: 56px; flex-shrink: 0; border-radius: 6px; }
.new-book.skeleton-item .new-book-details { display: grid; gap: 8px; }
.skeleton-card .book-art.skeleton { height: auto; border-radius: 0; }
.skeleton-card .book-card-body { gap: 10px; min-height: 163px; }
.skeleton-card .book-card-body > .skeleton:first-child { height: 16px; }
.skeleton-button { height: var(--control-height); border-radius: var(--radius-control); margin-top: 6px; }
@keyframes skeleton-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

/* 표 열 너비 고정: 데이터가 들어와도 머리글이 움직이지 않아요 */
.member-table { table-layout: fixed; min-width: 720px; }
.member-table td { overflow-wrap: anywhere; }
.employee-table th:nth-child(1) { width: 20%; } .employee-table th:nth-child(2) { width: 32%; }
.employee-table th:nth-child(3) { width: 18%; } .employee-table th:nth-child(4) { width: 16%; } .employee-table th:nth-child(5) { width: 14%; }
.borrower-table th:nth-child(1) { width: 13%; } .borrower-table th:nth-child(2) { width: 12%; }
.borrower-table th:nth-child(3) { width: 39%; } .borrower-table th:nth-child(4) { width: 9%; }
.borrower-table th:nth-child(5) { width: 9%; } .borrower-table th:nth-child(6) { width: 18%; }
.usage-table th:nth-child(1) { width: 15%; } .usage-table th:nth-child(2) { width: 13%; }
.usage-table th:nth-child(3), .usage-table th:nth-child(4), .usage-table th:nth-child(5) { width: 11%; }
.usage-table th:nth-child(6) { width: 17%; } .usage-table th:nth-child(7) { width: 22%; }
.member-actions-empty { display: inline-grid; place-items: center; height: 32px; }
/* 목록 길이에 따라 스크롤바가 생겼다 사라져도 화면 폭이 흔들리지 않게 */
html { scrollbar-gutter: stable; }
