/* Shared layout for features & instructions (all locales) */
:root { --text: #1a1a1a; --muted: #5c5c5c; --link: #0b5fff; --border: #e2e8f0; --bg: #fff; --bg-soft: #f8fafc; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg); }
.layout { max-width: 40rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
header.site { border-bottom: 1px solid var(--border); margin-bottom: 2rem; padding-bottom: 1rem; }
header.site .lang { font-size: 0.875rem; color: var(--muted); }
header.site .lang a { margin-right: 0.75rem; }
h1 { font-size: 1.75rem; line-height: 1.25; font-weight: 700; margin: 0 0 0.75rem; }
.release-date {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-weight: 500;
}
.release-date time {
  font-weight: 600;
  color: var(--text);
}
.lead { font-size: 1.125rem; color: var(--muted); margin: 0 0 1.5rem; }
article h2 { font-size: 1.2rem; font-weight: 700; margin: 1.75rem 0 0.75rem; line-height: 1.3; }
article h2:first-of-type { margin-top: 0; }
article p { margin: 0 0 1rem; }
article ul, article ol { margin: 0 0 1rem; padding-left: 1.35rem; }
article li { margin-bottom: 0.35rem; }
.actions { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.actions a { font-weight: 600; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.note { background: var(--bg-soft); border-left: 4px solid var(--link); padding: 0.75rem 1rem; margin: 1.25rem 0; font-size: 0.9375rem; }
footer.site { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.8125rem; color: var(--muted); }
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 2.5rem; margin-bottom: 1.25rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; width: 1.75rem; height: 1.75rem; line-height: 1.75rem; text-align: center; font-size: 0.875rem; font-weight: 700; background: var(--bg-soft); border-radius: 50%; border: 1px solid var(--border); }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { margin-bottom: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.feature-list a { font-weight: 600; }
.feature-list .hint { color: var(--muted); font-size: 0.9375rem; }
.feature-list-date {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0.25rem 0 0.35rem;
  font-weight: 500;
}
.feature-list-date time {
  font-weight: 600;
  color: var(--text);
}

/* Instructions search (client-side index) */
.search-panel {
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.search-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}
.search-input {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.65rem;
  font-size: 1rem;
  line-height: 1.4;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
}
.search-input:focus {
  outline: 2px solid var(--link);
  outline-offset: 1px;
}
.search-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}
.search-hint kbd {
  font-family: ui-monospace, monospace;
  font-size: 0.8em;
  padding: 0.1em 0.35em;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-soft);
}
.search-error {
  color: #b42318;
  font-size: 0.9375rem;
  margin: 0 0 1rem;
}
.search-empty {
  margin: 0 0 1rem;
  color: var(--muted);
}
.search-results {
  min-height: 0.5rem;
}
.search-results-list {
  margin-top: 0.5rem;
}
