/* VLC workbench: one visible icon is one capacity unit. */
.pool-workbench{--mx-panel:#0d1117;--mx-panel-2:#161b22;--mx-panel-3:#21262d;--mx-line:#30363d;--mx-ink:#e6edf3;--mx-dim:#8b949e;--mx-faint:#8b949e;--mx-ok:#3fb950;--mx-iris:#58a6ff;--mx-warn:#d29922;font:12px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mx-ink);background:var(--mx-panel);border:1px solid var(--mx-line);min-width:0}
.pool-workbench *{box-sizing:border-box;border-radius:0!important;box-shadow:none!important}
.pool-workbench-toolbar{display:flex;align-items:center;gap:16px;min-height:36px;padding:4px 10px;border-bottom:1px solid var(--mx-line);background:#161b22;flex-wrap:wrap}
.pool-workbench-toolbar>span{color:var(--mx-dim);font-size:12px}.pool-workbench-toolbar b{color:var(--mx-ink);font-variant-numeric:tabular-nums}.pool-toolbar-spacer{flex:1}
.pool-shelf-layout{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(270px,1.6fr) minmax(230px,1fr);gap:0;min-height:480px;align-items:stretch}
.pool-shelf-main,.pool-shelf-side,.pool-shelf-lent{min-width:0;display:flex;flex-direction:column;background:#0d1117}
.pool-shelf-main,.pool-shelf-side{border-left:1px solid var(--mx-line)}
.pool-pane-head{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:32px;padding:6px 10px;border-bottom:1px solid var(--mx-line);background:#161b22;font-size:12px}
.pool-pane-head>span{font-size:12px;color:var(--mx-dim)}.pool-pane-body{padding:8px;min-width:0;display:flex;flex-direction:column;gap:8px}
.pool-standby-dropzone{min-height:200px;flex:1}.pool-standby-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));align-content:start}
.pool-working-group{border-top:1px solid var(--mx-line);min-height:145px}.pool-provider-tabs{display:flex;border-bottom:1px solid var(--mx-line);background:#0a0f14}
.pool-provider-tabs button{flex:1;padding:9px 8px;color:var(--mx-dim);background:transparent;border:0;border-bottom:2px solid transparent;cursor:pointer;font:inherit}.pool-provider-tabs button[aria-selected=true]{color:var(--mx-ink);border-bottom-color:#58a6ff;background:#161b22}.pool-provider-tabs span{margin-left:6px;font-size:12px;font-variant-numeric:tabular-nums}
.pool-unit-card,.pool-lease-card{padding:8px;background:#161b22;border:1px solid var(--mx-line);min-width:0;margin:0;font-size:12px}
.pool-unit-card>header,.pool-lease-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.pool-unit-card>header>div{display:flex;gap:6px;align-items:center;min-width:0}.pool-unit-card strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pool-unit-count{font-size:16px;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}.pool-unit-count small{font-size:12px;color:var(--mx-dim)}
.pool-unit-owner{font-size:12px;color:var(--mx-dim);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:3px}
.pool-unit-grid{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0 8px;min-height:40px;align-items:center}.pool-worker-unit{position:relative;display:flex;align-items:center;justify-content:center;width:33px;height:42px;padding:3px 4px 9px;color:#58a6ff;background:#0d1117;border:1px solid #30363d;cursor:grab;flex:0 0 33px}.pool-worker-unit:hover{background:#21262d;border-color:#58a6ff}.pool-worker-unit:active{cursor:grabbing}.pool-worker-unit svg{height:27px;width:22px}.pool-worker-number{position:absolute;right:2px;top:1px;font-size:12px;color:#8b949e}.pool-worker-health{position:absolute;bottom:3px;left:4px;right:4px;height:3px;background:#30363d}.pool-worker-health i{display:block;height:100%;background:#3fb950}.pool-worker-unit.quota-unknown .pool-worker-health{background:repeating-linear-gradient(90deg,#8b949e 0 2px,transparent 2px 4px)}.pool-worker-unit.quota-stale .pool-worker-health i{background:#d29922}.pool-worker-unit.is-unavailable{opacity:.45;cursor:not-allowed}.pool-worker-unit.is-dragging{opacity:.3}
.pool-workbench [data-pool-dropzone].is-drop-target{outline:2px solid #58a6ff;outline-offset:-2px;background:#112238}
.pool-unit-card>footer,.pool-lease-card>footer{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:7px;padding-top:5px;border-top:1px solid #30363d;color:#8b949e;font-size:12px}.pool-unit-price{color:#d29922}.pool-unit-empty{color:#8b949e;font-size:12px}
.pool-shelf-line{font-size:12px;line-height:1.6;overflow-wrap:anywhere;color:#8b949e}.pool-shelf-quota{display:flex;flex-wrap:wrap;gap:3px;align-items:center}.pool-quota-bar{display:inline-block;width:32px;height:3px;background:#30363d;flex:0 0 32px}.pool-quota-bar>span{display:block;height:100%;background:#3fb950}
.pool-access,.pool-shelf-state{font-size:12px;padding:1px 4px;border:1px solid #30363d;line-height:1.3;white-space:nowrap;color:#8b949e}.pool-access--api{color:#58a6ff}.pool-access--cli{color:#5ccfe6}.pool-shelf-state{margin-left:auto}
.pool-workbench .mx-btn{font:12px/1.3 inherit;min-height:24px;padding:3px 7px;background:#21262d;border:1px solid #30363d;color:#e6edf3;cursor:pointer}.pool-workbench .mx-btn:hover{background:#30363d}.pool-workbench button:focus-visible,.pool-workbench input:focus-visible{outline:2px solid #58a6ff;outline-offset:2px}.pool-workbench[aria-busy=true] .pool-worker-unit{cursor:progress}
.pool-shelf-search{display:flex;gap:4px;padding:7px 8px;border-bottom:1px solid #30363d}.pool-shelf-search input{min-width:0;flex:1;border:1px solid #30363d;background:#0a0f14;color:#e6edf3;padding:4px 6px;font-size:12px}
.pool-compact-empty{font-size:12px;color:#8b949e;line-height:1.7;padding:18px 10px;text-align:center}.pool-unavailable,.pool-blocked{border-top:1px solid #30363d;color:#8b949e}.pool-unavailable summary,.pool-blocked summary{font-size:12px;padding:8px;cursor:pointer}.pool-unavailable .pool-unit-card,.pool-blocked .pool-unit-card{margin:6px}.pool-shelf-error:empty{display:none}.pool-shelf-error{padding:8px 10px;color:#f85149;border-bottom:1px solid #30363d;font-size:12px}
.pool-lease-card--running{border-left:2px solid #3fb950}.pool-lease-card--reserved{border-left:2px solid #d29922}.pool-lease-card b{font-size:12px;overflow-wrap:anywhere}
.pool-details{width:min(540px,90vw);max-height:80vh;overflow:auto;padding:16px;background:#161b22;border:1px solid #484f58;color:#e6edf3}.pool-details::backdrop{background:#0009}.pool-details h3{margin:0 0 12px;font-size:14px}.pool-details footer{display:flex;gap:8px;margin-top:14px}
@media(min-width:1500px){.pool-shelf-layout{grid-template-columns:minmax(200px,.8fr) minmax(340px,1.8fr) minmax(270px,1fr)}}
@media(max-width:850px){.pool-shelf-layout{grid-template-columns:minmax(150px,.7fr) minmax(240px,1.3fr) minmax(210px,1fr);overflow-x:auto}.pool-workbench-toolbar{gap:10px}.pool-workbench{overflow:hidden}}
@media(max-width:600px){.pool-shelf-layout{grid-template-columns:160px 240px 230px}.pool-workbench-toolbar{font-size:12px}.pool-workbench-toolbar>span{font-size:12px}}

/* Brand identity stays with the Worker across ownership and placement lanes. */
.pool-worker-unit{color:var(--worker-color,#8b949e);width:38px;height:auto;min-height:56px;flex:0 0 38px;flex-direction:column;padding:3px 4px 5px;gap:4px;user-select:none}
.pool-worker-unit svg{width:28px;height:35px;pointer-events:none}.pool-worker-number{display:none}
.pool-brand-mark{color:var(--worker-color);display:inline-flex;flex:none}.pool-brand-mark svg{height:19px;width:19px}
.pool-worker-healths{display:flex;flex-direction:column;gap:2px;width:100%;pointer-events:none}.pool-worker-health{position:static;display:block;height:3px;background:#30363d;width:100%}.pool-worker-health i{background:var(--worker-color)}
.pool-worker-health.is-unknown,.pool-usage-track.is-unknown{background:repeating-linear-gradient(90deg,#8b949e 0 2px,transparent 2px 4px)}.pool-worker-health.is-stale{opacity:.5}
.pool-worker-unit.is-selected{border-color:var(--worker-color);background:color-mix(in srgb,var(--worker-color) 20%,#0d1117);outline:1px solid var(--worker-color);outline-offset:1px}
.pool-worker-unit.is-selected:after{content:'✓';position:absolute;right:1px;top:-4px;color:var(--worker-color);font-size:12px;background:#0d1117}
.pool-usage-windows{display:grid;gap:7px}.pool-usage-caption,.pool-usage-updated{font-size:12px;color:#8b949e}.pool-usage-heading{display:flex;justify-content:space-between;gap:6px;font-size:12px}.pool-usage-heading b{color:var(--worker-color);font-variant-numeric:tabular-nums}.pool-usage-track{height:4px;background:#30363d;margin:3px 0}.pool-usage-track i{height:100%;display:block;background:var(--worker-color,#8b949e)}.pool-usage-reset{font-size:12px;line-height:1.5;color:#b1bac4;overflow-wrap:anywhere}.pool-usage-window.is-stale .pool-usage-track{opacity:.5}.pool-usage-window.is-stale .pool-usage-reset{color:#d29922}
.pool-selection-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:5px 10px;border-bottom:1px solid #30363d;font-size:12px;color:#8b949e}.pool-selection-toolbar b{color:#e6edf3}.pool-selection-toolbar [hidden]{display:none!important}.pool-selection-toolbar>span{margin-right:auto}
.worker-selection-box{border:1px solid #58a6ff;background:#58a6ff22;z-index:9999}.pool-drag-ghost{position:fixed;left:12px;top:12px;padding:8px 12px;background:#21262d;color:#e6edf3;border:1px solid #58a6ff;font-size:12px;z-index:9999;pointer-events:none}
[data-worker-select-area]{user-select:none}

.pool-shelf-error.is-success{color:#3fb950}

/* Compact card: mini health bars carry the geometry; rows are labels and timers. */
.pool-unit-card{padding:6px}.pool-unit-grid{gap:4px;margin:6px 0}.pool-worker-unit{width:34px;flex-basis:34px;min-height:47px;padding:2px 3px 3px;gap:2px}.pool-worker-unit svg{width:25px;height:30px}.pool-worker-healths{gap:2px}
.pool-usage-windows{gap:3px}.pool-usage-caption{font-size:12px;line-height:1.3}.pool-usage-window{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;font-size:12px;line-height:1.5}.pool-usage-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pool-usage-window>b{color:var(--worker-color);font-variant-numeric:tabular-nums}.pool-usage-reset{font-size:12px;white-space:nowrap}.pool-usage-window.is-stale>b{color:#d29922}.pool-unit-card>footer{margin-top:5px;padding-top:4px}
.pool-brand-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:4px;border-bottom:1px solid #30363d}.pool-brand-tabs button{background:transparent;border:1px solid transparent;color:#8b949e;cursor:pointer;padding:4px 2px;font:12px/1.2 inherit;white-space:nowrap}.pool-brand-tabs button[aria-selected=true]{background:#21262d;border-color:#30363d;color:#e6edf3}.pool-provider-source{padding:4px 8px;border-bottom:1px solid #30363d;color:#8b949e;font-size:12px;line-height:1.4}
.pool-provider-scroll{max-height:calc(100vh - 265px);min-height:250px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.pool-provider-scroll>.pool-pane-body{gap:6px;padding:6px}.pool-load-more{display:block;margin:4px auto 8px}.pool-load-more[hidden]{display:none!important}

/* Resource identity and one selection contract for mouse, keyboard and drag. */
.pool-unit-card strong{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.pool-unit-identity{display:grid;gap:3px;color:#b1bac4;font-size:12px;margin:6px 0;overflow-wrap:anywhere;user-select:text}
.pool-unit-identity code{font-size:12px;color:#e6edf3}
.pool-unit-allocation{color:#b1bac4;font-size:12px;line-height:1.7}
.pool-unit-allocation span{white-space:nowrap}.pool-unit-allocation b{color:#e6edf3}
.pool-worker-unit{padding-top:17px;min-height:64px}
.pool-worker-check{position:absolute;top:3px;left:3px;width:12px;height:12px;border:1px solid #8b949e;background:#0d1117;line-height:10px;font-size:12px;color:#fff;pointer-events:none}
.pool-worker-unit.is-selected .pool-worker-check{background:#1f6feb;border-color:#58a6ff}
.pool-worker-unit.is-selected .pool-worker-check:after{content:'✓'}
.pool-worker-unit.is-selected:after{content:none}
#view-pool.page.mx-next{min-height:0}
.pool-workbench{display:flex;flex-direction:column;min-height:100%;margin:0;padding:0}
.pool-shelf-layout{flex:1}
.pool-selection-toolbar{order:10;position:sticky;left:auto;right:auto;bottom:0;z-index:50;background:#161b22;border:1px solid #30363d;padding:10px 12px;min-height:48px;flex-wrap:wrap}
.pool-selection-toolbar .mx-btn:disabled{opacity:.4;cursor:default}

@media(max-width:850px){.pool-selection-toolbar{padding:10px}.pool-selection-toolbar>span{display:none}}
.pool-borrowed{border-top:1px solid #30363d}.pool-borrowed .pool-pane-body{display:flex;flex-wrap:wrap;gap:8px;padding:8px}.pool-borrowed-card{flex:1 1 220px;max-width:320px;border:1px dashed #30363d;border-radius:6px;padding:8px 10px;font-size:12px;color:#c9d1d9;background:#0d1117}.pool-borrowed-card header{display:flex;justify-content:space-between;gap:8px;margin-bottom:4px}.pool-borrowed-card header span{color:#8b949e}.pool-borrowed-card footer{display:flex;gap:6px;margin-top:6px}.pool-borrowed-card[data-pool-borrow-state="unavailable"]{opacity:.7}.pool-borrowed-card[data-pool-borrow-state="standby"]{border-style:solid;border-color:#238636}.pool-borrowed-card .mx-btn[data-pool-borrow-state="pending"]{opacity:.6;cursor:progress}.pool-borrowed-card .mx-btn[data-pool-borrow-state="error"]{border-color:#f85149}

/* M03: Standby is a shared candidate, not a reservation. */
.pool-unit-shared-tag{font-style:normal;font-size:12px;color:var(--mx-dim);border:1px solid currentColor;border-radius:3px;padding:0 3px;margin-left:auto;white-space:nowrap;cursor:help}
.pool-unit-shared-tag+.pool-unit-count{margin-left:-4px}
.pool-unit-shared-note{color:#b1bac4;font-size:12px;line-height:1.5;cursor:help}

/* N3 (UI audit 2026-10): Standby / Lent counts edited in place on each card. */
.pool-unit-steppers{display:flex;flex-wrap:wrap;gap:4px 10px;margin:6px 0 2px}
.pool-unit-stepper{display:inline-flex;align-items:center;gap:3px;font-size:12px;color:#b1bac4}
.pool-unit-stepper>span{margin-right:2px}
.pool-unit-stepper .mx-btn{min-width:20px;padding:0 5px;line-height:18px}
.pool-unit-stepper input{width:38px;height:20px;padding:0 3px;background:#0d1117;color:#e6edf3;border:1px solid var(--mx-line,#30363d);font:inherit;font-variant-numeric:tabular-nums;text-align:center}
.pool-unit-stepper small{color:var(--mx-dim,#8b949e)}
.pool-unit-stepper[data-committing] input{opacity:.5}
/* Pool › Cloud APIs (Add API instances + Private/Free/Paid sharing). */
.pool-cloud-apis{border-top:1px solid #30363d;font-size:12px;color:#c9d1d9}.pool-cloud-apis__group{padding:6px 8px}.pool-cloud-apis__group>header{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.pool-cloud-apis__group>header span{color:#8b949e}.pool-cloud-apis ul{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.pool-cloud-api{border:1px solid #30363d;border-radius:6px;padding:8px 10px;background:#0d1117;min-width:0}.pool-cloud-api__head,.pool-cloud-api__facts,.pool-cloud-api__sharing{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0}.pool-cloud-api__head code{color:#8b949e;overflow-wrap:anywhere}.pool-cloud-api__facts{color:#8b949e;margin-top:4px}.pool-cloud-api__sharing{margin-top:6px}.pool-cloud-api__sharing input{width:7em}
.pool-cloud-api__note,.pool-cloud-apis__hint{color:#8b949e}.pool-cloud-apis__hint{padding:0 10px 8px;margin:0}.pool-cloud-apis__unavailable{color:#d29922;padding:6px 10px;margin:0}
.pool-add-api{display:flex;flex-direction:column;gap:8px;min-width:min(420px,calc(100vw - 32px))}.pool-add-api label{display:flex;flex-direction:column;gap:4px}.pool-add-api input,.pool-add-api select{max-width:100%}.pool-add-api__note{color:#8b949e;margin:0}.pool-add-api [data-cloud-api-form-error]:empty{display:none}.pool-add-api [data-cloud-api-form-error]{color:#f85149;margin:0}.pool-add-api footer{display:flex;gap:8px}
/* Phone width: one stacked column instead of three overflowing ones. */
@media(max-width:600px){
  .pool-shelf-layout{grid-template-columns:1fr;overflow-x:visible}
  .pool-selection-toolbar{padding:8px;display:flex;flex-wrap:wrap;gap:6px}
}

/* D51 instance identity: three facts, three badges; the ID is copyable; batch results list per unit. */
.pool-identity{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}.pool-badge--identity{border-color:#58a6ff;color:#58a6ff}.pool-badge--paid{border-color:#d29922;color:#d29922}.pool-badge--free{border-color:#3fb950;color:#3fb950}.pool-badge--earning{border-color:#a371f7;color:#a371f7}.pool-badge--muted{color:#8b949e}.pool-badge--ok{border-color:#3fb950;color:#3fb950}.pool-badge--alert{border-color:#f85149;color:#f85149}
.pool-instance-id-line{display:flex;align-items:center;gap:6px;font-size:12px;color:#8b949e;margin:2px 0}.pool-instance-id code{color:#8b949e;overflow-wrap:anywhere}
.pool-instance-activity{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:#8b949e;margin-top:4px}
.pool-usage-table{width:100%;border-collapse:collapse;font-size:12px;margin:6px 0}.pool-usage-table th,.pool-usage-table td{text-align:left;padding:3px 6px;border-bottom:1px solid #30363d}.pool-usage-table td.num{text-align:right;font-variant-numeric:tabular-nums}
.pool-sharing-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:6px 10px;align-items:end;margin:8px 0}.pool-sharing-form label{display:flex;flex-direction:column;gap:2px;font-size:12px}.pool-sharing-form input,.pool-sharing-form select{min-width:0}
.pool-batch-results{font-size:12px;margin-top:4px}.pool-batch-results ul{margin:4px 0 0;padding-left:16px}.pool-batch-results .is-error{color:#f85149}

.pool-unit-card--placed-own{border-style:dashed;cursor:default}.pool-unit-card--placed-own .pool-unit-count{font-size:12px;white-space:nowrap}

/* UI cleanup (plan #2347 §4 Pool): secondary toolbar actions live under "More". */
.pool-more-menu{position:relative}
.pool-more-menu>summary{list-style:none;cursor:pointer}
.pool-more-menu>summary::-webkit-details-marker{display:none}
.pool-more-menu__items{position:absolute;right:0;top:calc(100% + 4px);z-index:20;display:grid;gap:6px;min-width:180px;padding:8px;border:1px solid var(--mx-line);border-radius:var(--mx-radius-sm);background:var(--mx-panel);box-shadow:var(--mx-shadow)}
.pool-lease-advanced{margin-top:4px}
.pool-lease-advanced>summary{cursor:pointer;color:var(--mx-dim);font-size:12px}

/* Pool resource list (main-flows redesign F5, E1–E3, D-F6). Same tokens as the
   Settings redesign: 14 px body, 12 px help, 48 px rows, one primary. */
.pool-list-page{max-width:1180px;margin:0 auto;padding:24px 24px 96px;font-size:14px;line-height:22px;color:var(--mx-ink)}
.pool-list-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.pool-list-head h1{margin:0;font-size:22px;line-height:28px}
.pool-list-head p{margin:4px 0 0}
.pool-list-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}
.pool-list-filters .mx-segment button{font-size:13px}
.pool-list-brand select{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.pool-list-brand::after{content:none}
.pool-list-search input{width:260px;height:32px;padding:0 10px;border:1px solid var(--mx-line);border-radius:8px;background:var(--mx-panel);color:var(--mx-ink);font:inherit;font-size:13px}
.pool-list{display:flex;flex-direction:column;border:1px solid var(--mx-line);border-radius:12px;background:var(--mx-panel);padding:4px}
.pool-row{display:grid;grid-template-columns:36px minmax(0,1.7fr) minmax(0,1.1fr) minmax(0,1fr) 330px;align-items:center;gap:16px;min-height:48px;padding:10px 16px;border-top:1px solid var(--mx-line)}
.pool-row:first-child{border-top:0}
.pool-row__logo{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;border:1px solid var(--mx-line);background:var(--mx-panel-2);color:var(--worker-color,var(--mx-ink));padding:0}
.pool-row__mark svg{width:20px;height:20px}
.pool-row__check{cursor:grab}
.pool-row__check>i{position:absolute;inset:0;display:none;align-items:center;justify-content:center;border-radius:8px;background:#1f6feb;color:#fff;font-style:normal;font-size:14px}
.pool-row:hover .pool-row__check>i{display:flex;background:rgba(31,111,235,.35)}
.pool-row__check.is-selected>i,.pool-row__check[aria-checked="true"]>i{display:flex;background:#1f6feb}
.pool-row__check:focus-visible{outline:2px solid #1f6feb;outline-offset:2px}
.pool-row__name{min-width:0}
.pool-row__name b{font-weight:600}
.pool-row__tag{display:inline-block;margin-left:6px;padding:0 8px;border:1px solid var(--mx-line-strong,var(--mx-line));border-radius:999px;font-size:12px;line-height:18px;color:var(--mx-dim)}
.pool-row__tag--offer{color:#b4bdff;border-color:rgba(125,141,255,.55)}
.pool-row__k{font-size:12px;line-height:18px;color:var(--mx-dim)}
.pool-row__help,.pool-row__unit{font-size:12px;line-height:18px;color:var(--mx-dim)}
.pool-row__action{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}
.pool-row__action .pool-unit-steppers{margin:0;justify-content:flex-end}
.pool-row__action .pool-unit-stepper{font-size:12px}
.pool-row__details,.pool-list-head .pool-more-menu>summary{min-width:32px;font-size:16px;line-height:20px}
.pool-list-empty{padding:32px;text-align:center;border:1px solid var(--mx-line);border-radius:12px;background:var(--mx-panel)}
.pool-list-empty h2{margin:0 0 6px;font-size:16px}
.pool-list-empty__actions{display:flex;justify-content:center;gap:10px;margin:16px 0}
.pool-list-page>.pool-borrowed,.pool-list-page>.pool-cloud-apis,.pool-list-page>.pool-working-group{margin-top:16px;border:1px solid var(--mx-line);border-radius:12px;overflow:hidden}
.pool-batchbar{position:sticky;bottom:16px;z-index:6}
.pool-batchbar .is-drop-target{outline:2px dashed #1f6feb;outline-offset:2px}
.pool-borrow{min-width:min(520px,90vw);font-size:14px}
.pool-borrow h3{margin:0 0 12px;font-size:16px}
.pool-borrow__kv{display:grid;grid-template-columns:max-content 1fr;gap:10px 16px;margin:0}
.pool-borrow__kv dt{color:var(--mx-dim)}
.pool-borrow__kv dd{margin:0}
.pool-borrow__kv input{width:72px}
.pool-borrow__note{margin:12px 0 0}
.pool-borrow footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.pool-layout-switch{display:flex;justify-content:flex-end;padding:4px 0}
@media (max-width:1100px){.pool-row{grid-template-columns:36px 1fr 1fr;}.pool-row__status,.pool-row__action{grid-column:2 / -1}}

/* Full viewer-scoped inventory is informational, never a draggable slot. */
.pool-inventory{margin:16px 0;padding:14px;border:1px solid var(--mx-line,#30363d)}
.pool-inventory summary,.pool-rental-history>summary{cursor:pointer;padding:8px 0;font-weight:600}
.pool-inventory-space{margin-top:12px;border-top:1px solid var(--mx-line,#30363d)}
.pool-inventory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:8px;margin:10px 0}
.pool-inventory .pool-unit-card strong{white-space:normal;overflow-wrap:anywhere}
.pool-inventory p{font-size:12px;color:var(--mx-dim,#8b949e)}
.pool-rental-history{margin:12px 0}
