/* blur-picture.com /use/ ("How to use"). Additions to ../assets/site.css: the same tokens, font and radius.
   No web fonts, no gradients, no external files. */
.guide { max-width: 880px; margin: 0 auto; padding: 36px 24px 0; }
.guide .intro { margin: 0 0 22px; font-size: 17px; color: var(--ink-soft); max-width: 680px; }
.legend-key { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 14px; color: var(--ink-soft); }
.legend-key li { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* Which product has the function */
.tag { display: inline-block; vertical-align: middle; margin: 0 0 0 8px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 20px; white-space: nowrap; border: 1px solid; }
.tag.ext { color: #0f766e; background: #e6f6f4; border-color: #b3e3dd; }
.tag.both { color: #1d4ed8; background: var(--accent-soft); border-color: #c7d7fe; }
.tag.site { color: var(--ink-soft); background: #f3f4f6; border-color: var(--line); }
.legend-key .tag { margin: 0; }

/* Table of contents */
.toc { margin: 0 0 40px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #f9fafb; }
.toc h2 { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 16px; }
.toc li { font-size: 15px; }
.toc a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; font-weight: 600; text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--accent); }
.ico { flex: none; width: 16px; height: 16px; color: var(--accent); }

/* Sections */
.guide > section { margin: 0 0 52px; scroll-margin-top: 16px; }
.guide h2 { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.guide h2 .ico { width: 22px; height: 22px; }
.guide h3 { margin: 28px 0 6px; font-size: 18px; scroll-margin-top: 16px; }
.guide p { margin: 0 0 10px; color: var(--ink-soft); }
.guide .lead { margin-top: -2px; }
.where { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
kbd { display: inline-block; min-width: 22px; padding: 0 6px; border: 1px solid #d1d5db; border-bottom-width: 2px; border-radius: 5px; background: #fff; font: 600 13px/20px system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif; color: var(--ink); text-align: center; }

/* Screenshots: a clear frame on the editor's stage colour, so they do not merge with the page */
.shot { margin: 14px 0 8px; padding: 14px; border-radius: 12px; background: var(--stage); border: 1px solid #dfe3e8; }
.shot img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid #cfd5dd; background: #fff; box-shadow: 0 6px 18px rgba(15, 23, 42, .10); }
.shot figcaption { margin: 12px 2px 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.shot figcaption ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.shot figcaption li { font-size: 14px; display: flex; align-items: baseline; gap: 6px; }
.n { flex: none; display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: #e5261f; color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }

/* Keyboard shortcuts */
.keys { width: 100%; border-collapse: collapse; margin: 6px 0 0; font-size: 15px; }
.keys th, .keys td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.keys th { font-size: 13px; color: var(--muted); font-weight: 700; }
.keys td:first-child { white-space: nowrap; }
.closing { margin: 0 0 48px; color: var(--ink-soft); }
.top-nav a[aria-current="page"] { color: var(--accent); }
.top-nav { flex-wrap: wrap; }
.top-nav > a { white-space: nowrap; }

@media (max-width: 720px) {
  .guide { padding: 26px 16px 0; }
  .guide .intro { font-size: 16px; }
  .shot { padding: 8px; margin-left: -4px; margin-right: -4px; }
  .shot figcaption { margin-top: 8px; }
  .tag { margin: 4px 0 0; }
  .guide h3 .tag { display: table; margin-left: 0; }
  .keys td:first-child { white-space: normal; }
  .toc ol { grid-template-columns: 1fr 1fr; }
}
