.pool-management { padding: 1.75rem 0 3rem; min-width: 0; }
.pool-page-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 1.5rem; }
.pool-kicker { margin: 0 0 .35rem; color: var(--accent); font-size: .75rem; font-weight: 600; letter-spacing: .12em; }
.pool-page-header h1 { margin: 0; font-size: 1.625rem; font-weight: 600; }
.pool-page-header p:last-child { margin: .5rem 0 0; color: var(--muted); font-size: .875rem; }
.pool-source-tabs { display: flex; gap: 1.75rem; border-bottom: 1px solid var(--line); }
.pool-source-tabs button { position: relative; min-height: 2.75rem; padding: 0 .125rem; border: 0; background: transparent; color: var(--muted); font-size: .9375rem; }
.pool-source-tabs button[aria-selected="true"] { color: var(--accent); font-weight: 600; }
.pool-source-tabs button[aria-selected="true"]::after { position: absolute; inset: auto 0 -1px; height: 2px; background: var(--accent); content: ''; }
.pool-message { min-height: 1.5rem; margin: 1rem 0; font-size: .8125rem; }
.pool-message[data-error="true"], .pool-form-error { color: var(--error); }
.pool-source-panel { min-width: 0; }
.pool-section-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; margin: 1.25rem 0 1.5rem; }
.pool-section-header h2 { margin: 0; font-size: 1.125rem; font-weight: 600; }
.pool-section-header p { margin: .45rem 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.6; }
.pool-section-header .primary-button { flex: none; min-height: 2.375rem; height: 2.375rem; font-size: .8125rem; }
.pool-summary { display: flex; gap: 0; margin: 0 0 1.5rem; }
.pool-summary > div { display: contents; }
.pool-summary dt { padding: .75rem 0; color: var(--muted); font-size: .8125rem; }
.pool-summary dd { margin: 0 2.5rem 0 .5rem; padding: .75rem 0; font-size: 1.125rem; font-weight: 600; }
.pool-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.pool-table { table-layout: fixed; min-width: 760px; }
.pool-table th { position: static; padding: .875rem .75rem; font-size: .75rem; text-align: left; }
.pool-table td { padding: 1rem .75rem; white-space: normal; vertical-align: middle; font-size: .8125rem; }
.pool-table th:first-child, .pool-table td:first-child { width: 19%; padding-left: 0; }
.pool-table th:nth-child(2) { width: 20%; }
.pool-table th:nth-child(3) { width: 12%; }
.pool-table th:nth-child(4) { width: 18%; }
.pool-table th:last-child { width: 31%; }
.pool-table .pool-number { font-variant-numeric: tabular-nums; }
.pool-account-name { font-weight: 600; overflow-wrap: anywhere; }
.pool-state { display: inline-flex; align-items: center; gap: .375rem; font-weight: 500; }
.pool-state::before { width: .375rem; height: .375rem; border-radius: 50%; background: var(--muted); content: ''; }
.pool-state-ready { color: #23785c; }
.pool-state-ready::before { background: #309875; }
.pool-state-failed { color: var(--error); }
.pool-state-failed::before { background: var(--error); }
.pool-state-pending { color: var(--muted); }
.pool-table td small { display: block; margin-top: .375rem; color: var(--muted); font-size: .6875rem; line-height: 1.5; }
.pool-table td small.pool-error-detail { color: var(--error); overflow-wrap: anywhere; }
.pool-actions { display: flex; flex-wrap: wrap; gap: .25rem .75rem; }
.pool-actions button { padding: .25rem 0; min-height: 1.75rem; border: 0; background: transparent; color: var(--accent); font-size: .75rem; }
.pool-actions button:hover { text-decoration: underline; }
.pool-actions button.pool-danger-action { color: var(--muted); }
.pool-empty { padding: 2rem; color: var(--muted); text-align: center; font-size: .875rem; }
.pool-footnote { margin-top: 1.5rem; color: var(--muted); font-size: .75rem; line-height: 1.8; }
.pool-dialog { width: 28rem; max-width: calc(100vw - 2rem); }
.pool-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.pool-dialog h2 { margin: 0; font-size: 1.125rem; }
.pool-dialog-account { margin: 0 0 1rem; color: var(--muted); font-size: .875rem; }
.pool-dialog form > label { display: block; margin: 1rem 0 .5rem; font-size: .8125rem; font-weight: 500; }
.pool-dialog form > input { display: block; width: 100%; height: 2.625rem; padding: .625rem .75rem; border: 1px solid var(--line); border-radius: .375rem; background: var(--surface); color: var(--ink); }
.pool-dialog-note { color: var(--muted); font-size: .75rem; line-height: 1.7; }
.pool-form-error { min-height: 1.25rem; font-size: .75rem; line-height: 1.6; }
.pool-dialog footer { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 1rem; }
.pool-dialog footer button { height: 2.375rem; font-size: .8125rem; }
@media (max-width: 1200px) {
  .pool-management { padding-top: 1rem; }
  .pool-table th:last-child { width: 35%; }
}
@media (forced-colors: active) {
  .pool-source-tabs button[aria-selected="true"] { text-decoration: underline; }
  .pool-state::before { background: CanvasText; }
}
