/* SEO Lens additions on top of the shared Lens stylesheet (app.css). */
.act { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 13px 0; border-top: 1px solid var(--line); align-items: center; }
.act:first-of-type { border-top: 0; padding-top: 2px; }
.act-kw { font-weight: 600; overflow-wrap: anywhere; }
.act-kw button { text-align: left; }
.act-do { grid-column: 1 / -1; font-size: 14px; color: var(--text-2); }
.act-do a { color: var(--accent-ink); font-weight: 550; text-decoration: none; overflow-wrap: anywhere; }
.act-do a:hover { text-decoration: underline; }
.act-num { text-align: right; font-size: 13px; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.act-num b { color: var(--text); font-size: 15px; font-weight: 650; }
.card-why { font-size: 14px; color: var(--text-2); margin: -6px 0 12px; max-width: 70ch; }
.step { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 650; margin-right: 8px; flex: none; }
.card-title.row { align-items: center; gap: 0; }

.pos { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 7px; border-radius: 8px; font-weight: 650; font-variant-numeric: tabular-nums; background: var(--surface-2); border: 1px solid var(--line); }
.pos.p1 { background: var(--good-soft); color: var(--good); border-color: transparent; }
.pos.p2 { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.kw-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; font-weight: 550; text-align: left; overflow-wrap: anywhere; }
.kw-link:hover { color: var(--accent-ink); text-decoration: underline; }
.star { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--line-strong); line-height: 0; border-radius: 6px; }
.star svg { width: 18px; height: 18px; }
.star:hover { color: var(--accent); }
.star.on { color: var(--accent); }
.star.on svg { fill: currentColor; }
.url { color: var(--text-3); font-size: 13px; text-decoration: none; display: inline-block; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.url:hover { color: var(--accent-ink); text-decoration: underline; }
td.kw { min-width: 180px; }
.controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.controls .grow { flex: 1 1 220px; }
.controls input[type="text"], .controls input[type="search"] { width: 100%; }
textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px 12px; outline: none; width: 100%; min-height: 84px; resize: vertical; }
textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn-sm { padding: 5px 10px; font-size: 13px; }

.issue { border-top: 1px solid var(--line); }
.issue:first-child { border-top: 0; }
.issue > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 12px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; }
.issue > summary::-webkit-details-marker { display: none; }
.issue-title { font-weight: 600; }
.issue-fix { font-size: 14px; color: var(--text-2); }
.issue-n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.issue-n small { display: block; font-weight: 500; color: var(--text-3); font-size: 12.5px; }
.issue-urls { padding: 0 0 14px 26px; font-size: 13.5px; }
.issue-urls div { padding: 5px 0; border-top: 1px dashed var(--line); overflow-wrap: anywhere; }
.issue-urls a { color: var(--accent-ink); text-decoration: none; }
.issue-urls span { color: var(--text-3); display: block; }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }

.drawer { position: fixed; inset: 0; z-index: 40; }
.drawer-back { position: absolute; inset: 0; background: rgba(15, 14, 10, .42); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(620px, 100%); background: var(--bg); border-left: 1px solid var(--line); padding: 28px 24px; overflow-y: auto; box-shadow: -12px 0 40px rgba(0, 0, 0, .12); }
.drawer-x { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--text-3); cursor: pointer; padding: 4px 8px; }
.drawer h2 { margin: 0 36px 4px 0; font-size: 22px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 550; z-index: 60; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.setup ol { margin: 8px 0 0; padding-left: 20px; color: var(--text-2); }
.setup li { margin: 4px 0; }
@media (max-width: 820px) {
  .url { max-width: 160px; }
  .drawer-panel { padding: 22px 16px; }
  .toast { bottom: 84px; }
  .hide-s { display: none; }
}
