.indexing-main{max-width:1700px;width:100%;padding:28px}
.indexing-topbar{align-items:flex-end;margin-bottom:18px}
.indexing-topbar h1{font-size:30px;line-height:1.08;letter-spacing:-.7px}
.indexing-topbar p{font-size:13px;color:var(--muted)}
.indexing-site-filter{min-width:156px}
.indexing-site-filter .network-filter-trigger{height:44px;min-width:156px}
.indexing-site-filter .network-filter-menu{right:0;left:auto}
.indexing-health{margin-bottom:16px;padding:13px 16px;border-radius:14px}

.indexing-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:16px}
.indexing-kpi-grid .kpi-card{min-height:112px;padding:16px;border-radius:15px;box-shadow:var(--shadow)}
.indexing-kpi-grid .kpi-card:hover{border-color:#dbe5f2;box-shadow:0 12px 32px rgba(30,55,90,.10);transform:translateY(-1px)}
.indexing-kpi-grid .kpi-label{font-size:12px;font-weight:600}
.indexing-kpi-grid .kpi-icon{width:38px;height:38px;border-radius:11px}
.indexing-kpi-grid .kpi-icon svg{width:19px;height:19px}
.indexing-kpi-grid .kpi-value{font-size:24px;line-height:1.05;margin:9px 0 6px;letter-spacing:-.6px}
.indexing-kpi-grid .kpi-note{margin-top:4px;font-size:10px;color:var(--muted)}
.indexing-kpi-grid .kpi-card.good .kpi-icon{background:#e7f8ef;color:#0b9560}
.indexing-kpi-grid .kpi-card.attention .kpi-icon{background:#fff2dc;color:#9a6500}
.indexing-kpi-grid .kpi-card.info .kpi-icon{background:#eaf2ff;color:#1769ff}

.indexing-grid.two-col{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin-bottom:16px}
.indexing-main .panel{border-radius:16px;border:1px solid var(--line);box-shadow:var(--shadow);background:#fff}
.indexing-main .panel-head{padding:18px 18px 14px}
.indexing-main .panel-head h2{font-size:16px;font-weight:700;letter-spacing:0}
.indexing-main .panel-head h2 svg{width:18px;height:18px;color:var(--blue)}
.indexing-main .panel-head p{margin-top:4px;font-size:12px;line-height:1.45;color:var(--muted)}

.indexing-table-wrap{overflow-x:auto}
.indexing-table{width:100%;border-collapse:collapse;font-size:11px}
.indexing-table thead th{padding:11px 12px;background:#f7f9fc;border-top:1px solid #edf1f6;border-bottom:1px solid #e5ebf3;color:#718096;font-size:9.5px;font-weight:750;text-transform:none;white-space:nowrap;text-align:left}
.indexing-table tbody td{padding:11px 12px;border-bottom:1px solid #edf1f6;color:#263650;vertical-align:middle}
.indexing-table tbody tr:hover{background:#fbfdff}
.indexing-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}

.indexing-site-cell{display:flex;align-items:center;gap:9px;min-width:0}
.indexing-site-cell>span:last-child{min-width:0}
.indexing-site-cell strong{display:block;color:#17233c;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.indexing-site-cell small{display:block;margin-top:2px;color:#95a1b2;font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.indexing-favicon{width:27px;height:27px;border-radius:8px;flex:0 0 27px}
.indexing-favicon img{width:18px;height:18px;border-radius:5px}
.indexing-favicon b{font-size:8px}

.indexing-events{padding:0 18px 18px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.indexing-event{display:flex;align-items:center;gap:11px;min-height:68px;padding:12px 13px;border:1px solid var(--line);border-radius:13px;background:#fff}
.indexing-event>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f4f7fb;color:#60718b}
.indexing-event svg{width:16px;height:16px}
.indexing-event small{display:block;color:#7d899b;font-size:9.5px;font-weight:650}
.indexing-event strong{display:block;margin-top:3px;color:#17233c;font-size:18px;font-variant-numeric:tabular-nums}
.indexing-event.good>span{background:#e7f8ef;color:#0b9560}
.indexing-event.warning>span{background:#fff2dc;color:#9a6500}
.indexing-event.danger>span{background:#ffe9e9;color:#c33f3f}
.indexing-event.info>span{background:#eaf2ff;color:#1769ff}

.indexing-list-panel{margin-bottom:16px}
.indexing-section-head{padding-bottom:11px}
.indexing-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:28px;padding:0 10px;border-radius:999px;background:#eaf2ff;color:#1769ff;font-size:10px;font-weight:800;font-variant-numeric:tabular-nums}
.indexing-table-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px 12px;flex-wrap:wrap}
.indexing-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.indexing-tab{appearance:none;border:1px solid #e0e7f0;background:#f8faff;color:#65748a;border-radius:9px;height:31px;padding:0 10px;font-family:inherit;font-size:9.5px;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:.13s ease}
.indexing-tab:hover{border-color:#cbd8ea;background:#f1f6ff;color:#24436f}
.indexing-tab.active{border-color:#c8dafe;background:#eaf2ff;color:#1769ff}
.indexing-tab span{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#fff;font-size:8px;font-weight:800}
.indexing-tools{display:flex;align-items:center;gap:10px}
.indexing-search{height:34px;min-width:260px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #dfe7f1;border-radius:10px;background:#fff;color:#8a97aa}
.indexing-search svg{width:14px;height:14px}
.indexing-search input{border:0;outline:0;background:transparent;width:100%;font:inherit;font-size:10px;color:#23344f}
.indexing-shown-count{font-size:9.5px;color:#8a96a8;font-weight:650;white-space:nowrap}

.indexing-scroll-table{border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6}
.urls-table{min-width:1180px}
.urls-table th:first-child,.urls-table td:first-child{width:31%;white-space:normal}
.urls-table thead th{position:sticky;top:0;z-index:2;background:#fff;box-shadow:0 1px 0 #e7edf5}
.indexing-page-link{display:block;color:#17233c;text-decoration:none;font-weight:700;font-size:11.5px;line-height:1.35;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.indexing-page-link:hover{color:#1769ff}
.indexing-page-path{display:block;color:#9ba6b5;font-size:8.5px;margin-top:3px;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.coverage-text{display:block;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#62728a}

.idx-status,.idx-mini{display:inline-flex;align-items:center;padding:5px 7px;border-radius:999px;font-size:8.5px;font-weight:800;white-space:nowrap}
.idx-status.good,.idx-mini.good{background:#def7eb;color:#0c7e50}
.idx-status.warn{background:#fff2dc;color:#9a6500}
.idx-status.error,.idx-mini.error{background:#ffe8e8;color:#bd3d3d}
.num.stale{color:#b36f00;font-weight:750}

.indexing-load-more-wrap{display:flex;justify-content:center;padding:10px 18px 16px}
.indexing-load-more{appearance:none;border:1px solid #d9e3ef;background:#fff;color:#35527a;border-radius:9px;height:34px;padding:0 14px;font-family:inherit;font-size:10px;font-weight:750;cursor:pointer}
.indexing-load-more:hover{background:#f6f9ff;border-color:#c7d5e7;color:#1769ff}
.indexing-load-more[hidden]{display:none!important}
.indexing-empty{padding:28px!important;text-align:center!important;color:#8693a7;font-size:11px}

@media(max-width:1450px){.indexing-kpi-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1200px){.indexing-grid.two-col{grid-template-columns:1fr}.indexing-events{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){
  .indexing-main{padding:18px}
  .indexing-kpi-grid{grid-template-columns:1fr 1fr}
  .indexing-events{grid-template-columns:1fr 1fr}
  .indexing-tools{width:100%}.indexing-search{min-width:0;flex:1}
  .indexing-site-filter,.indexing-site-filter .network-filter-trigger{width:100%;min-width:0}
  .indexing-site-filter .network-filter-menu{left:0;right:auto;width:min(350px,calc(100vw - 32px))}
}
@media(max-width:480px){.indexing-kpi-grid,.indexing-events{grid-template-columns:1fr}}


/* v1.1 visual alignment */
.indexing-grid.two-col{
  align-items:start;
}
.indexing-grid.two-col > .panel{
  align-self:start;
}
.indexing-grid.two-col > .panel:last-child{
  height:auto;
  min-height:0;
}
.indexing-events{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start;
}
.indexing-event{
  min-height:60px;
  padding:10px 12px;
}
.site-indexing-table{
  table-layout:fixed;
  min-width:0;
}
.site-indexing-table th,
.site-indexing-table td{
  padding:9px 9px;
}
.site-indexing-table th:nth-child(1),
.site-indexing-table td:nth-child(1){width:34%}
.site-indexing-table th:nth-child(2),
.site-indexing-table td:nth-child(2){width:11%}
.site-indexing-table th:nth-child(3),
.site-indexing-table td:nth-child(3){width:15%}
.site-indexing-table th:nth-child(4),
.site-indexing-table td:nth-child(4){width:10%}
.site-indexing-table th:nth-child(5),
.site-indexing-table td:nth-child(5){width:15%}
.site-indexing-table th:nth-child(6),
.site-indexing-table td:nth-child(6){width:15%}
.compact-table-wrap{
  overflow-x:hidden;
}
.urls-table thead th{
  background:#f7f9fc;
  color:#65748a;
  font-size:9.5px;
  font-weight:800;
  border-top:1px solid #e7edf5;
  border-bottom:1px solid #dfe7f1;
  box-shadow:0 1px 0 rgba(216,225,237,.8);
}
.coverage-text{
  max-width:170px;
  font-weight:650;
  color:#52647d;
}


/* v1.2 — force the URL table header to remain visible in normal page flow */
.indexing-scroll-table{
  overflow-x:auto!important;
  overflow-y:visible!important;
  padding:0 10px 12px!important;
}
.urls-table{
  margin:0!important;
}
.urls-table thead{
  display:table-header-group!important;
  visibility:visible!important;
}
.urls-table thead tr{
  display:table-row!important;
  visibility:visible!important;
}
.urls-table thead th{
  position:static!important;
  display:table-cell!important;
  visibility:visible!important;
  opacity:1!important;
  height:36px!important;
  padding:10px 12px!important;
  background:#f7f9fc!important;
  color:#65748a!important;
  border-top:1px solid #e4eaf2!important;
  border-bottom:1px solid #dfe7f1!important;
  box-shadow:none!important;
  font-size:9.5px!important;
  font-weight:800!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  text-align:left!important;
}
.urls-table thead th:nth-child(6),
.urls-table thead th:nth-child(7),
.urls-table thead th:nth-child(8){
  text-align:right!important;
}
