:root {
  color-scheme: light;
  --paper: #f8f9f6;
  --ink: #18231d;
  --muted: #59665d;
  --line: #dce4dd;
  --pine: #174d36;
  --mint: #d5efdd;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', sans-serif; font-size: 14px; line-height: 1.55; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #357b56; outline-offset: 3px; }
.frame { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header { background: #fff; border-bottom: 1px solid #e2e7e1; }
.header-content { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.identity { display: flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 750; letter-spacing: -.045em; white-space: nowrap; color: inherit; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { padding: 5px 9px; border-radius: 7px; color: #465c4d; text-decoration: none; font-size: 12px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { background: #edf5ee; color: #16482e; }
.brand-mark { display: flex; width: 33px; height: 33px; border-radius: 9px; padding: 8px; gap: 3px; align-items: center; justify-content: center; background: #173f2c; }
.brand-mark i { display: block; width: 3px; border-radius: 3px; height: 7px; background: #b7e9c5; }
.brand-mark i:nth-child(2) { height: 13px; }
.brand-mark i:nth-child(3) { height: 17px; }
.data-status { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e6ddc6; border-radius: 50px; color: #715b24; background: #fff8e5; padding: 5px 11px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.data-status i, .google-dot, .x-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.data-status i { background: #a37b25; }
.data-status.measured { background: #e9f5e8; color: #285e40; border-color: #c4ddcc; }
.data-status.measured i { background: #4c996c; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 25px; background: #182a22; color: #f5f9f1; margin-top: 29px; min-height: 294px; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 43px, #bddbc314 44px 45px), repeating-linear-gradient(0deg, transparent 0 43px, #bddbc314 44px 45px), radial-gradient(ellipse at 92% 0%, #39725670, transparent 75%); mask-image: linear-gradient(90deg, #0003 0, #000 70%); }
.hero-inner { padding: 28px 38px 29px; }
.source-line { display: flex; align-items: center; gap: 8px; color: #d2dfd3; font-size: 11px; font-weight: 650; letter-spacing: .07em; }
.google-dot { background: #9ce6af; }
.x-dot { background: #d2dfd3; }
.source-divider { width: 1px; height: 10px; background: #6a8173; margin-inline: 4px; }
h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.14; margin: 14px 0 8px; letter-spacing: -.08em; font-weight: 800; }
.hero p { color: #d1ddd2; margin: 0 0 24px; font-size: 14px; }
.search { display: flex; align-items: center; width: min(805px, 100%); gap: 12px; min-height: 60px; border: 1px solid #d5e4d7; background: #fff; color: var(--ink); padding: 6px; padding-left: 18px; border-radius: 15px; }
.search-icon { margin-right: 4px; width: 15px; height: 15px; border: 1.7px solid #5d7466; border-radius: 50%; flex: none; position: relative; }
.search-icon::after { content: ''; position: absolute; right: -5px; bottom: -3px; width: 6px; height: 2px; transform: rotate(45deg); border-radius: 1px; background: #5d7466; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); padding-block: 9px; font-weight: 500; }
.search input:focus { outline-offset: 1px; }
.search button[type="submit"] { border: 0; background: #baeac6; color: #133623; border-radius: 10px; padding: 11px 16px; font-size: 13px; font-weight: 750; white-space: nowrap; }
.search button[type="submit"]:hover:not(:disabled) { background: #a5dbb1; }
.search button[type="submit"] span { margin-left: 8px; }
.clear-input { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: #52665a; font-size: 24px; line-height: 1; }
.clear-input:hover { background: #eaf2eb; }
.examples { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 13px; color: #d1ddd2; font-size: 11px; }
.examples span { margin-right: 4px; }
.examples button { color: #e4eee5; background: #e3f6ea0d; border: 1px solid #b1d3be3b; border-radius: 20px; padding: 3px 10px; }
.examples button:hover { background: #e3f6ea28; }
.workspace { margin-top: 27px; padding-bottom: 40px; }
.workspace-heading { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.heading-row { display: flex; align-items: center; gap: 8px; }
.heading-row h2 { font-size: 25px; margin: 0; line-height: 1.2; letter-spacing: -.055em; }
.result-count { padding: 2px 7px; border-radius: 5px; background: #edf1eb; color: #56655a; font-size: 11px; }
.topic { margin: 5px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.topic strong { color: var(--pine); margin-left: 5px; }
.export { padding: 7px 12px; border: 1px solid #cdd9cf; border-radius: 8px; background: white; color: #293d31; font-size: 12px; font-weight: 700; white-space: nowrap; }
.export span { margin-right: 4px; }
.export:hover { background: #eef5ef; }
.sample-note { color: #745f2d; font-size: 11px; margin: 0 0 9px; }
.estimate { display: block; color: #57695d; font-size: 11px; }
.keyword-source { display: block; margin-top: 3px; color: #52665a; font-size: 10px; font-weight: 500; }
.trend-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.trend-links a { padding: 6px 9px; border: 1px solid #d5e4d7; border-radius: 7px; color: #285e40; font-size: 12px; text-decoration: none; }
.trend-links a:hover { background: #eaf2eb; }
.panels { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; align-items: start; }
.table-shell, .trend-panel { background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.table-shell { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
thead th { background: #f3f6f1; text-align: left; color: #354338; font-weight: 700; font-size: 12px; border-bottom: 1px solid var(--line); padding: 9px 14px; }
thead th:not(:first-child), td { text-align: right; }
thead button { border: 0; background: transparent; padding: 0; color: inherit; text-align: right; font-weight: inherit; }
thead button:hover { color: #246342; }
thead button span { color: #52725e; }
thead small { display: block; color: #627369; font-size: 9px; font-weight: 500; margin-top: 2px; }
tbody th, tbody td { border-bottom: 1px solid #e9eeea; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover, tbody tr.selected { background: #eef7ef; }
tbody th { text-align: left; font-weight: 650; padding: 0 14px; }
tbody th button { color: #213c2a; padding: 10px 0; font-weight: inherit; text-align: left; border: 0; background: transparent; overflow-wrap: anywhere; }
td { font-family: var(--mono); font-size: 12px; padding: 9px 14px; white-space: nowrap; }
.change { font-family: var(--mono); padding: 3px 6px; border-radius: 5px; font-weight: 650; color: #556258; white-space: nowrap; }
.change.up { background: #e5f5e9; color: #256544; }
.change.down { background: #fbebe7; color: #913f33; }
.unknown { color: #65736a; }
.trend-panel { padding: 16px; }
.panel-top { display: flex; justify-content: space-between; align-items: center; }
.eyebrow, .small { font-size: 11px; color: var(--muted); }
.panel-icon { background: #e8f3ea; color: #3b7650; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 6px; }
.trend-panel h2 { font-size: 17px; margin: 4px 0 6px; overflow-wrap: anywhere; }
.trend-metric { display: flex; align-items: center; gap: 8px; }
.trend-metric strong { font-family: var(--mono); font-size: 30px; letter-spacing: -.08em; font-weight: 650; line-height: 1.15; }
.trend-metric .change { font-size: 11px; }
.small { margin: 4px 0 0; }
.plot { display: flex; gap: 8px; justify-content: space-between; height: 113px; margin-top: 17px; }
.plot-item { display: grid; grid-template-rows: minmax(0, 1fr) 15px; gap: 4px; flex: 1; min-width: 0; font-size: 9px; color: #627369; text-align: center; }
.plot-stack { display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid #dce6de; }
.plot-bar { width: min(23px, 85%); background: #cbe7d3; border-radius: 4px 4px 1px 1px; }
.plot-bar.latest { background: #2e714b; }
.plot-empty { height: 113px; margin-top: 17px; display: grid; place-items: center; font-size: 12px; color: var(--muted); background: #f5f7f4; border-radius: 8px; }
.trend-foot { border-top: 1px solid #e8ede8; margin-top: 10px; padding-top: 9px; color: var(--muted); display: flex; justify-content: space-between; font-size: 11px; }
.trend-foot strong { color: #354b3e; }
.footnote { color: #58675b; font-size: 11px; margin: 12px 0 0; }
.promo-main { padding-bottom: 48px; }
.promo-hero { min-height: 0; }
.promo-hero .hero-inner { padding: 29px 38px 34px; }
.promo-hero h1 { font-size: clamp(30px, 4.5vw, 54px); letter-spacing: -.073em; margin: 8px 0 13px; }
.promo-hero p { margin: 0; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-top: 18px; }
.promo-card { min-width: 0; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.promo-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.promo-card h2 { margin: 0; font-size: 19px; letter-spacing: -.04em; }
.promo-input, .promo-url, .promo-draft { display: block; width: 100%; color: var(--ink); background: #f7faf7; border: 1px solid #d9e3da; padding: 11px 12px; border-radius: 9px; }
.promo-input, .promo-draft { min-height: 166px; resize: vertical; line-height: 1.75; }
.promo-input::placeholder, .promo-url::placeholder { color: #697d6e; }
.promo-draft { background: #f0f8f1; }
.promo-label { display: block; margin: 11px 0 5px; font-size: 12px; font-weight: 650; }
.promo-label span { margin-left: 4px; font-size: 11px; font-weight: 500; color: var(--muted); }
.promo-description-head { margin: 16px 0 9px; }
.promo-work-list { max-height: 268px; overflow: auto; list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid #dce4dd; border-radius: 9px; }
.promo-work-list li + li { border-top: 1px solid #e5ece5; }
.promo-work-list button { display: grid; gap: 2px; width: 100%; padding: 8px 10px; text-align: left; background: #f8fbf8; color: #274838; border: 0; overflow-wrap: anywhere; }
.promo-work-list button:hover { background: #edf5ec; }
.promo-work-list button small { color: #526b5c; }
.promo-url { resize: vertical; overflow-wrap: anywhere; }
.promo-profile-controls { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.promo-profile-controls label { display: grid; gap: 4px; color: #395446; font-size: 12px; font-weight: 650; }
.promo-profile-controls select { min-width: 105px; padding: 7px 10px; color: var(--ink); background: #f7faf7; border: 1px solid #d9e3da; border-radius: 8px; }
.promo-batch-summary { display: flex; align-items: center; flex-wrap: wrap; column-gap: 12px; margin: 0 0 7px; font-size: 13px; color: #375545; }
.promo-batch-summary p { margin: 0; }
.promo-batch-list { margin: 0 0 12px; max-height: 184px; }
.promo-batch-list button { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.promo-batch-list button[aria-pressed='true'] { background: #e5f3e8; box-shadow: inset 3px 0 #2b714c; }
.promo-batch-list button span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.promo-batch-list button small { white-space: nowrap; }
.promo-original { margin-top: 8px; }
.promo-format { display: flex; flex-wrap: wrap; gap: 6px 16px; border: 0; margin: 13px 0 0; padding: 0; }
.promo-format legend { padding: 0; color: #465e4f; font-size: 12px; font-weight: 650; }
.promo-format label { display: inline-flex; align-items: center; gap: 5px; color: #304c3b; font-size: 12px; }
.promo-format input { accent-color: #236644; }
.promo-text-button { border: 0; padding: 6px 2px; color: #3f6150; background: transparent; font-size: 12px; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.promo-text-button:hover { color: #133f28; }
.promo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 15px; }
.promo-primary { padding: 11px 15px; border: 0; border-radius: 9px; background: #1c5738; color: white; font-weight: 700; }
.promo-primary:hover:not(:disabled) { background: #124127; }
.promo-primary span { margin-left: 9px; }
.promo-placeholder { min-height: 236px; display: grid; place-items: center; padding: 14px; text-align: center; background: #f5f8f4; border: 1px dashed #dce6dd; border-radius: 9px; color: #596e61; }
.promo-error { color: #8e3c2c; font-size: 12px; }
.promo-draft-meta { display: flex; justify-content: space-between; margin-top: 4px; color: #51695a; font-size: 11px; }
.promo-keywords { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 9px; color: var(--muted); font-size: 11px; }
.promo-keywords strong { padding: 3px 8px; border-radius: 20px; background: #edf5ec; color: #295b3e; font-weight: 650; }
.promo-signal-note { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.promo-options { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.promo-options button { padding: 6px 10px; color: #435c4b; border: 1px solid #dae5dc; border-radius: 8px; background: white; font-size: 12px; }
.promo-options button[aria-pressed='true'] { color: #1c5535; background: #eaf6ec; border-color: #a6c9ad; }
.promo-tip { margin-top: 13px; padding: 8px 10px; border-left: 3px solid #a6c9ad; background: #f4f8f3; color: #365445; font-size: 12px; }
.promo-tip p { margin: 2px 0 0; }
.promo-evidence { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 11px; font-size: 12px; color: #375545; }
.promo-evidence summary { cursor: pointer; font-weight: 650; }
.promo-evidence p { margin: 9px 0; overflow-wrap: anywhere; }
.promo-usage-list { display: grid; gap: 7px; list-style: none; margin: 0; padding: 0; }
.promo-usage-list li { display: grid; gap: 3px; border-radius: 8px; border: 1px solid var(--line); background: #f7faf7; padding: 8px 10px; }
.promo-usage-list a { width: fit-content; color: #23533a; text-decoration: underline; text-underline-offset: 2px; }
.promo-comparison { margin-bottom: 8px; border: 1px solid var(--line); background: #f7faf7; border-radius: 8px; padding: 7px 9px; }
.promo-comparison div { display: flex; justify-content: space-between; gap: 10px; }
.promo-used { color: #236442; margin-left: 7px; font-size: 10px; }
@media (max-width: 900px) { .panels { grid-template-columns: 1fr; } .trend-panel { width: min(100%, 450px); } }
@media (max-width: 700px) { .promo-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .frame { width: calc(100% - 30px); }
  .header-content { height: 57px; }
  .identity { font-size: 15px; gap: 7px; }
  .brand-mark { width: 28px; height: 28px; }
  .site-nav a { padding: 4px 5px; font-size: 11px; }
  .header-actions { gap: 6px; }
  .header-actions .data-status { padding: 4px 6px; }
  .header-content:has(.data-status) { height: auto; min-height: 57px; flex-wrap: wrap; padding-block: 8px; }
  .hero { margin-top: 17px; border-radius: 18px; min-height: 0; }
  .hero-inner { padding: 19px 15px; }
  .hero p { font-size: 12px; margin-bottom: 15px; }
  .search { min-height: 51px; gap: 8px; padding-left: 10px; border-radius: 11px; }
  .search button[type="submit"] { padding: 8px 10px; }
  .search button[type="submit"] span { display: none; }
  .search input { font-size: 16px; }
  .search-icon { width: 12px; height: 12px; }
  .heading-row h2 { font-size: 20px; }
  table { min-width: 392px; }
  thead th, tbody th, td { padding-inline: 8px; }
  .promo-hero .hero-inner { padding: 20px 15px; }
  .promo-hero p { margin: 0; }
  .promo-card { padding: 15px; }
  .promo-input, .promo-url, .promo-draft { font-size: 16px; }
}

.promo-x-publish { margin: 10px 0 13px; }
.promo-x-actions { display: flex; flex-wrap: wrap; gap: 8px 13px; align-items: center; }
.promo-x-link { display: inline-block; font-size: 13px; text-decoration: none; }
.performance-account { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.performance-account img { border-radius: 50%; }
.performance-form { display: grid; gap: 6px; margin-top: 12px; }
.performance-form label { font-size: 13px; font-weight: 650; }
.performance-form button { justify-self: start; margin-top: 5px; }
.performance-entry { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 6px; overflow-wrap: anywhere; }
.performance-entry a, .performance-top a { color: #23533a; text-decoration: underline; text-underline-offset: 2px; font-size: 13px; }
.performance-text { white-space: pre-wrap; font-size: 14px; margin: 7px 0; }
.performance-metrics { display: flex; flex-wrap: wrap; gap: 8px 13px; margin: 10px 0; }
.performance-metrics div { min-width: 46px; }
.performance-metrics dt { font-size: 11px; color: var(--muted); }
.performance-metrics dd { margin: 0; font-size: 15px; font-weight: 650; }
.performance-checkpoints { display: grid; gap: 5px; margin: 10px 0; font-size: 13px; }
.performance-checkpoints div { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 6px; }
.performance-checkpoints dt { font-weight: 650; }
.performance-checkpoints dd { display: flex; flex-wrap: wrap; column-gap: 10px; margin: 0; }
.performance-checkpoints small, .performance-checkpoints time { color: var(--muted); }
.performance-top { background: #f0f8f1; padding: 10px 12px; border-radius: 8px; }
.performance-top h3, .performance-top ol { margin: 0; font-size: 13px; }
.performance-top ol { margin-top: 5px; padding-left: 22px; }
@media (max-width: 480px) {
  .site-nav { flex-wrap: wrap; justify-content: flex-end; }
}
