/* 账号管理 · 运维视图（IP 池 / 隔离池）
   与 warmup.css 同一套视觉：白底、1px 边框、12–13px 字号、状态用浅色 pill。 */

.ops-page { padding: 4px 2px 20px; }
.ops-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ops-head h1 { font-size: 17px; font-weight: 600; margin: 0; }
.ops-sub { font-size: 12px; color: #5f6368; margin: 6px 0 0; line-height: 1.6; }
.ops-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ops-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px; margin-bottom: 14px; }
.ops-tile { border: 1px solid #e8eaed; border-radius: 8px; padding: 10px 12px; background: #fff; }
.ops-tile .k { font-size: 12px; color: #5f6368; }
.ops-tile .v { font-size: 20px; font-weight: 600; margin-top: 6px; }
.ops-tile .v small { font-size: 11px; font-weight: 400; color: #80868b; margin-left: 4px; }
.ops-tile.warn .v { color: #d93025; }
.ops-tile.ok .v { color: #137333; }
.ops-tile.blue .v { color: #1a73e8; }

.ops-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ops-input, .ops-select {
  border: 1px solid #dadce0; border-radius: 6px; padding: 6px 10px; font-size: 12px;
  color: #3c4043; background: #fff; min-width: 180px;
}
.ops-input:focus, .ops-select:focus { outline: 2px solid #e8f0fe; border-color: #1a73e8; }
.ops-hint { font-size: 11.5px; color: #80868b; }

.ops-table-wrap { border: 1px solid #e8eaed; border-radius: 8px; overflow: auto; background: #fff; }
.ops-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ops-table thead th {
  background: #f7f8fa; color: #5f6368; font-weight: 500; text-align: left;
  padding: 9px 10px; border-bottom: 1px solid #e8eaed; white-space: nowrap;
}
.ops-table tbody td { padding: 10px; border-bottom: 1px solid #f0f1f3; vertical-align: middle; }
.ops-table tbody tr:hover { background: #fafbfc; }
.ops-table .mail { font-weight: 500; color: #202124; }
.ops-table .file { font-size: 11px; color: #80868b; margin-top: 3px; font-family: ui-monospace, Menlo, monospace; }
.ops-table .mono { font-family: ui-monospace, Menlo, monospace; font-size: 12px; }

.ops-pill { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 11px; line-height: 18px; white-space: nowrap; }
.ops-pill.g { background: #e6f4ea; color: #137333; }
.ops-pill.b { background: #e8f0fe; color: #1967d2; }
.ops-pill.y { background: #fef7e0; color: #b06000; }
.ops-pill.r { background: #fce8e6; color: #c5221f; }
.ops-pill.n { background: #f1f3f4; color: #5f6368; }

.ops-mini { height: 6px; border-radius: 3px; background: #e8eaed; overflow: hidden; display: block; width: 96px; margin-top: 5px; }
.ops-mini i { display: block; height: 100%; background: #1a73e8; border-radius: 3px; }

.ops-empty { padding: 26px; text-align: center; color: #80868b; font-size: 12.5px; }
.ops-error { padding: 10px 12px; border: 1px solid #f6aea9; background: #fce8e6; color: #c5221f; border-radius: 6px; font-size: 12px; margin-bottom: 10px; }
.ops-card { border: 1px solid #e8eaed; border-radius: 8px; padding: 12px 14px; margin-top: 14px; background: #fff; }
.ops-card h3 { font-size: 13px; font-weight: 600; margin: 0 0 10px; }
.ops-kv { display: flex; gap: 8px; font-size: 12px; color: #3c4043; padding: 5px 0; border-bottom: 1px dashed #f0f1f3; }
.ops-kv span:first-child { color: #5f6368; width: 120px; flex: none; }
.ops-note { font-size: 11.5px; color: #80868b; line-height: 1.7; margin-top: 8px; }

@media (max-width: 760px) {
  .ops-tiles { grid-template-columns: repeat(2, 1fr); }
  .ops-table { font-size: 12px; }
}

.ops-mini-btn {
  border: 1px solid #dadce0; background: #fff; border-radius: 6px;
  padding: 3px 8px; font-size: 11.5px; color: #3c4043; cursor: pointer;
}
.ops-mini-btn:hover { background: #f8f9fa; }

.ops-modal-mask { position: fixed; inset: 0; background: rgba(32, 33, 36, .4); z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ops-modal { background: #fff; border-radius: 10px; width: min(620px, 100%); max-height: 82vh; display: flex; flex-direction: column; box-shadow: 0 12px 36px rgba(0,0,0,.22); }
.ops-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f0f1f3; }
.ops-modal-body { padding: 14px 16px 18px; overflow: auto; }

.ops-timeline { list-style: none; margin: 0; padding: 0 0 0 12px; position: relative; }
.ops-timeline:before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 10px; width: 2px; background: #e8eaed; }
.ops-timeline li { position: relative; padding: 0 0 14px 20px; font-size: 12.5px; }
.ops-timeline-dot { position: absolute; left: -3px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: #1a73e8; box-shadow: 0 0 0 3px #e8f0fe; }
.ops-timeline li.is-403 .ops-timeline-dot, .ops-timeline li.is-disabled .ops-timeline-dot { background: #d93025; box-shadow: 0 0 0 3px #fce8e6; }
.ops-timeline li.is-released .ops-timeline-dot { background: #b06000; box-shadow: 0 0 0 3px #fef7e0; }
.ops-timeline li.is-imported .ops-timeline-dot, .ops-timeline li.is-warmup .ops-timeline-dot { background: #1e8e3e; box-shadow: 0 0 0 3px #e6f4ea; }
.ops-timeline-time { display: block; font-size: 11px; color: #80868b; margin-bottom: 2px; }
