/* The target keyword: its field in the audit options and its panel on the
   report (2 Nov 2026). In a file of its own so it does not collide with the
   rules other work appends to application.css. */

.opt--keyword { grid-column: 1 / -1; display: grid; gap: .3rem; }
.opt--keyword label { font-size: .85rem; font-weight: 550; color: var(--ink); }
.opt--keyword input { width: 100%; max-width: 32rem; box-sizing: border-box; }
.opt--keyword .hint { font-size: .76rem; }
/* Beside the free-tools card on a wide home page, it stays in the left
   column with the other controls instead of running under the card. */
@media (min-width: 64rem) {
  .options--open .options-grid:has(.opt-tools) > .opt--keyword { grid-column: 1; }
}
/* On the signed-in bar it sits between the address row and the note. */
.audit-form--bar .opt--keyword { margin: .7rem 0 .2rem; }

.kw-panel__phrase { font-weight: 600; }
.kw-panel__lede { margin: .2rem 0 .8rem; }
.kw-panel__sub { font-size: 1rem; margin: 1rem 0 .4rem; }
.kw-panel__sub .muted { font-weight: 400; font-size: .85rem; word-break: break-all; }

.kw-checks, .kw-pages, .kw-advice { margin: 0; padding-left: 0; }
.kw-checks { list-style: none; display: grid; gap: .25rem; }
.kw-check { display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.kw-check__mark { width: 1rem; text-align: center; flex: none; color: var(--muted); }
.kw-check--yes .kw-check__mark { color: var(--brand); }
.kw-pages, .kw-advice { padding-left: 1.2rem; display: grid; gap: .3rem; }
.kw-pages a { word-break: break-all; }
.kw-panel__more summary { cursor: pointer; }
.kw-panel__rank { margin: 1rem 0 0; }
.kw-panel__google, .kw-panel__note { font-size: .85rem; margin: 1rem 0 0; }

@media print {
  .kw-panel { break-inside: avoid-page; }
  .kw-check__mark { color: #111 !important; }
}
