/* Account-pool operations: real metering, quota windows and dense resource rows. */
.console-view {
  color: #2e4350;
  background: radial-gradient(ellipse at 14% 10%, #eee9d647, transparent 40%), radial-gradient(ellipse at 95% 20%, #dcebf45c, transparent 40%), #faf9f5;
}
.console-view .sidebar {
  inset: 14px auto 14px 14px;
  width: 222px;
  border: 1px solid #e0e5e5;
  border-radius: 18px;
  background: #fffffff2;
  box-shadow: 0 5px 24px #1b3d5010;
  padding: 23px 12px 16px;
}
.console-view .topbar {
  margin: 14px 24px 0;
  min-height: 62px;
  border: 1px solid #e1e7e7;
  border-radius: 16px;
  background: #ffffffd9;
  box-shadow: 0 4px 18px #1b3d5008;
}
.console-view .content { padding-top: 25px; padding-left: 32px; padding-right: 32px; width: 100%; max-width: 1550px; margin-left: 0; margin-right: auto; }
.console-view .page-heading h1 { color: #243d4c; }
.console-view .page-heading p { color: #73828a; }
.console-view .panel { box-shadow: 0 3px 18px #14364d04; }
.console-view .sub-text { color: #7a8c93; }
.console-view .help { color: #7c8b94; }
.console-view .field label { color: #526c7a; }
.console-view .field-control { color: #344f60; }
.pool-operations { overflow: hidden; margin-bottom: 20px; }
.pool-operations .panel-head { padding-bottom: 14px; }
.pool-operations .panel-title { color: #2f5263; }
.pool-operations .panel-sub { color: #819098; margin-top: 6px; }
.pool-metric-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 2px 24px 23px; gap: 22px; }
.pool-metric { min-width: 0; }
.pool-metric > span { display: block; font-size: 12px; color: #738590; margin-bottom: 10px; }
.pool-metric strong { display: block; font-size: 27px; font-weight: 500; line-height: 1.2; color: #294957; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pool-metric strong em { font-style: normal; font-size: 17px; color: #92a0a7; }
.pool-metric small { display: block; font-size: 11px; line-height: 1.6; color: #8a989f; margin-top: 8px; }
.pool-metric.warn strong { color: #b8793c; }
.pool-window-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 30px; padding: 19px 24px 23px; border-top: 1px solid #eef1ee; background: #f8faf9; }
.pool-window-summary > div:first-child { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; color: #5c7482; font-size: 11px; }
.pool-window-summary strong { font-weight: 500; color: #527989; }
.pool-window-summary small { display: block; color: #94a1a6; font-size: 10px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.pool-meter { height: 5px; background: #e8eeed; border-radius: 3px; overflow: hidden; }
.pool-meter > i { display: block; height: 100%; background: linear-gradient(90deg, #427e9b, #32a0a3); border-radius: inherit; }
.pool-window-explainer { display: flex; gap: 10px; align-items: center; color: #87979e; font-size: 11px; line-height: 1.8; }
.pool-window-explainer > .icon { color: #7997a5; width: 17px; height: 17px; }
.pool-window-explainer b { color: #5b7988; font-weight: 500; }
.pool-provider-panel, .pool-account-panel { overflow: hidden; }
.pool-filterbar { flex-wrap: wrap; padding: 20px 22px; gap: 10px; }
.pool-filterbar .input-wrap { flex: 1 1 260px; min-width: 210px; max-width: 480px; }
.pool-filterbar select.filter { min-width: 135px; color: #58717e; flex: 0 1 160px; }
.pool-filterbar .input-wrap input { color: #465f6c; }
.pool-fault-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 22px 18px; font-size: 11px; align-items: center; }
.pool-fault-filters > span { color: #83949b; margin-right: 7px; }
.pool-fault-filters button { padding: 5px 9px; color: #87999e; border: 1px solid transparent; background: transparent; font-size: 11px; border-radius: 6px; }
.pool-fault-filters button b { font-size: 10px; font-weight: 500; padding-left: 7px; font-variant-numeric: tabular-nums; }
.pool-fault-filters button.active { background: #eaf2f5; color: #2c718b; border-color: #dce9ef; }
.pool-fault-filters button:hover { color: #2c718b; }
.pool-batchbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #edf0ed; padding: 13px 22px; min-height: 57px; }
.pool-batchbar > span { font-size: 11px; color: #87969c; }
.pool-batchbar > span b { color: #486977; font-weight: 500; }
.pool-batchbar > div { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pool-batchbar .sub-text { font-size: 10px; }
.pool-batchbar .text-link { font-size: 11px; }
.pool-provider-table { min-width: 1120px; }
.pool-account-table { min-width: 1100px; }
.pool-provider-table th, .pool-account-table th { padding: 14px 15px; background: #f4f6f2; color: #78909b; font-weight: 500; font-size: 12px; }
.pool-provider-table td, .pool-account-table td { padding: 18px 15px; vertical-align: top; color: #66818a; font-size: 12px; }
.pool-provider-table .check-cell, .pool-account-table .check-cell { padding-right: 1px; width: 30px; }
.pool-provider-table td:nth-child(2) { min-width: 190px; max-width: 265px; }
.pool-provider-table td:nth-child(3) { width: 220px; min-width: 200px; }
.pool-provider-table td:nth-child(4) { min-width: 140px; }
.pool-provider-table td:nth-child(5) { min-width: 145px; }
.pool-provider-table td:nth-child(6) { min-width: 155px; }
.pool-provider-table td:last-child { width: 100px; }
.pool-provider-table .sub-text, .pool-account-table .sub-text { font-size: 11px; line-height: 1.7; margin-top: 5px; overflow-wrap: anywhere; max-width: 270px; }
.pool-row-title { display: block; border: 0; padding: 0; margin: 0 0 7px; background: transparent; font-size: 14px; font-weight: 600; color: #365f70; text-align: left; line-height: 1.5; overflow-wrap: anywhere; }
.pool-row-title:hover { color: #168aa0; }
.pool-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.pool-tags .tag { font-size: 10px; padding: 3px 6px; border: 1px solid #dfe9ed; background: #f2f7f8; color: #7c97a5; line-height: 1.4; }
.pool-tags .tag:hover { border-color: #8db2bf; color: #427b8d; }
.pool-tags .pool-group-tag { background: #eceff5; color: #6a7c9d; border-color: #dce2eb; }
.pool-detail-list { margin: 0; min-width: 120px; }
.pool-detail-list > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; line-height: 1.3; font-size: 11px; }
.pool-detail-list > div:last-child { margin-bottom: 0; }
.pool-detail-list dt { color: #8b9da4; font-weight: 400; white-space: nowrap; }
.pool-detail-list dd { margin: 0; color: #4c6d7b; font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.pool-quota-windows { margin-top: 12px; display: grid; gap: 12px; }
.pool-quota-window > div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; margin-bottom: 6px; color: #65818f; }
.pool-quota-window > div:first-child b { font-weight: 500; font-variant-numeric: tabular-nums; }
.pool-quota-window small { display: block; margin-top: 5px; color: #8799a1; font-size: 11px; font-variant-numeric: tabular-nums; }
.pool-quota-window.full .pool-meter > i { background: #c98e55; }
.pool-quota-window.full > div:first-child { color: #b27a47; }
.pool-row-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: max-content; }
.pool-row-actions .switch { align-self: center; }
.pool-row-actions .icon-btn { width: 27px; height: 27px; color: #7f969f; }
.pool-row-actions .icon-btn:hover { color: #168aa0; }
.pool-row-actions .icon { width: 14px; height: 14px; }
.pool-limit-fields { border-top: 1px solid #e8eeed; border-bottom: 1px solid #e8eeed; padding: 18px 0 6px; margin: 6px 0 20px; }
.pool-limit-fields .code-label { margin: 0 0 8px; color: #4d7484; }
.pool-limit-fields > .help { margin-bottom: 16px; line-height: 1.8; }
.pool-pagination { gap: 10px; flex-wrap: wrap; font-size: 11px; color: #8d9ba2; }
.pool-pagination .pagination { display: flex; align-items: center; gap: 9px; }
.pool-pagination label { display: flex; align-items: center; gap: 8px; color: #90a1a8; }
.pool-page-size { padding: 4px 19px 4px 6px; border: 1px solid #e2e9e7; background: #fff; color: #6c8793; min-width: 52px; }
.pool-account-table td:nth-child(2) { min-width: 200px; max-width: 240px; }
.pool-account-table td:nth-child(3) { min-width: 195px; max-width: 240px; }
.pool-account-table td:nth-child(4) { min-width: 200px; max-width: 250px; }
.pool-account-table td:nth-child(5) { min-width: 190px; }
.pool-account-table td:last-child { min-width: 170px; }
.pool-account-actions { display: grid; gap: 13px; }
.pool-account-actions > .text-link { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; }
.pool-account-actions .text-link .icon { width: 13px; height: 13px; }
.pool-account-actions .row-actions { justify-content: flex-start; gap: 11px; }
.pool-account-actions .row-actions .text-link { font-size: 12px; }
.pool-account-actions .icon-btn { width: 25px; height: 25px; }
.pool-account-actions .icon-btn .icon { width: 14px; height: 14px; }
.pool-account-binding + .pool-account-binding { border-top: 1px solid #edf1ef; margin-top: 12px; padding-top: 12px; }
.pool-account-binding .main-text { color: #688793; font-size: 12px; }
.pool-account-binding > .text-link { display: block; margin-top: 6px; }
.pool-inline-error { display: block; max-width: 220px; max-height: 44px; overflow: hidden; color: #b38268; font-size: 10px; line-height: 1.7; margin-top: 7px; overflow-wrap: anywhere; }
.pool-account-footnote { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; line-height: 1.8; color: #82969d; margin: 18px 2px 22px; }
.pool-account-footnote .icon { width: 15px; height: 15px; margin-top: 2px; color: #6c98a8; }
.pool-oauth-settings > summary { padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: #67818b; font-size: 12px; list-style: none; }
.pool-oauth-settings > summary::-webkit-details-marker { display: none; }
.pool-oauth-settings > summary > span { display: flex; align-items: center; gap: 10px; }
.pool-oauth-settings > summary > span .icon { width: 15px; height: 15px; }
.pool-oauth-settings > summary > small { color: #94a2a8; font-size: 10px; }
.pool-oauth-settings .oauth-profiles { border-top: 1px solid #eef1ef; }
.pool-oauth-footer { padding: 0 22px 20px; }
.pool-batch-result { display: flex; gap: 35px; padding: 3px 0 23px; }
.pool-batch-result span { display: flex; gap: 10px; color: #77929e; align-items: baseline; font-size: 12px; }
.pool-batch-result b { color: #2f7589; font-size: 30px; font-weight: 500; }
.pool-batch-result .warn b { color: #ba8053; }
.pool-batch-errors { display: grid; gap: 8px; }
.pool-batch-errors > div { padding: 12px 14px; background: #fcf7f0; border: 1px solid #ede1d0; border-radius: 8px; }
.pool-batch-errors strong { display: block; font-size: 11px; color: #87694b; font-weight: 500; margin-bottom: 6px; overflow-wrap: anywhere; }
.pool-batch-errors span { font-size: 11px; line-height: 1.7; color: #a08d78; overflow-wrap: anywhere; }
@media (max-width: 1400px) {
  .pool-metric-grid { gap: 17px; }
  .pool-metric strong { font-size: 24px; }
  .pool-metric small { font-size: 11px; }
  .pool-window-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .pool-window-explainer { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .console-view .sidebar { width: 196px; }
  .pool-metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
  .pool-metric strong { font-size: 26px; }
  .pool-metric-grid .pool-metric:nth-child(n+4) { border-top: 1px solid #edf1ef; padding-top: 17px; }
}
@media (max-width: 720px) {
  .console-view .sidebar { inset: 4px auto 0 0; width: 248px; border-radius: 0 16px 16px 0; }
  .console-view .topbar { margin: 10px 12px 0; border-radius: 12px; padding: 0 13px; min-height: 54px; }
  .console-view .content { padding: 23px 17px 28px; }
  .pool-metric-grid { padding: 0 18px 18px; gap: 17px 12px; }
  .pool-metric strong { font-size: 22px; }
  .pool-metric strong em { font-size: 13px; }
  .pool-metric > span { font-size: 11px; }
  .pool-metric small { font-size: 11px; }
  .pool-window-grid { padding: 17px 18px; gap: 19px; }
  .pool-window-summary > div:first-child { font-size: 10px; }
  .pool-window-explainer { font-size: 10px; }
  .pool-filterbar { padding: 17px 15px; }
  .pool-filterbar .input-wrap { max-width: none; flex-basis: 100%; }
  .pool-filterbar select.filter { flex: 1 1 calc(33.333% - 10px); min-width: 100px; font-size: 11px; }
  .pool-fault-filters { padding: 0 15px 15px; }
  .pool-batchbar { padding: 12px 15px; }
  .pool-batchbar > div { gap: 9px; }
  .pool-batchbar .btn { font-size: 11px; padding: 6px 9px; }
  .pool-pagination { padding: 13px 15px; }
  .pool-pagination .pagination { gap: 6px; }
  .pool-pagination label { font-size: 10px; }
}
.vendor-overview-title { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:16px 24px 8px; border-top:1px solid #e8eeed; }
.vendor-overview-title strong { font-size:13px; color:var(--ink); }
.vendor-overview-title span,.vendor-usage-note { font-size:11px; color:#7a8e95; line-height:1.7; }
.pool-window-grid.vendor-overview-grid { grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); border-top:0; gap:26px; }
.vendor-usage-note { padding:0 24px 12px; background:#f8faf9; }
.vendor-fable-local { display:flex; flex-wrap:wrap; gap:12px 28px; padding:12px 24px; font-size:11px; border-top:1px solid #e8eeed; color:#677e87; }
.vendor-fable-local b { color:var(--ink); font-weight:600; }
.vendor-usage { min-width:180px; max-width:340px; margin:10px 0; }
.vendor-window { margin:9px 0; }
.vendor-window>div:first-child { display:flex; justify-content:space-between; gap:10px; font-size:10px; color:#607e88; }
.vendor-window b { font-weight:500; white-space:nowrap; }
.vendor-window small,.vendor-usage-meta { display:block; font-size:9px; line-height:1.6; color:#8a9a9f; }
.vendor-window .pool-meter { margin:5px 0 3px; }
.vendor-window.full b { color:#bf675c; }
.vendor-window.full .pool-meter i { background:#bf675c; }
.vendor-window.stale { opacity:.7; }
.vendor-window-unknown { height:5px; margin:6px 0 4px; border-radius:4px; background:repeating-linear-gradient(135deg,#e9eeed,#e9eeed 5px,#f5f7f6 5px,#f5f7f6 10px); }
.local-budget-details { color:#83949b; font-size:10px; margin:10px 0; }
.local-budget-details>summary { cursor:pointer; padding:5px 0; }
.pool-budget-summary { margin:0; border-top:1px solid #eef1ee; }
.pool-budget-summary>summary { padding:12px 24px; }
@media(max-width:760px) { .pool-window-grid.vendor-overview-grid { grid-template-columns:1fr; gap:16px; } .vendor-overview-title { align-items:flex-start; flex-direction:column; gap:4px; } }
