.geo-collection {
  --geo-bg: #f3f7f5;
  --geo-surface: #ffffff;
  --geo-surface-soft: #f6faf8;
  --geo-ink: #122620;
  --geo-muted: #526860;
  --geo-line: #dce7e1;
  --geo-line-strong: #c3d6cc;
  --geo-accent: #0f624d;
  --geo-accent-hover: #0b4f3e;
  --geo-accent-soft: #e6f4ef;
  --geo-warn: #b45309;
  --geo-warn-bg: #fef3c7;
  --geo-danger: #b91c1c;
  --geo-danger-bg: #fee2e2;
  --geo-ok: #047857;
  --geo-ok-bg: #d1fae5;
  --geo-shadow: 0 2px 10px rgba(15, 45, 36, .04), 0 1px 2px rgba(15, 45, 36, .05);
  max-width: 1480px;
  color: var(--geo-ink);
  padding-bottom: 3rem;
}

.geo-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1.1rem; font-size: .86rem; color: var(--geo-muted);
}
.geo-breadcrumb a, .geo-collection a { color: var(--geo-accent); text-underline-offset: .18em; }

.geo-heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.2rem; margin-bottom: 1.4rem;
}
.geo-heading-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  color: var(--geo-accent); margin-bottom: .3rem;
}
.geo-heading h1 {
  margin: 0; font-size: clamp(1.65rem, 3.6vw, 2.3rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
}
.geo-heading p { margin: .45rem 0 0; color: var(--geo-muted); font-size: .95rem; }
.geo-heading-actions { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }

.geo-collection .card {
  background: var(--geo-surface);
  border: 1px solid var(--geo-line);
  border-radius: 14px;
  box-shadow: var(--geo-shadow);
}

/* 按钮体系 */
.geo-btn-primary, .geo-btn-secondary, .geo-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  min-height: 40px; padding: 0 1rem; border-radius: 9px;
  font-size: .9rem; font-weight: 600; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.geo-btn-primary {
  background: var(--geo-accent); border: 1px solid var(--geo-accent); color: #fff !important;
}
.geo-btn-primary:hover { background: var(--geo-accent-hover); border-color: var(--geo-accent-hover); }
.geo-btn-secondary {
  background: var(--geo-surface); border: 1px solid var(--geo-line-strong); color: var(--geo-ink) !important;
}
.geo-btn-secondary:hover { background: var(--geo-surface-soft); border-color: var(--geo-accent); color: var(--geo-accent) !important; }
.geo-btn-ghost {
  background: transparent; border: 1px solid transparent; color: var(--geo-muted) !important; padding-inline: .65rem;
}
.geo-btn-ghost:hover { color: var(--geo-accent) !important; background: var(--geo-accent-soft); }

/* KPI 概览 */
.geo-kpis {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem; margin-bottom: 1rem;
}
.geo-kpi {
  background: var(--geo-surface); border: 1px solid var(--geo-line); border-radius: 14px;
  padding: 1rem 1.15rem; box-shadow: var(--geo-shadow);
  display: flex; flex-direction: column; gap: .28rem;
  position: relative; overflow: hidden;
}
.geo-kpi::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--geo-accent); opacity: .75;
}
.geo-kpi:nth-child(2)::before { background: #2563eb; }
.geo-kpi:nth-child(3)::before { background: #059669; }
.geo-kpi:nth-child(4)::before { background: #7c3aed; }
.geo-kpi-label { font-size: .82rem; font-weight: 600; color: var(--geo-muted); }
.geo-kpi-value {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.geo-kpi-sub { font-size: .8rem; color: var(--geo-muted); line-height: 1.4; }

/* 筛选栏 */
.geo-filters {
  padding: 1rem 1.1rem; margin-bottom: .9rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .8rem; align-items: end;
}
.geo-filter-search { grid-column: span 4; }
.geo-filter-actions { grid-column: span 2; display: flex; align-items: center; justify-content: flex-end; gap: .6rem; }
.geo-filters label { display: grid; gap: .35rem; font-size: .84rem; font-weight: 650; color: var(--geo-muted); }
.geo-filters select, .geo-filters input {
  box-sizing: border-box; width: 100%; min-height: 40px; margin: 0;
  padding: 0 .75rem; border: 1px solid var(--geo-line-strong); border-radius: 9px;
  background: #fff; color: var(--geo-ink); font-size: .9rem;
}
.geo-filters select:focus, .geo-filters input:focus {
  outline: 2px solid rgba(15, 98, 77, .2); border-color: var(--geo-accent);
}

/* 快捷胶囊 */
.geo-quick-chips {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem;
}
.geo-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .38rem .78rem; border-radius: 999px;
  background: var(--geo-surface); border: 1px solid var(--geo-line-strong);
  color: var(--geo-ink) !important; font-size: .83rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all .15s ease;
}
.geo-chip:hover { border-color: var(--geo-accent); color: var(--geo-accent) !important; background: var(--geo-accent-soft); }
.geo-chip.is-active { background: var(--geo-accent); border-color: var(--geo-accent); color: #fff !important; }
.geo-chip-count {
  font-size: .75rem; padding: .05rem .4rem; border-radius: 999px;
  background: rgba(0, 0, 0, .06); font-variant-numeric: tabular-nums;
}
.geo-chip.is-active .geo-chip-count { background: rgba(255, 255, 255, .22); }

/* 洞察双栏 */
.geo-insights {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1rem; margin-bottom: 1rem;
}
.geo-insight-card { padding: 0; overflow: hidden; }
.geo-insight-card > summary {
  list-style: none; cursor: pointer; padding: .9rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: var(--geo-surface-soft); border-bottom: 1px solid var(--geo-line);
  font-weight: 700; font-size: .96rem;
}
.geo-insight-card > summary::-webkit-details-marker { display: none; }
.geo-insight-card:not([open]) > summary { border-bottom: none; }
.geo-insight-meta { font-size: .8rem; font-weight: 500; color: var(--geo-muted); }
.geo-insight-desc { margin: .75rem 1.1rem .6rem; font-size: .82rem; color: var(--geo-muted); }

/* 信源横向柱状条 */
.geo-bars {
  padding: 0 1.1rem 1rem; display: grid; gap: .55rem;
  max-height: 360px; overflow-y: auto;
}
.geo-bar-row {
  display: grid; grid-template-columns: 148px minmax(100px, 1fr) 236px;
  align-items: center; gap: .7rem; font-size: .84rem;
}
.geo-bar-label {
  display: flex; align-items: center; gap: .4rem; min-width: 0;
}
.geo-bar-rank {
  flex: none; width: 20px; height: 20px; border-radius: 6px;
  background: #edf3f0; color: var(--geo-muted); font-size: .74rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.geo-bar-row:nth-child(-n+3) .geo-bar-rank { background: var(--geo-accent-soft); color: var(--geo-accent); }
.geo-bar-site { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.geo-bar-track {
  width: 100%; height: 9px; border-radius: 999px; background: #eaf1ed; overflow: hidden;
}
.geo-bar-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #0f624d, #10b981);
}
.geo-bar-nums {
  font-size: .78rem; color: var(--geo-muted); white-space: nowrap;
  font-variant-numeric: tabular-nums; text-align: right;
  display: flex; align-items: center; justify-content: flex-end; gap: .32rem;
  min-width: 0;
}
.geo-bar-warn { color: var(--geo-warn); font-weight: 600; flex: none; }

.geo-mini-scroll { padding: 0 1rem .9rem; max-height: 360px; overflow-y: auto; }
.geo-mini-table { width: 100%; min-width: 0 !important; border-collapse: collapse; font-size: .85rem; }
.geo-mini-table th, .geo-mini-table td { padding: .5rem .6rem; border-bottom: 1px solid var(--geo-line); text-align: left; }
.geo-mini-table th { background: var(--geo-surface-soft); font-size: .78rem; color: var(--geo-muted); }

/* 主列表 */
.geo-records { overflow: hidden; }
.geo-list-heading {
  padding: 1rem 1.15rem .85rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
  border-bottom: 1px solid var(--geo-line);
}
.geo-list-title-group { display: flex; align-items: center; gap: .65rem; }
.geo-list-heading h2 { margin: 0; font-size: 1.08rem; font-weight: 750; }
.geo-total-pill {
  padding: .18rem .65rem; border-radius: 999px;
  background: var(--geo-accent-soft); color: var(--geo-accent);
  font-size: .8rem; font-weight: 700;
}
.geo-batch-pill {
  font-size: .82rem; color: var(--geo-muted);
  background: var(--geo-surface-soft); border: 1px solid var(--geo-line);
  padding: .25rem .7rem; border-radius: 999px;
}

.geo-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.geo-table th {
  background: var(--geo-surface-soft); color: var(--geo-muted);
  font-size: .8rem; font-weight: 700; text-align: left;
  padding: .75rem .9rem; border-bottom: 1px solid var(--geo-line); white-space: nowrap;
}
.geo-table td {
  padding: .85rem .9rem; border-bottom: 1px solid #ebf1ee;
  vertical-align: top; font-size: .88rem;
}
.geo-table tbody tr { transition: background .12s ease; }
.geo-table tbody tr:hover { background: #f6fbf8; }
.geo-table td:first-child { width: 40%; }
.geo-table td:not(:first-child) { white-space: nowrap; }

.geo-numbered-question { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: start; gap: .65rem; }
.geo-question-number {
  min-width: 2.6ch; padding: .14rem .4rem; border-radius: 6px;
  background: #edf3f0; color: var(--geo-muted); text-align: center;
  font-size: .76rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.geo-question-cell { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.geo-question-line {
  font-weight: 650; color: var(--geo-ink) !important; text-decoration: none;
  line-height: 1.45; white-space: normal; overflow-wrap: anywhere;
}
.geo-question-line:hover { color: var(--geo-accent) !important; text-decoration: underline; }
.geo-question-preview {
  margin: 0; font-size: .8rem; color: var(--geo-muted); line-height: 1.48;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  white-space: normal;
}
.geo-question-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .1rem; }

/* 徽章与胶囊 */
.geo-badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .16rem .52rem; border-radius: 999px;
  font-size: .76rem; font-weight: 650; line-height: 1.35; white-space: nowrap;
}
.geo-badge-soft { background: #edf3f0; color: #365047; }
.geo-badge-cat { background: #eef2ff; color: #3730a3; }
.geo-badge-ok { background: var(--geo-ok-bg); color: var(--geo-ok); }
.geo-badge-warn { background: var(--geo-warn-bg); color: var(--geo-warn); }
.geo-badge-danger { background: var(--geo-danger-bg); color: var(--geo-danger); }

.geo-plat-deepseek { background: #e0e7ff; color: #3730a3; }
.geo-plat-doubao { background: #dbeafe; color: #1d4ed8; }
.geo-plat-tongyi { background: #f3e8ff; color: #6b21a8; }
.geo-plat-yuanbao { background: #d1fae5; color: #065f46; }
.geo-plat-kimi { background: #fef3c7; color: #92400e; }
.geo-plat-gemini { background: #e0f2fe; color: #0369a1; }

/* 引用进度微条 */
.geo-ref-meter { display: flex; flex-direction: column; gap: .28rem; min-width: 132px; }
.geo-ref-meter-top { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; font-size: .82rem; font-variant-numeric: tabular-nums; }
.geo-meter-track { height: 6px; border-radius: 999px; background: #e6eeea; overflow: hidden; }
.geo-meter-fill { height: 100%; border-radius: 999px; background: #10b981; }
.geo-meter-fill.is-mid { background: #f59e0b; }
.geo-meter-fill.is-low { background: #ef4444; }
.geo-ref-note { font-size: .75rem; color: var(--geo-muted); white-space: normal; }

.geo-cell-stack { display: flex; flex-direction: column; gap: .24rem; }
.geo-sub-text { font-size: .77rem; color: var(--geo-muted); }

.geo-empty {
  text-align: center; margin: 1.2rem; padding: 2.6rem 1rem;
  border: 1px dashed var(--geo-line-strong); border-radius: 12px;
  color: var(--geo-muted); background: var(--geo-surface-soft);
}
#geo-pages {
  padding: .9rem 1.15rem; display: flex; align-items: center; justify-content: center; gap: .8rem;
  border-top: 1px solid var(--geo-line);
}
#geo-notice { padding: 1rem 1.15rem; margin-bottom: 1rem; }
.geo-login { display: flex; gap: .8rem; margin-top: .6rem; }

/* 详情页 */
.geo-detail-shell { max-width: 1120px; margin-inline: auto; display: grid; gap: 1rem; }
.geo-detail-hero { padding: clamp(1.1rem, 2.8vw, 1.65rem); }
.geo-detail-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem; margin-bottom: .75rem;
}
.geo-badge-row { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.geo-detail-tools { display: flex; gap: .55rem; flex-wrap: wrap; }
.geo-detail-question {
  margin: 0; font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800; line-height: 1.38; color: var(--geo-ink);
}

/* 跨平台同题切换 */
.geo-siblings {
  margin-top: .9rem; padding: .65rem .85rem; border-radius: 10px;
  background: var(--geo-surface-soft); border: 1px solid var(--geo-line);
  display: flex; align-items: center; flex-wrap: wrap; gap: .45rem;
  font-size: .82rem;
}
.geo-siblings-label { font-weight: 700; color: var(--geo-muted); margin-right: .25rem; }

.geo-metadata {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .65rem; margin: 1rem 0 0;
}
.geo-metadata > div {
  padding: .62rem .8rem; border-radius: 10px;
  background: var(--geo-surface-soft); border: 1px solid #e6efea;
}
.geo-metadata dt { font-size: .76rem; color: var(--geo-muted); font-weight: 600; }
.geo-metadata dd { margin: .25rem 0 0; font-size: .88rem; font-weight: 600; overflow-wrap: anywhere; }

/* 详情章节导航 */
.geo-section-nav {
  display: flex; flex-wrap: wrap; gap: .45rem;
  margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--geo-line);
}
.geo-nav-pill {
  padding: .3rem .72rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: var(--geo-surface-soft); border: 1px solid var(--geo-line);
  color: var(--geo-ink) !important; text-decoration: none;
}
.geo-nav-pill:hover { border-color: var(--geo-accent); color: var(--geo-accent) !important; background: var(--geo-accent-soft); }

.geo-detail-section { padding: clamp(1.05rem, 2.5vw, 1.5rem); }
.geo-section-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .6rem; margin-bottom: .9rem;
  padding-bottom: .65rem; border-bottom: 1px solid var(--geo-line);
}
.geo-section-head h3 { margin: 0; font-size: 1.06rem; font-weight: 750; }
.geo-ref-sub { margin: .25rem 0 0; font-size: .83rem; }

/* 富文本回答排版 */
.geo-answer { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.78; font-size: .96rem; color: #192d27; }
.geo-rich-answer { white-space: normal; display: grid; gap: .65rem; }
.geo-rich-answer p { margin: 0; line-height: 1.82; }
.geo-rich-answer h4 {
  margin: .55rem 0 .1rem; font-size: 1.02rem; font-weight: 750;
  color: var(--geo-accent); border-left: 3px solid var(--geo-accent); padding-left: .55rem;
}
.geo-rich-answer ul { margin: .15rem 0; padding-left: 1.35rem; display: grid; gap: .38rem; }
.geo-rich-answer li { line-height: 1.72; }
.geo-rich-answer strong { color: #0c1f19; font-weight: 750; }

.geo-thinking-box {
  margin-top: 1.1rem; padding: .75rem .95rem;
  border-radius: 10px; background: #f8faf9; border: 1px solid var(--geo-line);
}
.geo-thinking-box summary { cursor: pointer; font-weight: 650; color: var(--geo-muted); }

/* 引用来源卡片 */
.geo-ref-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.geo-references { display: grid; gap: .7rem; padding: 0; margin: 0; list-style: none; }
.geo-ref-card {
  padding: .9rem 1rem; border-radius: 12px;
  background: var(--geo-surface-soft); border: 1px solid var(--geo-line);
  display: grid; gap: .45rem; overflow-wrap: anywhere;
}
.geo-ref-card.is-home-redirect { border-color: #f59e0b; background: #fffbeb; }
.geo-ref-card.is-missing-url { border-style: dashed; }
.geo-ref-head { display: flex; align-items: flex-start; gap: .6rem; }
.geo-ref-num {
  flex: none; min-width: 26px; height: 26px; border-radius: 8px;
  background: var(--geo-accent); color: #fff; font-size: .78rem; font-weight: 750;
  display: inline-flex; align-items: center; justify-content: center;
}
.geo-ref-title { font-weight: 700; font-size: .94rem; line-height: 1.4; color: var(--geo-ink); }
.geo-ref-meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.geo-ref-url-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .83rem;
}
.geo-ref-url-row a { word-break: break-all; }
.geo-copy-mini {
  border: 1px solid var(--geo-line-strong); background: #fff; color: var(--geo-muted);
  border-radius: 6px; padding: .14rem .48rem; font-size: .75rem; cursor: pointer;
}
.geo-copy-mini:hover { border-color: var(--geo-accent); color: var(--geo-accent); }
.geo-ref-summary { margin: 0; font-size: .86rem; line-height: 1.62; color: #364d45; }

/* 推荐顺位与长图 */
.geo-rec-list { padding-left: 1.35rem; display: grid; gap: .7rem; margin: 0; }
.geo-rec-list li {
  padding: .85rem 1rem; border-radius: 10px;
  background: var(--geo-surface-soft); border: 1px solid var(--geo-line);
}
.geo-rec-list p { margin: .35rem 0 0; line-height: 1.65; }

.geo-images-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .9rem; }
.geo-shot-card {
  border: 1px solid var(--geo-line); border-radius: 12px; padding: .75rem; background: var(--geo-surface-soft);
}
.geo-shot-card summary { cursor: pointer; font-weight: 650; margin-bottom: .5rem; }
.geo-shot-card img {
  display: block; max-width: 100%; height: auto; border-radius: 8px;
  border: 1px solid var(--geo-line); cursor: zoom-in;
}

.geo-maps-stack { display: grid; gap: .8rem; }
.geo-maps-stack details {
  border: 1px solid var(--geo-line); border-radius: 10px; padding: .8rem 1rem; background: var(--geo-surface-soft);
}
.geo-maps-stack summary { cursor: pointer; font-weight: 700; }

.geo-link-list { padding-left: 1.25rem; display: grid; gap: .5rem; margin: 0; }
.geo-record-error {
  margin-top: .9rem; padding: .75rem 1rem;
  border: 1px solid #f59e0b; border-radius: 10px;
  background: #fffbeb; color: #92400e; font-size: .88rem; overflow-wrap: anywhere;
}

/* 灯箱 */
.geo-lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10, 20, 17, .88);
  display: flex; align-items: flex-start; justify-content: center;
  overflow: auto; padding: 2.5rem 1rem;
}
.geo-lightbox img { max-width: min(920px, 94vw); height: auto; border-radius: 10px; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.geo-lightbox-close {
  position: fixed; top: 1rem; right: 1.2rem; width: 42px; height: 42px;
  border-radius: 999px; border: none; background: rgba(255, 255, 255, .92);
  color: #122620; font-size: 1.15rem; font-weight: 700; cursor: pointer;
}

.geo-collection [hidden] { display: none !important; }

@media (max-width: 1060px) {
  .geo-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .geo-filter-search { grid-column: span 2; }
  .geo-filter-actions { grid-column: span 1; }
}
@media (max-width: 680px) {
  .geo-kpis { grid-template-columns: 1fr; }
  .geo-filters { grid-template-columns: 1fr; }
  .geo-filter-search, .geo-filter-actions { grid-column: auto; justify-content: stretch; }
  .geo-heading { align-items: start; flex-direction: column; }
  .geo-insights { grid-template-columns: 1fr; }
}

/* === 2026-11-24 GEO Polish === */
.geo-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}
.geo-kpi {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.geo-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 45, 36, 0.08);
}
.geo-back-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #bfd7cb;
  background: rgba(255, 255, 255, 0.94);
  color: #0f624d;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(15, 45, 36, 0.14);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.15s ease;
}
.geo-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.geo-back-top:hover {
  background: #0f624d;
  border-color: #0f624d;
  color: #ffffff;
}


/* === GEO 采集设备与手机派单工作台 === */
.geo-mode-nav {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--geo-surface); border: 1px solid var(--geo-line);
  border-radius: 11px; padding: .24rem;
}
.geo-mode-pill {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 .85rem;
  border-radius: 8px; font-size: .88rem; font-weight: 650; text-decoration: none;
  color: var(--geo-muted) !important; transition: background .15s ease, color .15s ease;
}
.geo-mode-pill:hover { background: var(--geo-surface-soft); color: var(--geo-accent) !important; }
.geo-mode-pill.is-current { background: var(--geo-accent); color: #fff !important; }

.geo-dispatch-card { margin-bottom: 1rem; padding: 1.15rem 1.25rem; }
.geo-dispatch-hint { margin: 0 0 1rem; font-size: .86rem; color: var(--geo-muted); }
.geo-btn-sm { min-height: 32px; padding: 0 .7rem; font-size: .82rem; border-radius: 7px; }
.geo-txt-ok { color: var(--geo-ok); }
.geo-txt-warn { color: var(--geo-warn); }
.geo-txt-danger { color: var(--geo-danger) !important; }
.geo-badge-info { background: #dbeafe; color: #1d4ed8; }

.geo-device-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: .9rem;
}
.geo-device-card {
  border: 1px solid var(--geo-line); border-radius: 12px; padding: 1rem 1.1rem;
  background: var(--geo-surface-soft); display: flex; flex-direction: column; gap: .75rem;
}
.geo-device-card.is-online { border-color: #86efac; background: #fbfefc; }
.geo-device-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.geo-device-title { margin: 0; font-size: 1.02rem; font-weight: 750; }
.geo-device-sub { font-size: .82rem; color: var(--geo-muted); margin-top: .18rem; }
.geo-device-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem .75rem; font-size: .82rem; color: var(--geo-muted);
}
.geo-device-meta code { font-size: .78rem; color: var(--geo-ink); background: #edf3f0; padding: .08rem .32rem; border-radius: 5px; }
.geo-device-progress {
  font-size: .83rem; padding: .48rem .68rem; border-radius: 8px;
  background: var(--geo-accent-soft); color: var(--geo-accent);
}
.geo-device-apps { display: flex; flex-direction: column; gap: .4rem; }
.geo-device-apps-label { font-size: .8rem; font-weight: 650; color: var(--geo-muted); }
.geo-device-apps-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.geo-app-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .28rem .58rem; border-radius: 999px; border: 1px solid var(--geo-line-strong);
  background: #fff; font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--geo-ink);
}
.geo-app-pill small { font-size: .72rem; opacity: .82; }
.geo-app-pill.is-ok { border-color: #6ee7b7; background: #ecfdf5; color: #065f46; }
.geo-app-pill.is-warn { border-color: #fcd34d; background: #fffbeb; color: #92400e; }
.geo-app-pill.is-danger { border-color: #fca5a5; background: #fef2f2; color: #991b1b; }
.geo-app-pill.is-muted { border-color: #cbd5e1; background: #f1f5f9; color: #64748b; text-decoration: line-through; }
.geo-app-pill.is-uninstalled { opacity: .55; }
.geo-device-actions, .geo-row-actions { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }

.geo-wl-form {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem; margin-bottom: 1rem; align-items: end;
}
.geo-wl-form label, .geo-custom-form label, .geo-task-filters label {
  display: grid; gap: .3rem; font-size: .83rem; font-weight: 650; color: var(--geo-muted);
}
.geo-wl-form input, .geo-custom-form input, .geo-custom-form select, .geo-custom-form textarea, .geo-task-filters select, .geo-inline-select select {
  box-sizing: border-box; width: 100%; min-height: 38px; padding: .42rem .7rem;
  border: 1px solid var(--geo-line-strong); border-radius: 8px; background: #fff;
  color: var(--geo-ink); font-size: .88rem;
}
.geo-wl-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: .75rem; }

.geo-inline-select, .geo-inline-check {
  display: inline-flex !important; align-items: center; gap: .4rem;
  font-size: .85rem; font-weight: 600; color: var(--geo-muted);
}
.geo-inline-select select { width: auto; min-width: 210px; }
.geo-inline-check input[type="checkbox"] { width: 16px; height: 16px; min-height: 0; margin: 0; }

.geo-preset-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: .85rem;
}
.geo-preset-card {
  border: 1px solid var(--geo-line); border-radius: 12px; padding: .95rem 1.05rem;
  background: var(--geo-surface-soft); display: flex; flex-direction: column; gap: .65rem;
}
.geo-preset-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.geo-preset-head h3 { margin: 0 0 .15rem; font-size: 1rem; }
.geo-preset-rows { display: flex; flex-direction: column; gap: .45rem; }
.geo-preset-row {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .42rem .55rem; border-radius: 8px; background: #fff; border: 1px solid var(--geo-line);
}
.geo-preset-cat { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; font-size: .86rem; }
.geo-preset-ratio { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--geo-ink); }

.geo-custom-form { display: flex; flex-direction: column; gap: .8rem; }
.geo-custom-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.geo-custom-options { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; }
.geo-opt-label { font-size: .84rem; font-weight: 650; color: var(--geo-muted); }
.geo-platform-checks { display: inline-flex; flex-wrap: wrap; gap: .75rem; }
.geo-task-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 240px)); gap: .75rem; margin-bottom: .9rem; }
.geo-task-q { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.geo-toast {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 9999;
  background: #122620; color: #fff; padding: .65rem 1.05rem; border-radius: 10px;
  font-size: .88rem; font-weight: 600; box-shadow: 0 10px 28px rgba(0,0,0,.22);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.geo-toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .geo-wl-form, .geo-custom-grid, .geo-task-filters { grid-template-columns: 1fr; }
  .geo-device-grid, .geo-preset-grid { grid-template-columns: 1fr; }
}


/* === GEO v3 极致工作台增强样式 === */
.geo-no-scroll { overflow: hidden; }
#geo-list.is-loading { opacity: .62; transition: opacity .15s ease; }

.geo-live-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  min-height: 36px; padding: 0 .8rem; border-radius: 999px;
  border: 1px solid var(--geo-line-strong); background: var(--geo-surface);
  color: var(--geo-muted) !important; font-size: .82rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
}
.geo-live-pill.is-online {
  border-color: #6ee7b7; background: #ecfdf5; color: #047857 !important;
}
.geo-live-pill:hover { border-color: var(--geo-accent); }

/* 交付口径开关 & 质量快筛条 */
.geo-delivery-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .8rem;
  padding: .75rem 1rem; margin-bottom: .95rem;
}
.geo-delivery-left { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.geo-seg {
  display: inline-flex; align-items: center; gap: .2rem;
  padding: .22rem; border-radius: 10px;
  background: #edf3f0; border: 1px solid var(--geo-line);
}
.geo-seg-btn {
  border: none; background: transparent; color: var(--geo-muted);
  padding: .4rem .82rem; border-radius: 8px; font-size: .84rem; font-weight: 700;
  cursor: pointer; transition: all .15s ease; white-space: nowrap;
}
.geo-seg-btn:hover { color: var(--geo-ink); }
.geo-seg-btn.is-active {
  background: var(--geo-accent); color: #fff;
  box-shadow: 0 2px 6px rgba(15, 98, 77, .24);
}
.geo-dedup-note { font-size: .82rem; color: var(--geo-muted); }

.geo-quality-chips { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.geo-qpill {
  border: 1px solid var(--geo-line-strong); background: #fff; color: var(--geo-ink);
  padding: .32rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 650;
  cursor: pointer; transition: all .14s ease; white-space: nowrap;
}
.geo-qpill:hover { border-color: var(--geo-accent); color: var(--geo-accent); background: var(--geo-accent-soft); }
.geo-qpill.is-active { background: #122620; border-color: #122620; color: #fff; }

/* 城市 × 行业 × 平台 达标热力矩阵 */
.geo-matrix-card { margin-bottom: 1rem; }
.geo-matrix-scroll { padding: .65rem 1rem 1rem; }
.geo-matrix-table { width: 100%; border-collapse: separate; border-spacing: 6px; min-width: 520px; }
.geo-matrix-table th {
  text-align: left; font-size: .8rem; color: var(--geo-muted); padding: .35rem .5rem; font-weight: 700;
}
.geo-matrix-row-head {
  white-space: nowrap; padding: .45rem .65rem; vertical-align: middle;
  background: var(--geo-surface-soft); border-radius: 9px; border: 1px solid var(--geo-line);
}
.geo-matrix-city {
  display: inline-block; margin-right: .45rem; padding: .08rem .42rem;
  border-radius: 6px; background: #e6f4ef; color: var(--geo-accent);
  font-size: .74rem; font-weight: 700;
}
.geo-matrix-ind { font-size: .88rem; color: var(--geo-ink); }
.geo-matrix-empty {
  display: flex; align-items: center; justify-content: center;
  min-height: 62px; border-radius: 10px; border: 1px dashed var(--geo-line);
  color: #94a3b8; font-size: .78rem; background: #fafcfb;
}
.geo-matrix-cell {
  width: 100%; min-width: 148px; text-align: left;
  display: flex; flex-direction: column; gap: .3rem;
  padding: .55rem .7rem; border-radius: 10px; cursor: pointer;
  border: 1.5px solid var(--geo-line); background: #fff;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.geo-matrix-cell:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15, 45, 36, .08); }
.geo-matrix-cell.is-perfect { background: #ecfdf5; border-color: #6ee7b7; }
.geo-matrix-cell.is-warn { background: #fffbeb; border-color: #fcd34d; }
.geo-matrix-cell.is-danger { background: #fef2f2; border-color: #fca5a5; }
.geo-matrix-cell.is-selected { outline: 2.5px solid var(--geo-accent); outline-offset: 1px; }
.geo-matrix-cell-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: .4rem;
  font-size: .84rem; font-variant-numeric: tabular-nums;
}
.geo-matrix-pct { font-size: .76rem; font-weight: 700; color: var(--geo-muted); }
.geo-matrix-bar { height: 5px; border-radius: 999px; background: rgba(0,0,0,.08); overflow: hidden; }
.geo-matrix-bar-fill { height: 100%; border-radius: 999px; background: #059669; }
.geo-matrix-cell.is-warn .geo-matrix-bar-fill { background: #d97706; }
.geo-matrix-cell.is-danger .geo-matrix-bar-fill { background: #dc2626; }
.geo-matrix-sub { font-size: .74rem; font-weight: 650; color: var(--geo-muted); }
.geo-matrix-cell.is-perfect .geo-matrix-sub { color: #047857; }
.geo-matrix-cell.is-warn .geo-matrix-sub { color: #b45309; }
.geo-matrix-cell.is-danger .geo-matrix-sub { color: #b91c1c; }

/* 激活过滤标签 */
.geo-active-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: -.35rem 0 .95rem; }
.geo-active-tag {
  border: 1px solid var(--geo-accent); background: var(--geo-accent-soft); color: var(--geo-accent);
  padding: .26rem .68rem; border-radius: 999px; font-size: .8rem; font-weight: 700; cursor: pointer;
}
.geo-active-tag:hover { background: var(--geo-accent); color: #fff; }

/* 信源堆叠条 & 图例 */
.geo-insight-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: .5rem; padding: .65rem 1.1rem .45rem;
}
.geo-insight-toolbar .geo-insight-desc { margin: 0; }
.geo-sites-legend { display: inline-flex; flex-wrap: wrap; gap: .55rem; font-size: .76rem; color: var(--geo-muted); }
.geo-legend-item { display: inline-flex; align-items: center; gap: .28rem; font-weight: 600; }
.geo-legend-dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }

.geo-bar-btn {
  width: 100%; text-align: left; background: transparent; border: 1px solid transparent;
  padding: .28rem .4rem; border-radius: 8px; cursor: pointer; font-family: inherit;
}
.geo-bar-btn:hover { background: var(--geo-surface-soft); border-color: var(--geo-line); }
.geo-bar-btn.is-selected { background: var(--geo-accent-soft); border-color: var(--geo-accent); }
.geo-bar-stack-inner { display: flex; height: 100%; border-radius: 999px; overflow: hidden; }
.geo-bar-seg { height: 100%; display: block; min-width: 2px; }

/* 品牌 SOV 搜索栏 */
.geo-brand-toolbar {
  display: flex; align-items: center; flex-wrap: wrap; gap: .6rem;
  padding: .65rem 1rem .5rem;
}
.geo-brand-input {
  flex: 1 1 220px; min-height: 36px; padding: 0 .75rem;
  border: 1px solid var(--geo-line-strong); border-radius: 8px; font-size: .84rem;
}
.geo-brand-input:focus { outline: 2px solid rgba(15, 98, 77, .2); border-color: var(--geo-accent); }
.geo-brand-sov-summary { font-size: .78rem; font-weight: 650; color: var(--geo-accent); }

/* 右侧滑出快速阅读抽屉 */
.geo-drawer-backdrop {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(12, 27, 22, .46); backdrop-filter: blur(2px);
  display: flex; justify-content: flex-end;
}
.geo-drawer {
  width: min(860px, 95vw); height: 100%; background: var(--geo-bg);
  display: flex; flex-direction: column;
  box-shadow: -12px 0 36px rgba(10, 25, 20, .24);
  animation: geoDrawerIn .18s ease-out;
}
@keyframes geoDrawerIn {
  from { transform: translateX(36px); opacity: .7; }
  to { transform: translateX(0); opacity: 1; }
}
.geo-drawer-head {
  flex: none; padding: .8rem 1.15rem; background: #fff;
  border-bottom: 1px solid var(--geo-line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
}
.geo-drawer-nav, .geo-drawer-actions { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.geo-drawer-close {
  width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--geo-line-strong);
  background: #fff; color: var(--geo-ink); font-size: 1rem; font-weight: 700; cursor: pointer;
}
.geo-drawer-close:hover { background: var(--geo-danger-bg); color: var(--geo-danger); border-color: #fca5a5; }
.geo-drawer-body {
  flex: 1 1 auto; overflow-y: auto; padding: 1.15rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.geo-drawer-loading { padding: 3rem 1rem; text-align: center; color: var(--geo-muted); font-weight: 600; }
.geo-drawer-hero, .geo-drawer-section {
  background: #fff; border: 1px solid var(--geo-line); border-radius: 14px;
  padding: 1.05rem 1.2rem; display: flex; flex-direction: column; gap: .75rem;
}
.geo-drawer-question { margin: 0; font-size: 1.22rem; font-weight: 800; line-height: 1.4; }

/* 跨平台左右分屏对比弹窗 */
.geo-compare-backdrop {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(12, 27, 22, .62); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.geo-compare-modal {
  width: min(1420px, 98vw); height: min(92vh, 960px);
  background: var(--geo-bg); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.geo-compare-head {
  flex: none; padding: .9rem 1.25rem; background: #fff; border-bottom: 1px solid var(--geo-line);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.geo-compare-title { margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.35; }
.geo-compare-controls {
  flex: none; padding: .7rem 1.25rem; background: var(--geo-surface-soft);
  border-bottom: 1px solid var(--geo-line);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem;
}
.geo-compare-controls label { display: grid; gap: .22rem; font-size: .78rem; font-weight: 700; color: var(--geo-muted); }
.geo-compare-controls select {
  min-height: 36px; padding: 0 .65rem; border: 1px solid var(--geo-line-strong);
  border-radius: 8px; background: #fff; font-size: .85rem; color: var(--geo-ink);
}
.geo-compare-vs {
  padding: .25rem .6rem; border-radius: 999px; background: var(--geo-accent);
  color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .06em;
}
.geo-compare-summary { flex: none; padding: .7rem 1.25rem; background: #fff; border-bottom: 1px solid var(--geo-line); }
.geo-compare-diff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.geo-compare-diff-card {
  padding: .65rem .85rem; border-radius: 10px; background: var(--geo-surface-soft);
  border: 1px solid var(--geo-line); display: flex; flex-direction: column; gap: .35rem; font-size: .84rem;
}
.geo-compare-diff-card p { margin: 0; }
.geo-compare-grid {
  flex: 1 1 auto; min-height: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--geo-line);
}
.geo-compare-col {
  background: #fff; overflow-y: auto; padding: 1rem 1.15rem;
  display: flex; flex-direction: column; gap: .85rem;
}
.geo-compare-col-head {
  position: sticky; top: -1rem; z-index: 2;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  padding: .55rem 0; margin: -.5rem 0 0; border-bottom: 1px solid var(--geo-line);
  display: flex; align-items: center; flex-wrap: wrap; gap: .45rem;
}
.geo-compare-subhead { margin: .4rem 0 0; font-size: .92rem; font-weight: 750; color: var(--geo-accent); }

@media (max-width: 900px) {
  .geo-compare-controls, .geo-compare-diff-grid, .geo-compare-grid { grid-template-columns: 1fr; }
  .geo-compare-vs { justify-self: start; }
  .geo-drawer { width: 100vw; }
}
@media (max-width: 640px) {
  .geo-bar-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: .35rem; }
  .geo-bar-track { grid-column: 1 / -1; order: 3; }
}

/* GEO AI dual-engine analysis (text + screenshot vision) */
.geo-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.geo-ai-pill:hover { background: #f8fafc; border-color: #94a3b8; }
.geo-ai-pill.is-active { background: #ecfdf5; border-color: #6ee7b7; color: #047857; }
.geo-ai-pill.is-warn { background: #fffbeb; border-color: #fcd34d; color: #b45309; }
.geo-ai-insight-card { margin-bottom: 1rem; }
.geo-ai-body { padding-top: 8px; }
.geo-ai-alert-box {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 12.5px;
  margin-bottom: 10px;
}
.geo-ai-alert-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.geo-ai-alert-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #fca5a5;
  color: #991b1b;
  font-size: 12px;
  text-decoration: none;
}
.geo-ai-alert-chip:hover { background: #fee2e2; }
.geo-ai-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.geo-ai-row-label { font-size: 12px; font-weight: 600; color: #475569; }
.geo-ai-factor-chip, .geo-ai-vbrand-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  text-decoration: none;
}
.geo-ai-factor-chip { background: #f1f5f9; border: 1px solid #e2e8f0; color: #334155; }
.geo-ai-factor-chip:hover { background: #e2e8f0; }
.geo-ai-vbrand-chip { background: #f5f3ff; border: 1px solid #ddd6fe; color: #6d28d9; font-weight: 600; }
.geo-ai-vbrand-chip:hover { background: #ede9fe; }
.geo-ai-factor-chip em, .geo-ai-vbrand-chip em { font-style: normal; opacity: 0.72; font-size: 11px; }
.geo-ai-brand-link { font-weight: 700; color: #0f172a; text-decoration: none; }
.geo-ai-brand-link:hover { color: #2563eb; text-decoration: underline; }
.geo-ai-top1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-weight: 700;
  font-size: 11.5px;
}
.geo-ai-sent-cell { white-space: nowrap; }
.geo-ai-sent {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin-right: 3px;
}
.geo-ai-sent.is-strong { background: #dcfce7; color: #15803d; }
.geo-ai-sent.is-pos { background: #ecfdf5; color: #047857; }
.geo-ai-sent.is-neu { background: #f1f5f9; color: #475569; }
.geo-ai-sent.is-neg { background: #fee2e2; color: #b91c1c; }
.geo-ai-sent.is-card { background: #ede9fe; color: #6d28d9; }
.geo-ai-reason-cell { max-width: 320px; font-size: 12px; color: #475569; line-height: 1.45; }
.geo-ai-detail-card { border-left: 3px solid #10b981; }
.geo-ai-summary-line { font-size: 13.5px; color: #0f172a; line-height: 1.55; }
.geo-ai-advice-box {
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 9px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 12.5px;
  line-height: 1.55;
}
.geo-ai-rank-num { font-weight: 800; color: #2563eb; font-variant-numeric: tabular-nums; }
.geo-ai-vision-box {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.geo-ai-vision-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; }
.geo-ai-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(15, 23, 42, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.geo-ai-modal {
  width: min(640px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  padding: 20px 22px;
}
.geo-ai-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.geo-ai-modal-head h3 { margin: 0 0 4px; font-size: 17px; color: #0f172a; }
.geo-ai-modal-head p { margin: 0; font-size: 12.5px; line-height: 1.5; }
.geo-ai-close {
  border: 0; background: #f1f5f9; color: #334155; width: 30px; height: 30px;
  border-radius: 999px; font-size: 18px; cursor: pointer; flex: 0 0 auto;
}
.geo-ai-modal-body { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.geo-ai-progress-card { padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; }
.geo-ai-prog-row { display: flex; justify-content: space-between; font-size: 12.5px; color: #0f172a; margin-bottom: 5px; }
.geo-ai-bar { height: 7px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.geo-ai-bar-fill { height: 100%; background: linear-gradient(90deg, #10b981, #2563eb); transition: width .25s ease; }
.geo-ai-bar-fill.is-vision { background: linear-gradient(90deg, #8b5cf6, #06b6d4); }
.geo-ai-stat-line { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: 12px; color: #475569; }
.geo-ai-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.geo-ai-form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: #334155; }
.geo-ai-form-grid select, .geo-ai-form-grid input {
  height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid #cbd5e1; font-size: 13px; background: #fff;
}
.geo-ai-check-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #334155; cursor: pointer; }
.geo-ai-check-row input { width: auto; height: auto; margin: 0; }
.geo-ai-test-out {
  padding: 10px 12px; border-radius: 10px; background: #ecfdf5; border: 1px solid #a7f3d0;
  color: #065f46; font-size: 12.5px; line-height: 1.6;
}
.geo-ai-modal-foot {
  margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
}
.geo-ai-modal-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.geo-ai-mt4 { margin-top: 4px; }
.geo-ai-mt6 { margin-top: 6px; }
.geo-ai-mt8 { margin-top: 8px; }
.geo-ai-mt10 { margin-top: 10px; }
.geo-ai-submeta { font-size: 12px; }
.geo-ai-subnote { margin: 8px 0 0; font-size: 12.5px; }
.geo-ai-note { margin: 8px 0 4px; font-size: 13px; }
.geo-ai-vision-summary { margin-top: 5px; font-size: 12.5px; color: #334155; }
.geo-ai-err-line { font-size: 12px; color: #b91c1c; margin-top: 4px; }
.geo-ai-progress {
  width: 100%; height: 7px; border: 0; border-radius: 999px;
  background: #e2e8f0; overflow: hidden; display: block; appearance: none;
}
.geo-ai-progress::-webkit-progress-bar { background: #e2e8f0; border-radius: 999px; }
.geo-ai-progress::-webkit-progress-value { background: linear-gradient(90deg, #10b981, #2563eb); border-radius: 999px; }
.geo-ai-progress.is-vision::-webkit-progress-value { background: linear-gradient(90deg, #8b5cf6, #06b6d4); }
.geo-ai-progress::-moz-progress-bar { background: linear-gradient(90deg, #10b981, #2563eb); border-radius: 999px; }
.geo-ai-progress.is-vision::-moz-progress-bar { background: linear-gradient(90deg, #8b5cf6, #06b6d4); }
