/*
 * Keyword Search V2 site overlay. Load AFTER keyword_reliability.css (do not edit that dump).
 *
 * Tokens: #4c52bc / hover #4248be / shadow-cs-m / 8px white cards.
 * Help tooltips are portaled to document.body — .header-help-panel.portal must stay global (not only #kw_rel_root).
 * Metric columns live in ONE td (.right-metric-cell, colspan=1). Grid widths are fixed here; leftover width is 게시물 정보.
 * #analysis-result is flex column + 1rem gap because the three panels share one wrapper (content-area gap does not apply).
 * Accent bars / modal insets are capped at 2px. Dump rules are more specific — !important only fights those.
 */

#kw_rel_root {
  --primary: #4c52bc;
  --purple: #4c52bc;
  --purple-hover: #4248be;
  --brand-primary: #4c52bc;
  --brand-teal: #4c52bc;
  --brand-ink: #202020;
  --brand-copy: #3a3a3a;
  --brand-muted: #6b7280;
  --brand-line: #e6e8ef;
  --brand-soft: #f8f8f8;
  --brand-page: #edf0f5;
  --brand-card: #ffffff;
  --overview-ink: #202020;
  --overview-copy: #3a3a3a;
  --overview-muted: #6b7280;
  --overview-line: #e6e8ef;
  --overview-blue: #4c52bc;
  --overview-cyan: #6065be;
  --overview-teal: #4c52bc;
  --result-type-accent: #4c52bc;
  --result-type-pale: #e8e9f6;
  --posting-accent: #4c52bc;
  --posting-accent-pale: #e8e9f6;
  --structure-accent: #4c52bc;
  --result-premium-ink: #202020;
  --result-premium-copy: #3a3a3a;
  --result-premium-line: #e6e8ef;
  --bd-rel-r: 8px;
  --bd-rel-r-sm: 6px;
  --bd-rel-r-lg: 10px;
  --bd-rel-r-pill: 6px;
  --bd-rel-space-section: 16px;
  background: transparent;
  color: #393941;
  font-family: 'Noto Sans KR', '돋움', Dotum, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-synthesis: none;
}

/* Dump sets Pretendard/Malgun/Arial on many descendants. Inherit beats those without listing each selector. .bi keeps icon font. */
#kw_rel_root *:not(.bi) {
  font-family: inherit !important;
}

#kw_rel_root .reliability-gauge strong,
#kw_rel_root .metric-mini-gauge strong {
  font-family: inherit !important;
  font-weight: 700 !important;
}

#kw_rel_root .overview-premium-v2 .overview-section-line-title::before,
#kw_rel_root .result-panel.result-premium-v2 .result-title-line h2::before {
  display: none;
  content: none;
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-category-card:hover,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-device-card:hover,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-stat-card:hover {
  border-color: #c5c8e6;
  box-shadow:
    0 14px 28px rgba(76, 82, 188, .10),
    inset 0 1px 0 #fff;
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-category-card strong {
  color: #198754;
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-crank-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(76, 82, 188, .16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(236, 237, 250, .92));
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-crank-card strong {
  color: #4c52bc;
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-device-head span::before {
  background: #4c52bc;
  box-shadow: 0 0 0 4px rgba(76, 82, 188, .11);
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-device-row {
  border-color: #eceef5;
  border-radius: var(--bd-rel-r);
  background: rgba(248, 248, 252, .90);
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-device-row:hover {
  border-color: #c5c8e6;
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-device-row strong {
  background: linear-gradient(135deg, #4c52bc, #6065be);
  box-shadow: 0 7px 14px rgba(76, 82, 188, .18);
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-device-row dl div {
  border-color: rgba(76, 82, 188, .10);
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-stat-card.blue > span {
  color: #6b7280;
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-stat-card.blue > strong {
  color: #4c52bc;
}

#kw_rel_root .summary-stat-card.blue,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-stat-card.blue {
  border: 1px solid #4c52bc !important;
}

#kw_rel_root .summary-stat-card.green,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-stat-card.green {
  border: 1px solid #198754 !important;
}

#kw_rel_root .summary-stat-card.orange,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-stat-card.orange {
  border: 1px solid #fd7e14 !important;
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-mini-stat-card {
  border-radius: var(--bd-rel-r);
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-mini-stat-card.green {
  background:
    radial-gradient(circle at 100% 0%, rgba(25, 135, 84, .10), transparent 36%),
    #f0faf3;
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-mini-stat-card.green strong {
  color: #198754;
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-mini-stat-card.orange {
  background:
    radial-gradient(circle at 100% 0%, rgba(253, 126, 20, .10), transparent 36%),
    #fff8f1;
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-mini-stat-card.orange strong {
  color: #c05612;
}

#kw_rel_root .traffic-donut,
#kw_rel_root .summary-panel.overview-premium-v2 .traffic-donut {
  background:
    radial-gradient(circle at center, #fff 0 54%, transparent 56%),
    conic-gradient(#4c52bc 0 var(--pc-ratio), #9aa0d6 var(--pc-ratio) 100%);
  box-shadow: inset 0 0 0 1px rgba(76, 82, 188, 0.14), 0 5px 12px rgba(37, 40, 91, 0.08);
}

#kw_rel_root .traffic-donut-large,
#kw_rel_root .summary-panel.overview-premium-v2 .traffic-donut-large {
  background:
    radial-gradient(circle at center, #f8f8fc 0 47%, transparent 49%),
    conic-gradient(#4c52bc 0 var(--pc-ratio), #9aa0d6 var(--pc-ratio) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(76, 82, 188, .12),
    0 8px 20px rgba(76, 82, 188, .12);
}

#kw_rel_root .traffic-donut b,
#kw_rel_root .traffic-donut-large b em:first-child {
  color: #4c52bc;
}

#kw_rel_root .traffic-donut-legend i.pc {
  background: #4c52bc;
}

#kw_rel_root .traffic-donut-legend i.mo {
  background: #9aa0d6;
}

#kw_rel_root .traffic-donut-large-row {
  border-top-color: #e4e6f0;
}

/* Same icon as other site pages (bi-question-circle-fill). Button chrome only — panels stay. */
#kw_rel_root .header-help,
#kw_rel_root .sample-help,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-crank-help-row .header-help,
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-title-row .header-help,
#kw_rel_root .baseline-panel.overview-premium-v2 .sample-help {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: 1 !important;
}

#kw_rel_root .header-help::before,
#kw_rel_root .sample-help::before,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-crank-help-row .header-help::before {
  display: none !important;
  content: none !important;
}

#kw_rel_root .header-help > .bi,
#kw_rel_root .sample-help > .bi {
  font-size: 12px;
  line-height: 1;
}

#kw_rel_root .header-help-panel,
#kw_rel_root .sample-help-panel {
  border-color: #c5c8e6;
}

#kw_rel_root .ticket-pair em.topic-ticket {
  border-color: #86efac;
  background: #f0faf3;
  color: #198754;
}

#kw_rel_root .summary-crank-ticket-pair em {
  display: inline-block;
  width: max-content;
  max-width: none;
  height: auto;
  overflow: visible;
  padding: 3px 6px;
  line-height: 1.2;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
  word-break: keep-all;
}

#kw_rel_root .ticket-pair em.fit-ticket {
  border-color: #c5c8e6;
  background: #eef0f8;
  color: #4c52bc;
}

#kw_rel_root .ticket-pair em.fit-ticket.stage-high {
  border-color: #a5b4fc;
  background: #eef0ff;
  color: #3730a3;
}

#kw_rel_root .ticket-pair em.fit-ticket.stage-good {
  border-color: #86efac;
  background: #f0faf3;
  color: #198754;
}

#kw_rel_root .ticket-pair em.fit-ticket.stage-normal {
  border-color: #c5c8e6;
  background: #eef0f8;
  color: #4c52bc;
}

#kw_rel_root .ticket-pair em.fit-ticket.stage-low {
  border-color: #f5c2c7;
  background: #fff8f1;
  color: #c05612;
}

#kw_rel_root .ticket-pair em.fit-ticket.stage-missing,
#kw_rel_root .ticket-pair em.fit-ticket.stage-excluded {
  border-color: #f5c2c7;
  background: #fff1f2;
  color: #be123c;
}

#kw_rel_root .sample-card strong.sample-blue-text {
  color: #4c52bc;
}

#kw_rel_root .weight-body > div {
  border-radius: var(--bd-rel-r);
}

#kw_rel_root .baseline-panel.overview-premium-v2 .weight-result-card {
  border-color: #d4d6ec;
  background: linear-gradient(135deg, rgba(238, 240, 248, .94), rgba(240, 250, 243, .88));
}

#kw_rel_root .baseline-panel.overview-premium-v2 .weight-result-card > strong {
  color: #4c52bc;
}

#kw_rel_root .overview-detail-analysis-button {
  border-color: rgba(76, 82, 188, .28);
  border-radius: var(--bd-rel-r);
  background: linear-gradient(135deg, #4c52bc 0%, #6065be 58%, #4248be 130%);
  box-shadow: 0 7px 16px rgba(76, 82, 188, .18), inset 0 1px 0 rgba(255, 255, 255, .34);
}

#kw_rel_root .overview-detail-analysis-button:hover {
  transform: none;
  box-shadow: 0 10px 22px rgba(76, 82, 188, .24), inset 0 1px 0 rgba(255, 255, 255, .40);
}

#kw_rel_root .overview-detail-analysis-button:focus-visible {
  outline-color: rgba(76, 82, 188, .24);
}

#kw_rel_root .sample-card-result-type .sample-label-row {
  position: relative;
  padding-right: 0;
}

#kw_rel_root .sample-card-result-type .sample-card-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#kw_rel_root .overview-detail-cue-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

#kw_rel_root .overview-detail-cue {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #6366a8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  animation: bdRelActionCue 1.6s ease-in-out infinite;
}

#kw_rel_root .overview-detail-cue b {
  display: inline-block;
  margin-right: 1px;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  animation: bdRelActionCuePoint 1.6s ease-in-out infinite;
}

#kw_rel_root .result-type-detail-wrap {
  margin-left: auto;
}

#kw_rel_root .result-type-detail-button,
#kw_rel_root .result-type-detail-button:hover,
#kw_rel_root .result-type-detail-button:focus-visible {
  position: relative;
  top: auto;
  right: auto;
  z-index: 6;
  margin-left: 0;
  transform: none !important;
}

#kw_rel_root .result-panel.result-premium-v2 .post-title-line a {
  color: #4c52bc;
}

#kw_rel_root .result-panel.result-premium-v2 .post-title-line a:hover,
#kw_rel_root .result-panel.result-premium-v2 .post-title-line a:focus-visible {
  color: #4248be;
  text-decoration-color: rgba(76, 82, 188, .42);
}

#kw_rel_root .result-panel.result-premium-v2 .source-badge {
  border-color: #b9eadb;
  background: #f0faf3;
  color: #198754;
}

#kw_rel_root .result-panel.result-premium-v2 .integration-ticket,
#kw_rel_root .result-panel.result-premium-v2 .cert-cell span {
  border-color: #c5c8e6;
  background: #eef0f8;
  color: #4c52bc;
}

#kw_rel_root .result-panel.result-premium-v2 .metric-data-cell.basic-metric.above-average,
#kw_rel_root .result-panel.result-premium-v2 .metric-data-cell.basic-metric.buddy-metric.above-average {
  color: #198754;
}

#kw_rel_root .keyword-mode-step {
  border: 1px solid #e4e6f0;
  border-radius: var(--bd-rel-r);
  background: #fff;
}

#kw_rel_root .keyword-mode-step.active {
  border-color: #4c52bc;
  background: rgba(76, 82, 188, .08);
  color: #4c52bc;
  box-shadow: 0 6px 14px rgba(76, 82, 188, .10);
}

#kw_rel_root .search-result-type-scale .keyword-mode-step.active > b,
#kw_rel_root .search-result-type-scale .keyword-mode-step.active > em,
#kw_rel_root .search-result-type-scale .keyword-mode-step.active > .search-result-type-ratio {
  color: #fff !important;
}

#kw_rel_root .posting-result-ticket {
  border: 1px solid #eee;
  border-radius: var(--bd-rel-r);
  background: #fff;
  box-shadow: none;
}

#kw_rel_root .posting-result-route,
#kw_rel_root .posting-result-interpretation {
  border-color: #e4e6f0;
  border-radius: var(--bd-rel-r);
}

#kw_rel_root [data-open-result-type],
#kw_rel_root [data-open-flow]:not(.overview-detail-analysis-button),
#kw_rel_root .result-tip-button {
  border: 1px solid #4c52bc;
  border-radius: var(--bd-rel-r);
  background: #4c52bc;
  color: #fff;
}

#kw_rel_root [data-open-result-type]:hover,
#kw_rel_root [data-open-flow]:not(.overview-detail-analysis-button):hover,
#kw_rel_root .result-tip-button:hover {
  background: #4248be;
}

#kw_rel_root .result-table-wrap {
  border: 1px solid #eef0f3;
  border-radius: var(--bd-rel-r);
  overflow-x: auto;
  overflow-y: visible;
}

/* fixed + one metric td: leftover width goes to 게시물 정보. colspan>1 breaks this. */
#kw_rel_root .result-table {
  width: 100%;
  min-width: 1652px;
  table-layout: fixed;
}

#kw_rel_root .result-table.compact,
#kw_rel_root .result-table.compact.screen-rank-hidden {
  width: 100%;
  min-width: 0;
}

#kw_rel_root .result-table.screen-rank-hidden {
  min-width: 1596px;
}

#kw_rel_root .right-metric-grid,
#kw_rel_root .right-metric-grid.header-grid {
  min-width: 0;
}

#kw_rel_root .right-metric-grid.compact {
  min-width: 0;
}

#kw_rel_root .table-wrap,
#kw_rel_root .bd-rel-ai-table-wrap {
  border: 1px solid #eef0f3;
  border-radius: var(--bd-rel-r);
  overflow: hidden;
}

#kw_rel_root .result-table thead th,
#kw_rel_root .segment-table thead th,
#kw_rel_root #result-table-head th {
  background: rgb(235, 235, 235);
  color: rgb(55, 55, 55);
  font-size: 12px;
  font-weight: 700;
}

#kw_rel_root .keyword-flow-detail-dialog,
#kw_rel_root .keyword-result-type-detail-dialog {
  border: 1px solid #e4e6f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(37, 40, 91, .12);
}

#kw_rel_root .keyword-flow-detail-dialog-head,
#kw_rel_root .keyword-result-type-dialog-head {
  background: #f7f8fc;
  border-bottom: 1px solid #eee;
}

#kw_rel_root .view-switch i,
#kw_rel_root .result-panel.result-premium-v2 .view-switch i,
#kw_rel_root .result-panel.result-premium-v2 label.view-switch i,
#kw_rel_root .result-panel.result-premium-v2 .power-switch i,
#kw_rel_root .result-panel.result-premium-v2 .external-switch i,
#kw_rel_root .result-panel.result-premium-v2 .graph-switch i,
#kw_rel_root .result-panel.result-premium-v2 label.view-switch.title-expand-switch i,
#kw_rel_root .result-panel.result-premium-v2 label.view-switch.screen-rank-switch i {
  border: 1px solid #d0d4e0;
  background: #d9dce8;
  box-shadow: none;
}

#kw_rel_root .view-switch input:checked + i,
#kw_rel_root .result-panel.result-premium-v2 .view-switch input:checked + i,
#kw_rel_root .result-panel.result-premium-v2 label.view-switch input:checked + i,
#kw_rel_root .result-panel.result-premium-v2 label.view-switch.title-expand-switch input:checked + i,
#kw_rel_root .result-panel.result-premium-v2 label.view-switch.screen-rank-switch input:checked + i,
#kw_rel_root .result-panel.result-premium-v2 .power-switch input:checked + i,
#kw_rel_root .result-panel.result-premium-v2 .external-switch input:checked + i,
#kw_rel_root .result-panel.result-premium-v2 .graph-switch input:checked + i,
#kw_rel_root .result-panel.result-premium-v2 .detail-switch input:checked + i {
  border-color: #4c52bc;
  background: #4c52bc;
  box-shadow: none;
}

#kw_rel_root .segment-chip-best,
#kw_rel_root .segment-chip-strong,
#kw_rel_root .segment-chip-advantage {
  background: rgba(76, 82, 188, .10);
  border-color: #c5c8e6;
  color: #4c52bc;
}

#kw_rel_root .notice.error {
  border: 1px solid #f5c2c7;
  border-radius: var(--bd-rel-r);
  background: #fff5f5;
  color: #dc3545;
}

/* Live card chrome. Earlier dump-style gradients were removed; this block is the site look. */
#kw_rel_root .panel,
#kw_rel_root .summary-panel.overview-premium-v2,
#kw_rel_root .baseline-panel.overview-premium-v2,
#kw_rel_root .result-panel.result-premium-v2 {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.1rem 1rem rgb(0 0 0 / 5%);
}

#kw_rel_root .summary-panel.overview-premium-v2::before,
#kw_rel_root .baseline-panel.overview-premium-v2::before,
#kw_rel_root .result-panel.result-premium-v2::before,
#kw_rel_root .summary-panel.overview-premium-v2::after,
#kw_rel_root .baseline-panel.overview-premium-v2::after,
#kw_rel_root .result-panel.result-premium-v2::after,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-category-card::after,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-crank-card::after,
#kw_rel_root .summary-stat-card::after,
#kw_rel_root .summary-mini-stat-card::after,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-stat-card::after,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-stat-card.blue::after,
#kw_rel_root .weight-card::after,
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-card::after,
#kw_rel_root .baseline-panel.overview-premium-v2 .sample-card::after {
  display: none;
  content: none;
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-category-card,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-device-card,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-stat-card,
#kw_rel_root .sample-card,
#kw_rel_root .weight-card,
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-card,
#kw_rel_root .segment-table-card,
#kw_rel_root .baseline-panel.overview-premium-v2 .segment-table-card {
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.1rem 1rem rgb(0 0 0 / 5%);
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-category-card::before,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-crank-card::before,
#kw_rel_root .weight-card::before,
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-card::before {
  display: none;
  content: none;
}

#kw_rel_root .sample-card {
  background: #fff;
}

#kw_rel_root .baseline-panel.overview-premium-v2 .sample-card,
#kw_rel_root .baseline-panel.overview-premium-v2 .sample-card:hover,
#kw_rel_root .baseline-panel.overview-premium-v2 .sample-card:focus-within,
#kw_rel_root .baseline-panel.overview-premium-v2[data-motion-ready="true"] .sample-card,
#kw_rel_root .baseline-panel.overview-premium-v2[data-motion-ready="true"] .sample-card:hover,
#kw_rel_root .baseline-panel.overview-premium-v2[data-motion-ready="true"] .sample-card:focus-within,
#kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded > .sample-card-detail-mode,
#kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-keyword-cohesion,
#kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded > .sample-card-detail-mode:hover,
#kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-keyword-cohesion:hover {
  border: 1px solid var(--sample-accent, #4c52bc) !important;
  box-shadow: 0 0.1rem 1rem rgb(0 0 0 / 5%) !important;
  transform: none !important;
  translate: none !important;
  transition: none !important;
  align-self: start !important;
}

#kw_rel_root .baseline-panel.overview-premium-v2 .sample-card:hover,
#kw_rel_root .baseline-panel.overview-premium-v2 .sample-card:focus-within {
  z-index: 5 !important;
}

#kw_rel_root .baseline-panel.overview-premium-v2 .detail-mode-stage-reveal,
#kw_rel_root .baseline-panel.overview-premium-v2 .keyword-cohesion-stage-reveal,
#kw_rel_root .sample-card-grid.is-detail-mode-expanded .detail-mode-stage-reveal,
#kw_rel_root .sample-card-grid.is-keyword-cohesion-expanded .keyword-cohesion-stage-reveal,
#kw_rel_root .sample-card-grid.is-detail-mode-expanded.detail-mode-phase-opening .detail-mode-stage-reveal,
#kw_rel_root .sample-card-grid.is-keyword-cohesion-expanded.keyword-cohesion-phase-opening .keyword-cohesion-stage-reveal,
#kw_rel_root .sample-card-grid.is-detail-mode-expanded.is-detail-mode-closing .detail-mode-stage-reveal,
#kw_rel_root .sample-card-grid.is-keyword-cohesion-expanded.is-keyword-cohesion-closing .keyword-cohesion-stage-reveal {
  transform: none !important;
  translate: none !important;
  transition: none !important;
}

#kw_rel_root .content-area {
  gap: 16px;
  padding-bottom: 24px;
}

/* Three panels share this wrapper; content-area gap never reaches them. */
#kw_rel_root #analysis-result {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#kw_rel_root .summary-panel.overview-premium-v2 .summary-dashboard,
#kw_rel_root .summary-panel.overview-premium-v2 .summary-category-stack,
#kw_rel_root .sample-card-grid {
  gap: 12px;
}

#kw_rel_root .segment-grid,
#kw_rel_root .baseline-grid {
  gap: 16px;
}

#kw_rel_root .weight-card,
#kw_rel_root .sample-card,
#kw_rel_root .summary-category-card,
#kw_rel_root .metric-header-cell {
  overflow: visible;
}

#kw_rel_root .metric-header-cell,
#kw_rel_root .metric-header-label,
#kw_rel_root .metric-header-label .header-help-wrap,
#kw_rel_root .metric-header-label .header-help-wrap > span:first-child {
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

/* Rank cols only. nth-child(2/3) is 게시물정보 or 지표칸 once 화면순위 is hidden — do not use those. */
#kw_rel_root .result-table:not(.screen-rank-hidden) th:nth-child(1),
#kw_rel_root .result-table:not(.screen-rank-hidden) td:nth-child(1),
#kw_rel_root .result-table:not(.screen-rank-hidden) th:nth-child(2),
#kw_rel_root .result-table:not(.screen-rank-hidden) td:nth-child(2),
#kw_rel_root .result-table.screen-rank-hidden th:nth-child(1),
#kw_rel_root .result-table.screen-rank-hidden td:nth-child(1) {
  width: 56px;
}

#kw_rel_root .result-table:not(.compact) td.right-metric-cell,
#kw_rel_root .result-table:not(.compact) th.right-metric-header-cell,
#kw_rel_root .result-table:not(.compact).screen-rank-hidden td.right-metric-cell,
#kw_rel_root .result-table:not(.compact).screen-rank-hidden th.right-metric-header-cell {
  width: 1220px !important;
  min-width: 1220px !important;
  max-width: 1220px !important;
}

#kw_rel_root .result-table:not(.compact) th.post-info-header,
#kw_rel_root .result-table:not(.compact) td.post-info-cell {
  width: auto !important;
  min-width: 320px !important;
  max-width: none !important;
}

#kw_rel_root .result-table.compact th.post-info-header,
#kw_rel_root .result-table.compact td.post-info-cell {
  width: 22% !important;
  min-width: 220px !important;
  max-width: 360px !important;
}

#kw_rel_root .post-title-line a {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#kw_rel_root .post-info-cell.title-expanded .post-title-line a {
  max-width: none;
  white-space: normal;
}

#kw_rel_root .right-metric-grid,
#kw_rel_root .right-metric-grid.header-grid {
  width: 1220px !important;
  min-width: 1220px !important;
  max-width: 1220px !important;
  justify-content: start;
  /* 콘텐츠완성도/종합신뢰도 80%, 지수 90%, 게시날짜 110%. leftover → 공식인증 (was clipped at 48). */
  grid-template-columns:
    72px 56px 70px 56px 56px 48px 48px 48px 48px 78px
    80px 64px 64px 64px 64px 64px 80px 80px !important;
}

#kw_rel_root .right-metric-grid.compact,
#kw_rel_root .right-metric-grid.compact.header-grid {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  justify-content: stretch;
  grid-template-columns:
    minmax(0, .72fr)
    minmax(0, .55fr)
    minmax(0, .95fr)
    minmax(0, .50fr)
    minmax(0, .50fr)
    minmax(0, .50fr)
    minmax(0, .50fr)
    minmax(0, .50fr)
    minmax(0, .95fr)
    minmax(0, .70fr) !important;
}

#kw_rel_root .result-table.compact .right-metric-cell,
#kw_rel_root .result-table.compact .right-metric-header-cell,
#kw_rel_root .result-table.compact.screen-rank-hidden .right-metric-cell,
#kw_rel_root .result-table.compact.screen-rank-hidden .right-metric-header-cell {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

#kw_rel_root .result-table:not(.compact) .metric-data-cell.cert-cell {
  min-width: 0;
  max-width: none;
}

#kw_rel_root .right-metric-grid.compact > .metric-data-cell.cert-cell {
  min-width: 0;
  max-width: none;
}

#kw_rel_root .right-metric-grid:not(.compact) > .metric-data-cell:nth-child(10),
#kw_rel_root .right-metric-grid.compact > .metric-data-cell:nth-child(3) {
  overflow: visible;
  padding-left: 4px;
  padding-right: 4px;
}

#kw_rel_root .segment-card,
#kw_rel_root .segment-card.segment-card-top,
#kw_rel_root .segment-card.segment-card-upper,
#kw_rel_root .segment-card.segment-card-middle,
#kw_rel_root .segment-card.segment-card-lower,
#kw_rel_root .segment-card:nth-child(3),
#kw_rel_root .segment-card:nth-child(4),
#kw_rel_root .segment-card.segment-card-muted,
#kw_rel_root .baseline-panel.overview-premium-v2 .segment-card,
#kw_rel_root .baseline-panel.overview-premium-v2 .segment-card.segment-card-muted {
  --segment-active-title-gradient: none;
  border: 1px solid #eee;
  background: #fff;
  box-shadow: 0 0.1rem 1rem rgb(0 0 0 / 5%);
  filter: none;
  opacity: 1;
}

#kw_rel_root .segment-card::before,
#kw_rel_root .segment-card::after,
#kw_rel_root .segment-card.segment-card-top::before,
#kw_rel_root .segment-card.segment-card-upper::before,
#kw_rel_root .segment-card.segment-card-middle::before,
#kw_rel_root .segment-card.segment-card-lower::before,
#kw_rel_root .segment-card:nth-child(3)::before,
#kw_rel_root .segment-card:nth-child(4)::before {
  display: none;
  content: none;
}

/* 우세/강세가 가장 많은 구간만. 상단 1px 바·한 변 강조는 쓰지 않음. */
#kw_rel_root .segment-card.segment-card-active,
#kw_rel_root .baseline-panel.overview-premium-v2 .segment-card.segment-card-active {
  box-shadow: 0 0.1rem 1rem rgb(0 0 0 / 5%);
}

#kw_rel_root .segment-card.segment-card-top.segment-card-active,
#kw_rel_root .baseline-panel.overview-premium-v2 .segment-card.segment-card-top.segment-card-active {
  border-color: #4c52bc;
}

#kw_rel_root .segment-card.segment-card-upper.segment-card-active,
#kw_rel_root .baseline-panel.overview-premium-v2 .segment-card.segment-card-upper.segment-card-active {
  border-color: #2563eb;
}

#kw_rel_root .segment-card.segment-card-middle.segment-card-active,
#kw_rel_root .segment-card:nth-child(3).segment-card-active,
#kw_rel_root .baseline-panel.overview-premium-v2 .segment-card.segment-card-middle.segment-card-active {
  border-color: #198754;
}

#kw_rel_root .segment-card.segment-card-lower.segment-card-active,
#kw_rel_root .segment-card:nth-child(4).segment-card-active,
#kw_rel_root .baseline-panel.overview-premium-v2 .segment-card.segment-card-lower.segment-card-active {
  border-color: #dc3545;
}

#kw_rel_root .segment-card.segment-card-active .segment-card-head h2,
#kw_rel_root .segment-card.segment-card-top .segment-card-head h2,
#kw_rel_root .segment-card.segment-card-top.segment-card-active .segment-card-head h2,
#kw_rel_root .baseline-panel.overview-premium-v2 .segment-card.segment-card-active .segment-card-head h2,
#kw_rel_root .baseline-panel.overview-premium-v2 .segment-card.segment-card-top.segment-card-active .segment-card-head h2 {
  color: #202020;
  background: none;
  -webkit-text-fill-color: #202020;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  text-shadow: none;
  animation: none;
}

#kw_rel_root .segment-card.segment-card-top .segment-card-head strong,
#kw_rel_root .segment-card.segment-card-top .segment-main-score > b {
  color: #4c52bc;
}

#kw_rel_root .segment-card.segment-card-top .segment-main-score {
  border-color: #d9dced;
  background: #f7f7fb;
}

#kw_rel_root .segment-card.segment-card-top .segment-main-score i {
  background: #e8e9f4;
}

#kw_rel_root .segment-card.segment-card-top .segment-main-score i b {
  background: #4c52bc;
}

#kw_rel_root .segment-chip-grid {
  overflow: visible;
  padding-top: 8px;
  gap: 8px;
}

#kw_rel_root .segment-chip {
  min-height: 38px;
  padding: 6px 10px;
}

#kw_rel_root .segment-chip em {
  top: -7px;
}

/* Portaled to body by display.js — must not live only under #kw_rel_root. */
.header-help-panel.portal {
  position: fixed !important;
  z-index: 100000 !important;
  display: block !important;
  width: 310px;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(37, 40, 91, 0.16);
  color: #3a3a3a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
  white-space: normal;
  word-break: keep-all;
  transform: none !important;
  pointer-events: none;
}

/* Accent bars cap at 2px. Modal/type panels: flat white, no dots/washes. */
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-flow-row.is-collapse-focus:not(.is-destruction-candidate):not(.is-destruction-culprit),
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-flow-row.is-destruction-candidate:not(.is-destruction-culprit) {
  background: #fff8f9;
  box-shadow: inset 2px 0 0 rgba(217, 111, 130, .72);
}

#kw_rel_root .baseline-panel.overview-premium-v2 .weight-flow-row.is-destruction-culprit {
  background: #fff5f5;
  box-shadow: inset 2px 0 0 #b91c1c;
}

#kw_rel_root .keyword-flow-detail-dialog-head::before {
  width: 2px;
  background: #4c52bc;
}

#kw_rel_root .keyword-flow-detail-dialog,
#kw_rel_root .content-area .keyword-flow-detail-dialog {
  background: #fff;
}

#kw_rel_root .keyword-competitor-analysis-shell .keyword-chapter-easy-ticket,
#kw_rel_root .posting-result-ticket {
  border: 1px solid #eee;
  background: #fff;
  box-shadow: inset 2px 0 0 #4c52bc;
}

#kw_rel_root .keyword-competitor-analysis-shell .keyword-result-type-suite,
#kw_rel_root .keyword-competitor-analysis-shell .keyword-result-type-suite .keyword-result-type-section,
#kw_rel_root .keyword-competitor-analysis-shell .keyword-result-type-suite .keyword-ad-penetration-section,
#kw_rel_root .keyword-result-type-section,
#kw_rel_root .keyword-ad-penetration-section,
#kw_rel_root .keyword-deep-analysis .keyword-precision-question-panel,
#kw_rel_root .keyword-deep-analysis .keyword-signal-convergence,
#kw_rel_root .keyword-deep-analysis .keyword-final-synthesis,
#kw_rel_root .keyword-deep-section,
#kw_rel_root .keyword-market-structure,
#kw_rel_root .keyword-sample-audit,
#kw_rel_root .keyword-signal-flow-summary,
#kw_rel_root .posting-result-route,
#kw_rel_root .posting-result-interpretation,
#kw_rel_root .posting-result-comparison > .primary,
#kw_rel_root .posting-result-comparison > .secondary {
  border: 1px solid #eee !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 0.1rem 1rem rgb(0 0 0 / 5%) !important;
}

#kw_rel_root .keyword-competitor-analysis-shell .keyword-result-type-suite {
  border-top: 2px solid #4c52bc !important;
}

#kw_rel_root .keyword-deep-analysis .keyword-narrative-insight {
  border: 1px solid #dce4ee !important;
  border-left: 1px solid var(--narrative-accent, #52627a) !important;
}

#kw_rel_root .keyword-deep-analysis .keyword-narrative-finding-grid > section,
#kw_rel_root .keyword-deep-analysis .keyword-narrative-finding-grid .keyword-narrative-finding-note,
#kw_rel_root .keyword-deep-analysis .keyword-narrative-finding-grid .keyword-sample-quality-conclusion {
  overflow: visible;
}

#kw_rel_root .keyword-deep-analysis .keyword-narrative-finding-grid .keyword-narrative-finding-note {
  margin: 7px 0 0;
  padding-top: 7px;
  border-top: 1px dashed #d9e1eb;
  color: #6c788a;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.6;
}

#kw_rel_root .keyword-deep-analysis .keyword-narrative-finding-grid .keyword-sample-quality-conclusion {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #9edbd0;
  border-left: 1px solid #0f9f83;
  border-radius: 11px;
  background: linear-gradient(135deg, #ecfdf7 0%, #f7fffc 58%, #eef7ff 100%);
  box-shadow: 0 7px 18px rgba(15, 159, 131, .09), inset 0 1px 0 rgba(255, 255, 255, .9);
  color: #174f4a;
}

#kw_rel_root .keyword-deep-analysis .keyword-narrative-finding-grid .keyword-sample-quality-conclusion > span {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #d7f7ed;
  color: #08745f;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .025em;
  line-height: 1.3;
}

#kw_rel_root .keyword-deep-analysis .keyword-narrative-finding-grid .keyword-sample-quality-conclusion > p {
  margin: 0;
  color: #173b46;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.65;
}

#kw_rel_root .keyword-deep-analysis .keyword-final-synthesis::before,
#kw_rel_root .posting-top-alignment::before,
#kw_rel_root .keyword-competitor-analysis-shell .keyword-chapter-top-conclusion::before,
#kw_rel_root .keyword-competitor-analysis-shell .posting-top-alignment.keyword-chapter-top-conclusion::before,
#kw_rel_root .keyword-signal-summary-order li.is-collapse-focus::after {
  display: none !important;
  content: none !important;
  background-image: none !important;
}

#kw_rel_root .keyword-deep-analysis .keyword-question-kpi-card::before {
  height: 2px;
  opacity: 1;
}

#kw_rel_root .keyword-signal-map-facts > article::before {
  height: 2px;
}

#kw_rel_root .keyword-signal-map-facts > article.is-destruction-culprit {
  background: #fff5f5 !important;
  box-shadow: inset 2px 0 0 #b91c1c !important;
}

#kw_rel_root .keyword-signal-summary-impact,
#kw_rel_root .keyword-signal-summary-segment {
  border-left-width: 2px;
  background: #fff;
}

#kw_rel_root .keyword-signal-summary-order li.is-collapse-focus,
#kw_rel_root .keyword-signal-summary-order li.is-destruction-candidate:not(.is-destruction-culprit) {
  background: #fff8f9;
  box-shadow: inset 2px 0 0 rgba(217, 111, 130, .72);
}

#kw_rel_root .keyword-signal-summary-order li.is-destruction-culprit {
  background: #fff5f5;
  box-shadow: inset 2px 0 0 #b91c1c;
}

#kw_rel_root .posting-top-contrast-map article::before {
  width: 2px;
}

#kw_rel_root .posting-top-alignment,
#kw_rel_root .keyword-competitor-analysis-shell .keyword-chapter-top-conclusion,
#kw_rel_root .keyword-competitor-analysis-shell .posting-top-alignment.keyword-chapter-top-conclusion,
#kw_rel_root .posting-top-alignment-reading > section,
#kw_rel_root .posting-top-alignment-reading > section.is-active,
#kw_rel_root .posting-top-alignment.is-mismatch .posting-top-alignment-reading > section.is-active {
  background: #fff !important;
  background-image: none !important;
  box-shadow: inset 2px 0 0 #4c52bc !important;
}

#kw_rel_root .posting-top-alignment.is-mismatch .posting-top-alignment-reading > section.is-active,
#kw_rel_root .keyword-competitor-analysis-shell .posting-top-alignment.keyword-chapter-top-conclusion.is-mismatch {
  box-shadow: inset 2px 0 0 #dc3545 !important;
}

#kw_rel_root .keyword-result-type-popup-classification,
#kw_rel_root .keyword-result-type-popup-readings > article {
  border: 1px solid #eee !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
}

#kw_rel_root .keyword-result-type-popup-readings > article::after {
  display: none !important;
  content: none !important;
}

#kw_rel_root .keyword-result-type-detail-dialog .keyword-result-type-popup-levels article,
#kw_rel_root .keyword-result-type-levels article {
  border: 1px solid #dcfce7 !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
}

#kw_rel_root .keyword-result-type-detail-dialog .keyword-result-type-popup-levels article > span,
#kw_rel_root .keyword-result-type-levels article > span {
  background: #dcfce7 !important;
  color: #166534 !important;
}

#kw_rel_root .keyword-result-type-levels article.active,
#kw_rel_root .competitor-position-levels article.active,
#kw_rel_root .keyword-result-type-detail-dialog .keyword-result-type-popup-levels article.active {
  border: 2px solid #16a34a !important;
  background: #f0fdf4 !important;
  box-shadow: none !important;
  transform: none !important;
}

#kw_rel_root .keyword-result-type-levels article.active > span,
#kw_rel_root .keyword-result-type-levels article.active > b,
#kw_rel_root .competitor-position-levels article.active > span,
#kw_rel_root .competitor-position-levels article.active > b,
#kw_rel_root .keyword-result-type-detail-dialog .keyword-result-type-popup-levels article.active > span,
#kw_rel_root .keyword-result-type-detail-dialog .keyword-result-type-popup-levels article.active > b {
  background: #16a34a !important;
  color: #fff !important;
}

#kw_rel_root .keyword-result-type-levels article small,
#kw_rel_root .keyword-result-type-detail-dialog .keyword-result-type-popup-levels article small {
  color: #166534 !important;
}

#kw_rel_root .posting-result-route > .outcome,
#kw_rel_root .posting-result-route > section,
#kw_rel_root .posting-result-comparison > section,
#kw_rel_root .posting-result-interpretation section {
  box-shadow: none;
  background: #fff;
  border-color: #eee;
}

/* Score bars: flat solid fill, gray track. */
#kw_rel_root .reliability-gauge {
  --track-color: #eee;
  background: #eee !important;
  box-shadow: none !important;
}

#kw_rel_root .reliability-gauge.low,
#kw_rel_root .reliability-gauge.level-red {
  --fill-color: #dc3545;
}

#kw_rel_root .reliability-gauge.mid,
#kw_rel_root .reliability-gauge.level-orange {
  --fill-color: #fd7e14;
}

#kw_rel_root .reliability-gauge.level-yellow {
  --fill-color: #ecc539;
}

#kw_rel_root .reliability-gauge.high,
#kw_rel_root .reliability-gauge.level-green {
  --fill-color: #198754;
}

#kw_rel_root .reliability-gauge.level-blue,
#kw_rel_root .reliability-gauge.level-purple {
  --fill-color: #4c52bc;
}

#kw_rel_root .reliability-gauge strong,
#kw_rel_root .result-panel .reliability-gauge strong,
#kw_rel_root .reliability-gauge.low strong,
#kw_rel_root .reliability-gauge.level-yellow strong,
#kw_rel_root .reliability-gauge.level-red strong,
#kw_rel_root .unexposed-full-table-card .result-table .metric-data-cell .reliability-gauge strong {
  color: #fff !important;
  font-size: 11px !important;
  -webkit-text-stroke: 0.4px rgba(15, 23, 42, .45);
  paint-order: stroke fill;
  text-shadow: 0 1px 2px rgb(15 23 42 / 65%) !important;
}

#kw_rel_root .keyword-ad-reliability-cell .reliability-gauge strong {
  font-size: 11px !important;
}

#kw_rel_root .reliability-gauge::before {
  display: none !important;
  content: none !important;
}

#kw_rel_root .reliability-gauge i {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0 !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: #eee !important;
  box-shadow: none !important;
  line-height: 0;
  font-size: 0;
}

#kw_rel_root .reliability-gauge i b,
#kw_rel_root .reliability-gauge.low i b,
#kw_rel_root .reliability-gauge.mid i b,
#kw_rel_root .reliability-gauge.high i b,
#kw_rel_root .reliability-gauge.level-red i b,
#kw_rel_root .reliability-gauge.level-orange i b,
#kw_rel_root .reliability-gauge.level-yellow i b,
#kw_rel_root .reliability-gauge.level-green i b,
#kw_rel_root .reliability-gauge.level-blue i b,
#kw_rel_root .reliability-gauge.level-purple i b {
  height: 100%;
  border-radius: 999px;
  background: var(--fill-color) !important;
  background-image: none !important;
  box-shadow: none !important;
}

#kw_rel_root .weight-body strong,
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-body strong {
  font-size: 13px !important;
}

#kw_rel_root .sample-score-gauge em,
#kw_rel_root .baseline-panel.overview-premium-v2 .sample-score-gauge em {
  font-size: 11.5px !important;
}

#kw_rel_root .segment-main-score > b {
  font-size: 13px !important;
}

#kw_rel_root .weight-flow-row.weight-content {
  --bar-face: #2563eb;
}

#kw_rel_root .weight-flow-row.weight-activity {
  --bar-face: #16a34a;
}

#kw_rel_root .weight-flow-row.weight-keyword {
  --bar-face: #dc2626;
}

#kw_rel_root .weight-flow-row.weight-blog {
  --bar-face: #db2777;
}

#kw_rel_root .weight-flow-row.weight-convergence {
  --bar-face: #7c3aed;
}

#kw_rel_root .segment-main-score {
  --bar-face: #2563eb;
}

#kw_rel_root .segment-card.segment-card-top .segment-main-score {
  --bar-face: #4c52bc;
}

#kw_rel_root .segment-card.segment-card-upper .segment-main-score {
  --bar-face: #2563eb;
}

#kw_rel_root .segment-card.segment-card-middle .segment-main-score,
#kw_rel_root .segment-card:nth-child(3) .segment-main-score {
  --bar-face: #16a34a;
}

#kw_rel_root .segment-card.segment-card-lower .segment-main-score,
#kw_rel_root .segment-card:nth-child(4) .segment-main-score {
  --bar-face: #e11d48;
}

#kw_rel_root .baseline-panel.overview-premium-v2 .sample-score-gauge {
  --bar-face: var(--sample-accent, #2563eb);
}

#kw_rel_root .baseline-panel.overview-premium-v2 .sample-score-gauge i,
#kw_rel_root .weight-body i,
#kw_rel_root .segment-main-score i,
#kw_rel_root .segment-card.segment-card-top .segment-main-score i {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: #eee !important;
  box-shadow: none !important;
  line-height: 0;
  font-size: 0;
}

#kw_rel_root .baseline-panel.overview-premium-v2 .sample-score-gauge i,
#kw_rel_root .weight-body i {
  height: 8px;
}

#kw_rel_root .baseline-panel.overview-premium-v2 .sample-score-gauge i b,
#kw_rel_root .weight-body i b,
#kw_rel_root .segment-main-score i b,
#kw_rel_root .segment-card.segment-card-top .segment-main-score i b,
#kw_rel_root .baseline-panel.overview-premium-v2[data-motion-ready="true"] .sample-score-gauge i b,
#kw_rel_root .baseline-panel.overview-premium-v2[data-motion-ready="true"] .weight-body i b,
#kw_rel_root .baseline-panel.overview-premium-v2[data-motion-ready="true"] .segment-main-score i b,
#kw_rel_root .baseline-panel.overview-premium-v2[data-motion-ready="false"] .sample-score-gauge i b,
#kw_rel_root .baseline-panel.overview-premium-v2[data-motion-ready="false"] .weight-body i b,
#kw_rel_root .baseline-panel.overview-premium-v2[data-motion-ready="false"] .segment-main-score i b {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: auto !important;
  margin: 0;
  border-radius: 999px;
  background: var(--bar-face, var(--sample-accent, #2563eb)) !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
  transform-origin: left center;
  transition: none !important;
}

#kw_rel_root .weight-body > .weight-flow-row,
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-flow-row,
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-flow-row.is-collapse-focus:not(.is-destruction-candidate):not(.is-destruction-culprit),
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-flow-row.is-destruction-candidate:not(.is-destruction-culprit),
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-flow-row.is-destruction-culprit {
  background: #fff !important;
  box-shadow: none !important;
}

#kw_rel_root .weight-body > .weight-flow-row.weight-content,
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-flow-row.weight-content {
  border: 1px solid #2563eb !important;
}

#kw_rel_root .weight-body > .weight-flow-row.weight-activity,
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-flow-row.weight-activity {
  border: 1px solid #16a34a !important;
}

#kw_rel_root .weight-body > .weight-flow-row.weight-keyword,
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-flow-row.weight-keyword {
  border: 1px solid #dc2626 !important;
}

#kw_rel_root .weight-body > .weight-flow-row.weight-blog,
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-flow-row.weight-blog {
  border: 1px solid #db2777 !important;
}

#kw_rel_root .weight-body > .weight-flow-row.weight-convergence,
#kw_rel_root .baseline-panel.overview-premium-v2 .weight-flow-row.weight-convergence {
  border: 1px solid #7c3aed !important;
}

/* 검색결과 유형 칸은 펼침과 무관하게 기본 열 너비를 유지한다. 상세분석 버튼이 밀리지 않게. */
#kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid {
  --sample-gap: 12px;
  --sample-cols: 5;
  --sample-reveal-span: calc((var(--sample-cols) - 1) * 100% + (var(--sample-cols) - 2) * var(--sample-gap));
  --sample-cohesion-span: calc((var(--sample-cols) - 2) * 100% + (var(--sample-cols) - 3) * var(--sample-gap));
  align-items: start;
  gap: var(--sample-gap);
  overflow: visible;
  transition: none !important;
}

@media (max-width: 1300px) {
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid {
    --sample-cols: 2;
    --sample-reveal-span: 100%;
    --sample-cohesion-span: 100%;
  }
}

@media (max-width: 760px) {
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid {
    --sample-cols: 1;
  }
}

#kw_rel_root .result-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

#kw_rel_root .segment-table-title-row h2,
#kw_rel_root .segment-table-title-row p {
  white-space: normal;
  word-break: keep-all;
}

@media (max-width: 1300px) {
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid,
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded,
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded {
    align-items: start !important;
    grid-template-columns: repeat(var(--sample-cols), minmax(0, 1fr)) !important;
    gap: var(--sample-gap) !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded > .sample-card-detail-mode,
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-keyword-cohesion {
    display: block !important;
    grid-column: auto !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    align-self: start !important;
    width: auto !important;
    height: auto !important;
    min-height: 112px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 14px 13px 12px 16px !important;
    overflow: visible !important;
    transform: none !important;
    z-index: 5 !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded > .sample-card-detail-mode .sample-score-gauge,
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-keyword-cohesion .sample-score-gauge {
    display: grid !important;
    width: 100%;
    margin: 12px 0 3px !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded > .sample-card-detail-mode > .detail-mode-stage-reveal,
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-keyword-cohesion > .keyword-cohesion-stage-reveal,
  #kw_rel_root .sample-card-grid.is-detail-mode-expanded .detail-mode-stage-reveal,
  #kw_rel_root .sample-card-grid.is-keyword-cohesion-expanded .keyword-cohesion-stage-reveal {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto;
    display: grid !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 10px 0 0 !important;
    padding: 10px 0 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-top: 1px solid rgba(148, 163, 184, .28) !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-keyword-cohesion > .keyword-cohesion-stage-reveal {
    border-top-color: rgba(13, 148, 136, .28) !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded > .sample-card:not(.sample-card-detail-mode),
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card:not(.sample-card-keyword-cohesion),
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-result-type {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 112px !important;
    max-height: none !important;
    padding: 14px 13px 12px 16px !important;
    overflow: hidden !important;
    border-width: 1px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    contain: none !important;
  }

  #kw_rel_root .search-result-type-scale {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #kw_rel_root .keyword-mode-scale-expanded,
  #kw_rel_root .keyword-cohesion-stage-scale {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: visible !important;
  }

  #kw_rel_root .keyword-cohesion-stage-scale .keyword-mode-step {
    flex: none !important;
  }

  #kw_rel_root .result-table.compact,
  #kw_rel_root .result-table.compact.screen-rank-hidden {
    width: max-content !important;
    min-width: 880px !important;
    table-layout: auto !important;
  }

  #kw_rel_root .result-table.compact th.post-info-header,
  #kw_rel_root .result-table.compact td.post-info-cell {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 280px !important;
  }

  #kw_rel_root .result-table.compact .right-metric-cell,
  #kw_rel_root .result-table.compact .right-metric-header-cell,
  #kw_rel_root .result-table.compact.screen-rank-hidden .right-metric-cell,
  #kw_rel_root .result-table.compact.screen-rank-hidden .right-metric-header-cell {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  #kw_rel_root .right-metric-grid.compact,
  #kw_rel_root .right-metric-grid.compact.header-grid {
    width: max-content !important;
    min-width: 560px !important;
    max-width: none !important;
    grid-template-columns: repeat(10, minmax(56px, max-content)) !important;
  }

  #kw_rel_root .result-table thead th,
  #kw_rel_root .result-table .metric-header-cell,
  #kw_rel_root .result-table .metric-header-label {
    white-space: nowrap;
  }

  #kw_rel_root .segment-card-band,
  #kw_rel_root .baseline-panel.overview-premium-v2 .segment-card-band {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #kw_rel_root .segment-table-scroll,
  #kw_rel_root .baseline-panel.overview-premium-v2 .segment-table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  #kw_rel_root .segment-table-card table,
  #kw_rel_root .baseline-panel.overview-premium-v2 .segment-table-card table {
    width: max-content;
    min-width: 760px;
    table-layout: auto;
  }

  #kw_rel_root .segment-table thead th,
  #kw_rel_root .segment-table-card th,
  #kw_rel_root .segment-table-card td {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  #kw_rel_root .segment-card-band,
  #kw_rel_root .baseline-panel.overview-premium-v2 .segment-card-band {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #kw_rel_root .segment-insight-row,
  #kw_rel_root .baseline-panel.overview-premium-v2 .segment-insight-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #kw_rel_root .segment-insight-row .weight-card,
  #kw_rel_root .segment-insight-row .segment-table-card {
    grid-column: 1 !important;
    max-width: 100%;
  }
}

@media (min-width: 1301px) {
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid,
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded,
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded {
    align-items: start !important;
    grid-template-columns: repeat(var(--sample-cols), minmax(0, 1fr)) !important;
    gap: var(--sample-gap) !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded > .sample-card-detail-mode,
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-keyword-cohesion {
    display: block !important;
    grid-column: auto !important;
    grid-template-columns: none !important;
    align-self: start !important;
    min-height: 112px !important;
    margin: 0 !important;
    padding: 14px 13px 12px 16px !important;
    transform: none !important;
    overflow: visible !important;
    z-index: 5 !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded > .sample-card-detail-mode .sample-score-gauge,
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-keyword-cohesion .sample-score-gauge {
    display: grid !important;
    width: 100%;
    margin: 12px 0 3px !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded > .sample-card-detail-mode .sample-value-row,
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-keyword-cohesion .sample-value-row {
    margin-top: 6px !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-result-type {
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded > .sample-card:not(.sample-card-detail-mode),
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card:not(.sample-card-result-type):not(.sample-card-keyword-cohesion) {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 112px !important;
    max-height: none !important;
    padding: 14px 13px 12px 16px !important;
    overflow: hidden !important;
    border-width: 1px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
    pointer-events: none !important;
    contain: none !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-detail-mode-expanded > .sample-card-detail-mode > .detail-mode-stage-reveal,
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-keyword-cohesion > .keyword-cohesion-stage-reveal {
    position: absolute !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: calc(100% + var(--sample-gap)) !important;
    z-index: 6;
    display: grid !important;
    align-self: start !important;
    align-content: start !important;
    width: var(--sample-reveal-span) !important;
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    overflow: visible !important;
    border: 1px solid var(--sample-accent, #4c52bc);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0.1rem 1rem rgb(0 0 0 / 5%);
    transform: none !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded > .sample-card-keyword-cohesion > .keyword-cohesion-stage-reveal {
    width: var(--sample-cohesion-span) !important;
    border-color: #0d9488;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded .keyword-mode-step,
  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded .keyword-mode-step.active {
    overflow: visible !important;
    transform: none !important;
  }

  #kw_rel_root .baseline-panel.overview-premium-v2 .sample-card-grid.is-keyword-cohesion-expanded .keyword-mode-current {
    z-index: 4 !important;
  }
}

#kw_rel_root .posting-result-sample-typing {
  display: none !important;
}

#kw_rel_root .posting-result-comparison > section {
  position: relative;
  overflow: hidden;
}

#kw_rel_root .result-panel.result-premium-v2[data-tip-highlight="rank-copy"] .result-table tbody .main-result-row:first-of-type .rank-copy-button,
#kw_rel_root .result-panel.result-premium-v2[data-tip-highlight="title"] .title-expand-switch i,
#kw_rel_root .result-panel.result-premium-v2[data-tip-highlight="power"] .power-switch i,
#kw_rel_root .result-panel.result-premium-v2[data-tip-highlight="external"] .external-switch i,
#kw_rel_root .result-panel.result-premium-v2[data-tip-highlight="detail"] .detail-switch i,
#kw_rel_root .result-panel.result-premium-v2[data-tip-highlight="graphs"] .graph-switch i,
#kw_rel_root .result-panel.result-premium-v2[data-tip-highlight="screen-rank"] .screen-rank-switch i {
  animation: result-tip-target-sparkle .82s ease-in-out infinite !important;
}

#kw_rel_root .result-panel.result-premium-v2[data-tip-highlight="sort"] .result-table thead tr {
  animation: result-tip-header-sparkle .82s ease-in-out infinite !important;
}

/* Dump gates keyframes behind prefers-reduced-motion: no-preference. Product flag wins. */
#kw_rel_root[data-kw-motion="on"] .posting-result-sample-typing > i::after {
  animation: posting-sample-caret .9s steps(2, end) infinite !important;
}

#kw_rel_root[data-kw-motion="on"] .posting-result-sample-typing > b {
  animation: posting-sample-keytap .82s cubic-bezier(.2, .75, .25, 1) infinite !important;
}

#kw_rel_root[data-kw-motion="on"] .posting-result-sample-typing > b:nth-of-type(1) { animation-delay: .05s !important; }
#kw_rel_root[data-kw-motion="on"] .posting-result-sample-typing > b:nth-of-type(2) { animation-delay: .18s !important; }
#kw_rel_root[data-kw-motion="on"] .posting-result-sample-typing > b:nth-of-type(3) { animation-delay: .31s !important; }
#kw_rel_root[data-kw-motion="on"] .posting-result-sample-typing > b:nth-of-type(4) { animation-delay: .44s !important; }
#kw_rel_root[data-kw-motion="on"] .posting-result-sample-typing > b:nth-of-type(5) { animation-delay: .57s !important; }

#kw_rel_root[data-kw-motion="on"] .posting-result-title-track {
  animation: posting-result-title-stream 12s linear infinite !important;
}

#kw_rel_root[data-kw-motion="on"] .posting-result-comparison > section > b {
  animation: posting-bar-grow .82s .18s cubic-bezier(.22, .78, .32, 1) both !important;
}

#kw_rel_root[data-kw-motion="on"] .posting-result-outcome-orbit {
  animation: posting-result-orbit-breathe 1.45s .26s ease-out both !important;
}

#kw_rel_root[data-kw-motion="on"] .posting-result-outcome-orbit::before {
  animation: posting-result-orbit-spin 1.55s linear infinite !important;
}

#kw_rel_root[data-kw-motion="on"] .posting-result-outcome-orbit::after {
  animation: posting-result-orbit-pulse 1.35s .28s ease-out both !important;
}

#kw_rel_root[data-kw-motion="on"] .keyword-deep-analysis .keyword-flow-stream-motion {
  animation: keyword-flow-stream 2.8s linear infinite !important;
}

#kw_rel_root[data-kw-motion="on"] .keyword-flow-stream-packet {
  display: revert !important;
}

#kw_rel_root[data-kw-motion="on"] .overview-detail-cue {
  animation: bdRelActionCue 1.6s ease-in-out infinite !important;
}

#kw_rel_root[data-kw-motion="on"] .overview-detail-cue b {
  animation: bdRelActionCuePoint 1.6s ease-in-out infinite !important;
}

#kw_rel_root[data-kw-motion="off"] .posting-result-sample-typing > i::after,
#kw_rel_root[data-kw-motion="off"] .posting-result-sample-typing > b,
#kw_rel_root[data-kw-motion="off"] .posting-result-title-track,
#kw_rel_root[data-kw-motion="off"] .posting-result-comparison > section > b,
#kw_rel_root[data-kw-motion="off"] .posting-result-outcome-orbit,
#kw_rel_root[data-kw-motion="off"] .posting-result-outcome-orbit::before,
#kw_rel_root[data-kw-motion="off"] .posting-result-outcome-orbit::after,
#kw_rel_root[data-kw-motion="off"] .keyword-deep-analysis .keyword-flow-stream-motion,
#kw_rel_root[data-kw-motion="off"] .result-panel.result-premium-v2[data-tip-highlight] .rank-copy-button,
#kw_rel_root[data-kw-motion="off"] .result-panel.result-premium-v2[data-tip-highlight] .result-table thead tr,
#kw_rel_root[data-kw-motion="off"] .result-panel.result-premium-v2[data-tip-highlight] .view-switch i {
  animation: none !important;
}

#kw_rel_root[data-kw-motion="off"] .keyword-flow-stream-packet {
  display: none !important;
}

#kw_rel_root[data-kw-motion="off"] .overview-detail-cue,
#kw_rel_root[data-kw-motion="off"] .overview-detail-cue b {
  animation: none !important;
}

@media (max-width: 760px) {
  #kw_rel_root .overview-detail-cue {
    display: none;
  }
}
