.geo-toolbox-widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.25rem;
  row-gap: 1.25rem;
  gap: 1.25rem;
  align-items: stretch;
}

.geo-tool-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.geo-tool-modal[hidden] {
  display: none;
}

.geo-tool-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--geo-overlay, rgba(0, 0, 0, 0.65));
}

.geo-tool-modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--geo-bg-elevated, #111827);
  border: 1px solid var(--geo-border, rgba(0, 180, 255, 0.25));
  border-radius: 12px;
  padding: 1.25rem;
  color: var(--geo-text, #e8edf5);
}

.geo-tool-modal-panel--wide {
  width: min(920px, 100%);
}

.geo-tool-modal-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.geo-tool-modal-panel header button {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.geo-tool-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.geo-tool-form input,
.geo-tool-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--geo-border, rgba(0, 180, 255, 0.2));
  border-radius: 8px;
  background: var(--geo-input-bg, rgba(0, 0, 0, 0.35));
  color: inherit;
  font-family: inherit;
}

.geo-tool-form textarea {
  min-height: 120px;
  resize: vertical;
}

.geo-tool-result {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--geo-surface-muted, rgba(0, 180, 255, 0.08));
  border-radius: 8px;
  font-size: 0.9rem;
}

.geo-tool-result .score-big {
  font-size: 2rem;
  font-weight: 800;
  color: #00e5c8;
}

.geo-tool-result ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

/* —— Multi-platform citation preview (professional mocks) —— */
.geo-preview-suite {
  margin-top: 0.75rem;
}

.geo-preview-suite > .geo-preview-summary {
  font-size: 0.82rem;
  color: var(--geo-primary, #7dd3fc);
  margin: 0 0 1rem;
  line-height: 1.5;
  padding: 0.55rem 0.75rem;
  background: var(--geo-surface-muted, rgba(0, 180, 255, 0.08));
  border-radius: 8px;
  border-left: 3px solid var(--geo-primary, rgba(0, 180, 255, 0.5));
}

.geo-tool-next {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--geo-text-muted, #94a3b8);
  line-height: 1.5;
  padding: 0.5rem 0.65rem;
  background: var(--geo-breaking-bg, rgba(0, 229, 200, 0.06));
  border-radius: 6px;
}

.geo-llm-summary {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--geo-text-muted, #cbd5e1);
}

.geo-llm-status {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
}

.geo-llm-status.ok {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
}

.geo-llm-status.warn {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
}

.geo-preview-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .geo-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.geo-preview-card {
  padding: 0;
  border: 1px solid var(--geo-border, rgba(148, 163, 184, 0.18));
  border-radius: 10px;
  background: var(--geo-bg-card, #0c1220);
  overflow: hidden;
}

.geo-preview-card > h4 {
  margin: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--geo-text, #e2e8f0);
  background: var(--geo-surface-muted, rgba(255, 255, 255, 0.04));
  border-bottom: 1px solid var(--geo-border, rgba(148, 163, 184, 0.12));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.geo-preview-card > h4 small {
  font-weight: 500;
  color: #64748b;
  font-size: 0.68rem;
}

.geo-preview-card > .geo-pfm {
  margin: 0;
}

.geo-pfm {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--geo-text-muted, #cbd5e1);
}

.geo-pfm-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.geo-pfm-brand {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.geo-pfm-badge {
  font-size: 0.62rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 180, 255, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(0, 180, 255, 0.25);
}

.geo-pfm-badge--muted {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.2);
}

.geo-pfm-thread {
  padding: 0.65rem;
}

.geo-pfm-bubble {
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.45rem;
}

.geo-pfm-bubble--user {
  background: var(--geo-surface-muted, rgba(255, 255, 255, 0.06));
  color: var(--geo-text-muted, #94a3b8);
  font-size: 0.72rem;
  max-width: 92%;
  margin-left: auto;
  text-align: right;
}

.geo-pfm-bubble--ai {
  background: var(--geo-bg-elevated, rgba(15, 23, 42, 0.9));
  border: 1px solid var(--geo-border, rgba(148, 163, 184, 0.12));
}

.geo-pfm-bubble--flat {
  background: transparent;
  border: none;
  padding: 0.25rem 0.1rem;
}

.geo-pfm-bubble--plain {
  background: #f7f7f8;
  color: #0f172a;
  border: none;
}

.geo-pfm-bubble p {
  margin: 0 0 0.4rem;
}

.geo-pfm-sup {
  color: #38bdf8;
  font-size: 0.65em;
  margin-left: 1px;
}

.geo-pfm-source-stack {
  margin-top: 0.5rem;
}

.geo-pfm-source {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(0, 180, 255, 0.06);
  border: 1px solid rgba(0, 180, 255, 0.15);
}

.geo-pfm-source-no {
  flex: 0 0 1.25rem;
  height: 1.25rem;
  border-radius: 4px;
  background: #0369a1;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-pfm-source-main strong {
  display: block;
  font-size: 0.74rem;
  color: var(--geo-text, #e2e8f0);
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.geo-pfm-source-main p {
  margin: 0;
  font-size: 0.7rem;
  color: var(--geo-text-muted, #94a3b8);
  line-height: 1.4;
}

.geo-pfm-source-main footer {
  margin-top: 0.35rem;
  font-size: 0.65rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.geo-pfm-favicon {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(135deg, #00b4ff, #00e5c8);
  display: inline-block;
}

.geo-pfm-k-list {
  list-style: none;
  margin: 0.45rem 0;
  padding: 0;
}

.geo-pfm-k-list li {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  margin-bottom: 0.35rem;
  font-size: 0.74rem;
}

.geo-pfm-k-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #818cf8;
  margin-top: 0.45em;
  flex-shrink: 0;
}

.geo-pfm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.geo-pfm-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  font-size: 0.68rem;
  text-decoration: none;
  max-width: 100%;
}

.geo-pfm-pill--ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.25);
  color: #64748b;
}

.geo-pfm-ref-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.12), rgba(251, 113, 133, 0.08));
  border: 1px solid rgba(251, 146, 60, 0.25);
}

.geo-pfm-ref-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(145deg, #fdba74, #fb7185);
  opacity: 0.85;
}

.geo-pfm-ref-body h5 {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  color: #fef3c7;
  line-height: 1.3;
}

.geo-pfm-ref-body p {
  margin: 0;
  font-size: 0.68rem;
  color: #fcd34d;
  opacity: 0.9;
}

.geo-pfm-ref-row {
  margin-top: 0.25rem;
  font-size: 0.62rem;
  color: #fdba74;
  display: flex;
  gap: 0.25rem;
}

.geo-pfm-ref-arrow {
  color: #fb923c;
  font-size: 1.1rem;
  opacity: 0.8;
}

.geo-pfm-fn-list {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0.5rem 0 0;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.geo-pfm-fn {
  display: block;
  font-size: 0.68rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
}

.geo-pfm-fn-title {
  display: block;
  font-weight: 600;
  color: #0f172a;
}

.geo-pfm-fn-url {
  display: block;
  color: #16a34a;
  font-size: 0.62rem;
}

.geo-pfm-fn-snippet {
  display: block;
  color: #64748b;
  margin-top: 0.15rem;
  line-height: 1.4;
}

.geo-pfm-ty-sources {
  margin-top: 0.55rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.geo-pfm-ty-sources header {
  font-size: 0.65rem;
  color: #818cf8;
  margin-bottom: 0.35rem;
}

.geo-pfm-ty-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: #c7d2fe;
  font-size: 0.72rem;
  padding: 0.3rem 0;
}

.geo-pfm-ty-item i {
  font-style: normal;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  background: #4f46e5;
  color: #fff;
  font-size: 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.geo-pfm-ty-item em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.62rem;
  color: #64748b;
}

.geo-pfm-foot {
  padding: 0.55rem 0.65rem 0.65rem;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.geo-pfm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  font-size: 0.62rem;
  color: #64748b;
  margin-bottom: 0.45rem;
}

.geo-pfm-meta b {
  color: #94a3b8;
  font-weight: 600;
}

.geo-pfm-tips-title {
  margin: 0 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.geo-pfm-tips {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.45;
}

.geo-pfm-tips li {
  margin-bottom: 0.2rem;
}

/* Platform accents */
.geo-pfm--deepseek .geo-pfm-brand { color: #38bdf8; }
.geo-pfm--kimi .geo-pfm-brand { color: #a5b4fc; }
.geo-pfm--kimi .geo-pfm-lead { color: #e2e8f0; font-size: 0.76rem; }
.geo-pfm--doubao .geo-pfm-brand { color: #fb923c; }
.geo-pfm--doubao .geo-pfm-bubble--ai { border-color: rgba(251, 146, 60, 0.2); }
.geo-pfm--chatgpt .geo-pfm-brand { color: #10b981; }
.geo-pfm--tongyi .geo-pfm-brand { color: #818cf8; }
.geo-pfm--tongyi .geo-pfm-bubble--ai {
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(49, 46, 129, 0.2);
}

.geo-tool-hint,
.geo-tool-notice,
.geo-fetch-note {
  font-size: 0.8rem;
  color: var(--geo-text-muted, #94a3b8);
  margin: 0.5rem 0 0;
}

.geo-tool-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.geo-tool-check input {
  width: auto;
  margin: 0;
}

.geo-tool-error {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
}

.geo-tool-loading {
  opacity: 0.85;
}

.geo-grade {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 180, 255, 0.2);
  font-size: 0.85rem;
}

.geo-dim-bars {
  margin: 1rem 0;
}

.geo-dim-row {
  display: grid;
  grid-template-columns: 5rem 1fr 2.5rem;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
}

.geo-dim-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.geo-dim-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00b4ff, #00e5c8);
  border-radius: 3px;
}

.geo-suggestions {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.geo-plat-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}


.geo-diagnose-result h4 {
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
}

.geo-diagnose-result .geo-tool-result {
  margin-top: 0;
}

body.geo-modal-open {
  overflow: hidden;
}

.geo-result-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.geo-page-type {
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(0, 180, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
}

.geo-confidence {
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.geo-confidence.conf-high { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.geo-confidence.conf-medium { background: rgba(250, 204, 21, 0.12); color: #facc15; }
.geo-confidence.conf-low { background: rgba(248, 113, 113, 0.12); color: #f87171; }

.geo-method-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 4px;
  color: #94a3b8;
}

.geo-method-tag.llm {
  border-color: rgba(0, 229, 200, 0.4);
  color: #00e5c8;
}

.geo-warn-list {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  color: #fbbf24;
  font-size: 0.85rem;
}

.geo-breakdown {
  margin: 0.75rem 0;
  font-size: 0.82rem;
  color: var(--geo-text-muted, #94a3b8);
}

.geo-breakdown summary {
  cursor: pointer;
  color: var(--geo-primary, #00b4ff);
}

.geo-factors,
.geo-page-meta {
  font-size: 0.82rem;
  color: var(--geo-text-muted, #94a3b8);
  margin-top: 0.5rem;
}

.geo-toolbox-app {
  display: block;
  padding: 0.5rem 0 2.5rem;
}

.geo-tool-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.4rem;
  margin-bottom: 1rem;
  background: var(--geo-bg-elevated, rgba(17, 24, 39, 0.85));
  border: 1px solid var(--geo-border, rgba(0, 180, 255, 0.2));
  border-radius: 12px;
  position: sticky;
  top: max(0.5rem, env(safe-area-inset-top, 0px));
  z-index: 20;
  backdrop-filter: blur(10px);
}

.geo-tool-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--geo-text-muted, #94a3b8);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.geo-tool-tab i {
  font-size: 1.05rem;
  color: var(--geo-text-muted, #64748b);
}

.geo-tool-tab:hover {
  color: var(--geo-text, #e2e8f0);
  background: var(--geo-surface-hover, rgba(0, 180, 255, 0.08));
}

.geo-tool-tab.is-active {
  color: var(--geo-text, #e2e8f0);
  background: var(--geo-surface-hover, rgba(0, 180, 255, 0.14));
  border-color: var(--geo-border, rgba(0, 180, 255, 0.35));
  box-shadow: var(--geo-glow, 0 0 16px rgba(0, 180, 255, 0.12));
}

.geo-tool-tab.is-active i {
  color: var(--geo-primary, #00b4ff);
}

.geo-tool-tab-panels {
  min-height: 200px;
}

.geo-tool-panel[hidden] {
  display: none !important;
}

.geo-tool-panel-head {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.geo-tool-panel-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.geo-tool-panel-head h2 i {
  color: #00b4ff;
}

.geo-tool-panel-body {
  max-width: 52rem;
}

.geo-page-hero {
  margin-bottom: 1.5rem;
}

.geo-page-hero h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.geo-page-lead {
  color: var(--geo-text-muted, #94a3b8);
  margin: 0;
}

.geo-news-page {
  padding: 1rem 0 3rem;
}

.geo-news-title {
  font-size: 1.5rem;
  margin: 0;
}

.geo-news-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.geo-cat-pill {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 180, 255, 0.25);
  color: inherit;
  text-decoration: none;
  font-size: 0.85rem;
}

.geo-cat-pill.is-active,
.geo-cat-pill:hover {
  border-color: #00b4ff;
  background: rgba(0, 180, 255, 0.12);
}

.geo-tool-panel {
  padding: 1.25rem 1.35rem 1.5rem;
  background: var(--geo-bg-card, rgba(17, 24, 39, 0.72));
  border: 1px solid var(--geo-border, rgba(0, 180, 255, 0.18));
  border-radius: 12px;
}

.geo-tool-panel.is-active {
  animation: geo-tab-in 0.25s ease;
}

@keyframes geo-tab-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.geo-methodology {
  font-size: 0.82rem;
  color: var(--geo-text-muted, #94a3b8);
  line-height: 1.55;
  margin: 0 0 0.85rem;
  padding: 0.5rem 0.65rem;
  border-left: 3px solid rgba(0, 180, 255, 0.45);
  background: rgba(0, 180, 255, 0.06);
  border-radius: 0 6px 6px 0;
}

.geo-ref-band {
  font-size: 0.78rem;
  color: var(--geo-text-muted, #94a3b8);
  font-weight: 400;
}

.geo-checklist-wrap {
  margin: 0.75rem 0;
}

.geo-check-summary {
  font-size: 0.82rem;
  color: var(--geo-text-muted, #94a3b8);
  margin: 0 0 0.35rem;
}

.geo-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
}

.geo-checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.geo-checklist li i {
  grid-row: span 2;
  font-size: 1rem;
  margin-top: 0.1rem;
}

.geo-checklist li i.pass {
  color: #4ade80;
}

.geo-checklist li i.fail {
  color: #f87171;
}

.geo-check-detail {
  grid-column: 2;
  color: var(--geo-text-muted, #94a3b8);
  font-size: 0.78rem;
}

.geo-priority {
  margin-top: 0.85rem;
  padding: 0.65rem 0.75rem;
  background: rgba(0, 229, 200, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 200, 0.2);
}

.geo-priority-title {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.geo-priority ol {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.82rem;
}

.geo-benchmark {
  font-size: 0.8rem;
  color: var(--geo-text-muted, #94a3b8);
  margin: 0.5rem 0 0;
}

.geo-readiness-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.geo-readiness-chip {
  flex: 1 1 140px;
  min-width: 0;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--geo-border, rgba(0, 180, 255, 0.2));
  font-size: 0.78rem;
  line-height: 1.4;
}

.geo-readiness-chip strong {
  display: block;
  margin-bottom: 0.15rem;
}

.geo-readiness-gap {
  display: block;
  color: #fbbf24;
  margin-top: 0.2rem;
}

.geo-readiness-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: rgba(0, 180, 255, 0.15);
  margin-left: 0.35rem;
}

.geo-diagnose-section {
  margin: 1.25rem 0 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--geo-border, rgba(0, 180, 255, 0.15));
  font-size: 0.95rem;
}

.geo-diagnose-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.geo-rich-field {
  display: block;
}

.geo-rich-editor {
  min-height: 200px;
  max-height: 420px;
  overflow-y: auto;
  margin-top: 0.35rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--geo-border, rgba(0, 180, 255, 0.2));
  border-radius: 8px;
  background: var(--geo-input-bg, rgba(0, 0, 0, 0.35));
  line-height: 1.65;
  font-size: 0.92rem;
}

.geo-rich-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--geo-text-muted, #94a3b8);
  pointer-events: none;
}

.geo-rich-editor h1,
.geo-rich-editor h2,
.geo-rich-editor h3 {
  margin: 0.75rem 0 0.4rem;
  line-height: 1.35;
}

.geo-rich-editor ul,
.geo-rich-editor ol {
  margin: 0.35rem 0 0.75rem 1.2rem;
}

.geo-rich-editor p {
  margin: 0.35rem 0;
}

.geo-rich-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.35rem 0 0.75rem;
}

.geo-rich-format-hint {
  font-size: 0.78rem;
  color: var(--geo-text-muted, #94a3b8);
}

.geo-rich-detected,
.geo-rich-stats {
  font-size: 0.82rem;
  color: var(--geo-text-muted, #94a3b8);
  margin: 0 0 0.5rem;
}

@media (max-width: 1024px) {
  .geo-toolbox-widgets {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1rem;
    column-gap: 1rem;
  }
}

@media (max-width: 768px) {
  .geo-toolbox-widgets {
    grid-template-columns: 1fr;
    row-gap: 0.85rem;
  }
}
