:root {
  --bg: #07050c;
  --rail: #151518;
  --surface: #1f1f24;
  --surface-2: #2c2c33;
  --light: #f1eff7;
  --text: #f8f7fa;
  --muted: #929098;
  --line: rgba(255, 255, 255, .075);
  --blue: #628cff;
  --blue-deep: #3068f7;
  --coral: #ff7e72;
  --mint: #67e7aa;
  --amber: #ffd568;
  --ease: cubic-bezier(.2, .72, .2, 1);
  --content-split: minmax(0, 2fr) minmax(300px, 1fr);
}

html { color-scheme: dark; }
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f4f8;
  --rail: #ebeaf0;
  --surface: #ffffff;
  --surface-2: #f8f7fb;
  --light: #ffffff;
  --text: #1b1920;
  --muted: #696671;
  --line: rgba(27, 25, 32, .11);
  --mint: #3ed48c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--text); background: #242424; font-family: Manrope, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; color: #111; border-radius: 10px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.dashboard-shell { width: 100%; min-height: 100svh; margin: 0; padding-left: 74px; overflow: visible; border-radius: 0; background: var(--bg); box-shadow: none; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; display: flex; flex-direction: column; align-items: center; width: 74px; height: 100svh; padding: 18px 10px; overflow: visible; background: var(--rail); }
.sidebar-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: transparent; }
.sidebar-logo img { display: block; width: 44px; height: 44px; object-fit: contain; }
.sidebar-nav { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 7px; }
.sidebar-nav a,
.sidebar-help,
.theme-toggle-sidebar { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 14px; color: #aaa8b0; cursor: pointer; transition: color .18s var(--ease), background-color .18s var(--ease), transform .18s var(--ease); }
.sidebar-nav a::after,
.sidebar-help::after,
.theme-toggle-sidebar::after { position: absolute; left: calc(100% + 10px); z-index: 80; padding: 8px 10px; border-radius: 10px; color: #f8f7fa; background: #2c2c33; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); content: attr(data-tooltip); font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(-4px); transition: opacity .14s var(--ease), transform .14s var(--ease); }
.sidebar-nav a:hover::after,
.sidebar-nav a:focus-visible::after,
.sidebar-help:hover::after,
.sidebar-help:focus-visible::after,
.theme-toggle-sidebar:hover::after,
.theme-toggle-sidebar:focus-visible::after { opacity: 1; transform: translateX(0); }
[data-tooltip][data-tooltip-dismissed]::after { opacity: 0; transform: translateX(-4px); }
.sidebar-nav a:hover,
.sidebar-nav a:focus-visible,
.sidebar-nav a.is-active { color: #15151a; background: var(--light); transform: translateY(-1px); }
.sidebar svg,
.utility-bar svg,
.round-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sidebar .coolicon,
.theme-toggle .coolicon { width: 20px; height: 20px; fill: none; }
.sidebar-nav a:first-child .coolicon { transform: translate(2.5px, 2.5px); }
.sidebar .coolicon path,
.theme-toggle .coolicon path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-help,
.theme-toggle-sidebar { border: 0; color: #dddbe2; background: #303034; }
.sidebar-help { margin-top: 7px; }
.sidebar-help:hover,
.theme-toggle-sidebar:hover { color: #17151c; background: var(--light); transform: translateY(-1px); }
.mobile-menu-toggle { display: none; }

.workspace { display: flex; flex-direction: column; min-width: 0; min-height: 100svh; padding: 38px 22px 22px; background: var(--bg); }
.page-heading,
.dashboard-grid { width: min(1240px, 100%); margin-right: auto; margin-left: auto; }
.utility-actions { display: flex; gap: 8px; }
.utility-actions button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 14px; color: #d9d7de; background: #16141c; cursor: pointer; transition: background-color .18s var(--ease), transform .18s var(--ease); }
.utility-actions button:hover { background: #25232b; transform: translateY(-1px); }
.theme-icon-moon { display: none; }
html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: block; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 23px 0 18px; }
.page-heading-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.page-heading p { margin: 0 0 5px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.page-heading h1 { margin: 0; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.05; letter-spacing: -.045em; }
.page-heading > div > span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.period-control { display: inline-flex; align-items: center; min-height: 38px; padding: 0 13px; border: 0; border-radius: 13px; color: #cbc9d0; background: #151319; font-size: 12px; font-weight: 600; }

.channel-coverage { width: min(1240px, 100%); margin: 14px auto 0; padding: 18px 20px 15px; border: 1px solid rgba(255, 255, 255, .045); border-radius: 20px; background: var(--surface); }
.channel-coverage-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.channel-coverage-heading p { margin: 0 0 5px; color: #929098; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.channel-coverage-heading h2 { margin: 0; color: var(--text); font-size: 16px; line-height: 1.25; letter-spacing: -.025em; }
.channel-coverage-heading > span { color: #b7b5bf; font-size: 12px; line-height: 1.4; text-align: right; }
.channel-coverage-heading > span strong { color: #81a4ff; font-size: 13px; }
.channel-coverage-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.channel-coverage-list li { display: flex; align-items: center; min-width: 0; min-height: 58px; gap: 9px; padding: 9px 10px; border: 1px solid rgba(255, 255, 255, .035); border-radius: 12px; background: var(--surface-2); }
.channel-coverage-list li > img, .channel-icon { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 8px; object-fit: cover; }
.channel-coverage-list li:not(.is-analyzed) > img, .channel-coverage-list li:not(.is-analyzed) .channel-icon-instagram { filter: grayscale(1); opacity: .65; }
.channel-coverage-list li > div { min-width: 0; }
.channel-coverage-list li strong { display: block; color: #c9c7d0; font-size: 13px; line-height: 1.3; }
.channel-coverage-list li.is-analyzed strong { color: var(--text); }
.channel-coverage-list li small { display: block; margin-top: 3px; color: #a5a2ae; font-size: 11px; line-height: 1.3; }
.channel-coverage-list li.is-analyzed small { color: #8bd9ae; }
.channel-coverage-list li.is-analyzed small::before { display: inline-block; width: 5px; height: 5px; margin: 0 5px 2px 0; border-radius: 50%; background: currentColor; content: ""; }
.channel-icon-instagram { color: white; background: linear-gradient(140deg, #6943c4 10%, #d94b79 55%, #f5a43b); }
.channel-icon-site { color: #a7a5af; background: #3a3a43; }
.channel-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.channel-icon .channel-icon-dot { fill: currentColor; stroke: none; }
.channel-coverage-note { margin: 10px 0 0; color: #aaa8b1; font-size: 11px; line-height: 1.4; }
html[data-theme="light"] .channel-coverage { border-color: rgba(27, 25, 32, .06); }
html[data-theme="light"] .channel-coverage-list li { border-color: rgba(27, 25, 32, .045); }
html[data-theme="light"] .channel-coverage-heading p, html[data-theme="light"] .channel-coverage-heading > span, html[data-theme="light"] .channel-coverage-note { color: #696671; }
html[data-theme="light"] .channel-coverage-heading > span strong { color: #3157a8; }
html[data-theme="light"] .channel-coverage-list li strong { color: #514f58; }
html[data-theme="light"] .channel-coverage-list li.is-analyzed strong { color: var(--text); }
html[data-theme="light"] .channel-coverage-list li small { color: #696671; }
html[data-theme="light"] .channel-coverage-list li.is-analyzed small { color: #26754e; }
html[data-theme="light"] .channel-icon-site { color: #625f69; background: #e5e4ea; }

.dashboard-grid { display: grid; flex: 1; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(322px, 1.35fr) minmax(242px, 1fr); gap: 14px; }
.metric-grid { grid-column: span 5; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.metric-card,
.ranking-card,
.insight-card,
.mix-card { position: relative; overflow: hidden; border: 0; border-radius: 22px; background: var(--surface); }
.metric-card { display: flex; flex-direction: column; min-height: 0; padding: 18px; transition: transform .2s var(--ease), background-color .2s var(--ease); }
.metric-card:hover { background: var(--surface-2); transform: translateY(-2px); }
.metric-card-light { color: #16151b; background: var(--light); }
.metric-card-light:hover { background: #fbfaff; }
.metric-label { max-width: calc(100% - 42px); color: #b9b7bf; font-size: 12px; font-weight: 600; }
.metric-card-light .metric-label { color: #5e5b67; }
.metric-arrow { position: absolute; top: 13px; right: 13px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--blue-deep); font-size: 16px; }
.metric-arrow-dark { color: #c6c4cb; background: #303034; }
.metric-card strong { display: flex; align-items: baseline; gap: 4px; margin-top: auto; font-size: clamp(28px, 2.4vw, 38px); line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.metric-card strong span { color: var(--muted); font-size: 14px; letter-spacing: -.02em; }
.metric-card-light strong span { color: #76727e; }
.metric-card small { display: flex; align-items: center; gap: 6px; min-height: 22px; margin-top: 11px; color: #8f8c95; font-size: 10px; }
.metric-card-light small { color: #6e6a75; }
.tag { padding: 4px 7px; border-radius: 999px; font-style: normal; font-weight: 700; white-space: nowrap; }
.tag-blue { color: #fff; background: var(--blue-deep); }
.tag-coral { color: #fff; background: var(--coral); }
.tag-mint { color: #fff; background: var(--mint); }
html[data-theme="dark"] .tag-coral,
html[data-theme="dark"] .tag-mint { color: #07050c; }

.ranking-card { grid-column: span 7; display: flex; flex-direction: column; padding: 20px 20px 16px; }
.ranking-card,
.mix-card { transition: transform .2s var(--ease); }
.ranking-card:hover,
.mix-card:hover { transform: translateY(-2px); }
.ranking-card header,
.mix-card header { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.ranking-card header p,
.mix-card header p { margin: 0 0 4px; color: #8c8992; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ranking-card h2,
.mix-card h2 { margin: 0; font-size: 18px; line-height: 1.2; letter-spacing: -.03em; }
.ranking-card header > a,
.mix-card header > a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #17151c; background: var(--light); font-size: 16px; }
.ranking-plot { position: relative; display: grid; flex: 1; grid-template-columns: repeat(11, minmax(0, 1fr)); align-items: end; gap: 7px; min-height: 229px; margin-top: 6px; padding-top: 22px; }
.rank-item { position: relative; z-index: 1; display: grid; grid-template-rows: 16px 1fr 22px; gap: 5px; align-items: end; height: 100%; min-width: 0; }
.rank-item b { justify-self: center; color: #c8c6cc; font-size: 10px; font-variant-numeric: tabular-nums; }
.rank-item i { display: block; width: 100%; height: var(--score); border-radius: 8px 8px 4px 4px; background: #81a4ff; transform-origin: bottom; animation: grow-bar .6s var(--ease) both; }
.ranking-plot .rank-item:nth-child(2) i { animation-delay: .04s; }
.ranking-plot .rank-item:nth-child(3) i { animation-delay: .10s; }
.ranking-plot .rank-item:nth-child(4) i { animation-delay: .16s; }
.ranking-plot .rank-item:nth-child(5) i { animation-delay: .22s; }
.ranking-plot .rank-item:nth-child(6) i { animation-delay: .28s; }
.ranking-plot .rank-item:nth-child(7) i { animation-delay: .34s; }
.ranking-plot .rank-item:nth-child(8) i { animation-delay: .40s; }
.ranking-plot .rank-item:nth-child(9) i { animation-delay: .46s; }
.ranking-plot .rank-item:nth-child(10) i { animation-delay: .52s; }
.ranking-plot .rank-item:nth-child(11) i { animation-delay: .58s; }
.ranking-plot .rank-item:nth-child(12) i { animation-delay: .64s; }
.rank-item span { overflow: hidden; color: #82808a; font-size: 8px; line-height: 1.1; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.rank-item.is-current i { background: #3168f7; box-shadow: 0 0 0 1px rgba(49, 104, 247, .25); }
.rank-item.is-current b,
.rank-item.is-current span { color: var(--blue); font-weight: 700; }
html[data-theme="dark"] .rank-item.is-current span { color: #f8f7fa; }
.average-line { position: absolute; top: 15%; right: 0; left: 0; z-index: 0; border-top: 1px dashed #ffd168; }
.average-line span { position: absolute; top: 5px; right: 0; padding: 2px 5px; border-radius: 5px; color: #5f4300; background: #ffd168; font-size: 8px; }

.insight-card { grid-column: span 3; display: flex; flex-direction: column; padding: 18px; transition: transform .2s var(--ease); }
.insight-card:hover { transform: translateY(-2px); }
.insight-card-coral::before,
.insight-card-blue::before {
  position: absolute; top: 0; right: 0; left: 0; height: 3px;
  background-position: 0 0, 180% 0;
  background-repeat: no-repeat;
  background-size: 100% 100%, 260% 100%;
  content: "";
  animation: insight-line-sweep 2.6s linear infinite;
}
.insight-card-coral::before {
  background-image:
    linear-gradient(90deg, rgba(255,126,113,.38), rgba(255,126,113,.8), rgba(255,126,113,.38)),
    linear-gradient(90deg, transparent 0 43%, #fff 48%, #ff7e71 50%, #fff 52%, transparent 57%);
}
.insight-card-blue::before {
  background-image:
    linear-gradient(90deg, rgba(49,104,247,.4), rgba(49,104,247,.82), rgba(49,104,247,.4)),
    linear-gradient(90deg, transparent 0 43%, #fff 48%, #3168f7 50%, #fff 52%, transparent 57%);
}
.round-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #d9d7de; background: #303034; }
.insight-card-coral .round-icon { color: #201315; background: var(--coral); }
.insight-card-blue .round-icon { color: #fff; background: var(--blue); }
.insight-card > div { display: flex; align-items: end; gap: 9px; margin-top: auto; }
.insight-card strong { font-size: clamp(40px, 3.6vw, 56px); line-height: .9; letter-spacing: -.06em; }
.insight-card > div span { padding-bottom: 3px; color: #cac8cf; font-size: 12px; line-height: 1.25; }
.insight-card p { margin: 12px 0 0; color: #95929b; font-size: 10px; line-height: 1.45; }
.insight-card-coral strong { color: var(--coral); }
.insight-card-blue strong { color: var(--blue); }

.mix-card { grid-column: span 6; display: flex; flex-direction: column; padding: 18px 20px; }
.mix-card h2 { font-size: 16px; }
.mix-content { display: grid; flex: 1; grid-template-columns: 138px minmax(0, 1fr); align-items: center; gap: 22px; margin-top: 14px; }
.donut { display: grid; place-items: center; width: 132px; aspect-ratio: 1; border: 0; border-radius: 50%; outline: 0; box-shadow: none; background: conic-gradient(from -90deg, #628cff 0 18.98%, #81a4ff 18.98% 34.72%, #ffd568 34.72% 40.42%, #8b76ed 40.42% 55.60%, #62cfdb 55.60% 74.57%, var(--mint) 74.57% 91.65%, #ff8d72 91.65% 95.45%, #ff6f7d 95.45% 100%); }
.donut::before { z-index: 1; content: ""; grid-area: 1 / 1; width: 76px; aspect-ratio: 1; border-radius: 50%; background: var(--surface); }
.donut::after { --donut-progress: 0; z-index: 0; content: ""; grid-area: 1 / 1; width: 100%; aspect-ratio: 1; border: 0; border-radius: inherit; outline: 0; box-shadow: none; background: var(--surface); transform: scale(1.04); -webkit-mask: conic-gradient(from -90deg, #0000 0 calc(var(--donut-progress) * 1turn), #000 calc(var(--donut-progress) * 1turn) 1turn); mask: conic-gradient(from -90deg, #0000 0 calc(var(--donut-progress) * 1turn), #000 calc(var(--donut-progress) * 1turn) 1turn); animation: donut-draw 1.45s cubic-bezier(.16, .8, .24, 1) .15s both; }
.donut span { z-index: 2; grid-area: 1 / 1; display: grid; text-align: center; }
.donut strong { font-size: 24px; line-height: 1; letter-spacing: -.05em; }
.donut small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.mix-content ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; margin: 0; padding: 0; list-style: none; }
.mix-content li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 8px; color: #a9a7ae; font-size: 10px; }
.mix-content li i { width: 8px; height: 8px; border-radius: 50%; }
.mix-content li b { color: #ecebf0; font-size: 10px; font-variant-numeric: tabular-nums; }
.legend-presence { background: #628cff; }
.legend-reputation { background: #81a4ff; }
.legend-reviews { background: #ffd568; }
.legend-booking { background: #8b76ed; }
.legend-services { background: #62cfdb; }
.legend-prices { background: var(--mint); }
.legend-website { background: #ff8d72; }
.legend-social { background: #ff6f7d; }

.score-breakdown { position: relative; width: min(1240px, 100%); margin: 106px auto 0; padding: 52px 0 34px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.score-breakdown::before { content: ""; position: absolute; top: -2px; left: 0; width: 92px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #3168f7, #81a4ff); }
.section-heading { display: grid; grid-template-columns: var(--content-split); align-items: end; gap: 14px; margin-bottom: 50px; }
.section-heading > div > p { display: inline-flex; align-items: center; min-height: 30px; margin: 0 0 14px; padding: 0 11px; border-radius: 999px; color: #fff; background: #3168f7; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.section-heading h2 { max-width: 760px; margin: 0; font-size: 32px; line-height: 1.12; letter-spacing: -.045em; }
.section-heading h2,
.section-heading h2 span { color: #f8f7fa; }
.section-heading-note { padding: 18px 20px; border: 0; border-radius: 18px; background: var(--surface); }
.section-heading-note strong { display: block; margin-bottom: 7px; font-size: 16px; }
.section-heading-note span { display: block; color: var(--muted); font-size: 12px; line-height: 1.55; }
.section-heading-note-copy { min-height: 72px; display: grid; align-content: center; }

.score-layout { display: grid; grid-template-columns: var(--content-split); align-items: stretch; gap: 14px; }
.score-board,
.priority-panel,
.decision-card { border: 0; border-radius: 24px; background: var(--surface); }
.score-board { padding: 22px; }
.score-board > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.score-board > header p,
.priority-panel > p,
.decision-card > p { margin: 0 0 5px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.score-board > header h3 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.score-scale { display: flex; justify-content: space-between; width: 120px; color: var(--muted); font-size: 10px; }
.score-modules { display: grid; grid-template-columns: 1fr; gap: 9px; }
.score-module { position: relative; display: grid; grid-template-columns: minmax(300px, 1fr) minmax(220px, .9fr); grid-template-areas: "head meter" "copy meta"; align-items: center; gap: 8px 28px; min-height: 104px; padding: 16px 18px 16px 20px; border: 0; border-radius: 18px; background: var(--surface-2); transition: transform .2s var(--ease), background-color .2s var(--ease); }
.score-module::before { content: ""; position: absolute; top: 16px; bottom: 16px; left: -1px; width: 4px; border-radius: 0 999px 999px 0; background: #81a4ff; }
.score-module:hover { background: #36363e; transform: translateY(-2px); }
.score-module-head { grid-area: head; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.score-module-head > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #aaa8b1; background: #323236; font-size: 10px; font-weight: 800; }
.score-module h4 { margin: 0; font-size: 16px; letter-spacing: -.025em; }
.score-module-head strong { font-size: 28px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.score-module > p { grid-area: copy; min-height: 0; margin: 0; color: #aaa7b0; font-size: 12px; line-height: 1.5; }
.score-bar { grid-area: meter; height: 8px; overflow: hidden; border-radius: 999px; background: #343438; }
.score-bar i { display: block; width: var(--score); height: 100%; border-radius: inherit; background: #81a4ff; transform-origin: left; animation: grow-score .7s var(--ease) both; }
html.has-scroll-score-animation .score-bar i { opacity: .25; transform: scaleX(0); animation: none; }
html.has-scroll-score-animation .score-module.is-revealed .score-bar i { animation: fill-score-on-scroll .78s cubic-bezier(.16, .8, .24, 1) var(--score-reveal-delay, 0ms) both; }
.score-module small { grid-area: meta; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; color: #aaa7b0; font-size: 12px; }
.score-module small em { padding: 5px 8px; border-radius: 999px; color: #1b1a20; background: #81a4ff; font-size: 10px; font-style: normal; font-weight: 800; }
.score-module.is-strong::before { background: var(--mint); }
.score-module.is-strong .score-bar i { background: var(--mint); }
.score-module.is-strong .score-module-head strong { color: var(--mint); }
.score-module.is-strong small em { background: var(--mint); }
.score-module.is-good .score-module-head strong { color: #81a4ff; }
.score-module.is-risk::before { background: var(--coral); }
.score-module.is-risk .score-bar i { background: var(--coral); }
.score-module.is-risk .score-module-head strong { color: var(--coral); }
.score-module.is-risk small em { color: #2b1110; background: var(--coral); }

.priority-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 24px; background: #21191c; }
.priority-panel::after { content: ""; position: absolute; top: -85px; right: -72px; width: 190px; height: 190px; border: 1px solid var(--coral); border-radius: 50%; opacity: .1; box-shadow: 0 0 0 22px var(--coral), 0 0 0 46px var(--coral); pointer-events: none; }
.priority-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 28px; border-radius: 50%; color: #211315; background: var(--coral); }
.priority-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.priority-panel > p { color: #b6a7a9; }
.priority-count { display: flex; align-items: end; gap: 10px; margin: 5px 0 28px; }
.priority-count strong { color: var(--coral); font-size: 62px; line-height: .86; letter-spacing: -.07em; }
.priority-count span { padding-bottom: 3px; color: #e1dadd; font-size: 14px; line-height: 1.25; }
.priority-panel > ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.priority-panel > ol > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid rgba(255, 126, 114, .14); }
.priority-panel > ol > li > span { color: var(--coral); font-size: 10px; font-weight: 800; }
.priority-panel > ol > li div { display: grid; gap: 4px; }
.priority-panel > ol > li b { font-size: 14px; }
.priority-panel > ol > li small { color: #b8aeb2; font-size: 12px; line-height: 1.55; }
.priority-secondary { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09); }
.priority-secondary h3 { margin: 0 0 12px; color: #e7e0e2; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.priority-secondary ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.priority-secondary li { display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 8px 10px; border-radius: 11px; color: #c7bec1; background: rgba(255, 255, 255, .045); font-size: 12px; line-height: 1.35; }
.priority-secondary li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #81787b; }
.priority-panel > a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-top: auto; padding: 0 15px; border-radius: 14px; color: #291416; background: var(--coral); font-size: 12px; font-weight: 800; transition: filter .18s var(--ease), transform .18s var(--ease); }
.priority-panel > a:hover { filter: brightness(1.05); transform: translateY(-1px); }

.decision-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
.decision-card { min-height: 160px; padding: 24px 28px; }
.decision-card h3 { max-width: none; margin: 12px 0 10px; font-size: 22px; line-height: 1.2; letter-spacing: -.035em; white-space: nowrap; }
.decision-card > span { display: block; max-width: 680px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.decision-card-primary { position: relative; overflow: hidden; color: var(--text); background: var(--surface); }
.decision-card-primary::before { content: ""; position: absolute; top: 24px; bottom: 24px; left: 0; width: 5px; border-radius: 0 999px 999px 0; background: #3168f7; }
.decision-card-primary::after { content: ""; position: absolute; top: -118px; right: -60px; width: 230px; height: 230px; border: 1px solid #81a4ff; border-radius: 50%; opacity: .08; box-shadow: 0 0 0 24px #81a4ff, 0 0 0 50px #81a4ff; pointer-events: none; }
.decision-card-primary > * { position: relative; z-index: 1; }
.decision-card-primary > p { color: #81a4ff; }
.decision-card-primary > span { color: var(--muted); }

.journey-section-v3 { position: relative; width: min(1240px, 100%); margin: 72px auto 0; padding: 52px 0 24px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.journey-section-v3::before { content: ""; position: absolute; top: -2px; left: 0; width: 92px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #3168f7, #81a4ff); }
.journey-heading-note strong { color: var(--coral); }
.journey-board { padding: 24px; border: 0; border-radius: 24px; background: var(--surface); }
.journey-board > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.journey-board > header p,
.journey-verdict-main p { margin: 0 0 5px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.journey-board > header h3 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.035em; }
.journey-legend { display: flex; flex-wrap: wrap; justify-content: end; gap: 14px; color: var(--muted); font-size: 12px; }
.journey-legend span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.journey-legend i { width: 8px; height: 8px; border-radius: 50%; }
.journey-legend i.is-good { background: var(--mint); }
.journey-legend i.is-risk { background: var(--coral); }
.journey-track-v3 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.journey-step-v3 { position: relative; min-width: 0; min-height: 196px; padding: 18px 17px; border: 0; border-radius: 18px; background: var(--surface-2); transition: transform .2s var(--ease), background-color .2s var(--ease); }
.journey-step-v3::before { content: ""; position: absolute; top: -1px; right: 17px; left: 17px; height: 3px; border-radius: 0 0 999px 999px; background: var(--mint); }
html.has-scroll-journey-animation .journey-step-v3::before { transform: scaleX(0); transform-origin: left; }
html.has-scroll-journey-animation .journey-step-v3.is-revealed::before { animation: fill-journey-line .56s cubic-bezier(.16, .8, .24, 1) var(--journey-line-delay, 0ms) both; }
.journey-step-v3::after { content: ""; position: absolute; top: 50%; right: -11px; z-index: 2; width: 10px; border-top: 1px solid var(--line); }
.journey-step-v3:last-child::after { display: none; }
.journey-step-v3:hover { background: #36363e; transform: translateY(-2px); }
.journey-step-v3.is-risk { background: #2c2c33; }
.journey-step-v3.is-risk::before { background: var(--coral); }
.journey-step-v3.is-risk:hover { background: #302428; }
.journey-step-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.journey-step-number { color: #aaa8b1; font-size: 10px; font-weight: 800; font-variant-numeric: tabular-nums; }
.journey-step-status { display: inline-flex; align-items: center; gap: 4px; min-height: 25px; padding: 0 8px; border-radius: 999px; color: #123324; background: var(--mint); font-size: 10px; font-weight: 800; white-space: nowrap; }
.journey-step-status svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.journey-step-v3.is-risk .journey-step-status { color: #331513; background: var(--coral); }
.journey-step-v3 h4 { margin: 34px 0 10px; font-size: 18px; line-height: 1.2; letter-spacing: -.025em; }
.journey-step-v3 p { margin: 0; color: #aaa7b0; font-size: 12px; line-height: 1.55; }

.journey-verdict-v3 { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .9fr) auto; align-items: center; gap: 28px; margin-top: 14px; padding: 22px 24px; overflow: hidden; border: 0; border-radius: 22px; background: #2c2c33; }
.journey-verdict-main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.journey-verdict-icon { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #2a1311; background: var(--coral); }
.journey-verdict-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.journey-verdict-main p { color: #c9aeb0; }
.journey-verdict-main h3 { margin: 0; font-size: 18px; line-height: 1.32; letter-spacing: -.025em; }
.journey-verdict-v3 > p { margin: 0; color: #b8aeb2; font-size: 12px; line-height: 1.6; }
.journey-verdict-v3 > a { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 46px; padding: 0 15px; border-radius: 14px; color: #2b1110; background: var(--coral); font-size: 12px; font-weight: 800; white-space: nowrap; transition: filter .18s var(--ease), transform .18s var(--ease); }
.journey-verdict-v3 > a:hover { filter: brightness(1.05); transform: translateY(-1px); }

.details-v3 { position: relative; width: min(1240px, 100%); margin: 72px auto 0; padding: 52px 0 36px; border-top: 0; scroll-margin-top: 24px; }
.details-v3::before { content: ""; position: absolute; top: 0; left: 0; width: 92px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #3168f7, #81a4ff); }
.details-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.details-tabs button { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 40px; padding: 0 13px; border: 0; border-radius: 13px; color: var(--muted); background: var(--surface-2); font-size: 12px; font-weight: 800; cursor: pointer; transition: color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease); }
.details-tabs button b { color: var(--text); font-size: 12px; font-variant-numeric: tabular-nums; }
.details-tabs button:hover { color: var(--text); background: #383840; transform: translateY(-1px); }
.details-tabs button[aria-selected="true"] { color: #18171d; background: #f8f7fa; transform: translateY(-1px); }
.details-tabs button[aria-selected="true"] b { color: inherit; }
.details-tabs button:focus-visible { outline-color: #f8f7fa; }

.analysis-panel { --analysis-color: #81a4ff; --analysis-wash: rgba(129, 164, 255, .12); position: relative; overflow: hidden; border: 0; border-radius: 24px; background: var(--surface); }
.analysis-panel::before { content: ""; position: absolute; top: 26px; bottom: 26px; left: 0; width: 5px; border-radius: 0 999px 999px 0; background: var(--analysis-color); }
.analysis-panel[hidden] { display: none; }
.analysis-panel-good { --analysis-color: var(--mint); --analysis-wash: rgba(103, 231, 170, .12); }
.analysis-panel-risk { --analysis-color: #ff8d72; --analysis-wash: rgba(255, 141, 114, .12); }
.analysis-overview { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 26px; padding: 27px 30px 24px; }
.analysis-overview p,
.analysis-facts > p,
.analysis-aside > p { margin: 0 0 7px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.analysis-overview h3 { margin: 0; font-size: 26px; line-height: 1.12; letter-spacing: -.04em; }
.analysis-overview > div:first-child > span { display: block; max-width: 620px; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.analysis-score { position: relative; display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 6px; min-width: 168px; padding-right: 36px; }
.analysis-score strong { color: var(--analysis-color); font-size: 50px; line-height: .9; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.analysis-score > span { color: var(--muted); font-size: 12px; }
.analysis-score em { grid-column: 1 / -1; justify-self: start; margin-top: 8px; padding: 5px 8px; border-radius: 999px; color: #17151c; background: var(--analysis-color); font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
.score-info { position: absolute; top: 0; right: 0; display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: var(--surface-2); font-family: inherit; font-size: 14px; font-weight: 800; font-style: normal; line-height: 1; cursor: pointer; transition: color .18s var(--ease), background .18s var(--ease); }
.score-info:hover,
.score-info[aria-expanded="true"] { color: #18171d; background: var(--analysis-color); }
.score-info:focus-visible { outline-color: var(--analysis-color); }
.score-help { position: absolute; top: 0; right: calc(100% + 12px); z-index: 4; width: 270px; margin: 0; padding: 10px 12px; border-radius: 11px; color: var(--muted); background: var(--surface-2); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.social-channel-navigation { padding: 0 18px 16px; }
.social-channel-navigation > p { margin: 0 0 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.social-channel-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.social-channel-tabs button { min-height: 44px; padding: 0 16px; border: 1px solid transparent; border-radius: 12px; color: var(--muted); background: var(--surface-2); font-size: 13px; font-weight: 700; cursor: pointer; }
.social-channel-tabs button:hover { color: var(--text); border-color: var(--line); }
.social-channel-tabs button[aria-selected="true"] { color: #f8f7fa; border-color: rgba(129, 164, 255, .45); background: #343e5c; }
html[data-theme="light"] .social-channel-tabs button[aria-selected="true"] { color: #244899; border-color: #b2c4f6; background: #e7edfb; }
.social-channel-panel[hidden] { display: none; }
.analysis-content { display: grid; grid-template-columns: var(--content-split); gap: 14px; padding: 0 18px 18px; }
.analysis-facts { display: grid; gap: 22px; padding: 20px; border-radius: 20px; background: var(--surface-2); }
.analysis-facts > p { margin-bottom: -8px; }
.metric-status-group { display: grid; gap: 9px; }
.metric-status-group + .metric-status-group { margin-top: 10px; padding-top: 14px; }
.metric-status-label { display: flex; align-items: center; width: fit-content; min-height: 24px; margin: 0; padding: 0 10px; border-radius: 999px; color: #13231a; background: var(--mint); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.metric-status-group[data-status="risk"] .metric-status-label { color: #4b211d; background: #ff8d72; }
.metric-status-group[data-status="reserve"] .metric-status-label { color: #d9d7de; background: #3a3941; }
.analysis-facts ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.analysis-facts li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 10px; min-height: 46px; padding: 10px 10px 10px 43px; border-radius: 13px; color: var(--text); background: rgba(103, 231, 170, .14); font-size: 14px; line-height: 1.45; }
.analysis-facts li[data-status="risk"] { background: rgba(255, 141, 114, .14); }
.analysis-facts li[data-status="reserve"] { background: rgba(255, 255, 255, .055); }
.analysis-facts li::before { content: "✓"; position: absolute; top: 50%; left: 14px; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #13231a; background: var(--mint); font-size: 12px; font-weight: 900; line-height: 1; transform: translateY(-50%); }
.analysis-facts li[data-status="risk"]::before { content: "!"; color: #401b18; background: #ff8d72; }
.analysis-facts li[data-status="reserve"]::before { content: "—"; color: #d9d7de; background: #3a3941; }
.metric-text { min-width: 0; }
.metric-competitor, .metric-secondary { color: var(--muted); }
.metric-info { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: var(--surface-2); font-family: inherit; font-size: 14px; font-weight: 800; font-style: normal; line-height: 1; cursor: pointer; transition: color .18s var(--ease), background .18s var(--ease); }
.metric-info:hover,
.metric-info[aria-expanded="true"] { color: #18171d; background: var(--analysis-color); }
.analysis-facts li[data-status="good"] .metric-info:hover,
.analysis-facts li[data-status="good"] .metric-info[aria-expanded="true"] { background: var(--mint); }
.analysis-facts li[data-status="risk"] .metric-info:hover,
.analysis-facts li[data-status="risk"] .metric-info[aria-expanded="true"] { background: #ff8d72; }
.metric-info:focus-visible { outline-color: var(--analysis-color); }
.metric-help { grid-column: 1 / -1; margin: 1px 0 2px; padding: 10px 12px; border-radius: 10px; color: var(--muted); background: var(--surface-2); font-size: 12px; line-height: 1.5; }
.analysis-aside { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; border-radius: 20px; background: var(--analysis-wash); }
.analysis-aside > p { color: var(--analysis-color); }
.analysis-aside h4 { margin: 0 0 10px; font-size: 18px; line-height: 1.28; letter-spacing: -.025em; }
.analysis-aside > span { color: var(--muted); font-size: 12px; line-height: 1.58; }
.analysis-aside a { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; min-height: 42px; margin-top: auto; padding: 0 13px; border-radius: 12px; color: #17151c; background: var(--analysis-color); font-size: 12px; font-weight: 800; }
.analysis-aside a:hover { filter: brightness(1.04); }

/* Metric cards shared by review management and booking. */
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .analysis-score { min-width: 0; padding-right: 0; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .analysis-score strong { white-space: nowrap; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-score-total { color: var(--muted); font-size: .55em; letter-spacing: -.04em; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-detail-content { padding: 0 18px 18px; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric { --metric-accent: #ff8d72; position: relative; display: flex; flex-direction: column; min-width: 0; padding: 16px; border-radius: 20px; background: var(--surface-2); }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric[data-status="good"] { --metric-accent: var(--mint); }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-status { display: inline-flex; align-items: center; gap: 6px; color: var(--metric-accent); font-size: 10px; font-weight: 800; letter-spacing: .045em; line-height: 1.4; text-transform: uppercase; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-status::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--metric-accent); }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-status-accessible { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric .metric-info { flex: 0 0 32px; width: 32px; height: 32px; background: var(--surface); }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric .metric-info:hover, :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric .metric-info[aria-expanded="true"] { color: #13231a; background: var(--mint); }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric h4 { min-height: 2.6em; margin: 0; font-size: 18px; font-weight: 750; line-height: 1.3; letter-spacing: -.035em; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-period { min-height: 1.6em; margin: 5px 0 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding: 12px 12px 6px; border-radius: 14px 14px 0 0; background: var(--surface); }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-comparison > div { display: flex; flex-direction: column; min-width: 0; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-comparison > div:last-child { text-align: right; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-label, :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-value-note { color: var(--muted); font-size: 10px; line-height: 1.5; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-label { min-height: 15px; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-value-note { min-height: 30px; margin-top: 4px; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-comparison strong { color: var(--metric-accent); font-size: clamp(23px, 1.8vw, 26px); font-weight: 800; line-height: 1.1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; white-space: nowrap; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-comparison > div:last-child strong { color: #81a4ff; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-peer { --peer-accent: #81a4ff; padding: 6px 12px 10px; border-radius: 0 0 14px 14px; background: var(--surface); }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-peer > p { min-height: 37px; margin: 0; padding-top: 7px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.5; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-peer-count { white-space: nowrap; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-peer > p strong { color: var(--peer-accent); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-segments { display: grid; grid-template-columns: repeat(var(--segment-count), minmax(0, 1fr)); gap: 3px; margin-top: 6px; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-segments > span { height: 6px; border-radius: 2px; background: var(--peer-accent); }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-segments > .is-empty { background: var(--surface-2); }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-note { display: flex; align-items: center; gap: 8px; min-height: 42px; margin: 10px 0 0; padding: 8px 10px; border-radius: 12px; color: #a6beff; background: rgba(129, 164, 255, .12); font-size: 11px; font-weight: 700; line-height: 1.5; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-note svg { flex: 0 0 16px; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-help { position: absolute; top: 56px; right: 12px; left: 12px; z-index: 4; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); box-shadow: 0 12px 28px rgba(0, 0, 0, .25); font-size: 12px; line-height: 1.6; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-next-step { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: 14px; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-next-step > div > p { margin: 0 0 7px; color: var(--analysis-color); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-next-step h4 { margin-bottom: 6px; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-next-step > div > span { display: block; max-width: 740px; color: var(--muted); font-size: 12px; line-height: 1.6; }
:is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-next-step > a { width: auto; min-height: 44px; margin: 0; }
html[data-theme="light"] :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric { --metric-accent: #aa4d3d; background: var(--surface-2); }
html[data-theme="light"] :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric[data-status="good"] { --metric-accent: #26754e; }
html[data-theme="light"] :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-comparison, html[data-theme="light"] :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-peer { background: #fff; }
html[data-theme="light"] :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-comparison > div:last-child strong { color: #2853bb; }
html[data-theme="light"] :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-note { color: var(--blue-deep); background: #e6eeff; }
html[data-theme="light"] :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-peer { --peer-accent: #2853bb; }
html[data-theme="light"] :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-segments > .is-empty { background: #ebeaf0; }
html[data-theme="light"] :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) :is(.review-metric-period, .review-metric-label, .review-metric-value-note, .review-metric-peer > p, .review-next-step > div > span) { color: #55525c; }
html[data-theme="light"] #detail-reviews :is(.analysis-score strong, .review-next-step > div > p) { color: #aa4d3d; }
html[data-theme="light"] #detail-booking :is(.analysis-score strong, .review-next-step > div > p) { color: #26754e; }
@media (min-width: 1200px) and (max-width: 1350px) {
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-note { min-height: 49px; }
}
@media (max-width: 1199px) {
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric h4 { min-height: 2.6em; }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-period { min-height: 0; }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-next-step { grid-template-columns: 1fr; gap: 16px; }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-next-step > a { justify-self: start; }
}
@media (max-width: 680px) {
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-detail-content { padding: 0 14px 14px; }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metrics { grid-template-columns: 1fr; }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric { padding: 18px; border-radius: 18px; }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric h4 { min-height: 0; }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric .metric-info { width: 44px; height: 44px; flex-basis: 44px; }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-help { top: 68px; }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-top { margin-bottom: 12px; }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-comparison strong { font-size: 26px; }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-label { min-height: 0; margin-bottom: 8px; }
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-next-step > a { justify-self: stretch; }
}
@media (max-width: 360px) {
  :is(#detail-presence, #detail-reputation, #detail-reviews, #detail-booking, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metric-comparison strong { font-size: 23px; }
}
/* Full-width carousel controls sit above the metric cards. */
.booking-carousel-controls, .mobile-carousel-controls { align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 7px 8px 7px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.booking-carousel-controls { display: flex; }
.mobile-carousel-controls { display: none; }
.booking-carousel-controls > div, .mobile-carousel-controls > div { display: flex; gap: 6px; }
.carousel-progress { color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.4; }
.carousel-progress strong { margin-left: 5px; color: var(--text); font-variant-numeric: tabular-nums; }
.booking-carousel-button, .mobile-carousel-button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; color: #17151c; background: #f1eff7; cursor: pointer; }
.booking-carousel-button:hover:not(:disabled), .mobile-carousel-button:hover:not(:disabled) { background: var(--mint); }
.booking-carousel-button:disabled, .mobile-carousel-button:disabled { opacity: .38; cursor: default; }
.booking-carousel-button:focus-visible, .mobile-carousel-button:focus-visible, .mobile-carousel-track:focus-visible, :is(#detail-presence, #detail-reputation, #detail-booking, #detail-offer, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .booking-carousel-track:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.booking-carousel-button svg, .mobile-carousel-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="light"] .booking-carousel-button, html[data-theme="light"] .mobile-carousel-button { color: #fff; background: #2c2c33; }
html[data-theme="light"] .booking-carousel-button:hover:not(:disabled), html[data-theme="light"] .mobile-carousel-button:hover:not(:disabled) { color: #13231a; background: var(--mint); }
:is(#detail-presence, #detail-reputation, #detail-booking, #detail-offer, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .booking-carousel-track { position: relative; display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
:is(#detail-presence, #detail-reputation, #detail-booking, #detail-offer, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .booking-carousel-track::-webkit-scrollbar { display: none; }
:is(#detail-presence, #detail-reputation, #detail-booking, #detail-offer, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .booking-carousel-track > .review-metric { flex: 0 0 calc((100% - 36px) / 4); scroll-snap-align: start; }
@media (max-width: 1199px) {
  :is(#detail-presence, #detail-reputation, #detail-booking, #detail-offer, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .booking-carousel-track > .review-metric { flex-basis: calc((100% - 12px) / 2); }
}
@media (max-width: 680px) {
  :is(#detail-presence, #detail-reputation, #detail-booking, #detail-offer, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .booking-carousel-track > .review-metric { flex-basis: 100%; }
  .booking-carousel-button, .mobile-carousel-button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(#detail-presence, #detail-reputation, #detail-booking, #detail-offer, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .booking-carousel-track { scroll-behavior: auto; }
}

/* The reviewed metrics scroll one card at a time on phones. */
@media (max-width: 680px) {
  .mobile-carousel-controls { display: flex; }
  :is(#detail-reviews, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metrics.mobile-carousel-track { position: relative; display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
  :is(#detail-reviews, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metrics.mobile-carousel-track > .review-metric { flex: 0 0 100%; scroll-snap-align: start; }
  :is(#detail-reviews, #detail-offer, #detail-website, #detail-prices, #social-panel-telegram, #social-panel-vk, #social-panel-instagram) .review-metrics.mobile-carousel-track::-webkit-scrollbar { display: none; }
}

.social-aside-good { background: rgba(103, 231, 170, .12); }
.social-aside-good > p { color: var(--mint); }

.offer-comparison { margin: 0 18px 18px; border-radius: 18px; background: var(--surface-2); }
.offer-comparison summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 34px; align-items: center; gap: 14px; min-height: 58px; padding: 0 18px 0 20px; cursor: pointer; list-style: none; }
.offer-comparison summary::-webkit-details-marker { display: none; }
.offer-comparison summary strong { color: var(--text); font-size: 16px; letter-spacing: -.02em; }
.offer-comparison summary span { min-height: 26px; padding: 0 10px; border-radius: 999px; color: var(--muted); background: rgba(255, 255, 255, .055); font-size: 10px; font-weight: 800; line-height: 26px; white-space: nowrap; }
.offer-comparison summary::after { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #17151c; background: var(--mint); content: "+"; font-size: 22px; font-weight: 500; line-height: 1; transition: transform .18s var(--ease); }
.offer-comparison[open] summary { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.offer-comparison[open] summary::after { content: "−"; transform: rotate(180deg); }
.offer-comparison-body { padding: 16px 20px 20px; }
.offer-legend { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 0 0 13px; color: var(--muted); font-size: 12px; }
.offer-legend b { display: inline-block; min-width: 14px; color: var(--mint); text-align: center; }
.offer-legend span:nth-child(2) b { color: var(--blue); }
.offer-legend span:nth-child(3) b { color: #8c8994; }
.offer-table-scroll { max-width: 100%; overflow-x: auto; border-radius: 13px; outline: none; }
.offer-table-scroll:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.offer-table { width: 100%; min-width: 830px; border-collapse: collapse; color: var(--muted); font-size: 12px; }
.offer-table th,
.offer-table td { height: 34px; padding: 0 9px; text-align: center; white-space: nowrap; }
.offer-table thead { color: #aaa8b0; background: rgba(255, 255, 255, .055); }
.offer-table thead th { font-size: 10px; font-weight: 800; }
.offer-table th:first-child { padding-left: 13px; text-align: left; }
.offer-table tbody tr { border-bottom: 1px solid rgba(255, 255, 255, .06); }
.offer-table tbody tr:last-child { border-bottom: 0; }
.offer-table tbody th { color: var(--text); font-weight: 700; }
.offer-table td { font-weight: 800; }
.offer-table .is-client { color: #18251e; background: rgba(103, 231, 170, .88); }
.offer-table .is-client th { color: #18251e; }
.offer-comparison-note { margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.social-comparison .offer-table { min-width: 720px; }
.social-comparison .offer-comparison-intro { margin: 0; padding-bottom: 28px; }
.social-comparison .offer-table .is-client { color: #351817; background: rgba(255, 141, 114, .82); }
.social-comparison .offer-table .is-client th { color: #351817; }

.competitors-v3 { position: relative; width: min(1240px, 100%); margin: 72px auto 0; padding: 52px 0 52px; scroll-margin-top: 24px; }
.competitors-v3::before { position: absolute; top: 0; left: 0; width: 92px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #3168f7, #81a4ff); content: ""; }
.competitor-tabs-v3 { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.competitor-tabs-v3 button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 0; border-radius: 13px; color: var(--muted); background: var(--surface-2); font-family: inherit; font-size: 12px; font-weight: 800; cursor: pointer; transition: color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease); }
.competitor-tabs-v3 button:hover { color: var(--text); background: #303039; transform: translateY(-1px); }
.competitor-tabs-v3 button[aria-selected="true"] { color: #1f1f24; background: #f8f7fa; }
.competitor-panel-v3 { overflow: hidden; padding: 28px 30px 30px; border: 0; border-radius: 24px; background: var(--surface); }
.competitor-panel-v3[hidden] { display: none; }
.competitor-panel-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.competitor-panel-head p { margin: 0 0 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.competitor-panel-head h3 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.competitor-panel-head > span { display: inline-flex; align-items: center; gap: 5px; min-height: 29px; padding: 0 11px; border-radius: 999px; color: var(--muted); background: var(--surface-2); font-size: 12px; white-space: nowrap; }
.competitor-panel-head > span b { color: var(--text); }
.competitor-ranking-v3 { display: grid; gap: 8px; }
.competitor-rank { display: grid; grid-template-columns: 28px minmax(124px, 180px) minmax(0, 1fr) 34px; align-items: center; gap: 12px; min-height: 35px; padding: 0 10px; border-radius: 10px; color: var(--muted); text-decoration: none; transition: background-color .18s var(--ease); }
.competitor-rank > span { color: #74717d; font-size: 10px; font-weight: 800; }
.competitor-rank strong { color: var(--text); font-size: 12px; letter-spacing: -.015em; }
.competitor-rank i { display: block; height: 8px; overflow: hidden; border-radius: 999px; background: #34343d; }
.competitor-rank i b { display: block; width: var(--score); height: 100%; border-radius: inherit; background: #81a4ff; transform-origin: left; animation: grow-score .5s var(--ease) both; }
.competitor-rank:not(.is-client):hover { background: rgba(129, 164, 255, .08); }
.competitor-rank:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.competitor-rank em { color: var(--text); font-size: 12px; font-style: normal; font-weight: 800; text-align: right; }
.competitor-rank.is-client { color: #fff; background: #3168f7; }
.competitor-rank.is-client > span,
.competitor-rank.is-client strong,
.competitor-rank.is-client em { color: #fff; }
.competitor-rank.is-client i { background: rgba(255,255,255,.25); }
.competitor-rank.is-client i b { background: #f8f7fa; }
.company-map-link { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color .18s var(--ease), border-color .18s var(--ease); }
.company-map-link:hover { color: var(--blue); border-bottom-color: currentColor; }
.page-heading .company-map-link:hover { border-bottom-color: transparent; }
.company-map-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
html.has-scroll-competitor-animation .competitor-rank i b { opacity: .25; transform: scaleX(0); animation: none; }
html.has-scroll-competitor-animation .competitor-rank.is-revealed i b { animation: fill-competitor-score .72s cubic-bezier(.16, .8, .24, 1) var(--competitor-reveal-delay, 0ms) both; }
.competitor-panel-footer { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; }
.competitor-panel-footer strong { color: #ff8d72; }
.competitor-table-scroll { max-width: 100%; overflow-x: auto; border-radius: 14px; outline: none; }
.competitor-table-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.competitor-matrix,
.competitor-group-table { width: 100%; min-width: 850px; border-collapse: collapse; color: var(--muted); font-size: 12px; }
.competitor-matrix th,
.competitor-matrix td,
.competitor-group-table th,
.competitor-group-table td { height: 39px; padding: 0 11px; text-align: center; white-space: nowrap; }
.competitor-matrix thead,
.competitor-group-table thead { color: #aaa8b0; background: var(--surface-2); }
.competitor-matrix thead th,
.competitor-group-table thead th { font-size: 10px; font-weight: 800; }
.competitor-matrix th:first-child,
.competitor-group-table th:first-child { padding-left: 14px; color: var(--text); text-align: left; }
.competitor-matrix tbody tr,
.competitor-group-table tbody tr { border-bottom: 1px solid var(--line); }
.competitor-matrix tbody tr:last-child,
.competitor-group-table tbody tr:last-child { border-bottom: 0; }
.competitor-matrix td:last-child { color: var(--text); font-weight: 800; }
.competitor-matrix .is-client { color: #fff; background: #3168f7; }
.competitor-matrix .is-client th,
.competitor-matrix .is-client td,
.competitor-matrix .is-client td:last-child { color: #fff; }
.competitor-caption { max-width: 900px; margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.competitor-funnel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: funnel; }
.competitor-funnel li { min-height: 130px; padding: 18px; border-radius: 16px; background: var(--surface-2); }
.competitor-funnel strong { display: block; margin-bottom: 11px; color: #81a4ff; font-size: 32px; line-height: 1; letter-spacing: -.06em; }
.competitor-funnel span { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; }
.competitor-examples-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.competitor-examples-grid article { display: flex; flex-direction: column; min-height: 182px; padding: 18px; border-radius: 17px; background: var(--surface-2); }
.competitor-examples-grid article:nth-child(4),
.competitor-examples-grid article:nth-child(5) { grid-column: span 1; }
.competitor-examples-grid span,
.competitor-takeaway p { display: block; margin: 0 0 13px; color: #81a4ff; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.competitor-examples-grid h4 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.competitor-examples-grid p { margin: 9px 0 auto; color: var(--muted); font-size: 12px; line-height: 1.5; }
.competitor-examples-grid strong { display: block; margin-top: 16px; color: #c8c5cf; font-size: 12px; }
.competitor-takeaway { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.35fr); gap: 12px 26px; align-items: center; margin-top: 12px; padding: 20px; border-radius: 17px; background: #2a3043; }
.competitor-takeaway p { grid-column: 1 / -1; margin-bottom: 0; color: #81a4ff; }
.competitor-takeaway strong { color: #f8f7fa; font-size: 16px; letter-spacing: -.025em; }
.competitor-takeaway span { color: #bdbbc5; font-size: 12px; line-height: 1.55; }
.competitor-lessons-v3 { margin-top: 28px; padding-top: 27px; border-top: 1px solid var(--line); }
.competitor-lessons-v3 > header { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr); gap: 24px; align-items: end; }
.competitor-lessons-v3 header p { margin: 0 0 8px; color: #81a4ff; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.competitor-lessons-v3 h4 { margin: 0; color: var(--text); font-size: 20px; letter-spacing: -.035em; }
.competitor-lessons-v3 header > span { max-width: 510px; justify-self: end; color: var(--muted); font-size: 12px; line-height: 1.55; }
.competitor-scroll-hint { margin: 15px 0 9px; color: var(--muted); font-size: 10px; }
.competitor-lessons-table { width: 100%; min-width: 960px; border-collapse: separate; border-spacing: 0 6px; color: var(--muted); font-size: 12px; }
.competitor-lessons-table th,
.competitor-lessons-table td { min-height: 48px; padding: 12px 14px; text-align: left; vertical-align: middle; }
.competitor-lessons-table thead th { padding: 0 14px 5px; color: #aaa8b0; font-size: 10px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.competitor-lessons-table tbody th,
.competitor-lessons-table tbody td { background: var(--surface-2); }
.competitor-lessons-table tbody th { width: 20%; color: var(--text); font-weight: 800; }
.competitor-lessons-table tbody td:nth-child(2) { width: 25%; }
.competitor-lessons-table tbody td:nth-child(3) { width: 18%; color: #ff9a82; background: rgba(255, 141, 114, .12); }
.competitor-lessons-table tbody td:nth-child(4) { width: 37%; color: #a9bfff; background: rgba(129, 164, 255, .16); font-weight: 800; }
.competitor-lessons-table tbody tr > :first-child { border-radius: 12px 0 0 12px; }
.competitor-lessons-table tbody tr > :last-child { border-radius: 0 12px 12px 0; }

.action-section-v3 { position: relative; width: min(1240px, 100%); margin: 72px auto 0; padding: 52px 0; scroll-margin-top: 24px; }
.action-section-v3::before { position: absolute; top: 0; left: 0; width: 92px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #81a4ff, #628cff); content: ""; }
.diagnosis-v3::before,
.plan-v3::before,
.tools-v3::before,
.evidence-v3::before { background: linear-gradient(90deg, #3168f7, #81a4ff); }
.action-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; }
.action-tabs button { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 56px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .035); border-radius: 16px; color: var(--muted); background: var(--surface-2); font: inherit; cursor: pointer; transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease); text-align: left; }
.action-tabs button:hover { color: var(--text); background: var(--surface-2); }
.action-tabs button strong { flex: 0 0 auto; color: #ff8d72; font-size: 24px; line-height: 1; letter-spacing: -.06em; }
.action-tabs button span { min-width: 0; font-size: 12px; font-weight: 800; line-height: 1.2; }
.action-tabs button[aria-selected="true"] { color: #341d1b; background: #ff8d72; box-shadow: 0 7px 18px rgba(0, 0, 0, .12); }
.action-tabs button[aria-selected="true"] strong { color: inherit; }
.action-tabs #diagnosis-tab-checks strong { color: #ffd168; }
.action-tabs #diagnosis-tab-checks[aria-selected="true"] { color: #3d2d08; background: #ffd168; }
.action-tabs #diagnosis-tab-checks[aria-selected="true"] strong { color: inherit; }
.action-tabs #diagnosis-tab-strengths strong { color: var(--mint); }
.action-tabs #diagnosis-tab-strengths[aria-selected="true"] { color: #14382b; background: var(--mint); }
.action-tabs #diagnosis-tab-strengths[aria-selected="true"] strong { color: inherit; }
.diagnosis-panel-v3 { padding: 26px; border-radius: 24px; background: var(--surface); }
.diagnosis-panel-v3[hidden], .plan-panel-v3[hidden] { display: none; }
.problem-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.problem-list-head h3 { margin: 0; color: var(--text); font-size: 21px; letter-spacing: -.035em; }
.problem-list-head > span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.problem-list-v3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.problem-list-v3 li { display: flex; min-width: 0; min-height: 210px; flex-direction: column; gap: 10px; padding: 20px 20px 24px; border: 1px solid rgba(255, 255, 255, .045); border-radius: 17px; background: var(--surface-2); }
.problem-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.problem-meta > span { color: #929098; font-size: 11px; font-weight: 700; line-height: 1.3; }
.problem-list-v3 .problem-deadline { color: var(--muted); font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }
.problem-list-v3 .problem-deadline.is-now { color: #ff9c88; }
.problem-list-v3 h3 { margin: 4px 0 0; color: var(--text); font-size: 16px; line-height: 1.35; letter-spacing: -.025em; }
.problem-list-v3 p { margin: 0; color: #929098; font-size: 13px; line-height: 1.5; }
.problem-list-v3 .problem-action { margin-bottom: 6px; color: #d7d5dd; }
.problem-action strong { color: #81a4ff; }
.problem-list-v3 .problem-effect { display: inline-flex; align-items: center; align-self: flex-start; gap: 5px; margin-top: auto; padding: 5px 9px; border-radius: 999px; color: #81a4ff; background: rgba(129, 164, 255, .12); font-size: 11px; font-weight: 700; line-height: 1.2; }
.problem-effect::before { content: "↗"; font-size: 12px; line-height: 1; }
.problem-effect-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.check-list-v3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.check-list-v3:not(.is-good) { counter-reset: check; }
.check-list-v3:not(.is-good) li { display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 13px; row-gap: 8px; min-height: 114px; padding: 18px; border-radius: 17px; background: var(--surface-2); }
.check-list-v3:not(.is-good) li::before { display: grid; grid-column: 1; grid-row: 1; place-items: center; align-self: start; width: 30px; height: 30px; border-radius: 10px; content: counter(check, decimal-leading-zero); counter-increment: check; color: #3d2d08; background: #ffd168; font-size: 10px; font-weight: 800; }
.check-list-v3.is-good { counter-reset: strength; }
.check-list-v3.is-good li { display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 13px; row-gap: 8px; min-height: 114px; padding: 18px; border-radius: 17px; background: var(--surface-2); }
.check-list-v3.is-good li::before { display: grid; grid-column: 1; grid-row: 1; place-items: center; align-self: start; width: 30px; height: 30px; border-radius: 10px; content: counter(strength, decimal-leading-zero); counter-increment: strength; color: #14382b; background: var(--mint); font-size: 10px; font-weight: 800; }
.check-list-v3 strong { display: block; margin-bottom: 8px; color: #ffd168; font-size: 16px; }
.check-list-v3:not(.is-good) strong { grid-column: 2; grid-row: 1; margin: 0; color: var(--text); }
.check-list-v3 span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.check-list-v3:not(.is-good) span { grid-column: 2; grid-row: 2; }
.check-list-v3.is-good strong { grid-column: 2; grid-row: 1; margin: 0; color: var(--mint); }
.check-list-v3.is-good span { grid-column: 2; grid-row: 2; }
.plan-roadmap-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 10px; }
.plan-roadmap-head p { margin: 0; color: #81a4ff; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.plan-roadmap-head span { color: var(--muted); font-size: 12px; }
.outcome-list-v3 { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.outcome-list-v3::before { position: absolute; top: 28px; right: 9%; left: 9%; z-index: 0; height: 1px; background: rgba(129, 164, 255, .32); content: ""; }
.outcome-list-v3 article { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 184px; padding: 20px 18px 17px; border-radius: 20px; background: var(--surface); }
.outcome-list-v3 article::before { width: 10px; height: 10px; margin-bottom: 13px; border: 3px solid var(--surface); border-radius: 50%; background: #81a4ff; box-shadow: 0 0 0 1px #81a4ff; content: ""; }
.outcome-list-v3 article:nth-child(n + 3)::before { background: var(--mint); box-shadow: 0 0 0 1px var(--mint); }
.outcome-list-v3 span { color: #81a4ff; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.outcome-list-v3 article:nth-child(n + 3) span { color: var(--mint); }
.outcome-list-v3 strong { margin: 12px 0 9px; color: var(--text); font-size: 16px; line-height: 1.25; letter-spacing: -.03em; }
.outcome-list-v3 p { margin: auto 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.plan-tabs-v3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; margin: 0 0 16px; padding: 6px; border-radius: 18px; background: var(--surface); }
.plan-tabs-v3::before { display: none; }
.plan-tabs-v3 button { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 10px; row-gap: 2px; min-width: 0; min-height: 72px; padding: 12px 14px; overflow: hidden; border: 0; border-radius: 13px; color: var(--muted); background: var(--surface-2); font: inherit; cursor: pointer; text-align: left; transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease); }
.plan-tabs-v3 button:hover { color: var(--text); background: #36363e; transform: translateY(-1px); }
.plan-tabs-v3 span { grid-row: 1 / -1; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; color: #9db7ff; background: #35353e; font-size: 10px; font-weight: 800; }
.plan-tabs-v3 b { min-width: 0; color: var(--text); font-size: 14px; line-height: 1.1; }
.plan-tabs-v3 em { color: var(--muted); font-size: 10px; font-style: normal; line-height: 1.1; white-space: nowrap; }
.plan-tabs-v3 button[aria-selected="true"] { color: #17233d; border-color: #81a4ff; background: #81a4ff; box-shadow: 0 8px 18px rgba(0, 0, 0, .15); }
.plan-tabs-v3 button[aria-selected="true"] span { color: #17233d; background: rgba(23, 35, 61, .15); }
.plan-tabs-v3 button[aria-selected="true"] b { color: #17233d; }
.plan-tabs-v3 button[aria-selected="true"] em { color: rgba(23, 35, 61, .72); }
.plan-tabs-v3 button::after { position: absolute; right: 14px; bottom: 7px; left: 14px; height: 3px; border-radius: 999px; background-image: linear-gradient(90deg, rgba(49,104,247,.4), rgba(49,104,247,.82), rgba(49,104,247,.4)), linear-gradient(90deg, transparent 0 43%, #fff 48%, #3168f7 50%, #fff 52%, transparent 57%); background-position: 0 0, 180% 0; background-repeat: no-repeat; background-size: 100% 100%, 260% 100%; box-shadow: 0 0 8px rgba(49,104,247,.36); content: ""; opacity: .72; animation: insight-line-sweep 2.6s linear infinite; }
.plan-tabs-v3 button[aria-selected="true"]::after { opacity: 1; box-shadow: 0 0 8px rgba(49,104,247,.48); }
.plan-tabs-v3 button:nth-child(2)::after { animation-delay: -.85s; }
.plan-tabs-v3 button:nth-child(3)::after { animation-delay: -1.7s; }
.plan-panel-v3 { padding: 10px; border-radius: 24px; background: var(--surface); }
.task-list-v3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style-position: inside; counter-reset: task; }
.task-list-v3 li { min-height: 82px; padding: 0; border: 1px solid rgba(255, 255, 255, .025); border-radius: 17px; background: var(--surface-2); list-style: none; counter-increment: task; transition: background .18s var(--ease), transform .18s var(--ease); }
.task-list-v3 li:hover { background: #36363e; transform: translateY(-1px); }
.task-list-v3 li::before { position: absolute; margin: 18px 0 0 17px; color: #7b7883; font-size: 10px; font-weight: 800; content: counter(task, decimal-leading-zero); }
.task-list-v3 label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; min-height: inherit; padding: 17px; padding-left: 47px; cursor: pointer; }
.task-list-v3 input { appearance: none; width: 20px; height: 20px; margin: 0; border: 0; border-radius: 7px; background: #464650; cursor: pointer; }
.task-list-v3 input:checked { background: var(--mint); }
.task-list-v3 input:checked::after { display: grid; place-items: center; color: #18352d; font-size: 14px; font-weight: 900; content: "✓"; }
.task-list-v3 strong, .task-list-v3 small { display: block; }
.task-list-v3 strong { color: var(--text); font-size: 14px; letter-spacing: -.015em; }
.task-list-v3 small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.plan-scenario-v3 { display: grid; grid-template-columns: auto 30px auto minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 18px; padding: 20px 24px; border-radius: 19px; background: #2a3043; }
.plan-scenario-v3 span { display: grid; gap: 4px; color: #bdbbc5; font-size: 12px; }
.plan-scenario-v3 b { color: #f8f7fa; font-size: 32px; line-height: 1; letter-spacing: -.06em; }
.plan-scenario-v3 span:nth-child(3) b { color: #81a4ff; }
.plan-scenario-v3 i { color: #81a4ff; font-size: 20px; font-style: normal; text-align: center; }
.plan-scenario-v3 p { margin: 0; color: #bdbbc5; font-size: 12px; line-height: 1.5; }
.plan-scenario-v3 p strong { color: #f8f7fa; }
.tool-accordion-v3 { display: grid; gap: 0; overflow: hidden; border-radius: 24px; background: var(--surface); }
.tool-accordion-v3 details { overflow: hidden; border-bottom: 1px solid var(--line); background: transparent; }
.tool-accordion-v3 details:last-child { border-bottom: 0; }
.tool-accordion-v3 summary { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 32px; align-items: center; gap: 13px; min-height: 72px; padding: 13px 18px; cursor: pointer; list-style: none; transition: background .18s var(--ease); }
.tool-accordion-v3 summary::-webkit-details-marker { display: none; }
.tool-accordion-v3 summary > b { display: grid; place-items: center; width: 31px; height: 31px; border: 0; border-radius: 10px; color: var(--blue); background: var(--surface-2); font-size: 10px; }
.tool-accordion-v3 summary strong, .tool-accordion-v3 summary small { display: block; }
.tool-accordion-v3 summary strong { color: var(--text); font-size: 16px; }
.tool-accordion-v3 summary small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tool-accordion-v3 summary i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--text); background: var(--surface-2); font-size: 20px; font-style: normal; }
.tool-accordion-v3 details[open] summary { background: var(--surface-2); }
.tool-accordion-v3 details[open] summary::before { position: absolute; top: 16px; bottom: 16px; left: 0; width: 3px; border-radius: 0 999px 999px 0; background: var(--blue); content: ""; }
.tool-accordion-v3 details[open] summary > b { color: #17151c; border-color: var(--blue); background: var(--blue); }
.tool-accordion-v3 details[open] summary i { color: #17151c; background: var(--blue); transform: rotate(45deg); }
.tool-accordion-v3 details > div { display: grid; gap: 16px; max-width: 980px; padding: 24px 28px 30px 65px; color: var(--muted); font-size: 14px; line-height: 1.62; }
.tool-accordion-v3 h3 { display: flex; align-items: center; gap: 9px; margin: 12px 0 0; color: var(--text); font-size: 17px; line-height: 1.25; letter-spacing: -.025em; }
.tool-accordion-v3 h3::before { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); content: ""; }
.tool-accordion-v3 details > div > h3:first-child { margin-top: 0; }
.tool-accordion-v3 p { max-width: 820px; margin: 0; }
.tool-accordion-v3 blockquote { display: grid; gap: 8px; max-width: 860px; margin: 0; padding: 17px 18px 18px; border-radius: 14px; color: var(--text); background: rgba(98, 140, 255, .14); font-size: 14px; line-height: 1.62; }
.tool-accordion-v3 blockquote::before { color: #9fb8ff; font-size: 10px; font-weight: 800; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; content: "Текст для ответа"; }
.tool-accordion-v3 h4 { margin: 8px 0 -6px; color: var(--text); font-size: 14px; line-height: 1.4; letter-spacing: -.01em; }
.tool-accordion-v3 ul { display: grid; gap: 8px; max-width: 820px; margin: 0; padding-left: 20px; }
.tool-accordion-v3 li::marker { color: var(--blue); }
.tool-accordion-v3 a { color: var(--blue); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tool-accordion-v3 aside { display: grid; gap: 12px; max-width: 920px; padding: 18px; border-radius: 16px; color: var(--muted); background: #27272e; }
.tool-accordion-v3 aside h3 { margin: 0; color: #f8f7fa; }
.tool-accordion-v3 aside h3::before { background: var(--mint); }
.tool-columns-v3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tool-columns-v3 section { padding: 17px; border-radius: 15px; background: #27272e; }
.tool-columns-v3 section > strong { color: #f8f7fa; font-size: 14px; }
.tool-columns-v3 section ul { margin-top: 10px; }
.tool-callout-v3 { display: grid; gap: 8px; max-width: 920px; padding: 17px 18px; border-radius: 14px; color: var(--text); background: #27272e; }
.tool-accordion-v3 aside .tool-callout-v3 { max-width: none; white-space: nowrap; }
.tool-callout-v3 h3, .tool-callout-v3 p { margin: 0; }
.copy-text-v3 { justify-self: start; min-height: 36px; margin-top: -8px; padding: 0 13px; border: 0; border-radius: 10px; color: #b8c9ff; background: rgba(98, 140, 255, .12); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.copy-text-v3:hover { color: var(--text); background: rgba(98, 140, 255, .12); }
.report-legal-note { width: min(1240px, calc(100% - 28px)); margin: 0 auto; padding: 0 0 36px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.evidence-link-v3 { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 20px 24px; border-radius: 19px; color: var(--text); background: var(--surface); text-decoration: none; transition: transform .18s var(--ease); }
.evidence-link-v3:hover { transform: translateY(-1px); }
.evidence-link-v3 span { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.evidence-link-v3 strong { font-size: 16px; letter-spacing: -.025em; }
.evidence-link-v3 i { color: var(--blue); font-style: normal; }
.control-grid-v3 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; overflow: hidden; border-radius: 24px; background: var(--surface); }
.control-grid-v3 article { display: grid; align-content: space-between; gap: 7px; min-height: 126px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; }
.control-grid-v3 article:nth-child(4n) { border-right: 0; }
.control-grid-v3 article:nth-child(n + 5) { border-bottom: 0; }
.control-grid-v3 span { color: var(--muted); font-size: 12px; }
.control-grid-v3 strong { color: var(--text); font-size: 20px; letter-spacing: -.04em; }
.control-grid-v3 em { color: var(--blue); font-size: 10px; font-style: normal; font-weight: 800; }
.evidence-accordion-v3 { display: grid; gap: 0; overflow: hidden; margin-top: 18px; border-radius: 22px; background: var(--surface); }
.evidence-accordion-v3 details { padding: 0; border-bottom: 1px solid var(--line); background: transparent; }
.evidence-accordion-v3 details:last-child { border-bottom: 0; }
.evidence-accordion-v3 summary { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 66px; padding: 0 58px 0 20px; cursor: pointer; list-style: none; }
.evidence-accordion-v3 summary::-webkit-details-marker { display: none; }
.evidence-accordion-v3 summary strong { color: var(--text); font-size: 14px; }
.evidence-accordion-v3 summary::after { position: absolute; right: 18px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--muted); content: '+'; font-size: 18px; font-weight: 500; line-height: 1; }
.evidence-accordion-v3 details[open] summary { background: var(--surface-2); }
.evidence-accordion-v3 details[open] summary::after { background: var(--blue); color: #17151c; content: '−'; }
.evidence-accordion-v3 summary span { color: var(--blue); font-size: 12px; font-weight: 800; }
.evidence-accordion-v3 details > p, .evidence-accordion-v3 details > ul { max-width: 800px; margin: 0; padding: 16px 20px 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.evidence-accordion-v3 details > p { padding-left: 38px; }
.evidence-accordion-v3 details > ul { padding-left: 38px; }
.evidence-v3 .section-heading { grid-template-columns: 1fr; }
.evidence-chain-v3 { overflow-x: auto; padding: 0 20px 20px; }
.evidence-chain-v3 table { width: 100%; min-width: 760px; border-collapse: collapse; color: var(--muted); font-size: 11px; line-height: 1.45; text-align: left; }
.evidence-chain-v3 th, .evidence-chain-v3 td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.evidence-chain-v3 th { color: var(--text); background: var(--surface-2); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.evidence-chain-v3 td:first-child { color: var(--text); font-weight: 700; }

@keyframes grow-score { from { transform: scaleX(.08); opacity: .35; } to { transform: scaleX(1); opacity: 1; } }
@keyframes fill-score-on-scroll { from { transform: scaleX(0); opacity: .25; } to { transform: scaleX(1); opacity: 1; } }
@keyframes fill-competitor-score { from { transform: scaleX(0); opacity: .25; } to { transform: scaleX(1); opacity: 1; } }
@keyframes fill-journey-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes insight-line-sweep { from { background-position: 0 0, 180% 0; } to { background-position: 0 0, -80% 0; } }
@property --donut-progress { syntax: '<number>'; inherits: false; initial-value: 0; }
@keyframes donut-draw {
  0% { --donut-progress: 0; opacity: 1; }
  92% { --donut-progress: 1; opacity: 1; }
  100% { --donut-progress: 1; opacity: 0; }
}

.report-guide-v3 { width: min(1040px, calc(100vw - 64px)); max-height: calc(100dvh - 56px); margin: auto; padding: 0; overflow: auto; color: var(--text); border: 0; border-radius: 24px; background: var(--surface); box-shadow: 0 28px 88px rgba(0, 0, 0, .52); }
.report-guide-v3::backdrop { background: rgba(5, 4, 8, .76); backdrop-filter: blur(7px); }
.report-guide-v3[open] { animation: guide-v3-enter .22s var(--ease) both; }
.report-guide-v3-inner { padding: 34px 38px 38px; }
.report-guide-v3 header { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.report-guide-v3 header p { margin: 0 0 11px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.report-guide-v3 header h2 { margin: 0; font-size: 32px; line-height: 1; letter-spacing: -.05em; }
.report-guide-v3 header > div > span { display: block; max-width: 680px; margin-top: 15px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.report-guide-v3 header button { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--text); background: var(--surface-2); font-size: 25px; font-weight: 300; line-height: 1; cursor: pointer; transition: background-color .18s var(--ease), transform .18s var(--ease); }
.report-guide-v3 header button:hover { background: #3a3943; transform: rotate(4deg); }
.report-guide-v3 ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.report-guide-v3 li { min-height: 198px; padding: 25px 28px; border-radius: 18px; background: var(--surface-2); }
.report-guide-v3 li > span { display: inline-flex; min-height: 28px; align-items: center; padding: 0 9px; border-radius: 999px; color: #a9bfff; background: rgba(49,104,247,.16); font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.report-guide-v3 h3 { margin: 15px 0 0; color: var(--text); font-size: 16px; line-height: 1.25; letter-spacing: -.03em; }
.report-guide-v3 li > p { margin: 8px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.report-guide-v3 li > div { display: flex; flex-wrap: wrap; gap: 8px; }
.report-guide-v3 li a { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 10px; border-radius: 10px; color: #a9bfff; background: #303750; font-size: 12px; font-weight: 800; transition: color .18s var(--ease), background-color .18s var(--ease), transform .18s var(--ease); }
.report-guide-v3 li a:hover { color: #fff; background: var(--blue-deep); transform: translateY(-1px); }
.report-guide-v3 li i { font-size: 17px; font-style: normal; }
@keyframes guide-v3-enter { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 680px) {
  .report-guide-v3 { width: calc(100vw - 28px); max-height: calc(100dvh - 28px); border-radius: 20px; }
  .report-guide-v3-inner { padding: 24px 18px; }
  .report-guide-v3 header { gap: 16px; padding-bottom: 20px; }
  .report-guide-v3 header h2 { font-size: 32px; }
  .report-guide-v3 header > div > span { margin-top: 12px; font-size: 14px; }
  .report-guide-v3 header button { flex-basis: 40px; width: 40px; height: 40px; }
  .report-guide-v3 ol { grid-template-columns: 1fr; margin-top: 20px; }
  .report-guide-v3 li { min-height: 0; padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .insight-card-coral::before,
  .insight-card-blue::before,
  .rank-item i { animation: none; transform: none; opacity: 1; }
  .donut::after { --donut-progress: 1; animation: none; }
}

html[data-theme="light"] body { background: var(--bg); }
html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .section-heading h2 span { color: #1f1f24; }
html[data-theme="light"] .sidebar-logo { background: transparent; }
html[data-theme="light"] .sidebar-nav a,
html[data-theme="light"] .sidebar-help { color: #6f6c77; }
html[data-theme="light"] .sidebar-nav a:hover,
html[data-theme="light"] .sidebar-nav a:focus-visible,
html[data-theme="light"] .sidebar-nav a.is-active { color: #fff; background: var(--blue-deep); }
html[data-theme="light"] .sidebar-help,
html[data-theme="light"] .theme-toggle-sidebar { color: #5d5a65; border: 0; background: #fff; }
html[data-theme="light"] .sidebar-help:hover,
html[data-theme="light"] .theme-toggle-sidebar:hover { color: #fff; background: var(--blue-deep); }
html[data-theme="light"] .mobile-menu-toggle { color: #2c2c33; background: #fff; }
html[data-theme="light"] .mobile-menu-toggle:hover { color: #2c2c33; background: #e2e1e8; }
html[data-theme="light"] .report-guide-v3 { box-shadow: 0 28px 88px rgba(30, 37, 58, .22); }
html[data-theme="light"] .report-guide-v3::backdrop { background: rgba(30, 34, 46, .58); }
html[data-theme="light"] .report-guide-v3 header button { color: #2458c8; background: #edf2ff; }
html[data-theme="light"] .report-guide-v3 header button:hover { color: #fff; background: var(--blue-deep); }
html[data-theme="light"] .report-guide-v3 li { border: 1px solid #e3e8f4; background: #f7f9fe; }
html[data-theme="light"] .report-guide-v3 li > span { color: #285fcf; background: #e3ecff; }
html[data-theme="light"] .report-guide-v3 li a { color: #2458c8; border: 1px solid #cad9fb; background: #e9f0ff; }
html[data-theme="light"] .report-guide-v3 li a:hover { color: #fff; border-color: var(--blue-deep); background: var(--blue-deep); }
html[data-theme="light"] .period-control,
html[data-theme="light"] .utility-actions button { color: #57545e; background: #fff; }
html[data-theme="light"] .utility-actions button:hover { background: #eceaf1; }
html[data-theme="light"] .metric-card:hover { background: var(--surface); }
html[data-theme="light"] .metric-card-light { color: #fff; background: #3168f7; }
html[data-theme="light"] .metric-card-light:hover { background: #3168f7; }
html[data-theme="light"] .metric-label { color: #5b5863; }
html[data-theme="light"] .metric-card-light .metric-label { color: rgba(255, 255, 255, .82); }
html[data-theme="light"] .metric-card-light strong span,
html[data-theme="light"] .metric-card-light small { color: rgba(255, 255, 255, .74); }
html[data-theme="light"] .metric-card-light .tag-blue,
html[data-theme="light"] .metric-card-light .metric-arrow { color: #3168f7; background: #fff; }
html[data-theme="light"] .metric-arrow-dark,
html[data-theme="light"] .round-icon { color: #56535e; background: #eeedf2; }
html[data-theme="light"] .insight-card-coral .round-icon { color: #201315; background: var(--coral); }
html[data-theme="light"] .insight-card-blue .round-icon { color: #fff; background: var(--blue); }
html[data-theme="light"] .ranking-card header p,
html[data-theme="light"] .mix-card header p { color: #6e6b75; }
html[data-theme="light"] .rank-item b { color: #4e4b55; }
html[data-theme="light"] .rank-item span { color: #686570; }
html[data-theme="light"] .rank-item.is-current b,
html[data-theme="light"] .rank-item.is-current span { color: #3168f7; }
html[data-theme="light"] .ranking-card header > a,
html[data-theme="light"] .mix-card header > a { color: #fff; background: #3168f7; }
html[data-theme="light"] .insight-card > div span { color: #4f4c56; }
html[data-theme="light"] .insight-card p { color: #686570; }
html[data-theme="light"] .mix-content li { color: #55525c; }
html[data-theme="light"] .mix-content li b { color: #232129; }
html[data-theme="light"] .score-module { background: #f8f7fb; }
html[data-theme="light"] .score-module:hover { background: #f1f3fb; }
html[data-theme="light"] .score-module-head > span { color: #67636e; background: #ebeaf0; }
html[data-theme="light"] .score-module > p,
html[data-theme="light"] .score-module small { color: #625f69; }
html[data-theme="light"] .score-bar { background: #e5e4e9; }
html[data-theme="light"] .priority-panel { background: #ffe8e5; }
html[data-theme="light"] .priority-panel > p { color: #866f72; }
html[data-theme="light"] .priority-count span { color: #4a393c; }
html[data-theme="light"] .priority-panel > ol > li { border-top-color: rgba(180, 67, 57, .14); }
html[data-theme="light"] .priority-panel > ol > li small { color: #745f63; }
html[data-theme="light"] .priority-secondary { border-top-color: rgba(111, 66, 69, .14); }
html[data-theme="light"] .priority-secondary h3 { color: #4e363a; }
html[data-theme="light"] .priority-secondary li { color: #634e52; background: rgba(127, 68, 72, .07); }
html[data-theme="light"] .journey-step-v3 { background: #f8f7fb; }
html[data-theme="light"] .journey-step-v3.is-risk,
html[data-theme="light"] .journey-verdict-v3 { background: #ffe8e5; }
html[data-theme="light"] .journey-step-v3 p { color: #625f69; }
html[data-theme="light"] .journey-verdict-main p { color: #866f72; }
html[data-theme="light"] .journey-verdict-v3 > p { color: #745f63; }
html[data-theme="light"] .analysis-facts li { background: #fff; }
html[data-theme="light"] .analysis-facts li[data-status="good"],
html[data-theme="light"] .analysis-panel-good .analysis-aside { background: #d0f1e0; }
html[data-theme="light"] .analysis-panel-risk .analysis-aside { background: #ffe8e5; }
html[data-theme="light"] .analysis-panel-risk .social-aside-good { background: #d0f1e0; }
html[data-theme="light"] .social-aside-good > p { color: #26754e; }
html[data-theme="light"] .analysis-facts li[data-status="risk"] { background: #ffe8e5; }
html[data-theme="light"] .analysis-facts li[data-status="reserve"] { background: #f0eff4; }
html[data-theme="light"] .analysis-aside > span { color: #5f5c66; }
html[data-theme="light"] .offer-comparison summary span { background: #e8e7ed; }
html[data-theme="light"] .offer-comparison[open] summary { border-bottom-color: #e1e0e7; }
html[data-theme="light"] .offer-table thead { background: #e8e7ed; }
html[data-theme="light"] .offer-table tbody tr { border-bottom-color: #e5e4ea; }
html[data-theme="light"] .competitor-tabs-v3 button { color: #625f69; background: #ebeaf0; }
html[data-theme="light"] .competitor-tabs-v3 button:hover { color: #201f26; background: #e2e1e8; }
html[data-theme="light"] .competitor-tabs-v3 button[aria-selected="true"] { color: #fff; background: #2c2c33; }
html[data-theme="light"] .competitor-rank i { background: #dfdee5; }
html[data-theme="light"] .competitor-rank strong,
html[data-theme="light"] .competitor-rank em,
html[data-theme="light"] .competitor-matrix th:first-child,
html[data-theme="light"] .competitor-group-table th:first-child { color: #1f1f24; }
html[data-theme="light"] .competitor-rank.is-client strong,
html[data-theme="light"] .competitor-rank.is-client em { color: #fff; }
html[data-theme="light"] .competitor-matrix thead,
html[data-theme="light"] .competitor-group-table thead,
html[data-theme="light"] .competitor-funnel li,
html[data-theme="light"] .competitor-examples-grid article { background: #ebeaf0; }
html[data-theme="light"] .competitor-matrix tbody tr,
html[data-theme="light"] .competitor-group-table tbody tr { border-bottom-color: #e2e1e8; }
html[data-theme="light"] .competitor-examples-grid strong { color: #625f69; }
html[data-theme="light"] .competitor-takeaway { background: #e6eeff; }
html[data-theme="light"] .competitor-takeaway strong { color: #1f1f24; }
html[data-theme="light"] .competitor-takeaway span { color: #5c6271; }
html[data-theme="light"] .competitor-lessons-v3 > header > span { color: #625f69; }
html[data-theme="light"] .competitor-lessons-table tbody th,
html[data-theme="light"] .competitor-lessons-table tbody td { background: #ebeaf0; }
html[data-theme="light"] .competitor-lessons-table tbody th { color: #1f1f24; }
html[data-theme="light"] .competitor-lessons-table tbody td:nth-child(3) { color: #aa4d3d; background: #ffe8e5; }
html[data-theme="light"] .competitor-lessons-table tbody td:nth-child(4) { color: #2853bb; background: #e4ecff; }
html[data-theme="light"] .plan-tabs-v3 button,
html[data-theme="light"] .task-list-v3 li,
html[data-theme="light"] .tool-accordion-v3 summary i { background: #ebeaf0; }
html[data-theme="light"] .action-tabs button { background: #fff; }
html[data-theme="light"] .problem-list-v3 li,
html[data-theme="light"] .check-list-v3 li { background: #f8f7fb; }
html[data-theme="light"] .action-tabs button { border-color: rgba(31, 31, 36, .06); }
html[data-theme="light"] .plan-tabs-v3 button,
html[data-theme="light"] .task-list-v3 li { border-color: rgba(31, 31, 36, .06); }
html[data-theme="light"] .action-tabs button:hover,
html[data-theme="light"] .plan-tabs-v3 button:hover { background: #e2e1e8; }
html[data-theme="light"] .task-list-v3 li:hover { background: #e2e1e8; }
html[data-theme="light"] .action-tabs button[aria-selected="true"] { color: #3d201d; background: #ff8d72; }
html[data-theme="light"] .plan-tabs-v3 { background: #fff; }
html[data-theme="light"] .plan-tabs-v3 button { background: #f8f7fb; }
html[data-theme="light"] .plan-tabs-v3 button:hover { background: #f8f7fb; }
html[data-theme="light"] .plan-tabs-v3 span { color: #5276d7; background: #ebeaf0; }
html[data-theme="light"] .plan-tabs-v3 button[aria-selected="true"] { color: #172745; border-color: #bad0ff; background: #bad0ff; box-shadow: 0 8px 18px rgba(38, 65, 126, .1); }
html[data-theme="light"] .plan-tabs-v3 button[aria-selected="true"] span { color: #172745; background: #81a4ff; }
html[data-theme="light"] .plan-tabs-v3 button[aria-selected="true"] b { color: #172745; }
html[data-theme="light"] .plan-tabs-v3 button[aria-selected="true"] em { color: rgba(23, 39, 69, .68); }
html[data-theme="light"] .outcome-list-v3 article,
html[data-theme="light"] .plan-panel-v3,
html[data-theme="light"] .tool-accordion-v3 details,
html[data-theme="light"] .evidence-link-v3,
html[data-theme="light"] .control-grid-v3,
html[data-theme="light"] .evidence-accordion-v3 { background: #f8f7fb; }
html[data-theme="light"] .diagnosis-panel-v3 { background: #fff; }
html[data-theme="light"] .plan-v3 .outcome-list-v3 article { background: #fff; }
html[data-theme="light"] .plan-panel-v3 { background: #fff; }
html[data-theme="light"] .task-list-v3 li { border: 0; background: #f8f7fb; }
html[data-theme="light"] .task-list-v3 input { background: #ebeaf0; }
html[data-theme="light"] .task-list-v3 input:checked { background: #67e7aa; }
html[data-theme="light"] .tool-accordion-v3 details { background: #fff; }
html[data-theme="light"] .control-grid-v3,
html[data-theme="light"] .evidence-accordion-v3 { background: #fff; }
html[data-theme="light"] .control-grid-v3 article,
html[data-theme="light"] .evidence-accordion-v3 details { background: transparent; }
html[data-theme="light"] .evidence-accordion-v3 details[open] summary { background: #ebeaf0; }
html[data-theme="light"] .evidence-accordion-v3 summary::after { background: #ebeaf0; }
html[data-theme="light"] .evidence-accordion-v3 details[open] summary::after { background: var(--blue); color: #17151c; }
html[data-theme="light"] .evidence-chain-v3 th { background: #f8f7fb; }
html[data-theme="light"] .problem-meta > span { color: var(--muted); }
html[data-theme="light"] .problem-list-v3 p { color: #625f69; }
html[data-theme="light"] .problem-list-v3 .problem-action { color: #514f58; }
html[data-theme="light"] .problem-action strong { color: #3157a8; }
html[data-theme="light"] .problem-list-v3 .problem-deadline.is-now { color: #aa4d3d; }
html[data-theme="light"] .problem-list-v3 .problem-effect { color: #31549c; background: #e7edfb; }
html[data-theme="light"] .plan-scenario-v3,
html[data-theme="light"] .tool-accordion-v3 blockquote { background: #e6eeff; }
html[data-theme="light"] .plan-scenario-v3 { background: #b9d1ff; color: #1f1f24; }
html[data-theme="light"] .plan-scenario-v3 * { color: #1f1f24; }
html[data-theme="light"] .tool-accordion-v3 aside,
html[data-theme="light"] .tool-columns-v3 section,
html[data-theme="light"] .tool-callout-v3 { color: #5c6271; background: #f8f7fb; }
html[data-theme="light"] .tool-accordion-v3 aside h3,
html[data-theme="light"] .tool-accordion-v3 h4,
html[data-theme="light"] .tool-columns-v3 section > strong { color: #1f1f24; }
html[data-theme="light"] .tool-accordion-v3 a { color: #2853bb; }
html[data-theme="light"] .tool-columns-v3 section { background: #ebeaf0; }
html[data-theme="light"] .plan-scenario-v3 b,
html[data-theme="light"] .plan-scenario-v3 p strong,
html[data-theme="light"] .control-grid-v3 strong { color: #1f1f24; }
html[data-theme="light"] .plan-scenario-v3 p { color: #1f1f24; }
html[data-theme="light"] .tool-accordion-v3 blockquote { color: #2853bb; }
html[data-theme="light"] .tool-accordion-v3 details[open] summary { background: #ebeaf0; }
html[data-theme="light"] .details-tabs button { color: #625f69; background: #ebeaf0; }
html[data-theme="light"] .details-tabs button:hover { color: #201f26; background: #e2e1e8; }
html[data-theme="light"] .details-tabs button[aria-selected="true"] { color: #fff; background: #2c2c33; }
html[data-theme="light"] .details-tabs button[aria-selected="true"] b { color: inherit; }
html[data-theme="light"] .action-tabs button { border: 0; }
html[data-theme="light"] .metric-info { color: #2c2c33; background: #fff; box-shadow: none; font-size: 16px; }
html[data-theme="light"] .score-info { color: #2c2c33; background: #ebeaf0; box-shadow: none; font-size: 16px; }
html[data-theme="light"] .metric-help,
html[data-theme="light"] .score-help { background: #eeedf2; }
html[data-theme="light"] a:focus-visible,
html[data-theme="light"] button:focus-visible,
html[data-theme="light"] input:focus-visible { outline-color: var(--blue-deep); }

a:focus-visible,
button:focus-visible,
input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes grow-bar { from { transform: scaleY(.12); opacity: .4; } to { transform: scaleY(1); opacity: 1; } }

@media (min-width: 1600px) {
  .workspace { padding: 44px 28px 28px; }
  .utility-actions button { width: 46px; height: 46px; }
  .page-heading { padding: 28px 0 22px; }
  .page-heading p { font-size: 12px; }
  .page-heading h1 { font-size: 44px; }
  .page-heading > div > span { margin-top: 9px; font-size: 14px; }
  .period-control { min-height: 42px; padding: 0 15px; font-size: 12px; }
  .dashboard-grid,
  .metric-grid { gap: 18px; }
  .channel-coverage { margin-top: 18px; }
  .metric-card { padding: 22px; }
  .metric-label { font-size: 12px; }
  .metric-arrow { top: 16px; right: 16px; width: 40px; height: 40px; }
  .metric-card strong { font-size: 44px; }
  .metric-card strong span { font-size: 16px; }
  .metric-card small { margin-top: 13px; font-size: 10px; }
  .ranking-card { padding: 24px 24px 18px; }
  .ranking-card header p,
  .mix-card header p { font-size: 10px; }
  .ranking-card h2 { font-size: 20px; }
  .ranking-card header > a,
  .mix-card header > a { width: 40px; height: 40px; }
  .rank-item b { font-size: 10px; }
  .rank-item span { font-size: 10px; }
  .insight-card { padding: 22px; }
  .round-icon { width: 42px; height: 42px; }
  .insight-card > div span { font-size: 14px; }
  .insight-card p { font-size: 12px; }
  .mix-card { padding: 22px 24px; }
  .mix-card h2 { font-size: 20px; }
  .mix-content { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
  .donut { width: 168px; }
  .donut::before { width: 96px; }
  .donut strong { font-size: 30px; }
  .mix-content ul { gap: 12px; }
  .mix-content li { grid-template-columns: 9px minmax(0, 1fr) auto; font-size: 12px; }
  .mix-content li i { width: 9px; height: 9px; }
  .mix-content li b { font-size: 12px; }
}

@media (max-width: 1050px) {
  .channel-coverage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body { background: var(--bg); }
  .dashboard-shell { width: 100%; min-height: 100svh; margin: 0; border-radius: 0; }
  .workspace { min-height: 100svh; }
  .dashboard-grid { grid-template-rows: auto; }
  .metric-grid,
  .ranking-card { grid-column: 1 / -1; }
  .metric-grid { min-height: 320px; }
  .ranking-card { min-height: 330px; }
  .insight-card { grid-column: span 6; min-height: 220px; }
  .mix-card { grid-column: 1 / -1; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .score-layout { grid-template-columns: 1fr; }
  .priority-panel { min-height: 560px; }
  .priority-panel > a { margin-top: 24px; }
  .journey-track-v3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey-step-v3:nth-child(3)::after { display: none; }
  .journey-verdict-v3 { grid-template-columns: 1fr; gap: 18px; }
  .journey-verdict-v3 > a { width: fit-content; }
  .analysis-content { grid-template-columns: 1fr; }
  .analysis-aside { min-height: 180px; }
  .competitor-funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .competitor-examples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcome-list-v3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .outcome-list-v3::before { display: none; }
  .problem-list-v3 { grid-template-columns: 1fr; }
  .control-grid-v3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .control-grid-v3 article:nth-child(4n) { border-right: 1px solid var(--line); }
  .control-grid-v3 article:nth-child(2n) { border-right: 0; }
  .control-grid-v3 article:nth-child(n + 5) { border-bottom: 1px solid var(--line); }
  .control-grid-v3 article:nth-child(n + 7) { border-bottom: 0; }
}

@media (max-width: 680px) {
  .channel-coverage { padding: 16px; }
  .channel-coverage-heading { align-items: start; }
  .channel-coverage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-coverage-list li { min-height: 54px; }
  /* The mobile rail stays in normal document flow, so it scrolls away with the report. */
  .dashboard-shell { padding-left: 0; }
  .sidebar { position: relative; inset: auto; top: auto; z-index: 50; flex-direction: row; justify-content: space-between; width: 100%; height: 68px; min-height: 0; padding: 10px 14px; overflow: visible; border-bottom: 1px solid var(--line); }
  .sidebar-help::after,
  .theme-toggle-sidebar::after { display: none; }
  .sidebar-nav { display: none; }
  .mobile-menu-toggle,
  .theme-toggle-sidebar { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 14px; color: #d9d7de; background: #303034; cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease); }
  .mobile-menu-toggle { margin-left: 7px; margin-right: auto; }
  .theme-toggle-sidebar { margin-left: 7px; }
  .mobile-menu-toggle:hover,
  .theme-toggle-sidebar:hover { color: #17151c; background: var(--light); }
  html[data-theme="light"] .theme-toggle-sidebar { color: #2c2c33; background: #fff; }
  html[data-theme="light"] .theme-toggle-sidebar:hover { color: #2c2c33; background: #e2e1e8; }
  .mobile-menu-toggle::after { display: none; content: "×"; font-size: 28px; font-weight: 400; line-height: 1; }
  .mobile-menu-toggle.is-open svg { display: none; }
  .mobile-menu-toggle.is-open::after { display: block; }
  .sidebar.is-menu-open .sidebar-nav { position: absolute; top: 68px; right: 0; left: 0; z-index: 49; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; height: calc(100dvh - 68px); padding: 18px 20px 32px; overflow-y: auto; background: var(--bg); }
  .sidebar.is-menu-open .sidebar-nav a { display: grid; grid-template-columns: 38px minmax(0, 1fr); place-items: center start; width: 100%; min-height: 52px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: var(--surface); transform: none; }
  .sidebar.is-menu-open .sidebar-nav a::after { position: static; display: block; padding: 0; border-radius: 0; color: inherit; background: transparent; box-shadow: none; font-size: 14px; font-weight: 700; line-height: 1.18; white-space: normal; opacity: 1; pointer-events: auto; transform: none; }
  .sidebar.is-menu-open .sidebar-nav a.is-active { color: #17151c; border-color: transparent; background: var(--light); }
  .sidebar.is-menu-open .sidebar-nav a.is-active::after { color: #17151c; }
  /* The active item communicates location; suppress transient browser focus frames after a touch selection. */
  .sidebar.is-menu-open .sidebar-nav a:focus-visible:not(.is-active) { color: var(--text); background: var(--surface); transform: none; }
  .workspace > section[id]:focus { outline: 0; }
  .sidebar-help { margin: 0 0 0 7px; }
  .workspace { padding: 14px; }
  .page-heading { align-items: start; }
  .page-heading-actions { align-self: flex-start; }
  .period-control { display: none; }
  .dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; gap: 10px; }
  .metric-grid,
  .ranking-card,
  .mix-card { grid-column: 1 / -1; }
  .metric-card { min-height: 136px; padding: 14px; border-radius: 18px; }
  .metric-label { max-width: calc(100% - 34px); font-size: 10px; line-height: 1.25; }
  .metric-arrow { top: 10px; right: 10px; width: 30px; height: 30px; font-size: 14px; }
  .metric-card strong { font-size: 28px; }
  .metric-card strong span { font-size: 12px; }
  .metric-card small { flex-wrap: wrap; gap: 3px 5px; min-height: 0; margin-top: 8px; font-size: 9px; line-height: 1.2; }
  .metric-card .tag { padding: 3px 5px; }
  .ranking-card,
  .insight-card,
  .mix-card { margin-top: 0; }
  .ranking-card { min-height: 430px; }
  .ranking-card header > a,
  .mix-card header > a { width: 44px; height: 44px; }
  .ranking-plot { grid-template-columns: 1fr; gap: 7px; height: auto; margin-top: 18px; padding: 0; }
  .rank-item { grid-template-columns: 72px minmax(0, 1fr) 24px; grid-template-rows: auto; align-items: center; gap: 8px; height: auto; }
  .rank-item span { grid-column: 1; grid-row: 1; text-align: left; }
  .rank-item i { grid-column: 2; grid-row: 1; width: var(--score); height: 7px; border-radius: 99px; }
  .rank-item b { grid-column: 3; grid-row: 1; }
  .average-line { display: none; }
  .insight-card { grid-column: span 1; min-height: 164px; padding: 14px; border-radius: 18px; }
  .round-icon { width: 34px; height: 34px; }
  .insight-card > div { gap: 6px; }
  .insight-card strong { font-size: 38px; }
  .insight-card > div span { padding-bottom: 2px; font-size: 10px; line-height: 1.16; }
  .insight-card p { margin-top: 8px; font-size: 9px; line-height: 1.3; }
  .mix-content { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
  .donut { width: 116px; }
  .score-breakdown { margin-top: 90px; padding-top: 44px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading-note { max-width: 420px; }
  .score-board { padding: 16px; border-radius: 20px; }
  .score-modules { grid-template-columns: 1fr; }
  .score-module { grid-template-columns: 1fr; grid-template-areas: "head" "copy" "meter" "meta"; gap: 11px; min-height: 0; padding: 17px; }
  .score-module > p { font-size: 14px; }
  .score-module small { font-size: 12px; }
  .priority-panel { min-height: 0; padding: 20px; border-radius: 20px; }
  .priority-icon { margin-bottom: 22px; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-card { min-height: 0; padding: 20px; border-radius: 20px; }
  .decision-card h3 { white-space: normal; }
  .journey-section-v3 { margin-top: 56px; padding-top: 44px; }
  .journey-board { padding: 16px; border-radius: 20px; }
  .journey-board > header { align-items: start; flex-direction: column; gap: 14px; }
  .journey-legend { justify-content: start; }
  .journey-track-v3 { grid-template-columns: 1fr; }
  .journey-step-v3 { min-height: 0; padding: 18px; }
  .journey-step-v3::after,
  .journey-step-v3:nth-child(3)::after { top: auto; right: auto; bottom: -11px; left: 30px; display: block; width: 0; height: 10px; border-top: 0; border-left: 1px solid var(--line); }
  .journey-step-v3:last-child::after { display: none; }
  .journey-step-v3 h4 { margin-top: 24px; font-size: 18px; }
  .journey-step-v3 p { font-size: 14px; }
  .journey-verdict-v3 { padding: 20px; border-radius: 20px; }
  .journey-verdict-main { align-items: start; }
  .journey-verdict-v3 > a { width: 100%; }
  .details-v3 { margin-top: 56px; padding-top: 44px; }
  .details-tabs { flex-wrap: nowrap; margin-right: 0; padding-right: 0; overflow-x: auto; scrollbar-width: none; }
  .details-tabs::-webkit-scrollbar { display: none; }
  .details-tabs button { flex: 0 0 auto; }
  .analysis-panel { border-radius: 20px; }
  .analysis-overview { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px 20px; }
  .analysis-overview h3 { font-size: 24px; }
  .analysis-score { grid-template-columns: auto auto; align-items: center; min-width: 0; padding-right: 42px; }
  .analysis-score em { grid-column: 1 / -1; margin: 8px 0 0; }
  .score-help { position: static; grid-column: 1 / -1; width: auto; margin-top: 8px; }
  .social-channel-navigation { padding: 0 14px 14px; }
  .social-channel-tabs button { padding: 0 10px; font-size: 12px; }
  .analysis-content { padding: 0 14px 14px; }
  .analysis-facts,
  .analysis-aside { padding: 18px; border-radius: 18px; }
  .analysis-facts li { min-height: 0; font-size: 14px; }
  .offer-comparison { margin: 0 14px 14px; border-radius: 16px; }
  .offer-comparison summary { grid-template-columns: minmax(0, 1fr) 34px; gap: 10px; padding: 0 14px 0 16px; }
  .offer-comparison summary span { display: none; }
  .offer-comparison-body { padding: 14px 16px 16px; }
  .competitors-v3 { margin-top: 56px; padding-top: 44px; }
  .competitor-tabs-v3 { flex-wrap: nowrap; margin-right: 0; padding-right: 0; overflow-x: auto; scrollbar-width: none; }
  .competitor-tabs-v3::-webkit-scrollbar { display: none; }
  .competitor-tabs-v3 button { flex: 0 0 auto; }
  .competitor-panel-v3 { padding: 20px 16px; border-radius: 20px; }
  .competitor-panel-head { align-items: start; flex-direction: column; gap: 13px; }
  .competitor-rank { grid-template-columns: 24px minmax(98px, 132px) minmax(0, 1fr) 30px; gap: 8px; padding: 0 6px; }
  .competitor-panel-footer { flex-direction: column; gap: 6px; }
  .competitor-funnel,
  .competitor-examples-grid { grid-template-columns: 1fr; }
  .competitor-funnel li,
  .competitor-examples-grid article { min-height: 0; }
  .competitor-takeaway { grid-template-columns: 1fr; gap: 10px; }
  .competitor-lessons-v3 { margin-top: 22px; padding-top: 22px; }
  .competitor-lessons-v3 > header { grid-template-columns: 1fr; gap: 10px; }
  .competitor-lessons-v3 header > span { justify-self: start; }
  .action-section-v3 { margin-top: 56px; padding-top: 44px; }
  .action-tabs { display: flex; margin-right: 0; padding-right: 0; overflow-x: auto; scrollbar-width: none; }
  .action-tabs::-webkit-scrollbar { display: none; }
  .action-tabs button { flex: 0 0 auto; }
  .plan-tabs-v3 { display: flex; width: auto; margin-right: 0; padding-right: 0; overflow-x: auto; scrollbar-width: none; }
  .plan-tabs-v3::before { display: none; }
  .plan-tabs-v3::-webkit-scrollbar { display: none; }
  .plan-tabs-v3 button { flex: 0 0 190px; }
  .diagnosis-panel-v3,
  .plan-panel-v3 { padding: 16px; border-radius: 20px; }
  .problem-list-v3,
  .check-list-v3,
  .task-list-v3 { grid-template-columns: 1fr; }
  .problem-list-v3 li { min-height: 0; }
  .plan-roadmap-head { align-items: start; flex-direction: column; gap: 4px; }
  .outcome-list-v3 { grid-template-columns: 1fr; }
  .outcome-list-v3::before { top: 28px; bottom: 28px; left: 26px; display: block; width: 1px; height: auto; }
  .outcome-list-v3 article { min-height: 0; }
  .plan-scenario-v3 { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .plan-scenario-v3 i { transform: rotate(90deg); text-align: left; }
  .tool-accordion-v3 summary { min-height: 70px; padding: 13px 15px; }
  .copy-text-v3 { min-height: 44px; }
  .tool-accordion-v3 details > div { gap: 14px; padding: 20px 16px 24px; font-size: 14px; }
  .tool-accordion-v3 aside .tool-callout-v3 { white-space: normal; }
  .tool-columns-v3 { grid-template-columns: 1fr; }
  .evidence-link-v3 { align-items: start; flex-direction: column; padding: 18px; }
  .control-grid-v3 { grid-template-columns: 1fr 1fr; }
  .control-grid-v3 article { min-height: 105px; padding: 16px; }
  .evidence-accordion-v3 summary { min-height: 64px; padding: 0 52px 0 16px; }
  .evidence-accordion-v3 summary::after { right: 14px; }
  .evidence-accordion-v3 details > p, .evidence-accordion-v3 details > ul { padding-right: 16px; padding-bottom: 18px; padding-left: 16px; }
  .evidence-accordion-v3 details > ul { padding-left: 34px; }
  .evidence-chain-v3 { padding-right: 16px; padding-bottom: 18px; padding-left: 16px; }
}

@media (max-width: 430px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card { min-height: 132px; }
  .mix-content { grid-template-columns: 1fr; justify-items: center; }
  .mix-content ul { grid-template-columns: 1fr; width: 100%; }
  .score-board > header { align-items: start; }
  .score-scale { display: none; }
  .decision-card ul { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body.mobile-menu-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

html[data-theme="light"] #detail-offer :is(.analysis-score strong, .review-next-step > div > p) { color: #26754e; }

html[data-theme="light"] #detail-presence :is(.analysis-score strong, .review-next-step > div > p) { color: #26754e; }

#detail-reputation .review-metric[data-status="reserve"] { --metric-accent: var(--muted); }
html[data-theme="light"] #detail-reputation :is(.analysis-score strong, .review-next-step > div > p) { color: #26754e; }

html[data-theme="light"] #detail-website :is(.analysis-score strong, .review-next-step > div > p) { color: #aa4d3d; }

#detail-prices .review-metric-comparison strong.prices-value { font-size: clamp(18px, 1.6vw, 23px); letter-spacing: -.04em; }
#detail-prices .prices-comparison-end { border-radius: 14px; padding-bottom: 12px; }
html[data-theme="light"] #detail-prices :is(.analysis-score strong, .review-next-step > div > p) { color: #26754e; }

#detail-prices .prices-package-detail > p { min-height: 0; }

#social-panel-telegram.telegram-detail-content { padding: 0 18px 18px; }
#social-panel-telegram .review-metric-comparison strong.telegram-value { font-size: clamp(18px, 1.6vw, 23px); letter-spacing: -.04em; }
@media (max-width: 680px) { #social-panel-telegram.telegram-detail-content { padding: 0 14px 14px; } }

:is(#social-panel-vk, #social-panel-instagram).social-card-content { padding: 0 18px 18px; }
:is(#social-panel-vk, #social-panel-instagram) .review-metric-comparison strong.social-value { font-size: clamp(18px, 1.6vw, 23px); letter-spacing: -.04em; }
#detail-social .analysis-score { min-width: 0; padding-right: 0; }
#detail-social .analysis-score strong { white-space: nowrap; }
#detail-social .review-score-total { color: var(--muted); font-size: .55em; letter-spacing: -.04em; }
@media (max-width: 680px) { :is(#social-panel-vk, #social-panel-instagram).social-card-content { padding: 0 14px 14px; } }

#social-panel-instagram .review-next-step > div > p { color: var(--mint); }
html[data-theme="light"] #social-panel-instagram .review-next-step > div > p { color: #26754e; }
