/* 出口资源: a compact ledger for purchased static IPs and the exits wired to them. */

.exits-page{min-width:0}

/* Live fetch freshness, wallet balance, data sources and the page-level action. */
.exits-status{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 18px;
  padding:12px 18px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#fbfcfa 0%,#fff 100%);
  font-size:12px;
}
.exits-status-main{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;flex:1 1 420px;min-width:0}
.exits-status-tail{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-left:auto;min-width:0}
.exits-freshline{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 6px;min-width:0}
.exits-fresh-label{color:var(--muted);font-weight:600}
.exits-stamp{font-variant-numeric:tabular-nums;font-weight:550;color:var(--ink)}
.exits-elapsed{font-variant-numeric:tabular-nums;white-space:nowrap}
.exits-refreshing{display:inline-flex;align-items:center;gap:5px;color:#8b978f;font-size:11px;white-space:nowrap}
.exits-refreshing::before{content:"";flex:none;width:5px;height:5px;border-radius:50%;background:var(--green);animation:exits-pulse 1.1s ease-in-out infinite}
.exits-refreshing.is-error{color:var(--red)}
.exits-refreshing.is-error::before{background:var(--red);animation:none}
.exits-balance{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-width:0;color:#6a7771;font-size:11.5px}
.exits-balance-item{display:inline-flex;align-items:baseline;gap:5px;white-space:nowrap}
.exits-balance-label{color:#98a39c;font-size:10px;font-weight:600;letter-spacing:.3px}
.exits-balance-static{color:#5f6d65;font-weight:500;font-variant-numeric:tabular-nums}
.exits-balance-sep{color:#c3ccc6;font-size:10px}
.exits-wallet{color:var(--ink);font-size:12.5px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.1px}
.exits-wallet.is-low{color:var(--amber)}
.exits-buy{padding:6px 12px;border-radius:6px;font-size:12px;white-space:nowrap}
.exits-header-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:3px 10px;min-width:0}
.exits-actions-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-width:0}
.exits-actions-row:empty{display:none}
.exits-header-note{color:#a0aba3;font-size:10.5px;line-height:1.5;text-align:right}
.exits-header-note.is-warn{color:#a17a30}
.exits-extract-entry{padding:6px 12px;border:1px solid #cfe2d7;border-radius:6px;background:#fff;color:var(--green-dark);font-size:12px;font-weight:600;white-space:nowrap}
.exits-extract-entry:hover:not(:disabled){background:#f2f9f5;border-color:#b9d6c4}
.exits-extract-entry:disabled{opacity:1;background:#fafbf9;border-color:#e7ece8;color:#a2aca5;cursor:not-allowed}
.exits-sources{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:3px 12px}
.exits-sources-label{color:#98a39c;font-size:10px;font-weight:600;letter-spacing:.4px}
.exits-source{display:inline-flex;align-items:center;gap:6px;color:var(--muted);white-space:nowrap}
.exits-source::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--green);opacity:.8}
.exits-source[data-ok="false"]{color:var(--red)}
.exits-source[data-ok="false"]::before{background:var(--red);opacity:1}
.exits-source-state{font-size:10px;font-weight:600}
.exits-live-warning{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:2px 9px;
  flex:1 1 100%;
  padding:9px 12px;
  border:1px solid #efddb6;
  border-radius:8px;
  background:#fff9ea;
  color:#7c560f;
  font-size:12px;
  line-height:1.6;
}
.exits-live-warning::before{
  content:"!";
  display:grid;
  place-items:center;
  flex:none;
  width:16px;
  height:16px;
  align-self:center;
  border-radius:50%;
  background:var(--amber);
  color:#fff;
  font-size:9.5px;
  font-weight:750;
  line-height:1;
}
.exits-live-warning strong{font-weight:650}
.exits-live-warning-text{min-width:0;color:#8b6a2a;overflow-wrap:anywhere}

/* Seven figures, one hairline grid. The cards double as filters. */
.exits-summary{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:1px;
  border-bottom:1px solid var(--line);
  background:var(--line);
}
.exits-stat{
  display:grid;
  gap:3px;
  align-content:start;
  min-width:0;
  padding:14px 16px 15px;
  border:0;
  border-radius:0;
  background:#fff;
  text-align:left;
  font-weight:400;
  transition:background .15s;
}
.exits-stat:hover{background:#f7faf8;border-color:transparent}
.exits-stat:focus-visible{outline:2px solid var(--green);outline-offset:-3px;z-index:1}
.exits-stat-static{cursor:default}
.exits-stat-static:hover{background:#fff;border-color:transparent}
.exits-stat-label{color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.2px}
.exits-stat-value{color:var(--ink);font-size:25px;font-weight:650;line-height:1.15;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.exits-stat-note{color:#8b978f;font-size:10.5px;font-weight:400;line-height:1.45;overflow-wrap:anywhere}
.exits-stat[data-tone="amber"] .exits-stat-value{color:var(--amber)}
.exits-stat[data-tone="red"] .exits-stat-value{color:var(--red)}
.exits-stat[data-tone="grey"] .exits-stat-value{color:#7a867e}
.exits-stat[data-note-tone="red"] .exits-stat-note{color:var(--red)}
.exits-stat[aria-pressed="true"]{background:var(--soft);box-shadow:inset 0 -3px 0 var(--green)}
.exits-stat[data-tone="amber"][aria-pressed="true"]{background:#fffaf0;box-shadow:inset 0 -3px 0 #c39235}
.exits-stat[data-tone="red"][aria-pressed="true"]{background:#fdf5f3;box-shadow:inset 0 -3px 0 var(--red)}
.exits-stat[data-tone="grey"][aria-pressed="true"]{background:#f8faf8;box-shadow:inset 0 -3px 0 #9aa69e}

/* Credits are a second currency: shown once, in a quiet rail under the ledger
   figures, never mixed into the wallet balance. */
.exits-credit-rail{
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px 12px;
  min-width:0;
  padding:9px 16px;
  background:#fff;
}
.exits-credit-label{color:#98a39c;font-size:10px;font-weight:650;letter-spacing:.4px;white-space:nowrap}
.exits-credit-list{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}
.exits-credit-chip{
  display:inline-flex;
  align-items:baseline;
  gap:5px;
  padding:2px 7px;
  border:1px solid transparent;
  border-radius:5px;
  background:#f2f7f4;
  color:#5f6d65;
  font-size:10.5px;
  line-height:1.7;
  font-variant-numeric:tabular-nums;
}
.exits-credit-code{color:#7c8981;font-size:9.5px;font-weight:700;letter-spacing:.6px}
.exits-credit-num{color:var(--green);font-size:11.5px;font-weight:700}
.exits-credit-chip[data-zero="true"]{background:#fff7e6;border-color:#f2e4c6}
.exits-credit-chip[data-zero="true"] .exits-credit-code{color:#a17a30}
.exits-credit-chip[data-zero="true"] .exits-credit-num{color:var(--amber)}
.exits-credit-ghost,.exits-credit-empty{color:#98a39c;font-size:11px;line-height:1.6}
.exits-credit-empty{color:#a17a30}
.exits-credit-ghost::before{content:"";display:inline-block;width:5px;height:5px;margin-right:6px;border-radius:50%;background:#c8d3cb;vertical-align:1px}
.exits-credit-rail[data-state="pending"] .exits-credit-ghost::before{background:var(--green);animation:exits-pulse 1.1s ease-in-out infinite}
.exits-credit-hint{margin-left:auto;color:#a6b0a9;font-size:10.5px;line-height:1.5}

/* Filter, search and result count. */
.exits-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 16px;
  padding:12px 18px;
  border-bottom:1px solid var(--line);
}
.exits-filters{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
.exits-filter{
  padding:6px 10px;
  border-radius:6px;
  color:#5f6d65;
  font-size:12px;
  font-weight:550;
  white-space:nowrap;
}
.exits-filter[aria-pressed="true"]{background:var(--soft);border-color:#cddfd4;color:var(--green)}
.exits-toolbar-tail{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;min-width:0}
.exits-search{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0;margin:0;color:var(--muted);font-size:11px;font-weight:600;white-space:nowrap}
.exits-search input{width:230px;padding:6px 9px;font-size:12.5px;font-weight:400}
.exits-count{color:#86918b;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}

/* The ledger itself. */
.exits-results{min-width:0}
.exits-results .table-wrap{max-width:100%}
.exits-table th,.exits-table td{padding:12px 12px;vertical-align:top}
.exits-table th:first-child,.exits-table td:first-child{padding-left:18px}
.exits-table th:last-child,.exits-table td:last-child{padding-right:18px}
.exits-table tbody tr{transition:background .12s}
.exits-table tbody tr:hover{background:#fbfcfa}
.exits-table tbody tr.is-expiring td:first-child{box-shadow:inset 3px 0 0 #d8a53f}
.exits-table .badge{vertical-align:top}
.exits-state-cell{display:grid;gap:4px;min-width:0}
.exits-state-badges{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.exits-abandoned{display:grid;gap:1px;min-width:0}
.exits-abandoned-line,.exits-abandoned-reason{
  max-width:180px;
  margin:0!important;
  color:#8b978f!important;
  font-size:10.5px!important;
  font-weight:400!important;
  line-height:1.5!important;
}
.exits-abandoned-line{white-space:nowrap}
.exits-abandoned-reason{color:#9aa59e!important;overflow-wrap:anywhere}
.exits-row-action{display:flex;flex-wrap:nowrap;gap:4px 6px;align-items:flex-start;min-width:0}
.exits-action{
  padding:4px 9px;
  border-radius:5px;
  font-size:11.5px;
  font-weight:550;
  white-space:nowrap;
}
.exits-action.is-abandon{background:#fffdf8;border-color:#e9dcc5;color:#8a6124}
.exits-action.is-abandon:hover{background:#fff8eb;border-color:#ddc8a2}
.exits-action.exits-action-renew{background:#f5faf7;border-color:#cfe2d7;color:var(--green)}
.exits-action.exits-action-renew:hover{background:#eaf5ee;border-color:#b9d6c4}
.exits-action:disabled{cursor:not-allowed}
.exits-identity{display:grid;gap:2px;min-width:0}
.exits-ip-line{display:flex;flex-wrap:wrap;align-items:baseline;min-width:0}
.exits-ip{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;font-weight:650;letter-spacing:-.2px;overflow-wrap:anywhere}
.exits-table .exits-ip,.exits-table .exits-port{white-space:nowrap;overflow-wrap:normal}
.exits-port{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;color:#8b978f}
.exits-asset-id{margin-top:1px!important;color:#98a39c!important;font-size:10px!important;font-variant-numeric:tabular-nums}
.exits-region{display:grid;gap:0;min-width:0}
.exits-region-city{font-weight:550;overflow-wrap:normal;white-space:nowrap}
.exits-region-country{margin-top:1px!important;color:#98a39c!important;font-size:10px!important;letter-spacing:.4px;white-space:nowrap}
.exits-utc{display:block;font-size:11px;line-height:1.5;font-variant-numeric:tabular-nums;white-space:nowrap}
.exits-zone{margin-left:2px;color:#98a39c;font-size:9.5px;letter-spacing:.3px}
.exits-missing{color:#a6b0a9;font-size:12px;font-weight:400}
.exits-remaining{margin-top:3px!important;color:#7a867e;font-size:11px!important;line-height:1.45;font-weight:500}
.exits-remaining.is-near{color:var(--amber);font-weight:600}
.exits-remaining.is-over{color:var(--red);font-weight:600}
.exits-replace-cell{min-width:0}
.exits-replace{margin-top:0!important;max-width:180px;color:var(--amber);font-size:11px!important;line-height:1.55;font-weight:550}
.exits-used{margin-top:0!important;color:#919c94;font-size:11px!important;line-height:1.5}
.exits-chips{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.exits-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  padding:2px 7px;
  border-radius:5px;
  background:#f4f7f4;
  color:#4f5e56;
  font-size:11px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.exits-chip-exit{background:var(--soft);color:var(--green-dark)}
.exits-chip-kind{padding:0 3px;border:1px solid #e4eae5;border-radius:3px;background:#fff;color:#86918b;font-size:9px;letter-spacing:.2px;white-space:nowrap}
.exits-results .empty{padding:34px 18px}

/* Secondary view from the router side: which machine and asset each node uses. */
.exits-nodes{border:0;border-radius:0;margin:0;border-top:1px solid var(--line);background:#fff}
.exits-nodes-head{padding:13px 18px;border-bottom:1px solid var(--line);background:#fbfcfa}
.exits-nodes-head h2{font-size:13px}
.exits-nodes-head p{font-size:11px;color:#8b978f}
.exits-nodes-table th,.exits-nodes-table td{padding:10px 12px}
.exits-nodes-table th:first-child,.exits-nodes-table td:first-child{padding-left:18px}
.exits-nodes-table th:last-child,.exits-nodes-table td:last-child{padding-right:18px}
.exits-nodes-table td{font-size:12px}
.exits-node-name{font-weight:650;overflow-wrap:anywhere}
.exits-server{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;color:#4f5e56;overflow-wrap:anywhere}
.exits-ip-list{display:grid;gap:1px;min-width:0}
.exits-source-ip{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;color:#5f6d65;line-height:1.5;overflow-wrap:anywhere}
.exits-node-asset{display:grid;gap:1px;min-width:0}
.exits-node-asset .exits-ip{font-size:11.5px}

/* Reusable full-width section inside the content panel. */
.exits-issues{border:0;border-radius:0;margin:0;border-top:1px solid var(--line)}
.exits-issues.has-issues{background:linear-gradient(180deg,#fffdf8 0%,#fff 180px)}
.exits-issues-head{padding:13px 18px;border-bottom:1px solid #f1eadc}
.exits-issues-head h2{font-size:13px}
.exits-issues-head p{font-size:11px;color:#8b978f}
.exits-clear{display:flex;align-items:center;gap:8px;padding:13px 18px;color:#66736c;font-size:12px}
.exits-clear-dot{width:6px;height:6px;border-radius:50%;background:var(--green);opacity:.75}
.exits-clear-dot.is-warning{background:var(--amber);opacity:1}
.exits-source-warning{margin:0;padding:10px 18px 0;color:var(--amber);font-size:11.5px;line-height:1.6}
.exits-issue-group{padding:13px 18px 15px;border-top:1px solid #f1eee5}
.exits-issue-group:first-of-type{border-top:0}
.exits-issue-head{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.exits-issue-head h3{display:flex;align-items:center;gap:7px;margin:0;font-size:12.5px;font-weight:650}
.exits-issue-group[data-tone="red"] .exits-issue-head h3::before,.exits-issue-group[data-tone="amber"] .exits-issue-head h3::before{
  content:"";
  flex:none;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--amber);
}
.exits-issue-group[data-tone="red"] .exits-issue-head h3::before{background:var(--red)}
.exits-issue-head .badge{font-size:10px;padding:2px 6px}
.exits-issue-desc{max-width:78ch;margin:4px 0 0;color:var(--muted);font-size:11.5px;line-height:1.65}
.exits-issue-list{display:grid;gap:0;margin:8px 0 0;padding:0;list-style:none}
.exits-issue-item{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 12px;padding:7px 0;border-top:1px dashed #edeae1;font-size:12px;line-height:1.5}
.exits-issue-item:first-child{padding-top:4px;border-top:0}
.exits-issue-name{font-weight:650;overflow-wrap:anywhere}
.exits-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:-.1px}
.exits-fact{display:inline-flex;align-items:baseline;gap:5px;min-width:0;color:#6a7771;font-size:11px}
.exits-fact-label{flex:none;color:#98a39c;font-size:9.5px;font-weight:550;letter-spacing:.3px}
.exits-fact-value{overflow-wrap:anywhere}
.exits-fact.is-over .exits-fact-value{color:var(--red)}
.exits-fact.is-amber .exits-fact-value{color:var(--amber);font-weight:550}

/* Mark-only dialogs: the copy says what the action does and does not touch. */
.exits-modal-warning{
  margin:0 0 18px;
  padding:12px 14px;
  border:1px solid #efe3c9;
  border-radius:8px;
  background:#fffbf2;
  color:#7c560f;
  font-size:12.5px;
  line-height:1.7;
}
.exits-modal-help{margin:-10px 0 16px;color:#8b978f;font-size:11.5px}
.exits-danger{background:var(--red);border-color:var(--red);color:#fff}
.exits-danger:hover{background:#96362f;border-color:#96362f}

/* Renew and purchase: both are paid from the Cliproxy wallet. */
.exits-paid-form{display:grid;gap:0;min-width:0}
.exits-paid-lede{margin:0 0 14px;color:var(--muted);font-size:12.5px;line-height:1.65}
.exits-paid-hint{margin:5px 0 0;color:#8b978f;font-size:11px;line-height:1.55}
.exits-field{border:0;margin:0 0 16px;padding:0;min-width:0}
.exits-field-legend,.exits-field-label{display:block;width:100%;margin:0 0 7px;padding:0;color:#5f6d65;font-size:11px;font-weight:650;letter-spacing:.1px}
.exits-city-field{gap:0;margin-bottom:16px;font-size:13px}
.exits-field-hint{display:block;margin-top:5px;color:#98a39c;font-size:10.5px;font-weight:400;line-height:1.5}
.exits-paid-grid{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:12px;align-items:start;margin-bottom:16px}
.exits-plans-field{margin:0}
.exits-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(62px,1fr));gap:6px}
.exits-plan{position:relative;display:block;margin:0;cursor:pointer;font-weight:400}
.exits-plan input{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.exits-plan-body{display:grid;justify-items:center;gap:1px;padding:8px 5px;border:1px solid #dde5df;border-radius:7px;background:#fff;transition:background .15s,border-color .15s,box-shadow .15s}
.exits-plan-days{color:#4f5e56;font-size:12px;font-weight:600;white-space:nowrap}
.exits-plan-price{color:var(--muted);font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.exits-plan:hover .exits-plan-body{background:#f8faf8;border-color:#d0ddd5}
.exits-plan input:checked + .exits-plan-body{background:var(--soft);border-color:#b7d5c3;box-shadow:inset 0 0 0 1px #b7d5c3}
.exits-plan input:checked + .exits-plan-body .exits-plan-days{color:var(--green)}
.exits-plan input:checked + .exits-plan-body .exits-plan-price{color:var(--green-dark)}
.exits-plan input:focus-visible + .exits-plan-body{outline:2px solid var(--green);outline-offset:2px}
.exits-plan input:disabled + .exits-plan-body{opacity:.55;cursor:not-allowed}
.exits-qty-field{gap:0;margin:0;font-size:13px;min-width:0}
.exits-qty-field select{font-weight:400}

.exits-country-field{margin-bottom:16px}
.exits-country-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px;max-height:224px;overflow:auto;padding:2px;min-width:0}
.exits-country{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:2px 8px;margin:0;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;font-weight:400;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.exits-country:hover{background:#f8faf8;border-color:#d0ddd5}
.exits-country input{width:15px;height:15px;margin:2px 0 0;accent-color:var(--green)}
.exits-country-body{display:grid;gap:2px;min-width:0}
.exits-country-head{display:flex;align-items:baseline;justify-content:space-between;gap:6px;min-width:0}
.exits-country-name{min-width:0;color:var(--ink);font-size:12.5px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.exits-country-credit{flex:none;padding:1px 6px;border-radius:4px;background:#eef7f2;color:var(--green);font-size:9.5px;font-weight:650;white-space:nowrap}
.exits-country-credit.is-zero{background:#fff7e6;color:var(--amber)}
.exits-country-prices{color:#8b978f;font-size:10.5px;font-weight:400;line-height:1.45;overflow-wrap:anywhere}
.exits-country:has(input:checked){background:var(--soft);border-color:#b7d5c3;box-shadow:inset 0 0 0 1px #b7d5c3}
.exits-country:has(input:focus-visible){outline:2px solid var(--green);outline-offset:2px}
.exits-purchase-lede{max-width:64ch}
.exits-purchase-success{display:grid;gap:14px;padding:16px;border:1px solid #cfe5d8;border-radius:10px;background:linear-gradient(180deg,#f4faf6 0%,#fff 100%)}
.exits-success-head{display:flex;align-items:flex-start;gap:11px;min-width:0}
.exits-success-mark{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--green);color:#fff;font-size:13px;font-weight:750;box-shadow:0 4px 10px #147d5b2b}
.exits-success-copy{display:grid;gap:3px;min-width:0}
.exits-success-copy strong{color:var(--ink);font-size:14px;font-weight:700;overflow-wrap:anywhere}
.exits-success-copy p{margin:0;font-size:11.5px;line-height:1.55;overflow-wrap:anywhere}
.exits-success-actions{margin-top:0}

/* Extraction: two explicit steps.  The number is the quiet anchor, the IP list
   is the only thing that can be selected in step two. */
dialog:has(.exits-extract-form){width:min(720px,calc(100vw - 32px))}
.exits-extract-form .exits-paid-lede{max-width:64ch;margin-bottom:16px}
.exits-extract-body{min-width:0}
.exits-step{min-width:0}
.exits-step + .exits-step{margin-top:16px;padding-top:16px;border-top:1px solid #edf1ee}
.exits-step-head{display:flex;align-items:flex-start;gap:10px;min-width:0}
.exits-step-num{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--soft);color:var(--green);font-size:11px;font-weight:750;font-variant-numeric:tabular-nums;box-shadow:inset 0 0 0 1px #d8e9df}
.exits-step[data-active="false"] .exits-step-num{background:#f3f5f3;color:#a2aca5;box-shadow:inset 0 0 0 1px #e6ebe7}
.exits-step-copy{min-width:0}
.exits-step-title{margin:1px 0 0;font-size:13px;font-weight:650;letter-spacing:-.1px}
.exits-step-hint{margin:2px 0 0;color:#8b978f;font-size:11px;line-height:1.5}
.exits-step-idle{margin:9px 0 0 32px;padding:10px 12px;border:1px dashed #dfe7e1;border-radius:8px;background:#fbfcfa;color:#98a39c;font-size:11.5px;line-height:1.6;overflow-wrap:anywhere}
.exits-extract-countries{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:6px;margin:9px 0 0 32px;min-width:0}
.exits-pick-country{display:grid;gap:5px;justify-items:start;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:left;font-weight:400;transition:background .15s,border-color .15s,box-shadow .15s}
.exits-pick-country:hover:not(:disabled){background:#f8faf8;border-color:#d0ddd5}
.exits-pick-country:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.exits-pick-country[aria-pressed="true"]{background:var(--soft);border-color:#b7d5c3;box-shadow:inset 0 0 0 1px #b7d5c3}
.exits-pick-country:disabled{opacity:1;background:#fafbf9;border-color:#e9eee9;cursor:not-allowed}
.exits-pick-name{color:var(--ink);font-size:12px;font-weight:650;line-height:1.35;min-width:0;overflow-wrap:anywhere}
.exits-pick-country:disabled .exits-pick-name{color:#a5afa8}
.exits-pick-credits{display:inline-flex;align-items:baseline;gap:4px;padding:1px 6px;border-radius:4px;background:#edf6f1;color:var(--green);font-size:9.5px;font-weight:600;white-space:nowrap}
.exits-pick-credits strong{font-size:11.5px;font-variant-numeric:tabular-nums}
.exits-pick-credits.is-zero{background:#fff7e6;color:var(--amber)}
.exits-pick-credits.is-zero strong{color:var(--amber)}
.exits-extract-none{margin:0;padding:10px 12px;border:1px dashed #e1e8e3;border-radius:8px;background:#fbfcfa;color:#8b978f;font-size:11.5px;line-height:1.6}
.exits-region-body{margin-left:32px;min-width:0}
.exits-extract-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:end}
.exits-extract-filters .exits-field{margin:0;min-width:0;gap:0;font-size:13px}
.exits-extract-filters .exits-field-label{margin-bottom:5px;font-size:10.5px}
.exits-inventory{margin-top:13px;min-width:0}
.exits-inventory-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:6px}
.exits-inventory-title{display:inline-flex;align-items:baseline;gap:7px;color:#5f6d65;font-size:11px;font-weight:650}
.exits-inventory-count{color:#98a39c;font-size:10.5px;font-weight:500;font-variant-numeric:tabular-nums}
.exits-inventory-refresh{padding:0;border:0;background:none;color:var(--green);font-size:11px;font-weight:600;white-space:nowrap}
.exits-inventory-refresh:hover{background:none;border-color:transparent;text-decoration:underline}
.exits-inventory-refresh:disabled{opacity:.45;cursor:wait}
.exits-inventory-note{margin:0 0 6px;color:#8b978f;font-size:11px;line-height:1.55;overflow-wrap:anywhere}
.exits-inventory-note[data-state="error"]{color:var(--red)}
.exits-inventory-note[data-state="busy"]::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--green);vertical-align:1px;animation:exits-pulse 1.1s ease-in-out infinite}
.exits-inventory-retry{margin-left:6px;padding:2px 8px;border-radius:5px;font-size:11px}
.exits-inventory-list{display:grid;grid-template-columns:1fr;gap:4px;max-height:184px;overflow:auto;padding:1px;min-width:0}
.exits-inventory-item{display:flex;align-items:center;gap:9px;min-width:0;margin:0;padding:8px 10px;border:1px solid #e3eae5;border-radius:7px;background:#fff;font-weight:400;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.exits-inventory-item:hover{background:#f8faf8;border-color:#d5e1d9}
.exits-inventory-item:has(input:checked){background:var(--soft);border-color:#b7d5c3;box-shadow:inset 0 0 0 1px #b7d5c3}
.exits-inventory-item:has(input:focus-visible){outline:2px solid var(--green);outline-offset:1px}
.exits-inventory-item input{flex:none;width:15px;height:15px;margin:0;padding:0;border:1.5px solid #c2d0c7;border-radius:50%;background:#fff;appearance:none;accent-color:var(--green)}
.exits-inventory-item input:checked{border-color:var(--green);background:radial-gradient(circle,var(--green) 0 3.5px,#fff 4px)}
.exits-inventory-item input:focus{border-color:var(--green);box-shadow:none}
.exits-inventory-body{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-width:0}
.exits-inventory-ip{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:650;letter-spacing:-.2px;overflow-wrap:anywhere}
.exits-inventory-dot{color:#c3ccc6;font-size:10px}
.exits-inventory-city{color:#8b978f;font-size:10.5px;overflow-wrap:anywhere}
.exits-inventory-empty{margin:0;padding:10px 12px;border:1px dashed #e1e8e3;border-radius:7px;background:#fbfcfa;color:#8b978f;font-size:11.5px;line-height:1.6;text-align:center;overflow-wrap:anywhere}
.exits-extract-foot{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:10px 12px;margin-top:14px;padding-top:13px;border-top:1px solid #eef1ee}
.exits-extract-days{min-width:0}
.exits-extract-days .exits-plans-field{margin:0}
.exits-extract-days .exits-plan-body{padding:8px 4px}
.exits-extract-qty{margin:0;min-width:0;gap:0;font-size:13px}
.exits-extract-summary{grid-column:1/-1;margin:0;padding:7px 10px;border:1px dashed #e3eae5;border-radius:7px;background:#fbfcfa;color:#5f6d65;font-size:11.5px;font-variant-numeric:tabular-nums;line-height:1.55}
.exits-extract-summary-part{color:#5f6d65}
.exits-extract-left.is-zero{color:var(--amber);font-weight:650}

.exits-catalog-status{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 14px;padding:10px 12px;border:1px solid #e3eae5;border-radius:8px;background:#fbfcfa;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.exits-catalog-status[data-state="busy"]::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--green);animation:exits-pulse 1.1s ease-in-out infinite}
.exits-catalog-status[data-state="error"]{border-color:#f0d5cd;background:#fff8f5;color:#8f3731}
.exits-catalog-text{min-width:0;flex:1 1 220px}
.exits-catalog-retry{padding:3px 9px;border-radius:5px;font-size:11px;font-weight:600;white-space:nowrap}
.exits-purchase-body{min-width:0}

.exits-costs{display:grid;gap:0;margin:14px 0 0;border:1px solid #e3eae5;border-radius:8px;background:#fbfcfa;overflow:hidden}
.exits-cost-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:8px 12px;border-top:1px solid #edf1ee;color:var(--muted);font-size:12px;line-height:1.5}
.exits-cost-row:first-child{border-top:0}
.exits-cost-row:last-child{background:#f6faf7}
.exits-cost-label{color:#8b978f;font-size:11px;font-weight:600;white-space:nowrap}
.exits-cost-value{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.exits-cost-amount{display:inline-flex;align-items:baseline;justify-content:flex-end;white-space:nowrap}
.exits-cost-charge{color:var(--green);font-size:13px;font-weight:700}
.exits-cost-formula{margin-left:5px;color:#98a39c;font-size:10.5px;font-weight:500;white-space:nowrap}
.exits-cost-row.is-over .exits-cost-charge,.exits-cost-row.is-over .exits-cost-label{color:var(--amber)}
.exits-insufficient{margin:10px 0 0;padding:9px 11px;border:1px solid #efddb6;border-radius:7px;background:#fff9ea;color:#7c560f;font-size:12px;line-height:1.62}
.exits-insufficient a{color:#7c560f;font-weight:650;text-decoration:underline;text-underline-offset:2px}
.exits-insufficient a:hover{color:#5f4109}
.exits-insufficient a:focus-visible{outline:2px solid var(--amber);outline-offset:2px;border-radius:2px}
.exits-form-error{margin:10px 0 0;color:var(--red);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.exits-form-error:empty{display:none}
.exits-price-note{margin:6px 0 0;color:#8b978f;font-size:11px;line-height:1.55}

.exits-renew-dates{display:grid;gap:0;margin:0;padding:0;border:1px solid #e6ece8;border-radius:8px;background:#fbfcfa;overflow:hidden}
.exits-renew-date{display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;align-items:baseline;padding:8px 12px;border-top:1px solid #edf1ee}
.exits-renew-date:first-child{border-top:0}
.exits-renew-date dt{color:#8b978f;font-size:11px;font-weight:600}
.exits-renew-date dd{margin:0;color:var(--ink);font-size:12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.exits-renew-next{color:var(--green)!important;font-weight:600}

.exits-segments{margin-top:16px;padding-top:13px;border-top:1px solid #eef1ee}
.exits-segments-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.exits-segments-title{color:#98a39c;font-size:10px;font-weight:600;letter-spacing:.3px}
.exits-segments-refresh{padding:0;border:0;background:none;color:var(--green);font-size:11px;font-weight:600}
.exits-segments-refresh:hover{background:none;border-color:transparent;text-decoration:underline}
.exits-segments-refresh:disabled{opacity:.5;cursor:wait}
.exits-segments-note{margin:5px 0 0;color:#8b978f;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.exits-segments-note[data-state="error"]{color:var(--red)}
.exits-segments-note[data-state="busy"]::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--green);vertical-align:1px;animation:exits-pulse 1.1s ease-in-out infinite}
.exits-segments-retry{margin-left:6px;padding:2px 8px;border-radius:5px;font-size:11px}
.exits-segment-chips{margin-top:6px}
.exits-segment-chip{gap:6px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10.5px;letter-spacing:-.1px}
.exits-segment-num{color:#98a39c;font-size:9.5px;letter-spacing:0}

/* Recent mark/restore requests, newest first. */
.exits-recent{border:0;border-radius:0;margin:0;border-top:1px solid var(--line);background:#fff}
.exits-recent-head{padding:13px 18px;border-bottom:1px solid var(--line);background:#fbfcfa}
.exits-recent-head h2{font-size:13px}
.exits-recent-head p{font-size:11px;color:#8b978f}
.exits-recent-list{margin:0;padding:0;list-style:none}
.exits-recent-item{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 12px;padding:9px 18px;border-top:1px solid #f0f2ef;font-size:12px;line-height:1.5}
.exits-recent-item:first-child{border-top:0}
.exits-recent-time{color:#8b978f;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
.exits-recent-ip{font-size:12px;font-weight:600}
.exits-recent-action{color:#5f6d65;font-size:11px;font-weight:600}
.exits-recent-result{font-size:11px;font-weight:600}
.exits-recent-result[data-result="applied"]{color:var(--green)}
.exits-recent-result[data-result="rejected"]{color:var(--red)}
.exits-recent-detail{flex:1 1 220px;min-width:0;color:#8f3731;font-size:11px;overflow-wrap:anywhere}
.exits-recent-actor{margin-left:auto;color:#98a39c;font-size:10.5px;white-space:nowrap}

.exits-loading{display:flex;align-items:center;gap:9px;padding:38px 18px;color:var(--muted);font-size:13px}
.exits-loading::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--green);animation:exits-pulse 1.1s ease-in-out infinite}
@keyframes exits-pulse{50%{opacity:.25;transform:scale(.8)}}

/* One live Cliproxy session: a panel login displaces the server, so explain the
   conflict in amber and offer the explicit takeover instead of a red outage. */
.exits-session{
  display:grid;
  gap:11px;
  max-width:760px;
  margin:18px;
  padding:16px 18px 17px;
  border:1px solid #efddb6;
  border-radius:11px;
  background:linear-gradient(180deg,#fffaf0 0%,#fff 100%);
  box-shadow:0 1px 2px #16372808;
}
.exits-session-head{display:flex;align-items:flex-start;gap:10px;min-width:0}
.exits-session-mark{
  display:grid;
  place-items:center;
  flex:none;
  width:18px;
  height:18px;
  margin-top:1px;
  border-radius:50%;
  background:var(--amber);
  color:#fff;
  font-size:10.5px;
  font-weight:750;
  line-height:1;
}
.exits-session-title{margin:1px 0 0;min-width:0;color:#6f4d10;font-size:14px;line-height:1.45;letter-spacing:-.1px;overflow-wrap:anywhere}
.exits-session-copy{margin:0 0 1px 28px;max-width:62ch;color:#8b6a2a;font-size:12.5px;line-height:1.75;overflow-wrap:anywhere}
.exits-session-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-left:28px;min-width:0}
.exits-session-takeover{background:#a97722;border-color:#a97722;color:#fff;font-size:12px;white-space:nowrap}
.exits-session-takeover:hover:not(:disabled){background:#8d621b;border-color:#8d621b}
.exits-session-takeover:focus-visible{outline:2px solid #a97722;outline-offset:3px}
.exits-session-takeover:disabled{opacity:1;background:#d8c8a8;border-color:#d8c8a8;color:#fff;cursor:wait}
.exits-session-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:31px;
  padding:6px 12px;
  border:1px solid #e3d3ad;
  border-radius:7px;
  background:#fff;
  color:#7c560f;
  font-size:12px;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
}
.exits-session-link:hover{background:#fff8ea;border-color:#d7c291;color:#5f4109}
.exits-session-link:focus-visible{outline:2px solid var(--amber);outline-offset:3px}
.exits-session-refresh{background:#fff;border-color:#e3d9c8;color:#7a6a4f;font-size:12px}
.exits-session-refresh:hover{background:#fbf8f1;border-color:#d4c6ad}
.exits-session-error{margin:0 0 0 28px;color:var(--red);font-size:12px;line-height:1.6;overflow-wrap:anywhere}

@media(max-width:1200px){
  .exits-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1000px){
  .exits-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .exits-status{padding:11px 14px;gap:7px 14px}
  .exits-status-main{flex-basis:100%}
  .exits-status-tail{width:100%;margin-left:0;justify-content:flex-start}
  .exits-sources{justify-content:flex-start}
  .exits-header-actions{width:100%;justify-content:flex-end;gap:3px 10px}
  .exits-actions-row{margin-left:auto}
  .exits-buy{margin-left:0}
  .exits-header-note{margin-left:auto;text-align:right}
  .exits-credit-rail{padding:9px 14px}
  .exits-credit-hint{margin-left:0}
  .exits-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .exits-toolbar{padding:11px 14px;align-items:stretch}
  .exits-filters{width:100%}
  .exits-toolbar-tail{width:100%;justify-content:space-between}
  .exits-search{flex:1;min-width:0}
  .exits-search input{width:100%}
  .exits-issues-head,.exits-nodes-head,.exits-recent-head{padding:12px 14px}
  .exits-issue-group{padding:12px 14px 14px}
  .exits-clear{padding:12px 14px}
  .exits-source-warning{padding:10px 14px 0}
  .exits-recent-item{padding:9px 14px}
  .exits-abandoned-line,.exits-abandoned-reason{max-width:none}
  .exits-row-action{flex-wrap:wrap}
  .exits-action{padding:6px 11px;font-size:12px}
  .exits-region-city{white-space:normal;overflow-wrap:break-word}
  .exits-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;padding:14px 14px;border-top:1px solid #edf0ed;align-items:start}
  .exits-table td{display:block;min-width:0;padding:0;border:0;vertical-align:top}
  .exits-table td:first-child{padding:0;font-weight:400}
  .exits-table td::before{content:attr(data-label);display:block;margin-bottom:4px;color:#8b978f;font-size:9.5px;font-weight:600;letter-spacing:.4px}
  .exits-table tbody tr:hover{background:transparent}
  .exits-table tbody tr.is-expiring{box-shadow:inset 3px 0 0 #d8a53f}
  .exits-table tbody tr.is-expiring td:first-child{box-shadow:none}
  .exits-table .exits-replace{max-width:none}
  .exits-table .exits-utc{font-size:11px}
}
@media(max-width:560px){
  .exits-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .exits-stat{padding:12px 13px 13px}
  .exits-stat-value{font-size:23px}
  .exits-toolbar-tail{flex-direction:column;align-items:stretch;gap:7px}
  .exits-search input{width:100%}
  .exits-count{padding-left:0}
  .exits-issue-item{gap:3px 10px}
  .exits-recent-actor{margin-left:0}
  .exits-balance{font-size:11px}
  .exits-country-list{grid-template-columns:1fr}
  .exits-paid-grid{grid-template-columns:minmax(0,1fr) 76px;gap:10px}
  .exits-renew-date{grid-template-columns:66px minmax(0,1fr)}
  .exits-header-note{width:100%;margin-left:0}
  .exits-extract-countries{grid-template-columns:repeat(2,minmax(0,1fr));margin-left:0}
  .exits-step-idle{margin-left:0}
  .exits-region-body{margin-left:0}
  .exits-extract-foot{grid-template-columns:minmax(0,1fr) 70px;gap:9px 10px}
  .exits-inventory-list{max-height:none}
  .exits-credit-hint{display:none}
  .exits-session{margin:14px;padding:14px 14px 15px;gap:9px}
  .exits-session-copy,.exits-session-actions,.exits-session-error{margin-left:0}
  .exits-session-title{font-size:13.5px}
  .exits-session-copy{font-size:12px}
  .exits-session-link{min-height:32px}
}
@media(max-width:360px){
  .exits-table tr{grid-template-columns:1fr}
  .exits-paid-grid{grid-template-columns:1fr}
  .exits-qty-field{max-width:120px}
  .exits-extract-countries{grid-template-columns:1fr}
  .exits-extract-filters{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .exits-loading::before{animation:none}
  .exits-refreshing::before,.exits-catalog-status[data-state="busy"]::before,.exits-segments-note[data-state="busy"]::before,.exits-credit-rail[data-state="pending"] .exits-credit-ghost::before,.exits-inventory-note[data-state="busy"]::before{animation:none}
  .exits-stat,.exits-table tbody tr,.exits-plan-body,.exits-country,.exits-pick-country,.exits-inventory-item{transition:none}
}
