/*
 * SystemTrayMenu subpages (help, news, topic and press pages): only what /design/hofknecht.css does not cover.
 * The product pages themselves (index.html and the other languages) use produkt.css.
 */
kbd { font: 700 14px/1 var(--display); padding: 2px 6px; border-radius: 6px; background: var(--bg-3); color: var(--ink); }

/* the product part of the bar (.head--product) comes from /design/hofknecht.css; dark icons get a faint light edge */
.head__product img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)); }

/* trailer of a topic page */
.topic__pic { max-width: 820px; margin: clamp(40px, 6vw, 64px) auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.topic__pic video { display: block; width: 100%; height: auto; }

/* questions of the help page */
.faq__item { border-top: 1px solid var(--line); padding: 16px 0; }
.faq__item:last-of-type { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; font-weight: 700; }
.faq__item p { margin: 10px 0 0; max-width: 70ch; color: var(--ink-dim); }
.faq__item code { overflow-wrap: anywhere; }

/* "Neu in SystemTrayMenu" (neu/, U3): one block per version, newest first, written by tools/neuerungen.py */
.changes { max-width: 820px; padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 8vw, 96px); }
.changes__kicker, .help__kicker, .topic__kicker { margin: 0; font: 700 13px/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
.changes__title, .help__title, .topic__title { margin: 10px 0 0; font: 600 clamp(36px, 6vw, 56px)/1.08 var(--display); letter-spacing: -0.03em; }
.changes__lead, .help__lead, .topic__lead { margin: 16px 0 clamp(32px, 5vw, 48px); max-width: 56ch; font-size: clamp(17px, 2vw, 19px); color: var(--ink-dim); }
.changes__version { display: grid; grid-template-columns: 10rem 1fr; gap: 8px 24px; padding: 24px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.changes__version h2 { margin: 0; font: 800 20px/1.3 var(--display); }
.changes__version time { display: block; margin-top: 2px; font: 400 14px/1.4 var(--text); color: var(--ink-dim); }
.changes__version ul { margin: 0; padding: 0; list-style: none; }
.changes__version li { display: flex; gap: 10px; align-items: baseline; margin: 0 0 10px; font-size: 16px; }
.changes__version li:last-child { margin-bottom: 0; }
.changes__tag { --c: var(--ink-dim); flex: none; min-width: 4.6rem; padding: 0 8px; border-radius: 999px; text-align: center; font: 700 12px/1.7 var(--display); background: color-mix(in srgb, var(--c) 16%, transparent); }
.changes__tag--new { --c: #8b5cf6; }
.changes__tag--better { --c: #3d8bfd; }
/* the version the app links to after an update stands out as a card */
.changes__version:target { margin-inline: -24px; padding-inline: 24px; border-radius: var(--radius); border-top-color: transparent; background: var(--bg-2); }
.changes__version:target + .changes__version { border-top-color: transparent; }
.changes__end, .help__end, .topic__end { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-dim); }
.changes__end a { color: var(--accent-text); }
@media (max-width: 640px) {
  .changes__version { grid-template-columns: 1fr; }
  .changes__version:target { margin-inline: -12px; padding-inline: 12px; }
}

/* "Hilfe" (hilfe/, V13): same head as above, then steps, keys, settings, systems and problems (as the questions) */
.help { max-width: 880px; padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 8vw, 96px); }
.help a { color: var(--accent-text); }
.help__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: calc(-1 * clamp(8px, 2vw, 16px)) 0 0; padding: 0; list-style: none; }
.help__toc a { display: block; padding: 7px 16px; border-radius: 999px; background: var(--bg-3); color: var(--ink); font-size: 15px; text-decoration: none; }
.help__toc a:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); }
.help__toc a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.help__part { padding-bottom: clamp(48px, 7vw, 72px); scroll-margin-top: 72px; }
.help__part:first-of-type { padding-top: clamp(48px, 7vw, 72px); }
.help__part > h2, .topic h2 { margin: 0 0 12px; font: 600 clamp(28px, 4vw, 40px)/1.15 var(--display); letter-spacing: -0.03em; }
.help__part > p, .help__part > .help__note { margin: 0 0 20px; max-width: 64ch; color: var(--ink-dim); }
.help__part > .help__note { margin-top: 16px; font-size: 15px; }
.help h3 { margin: 32px 0 10px; font: 800 20px/1.3 var(--display); scroll-margin-top: 72px; }
.help h4 { margin: 24px 0 4px; font: 700 13px/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
.help code, .topic code { overflow-wrap: anywhere; }
/* pictures of the settings window with its stage (I121g2) */
.help__pic { margin: 0 0 24px; }
.help__pic img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.help__pic figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-dim); }
/* first steps: the numbered .steps of /design/hofknecht.css, two side by side where there is room */
.help .steps { margin: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.help .steps h3, .topic .steps h3 { margin: 2px 0 6px; font: 800 19px/1.25 var(--display); }
/* keys and systems (and the comparison pages): lines only, wide tables scroll inside their box */
.help__table, .topic__table { overflow-x: auto; }
.help table, .topic table { width: 100%; border-collapse: collapse; font-size: 15px; }
.help th, .help td, .topic th, .topic td { padding: 10px 16px 10px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.help thead th, .topic thead th { border-top: 0; font: 700 13px/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
.help tbody th, .topic tbody th { font-weight: 700; white-space: nowrap; }
.help td, .topic td { color: var(--ink-dim); }
.help__systems { min-width: 640px; }
.help__systems tbody th { white-space: normal; }
/* mouse, search and settings: name left, explanation right, the default as a pill */
.help dl { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 0 24px; margin: 0; }
.help dt, .help dd { padding: 10px 0; border-top: 1px solid var(--line); }
.help dt { font-weight: 700; }
.help dd { margin: 0; color: var(--ink-dim); }
.help dd small { display: inline-block; margin-left: 4px; padding: 0 9px; border-radius: 999px; background: var(--bg-3); color: var(--ink); font: 700 12px/1.8 var(--display); white-space: nowrap; }
.help dd small:only-child { margin-left: 0; }
@media (max-width: 640px) {
  .help dl { grid-template-columns: minmax(0, 1fr); }
  /* long defaults ("Standard; Mac: …") wrap instead of widening the page */
  .help dd small { white-space: normal; border-radius: 10px; }
  .help dd { padding-top: 0; border-top: 0; }
}

/* topic pages for search engines (windows-11-toolbar/, -quick-launch/, -pin-folder/; V17d): same head as above, three steps, picture, buttons */
.topic { max-width: 820px; padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 8vw, 96px); }
.topic a:not(.btn) { color: var(--accent-text); }
.topic__more { margin: 24px 0 0; max-width: 64ch; color: var(--ink-dim); }
.topic__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.topic__end { margin-top: clamp(40px, 6vw, 56px); }
/* comparison pages (fences-, traymenu-, xmenu-alternative/; V59): two lists and a table instead of the steps */
.topic__list { margin: 0 0 clamp(32px, 5vw, 48px); padding-left: 1.2em; max-width: 64ch; color: var(--ink-dim); }
.topic__list li + li { margin-top: 8px; }
.topic__list strong { color: var(--ink); }
.topic__table { margin-bottom: 8px; }

/* press page (presse/, V17c): fact sheet as name and value like the help, texts to copy in quiet boxes, pictures and trailers side by side */
.press h2 { margin-top: clamp(48px, 7vw, 72px); scroll-margin-top: 72px; }
.press h3 { margin: 24px 0 8px; font: 800 19px/1.25 var(--display); }
.press > p:not([class]) { margin: 0 0 20px; max-width: 64ch; color: var(--ink-dim); }
.press .topic__actions { margin: 0; }
.press__facts { display: grid; grid-template-columns: minmax(0, 10rem) 1fr; gap: 0 24px; margin: 0; }
.press__facts dt, .press__facts dd { padding: 10px 0; border-top: 1px solid var(--line); }
.press__facts dt { font-weight: 700; }
.press__facts dd { margin: 0; color: var(--ink-dim); }
.press__text { padding: 16px 20px; border-radius: var(--radius); background: var(--bg-3); }
.press__text p, .press__text ul { margin: 0 0 12px; }
.press__text > :last-child { margin-bottom: 0; }
.press__pics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin: 0 0 20px; }
.press__pics figure { margin: 0; }
.press__pics img, .press__pics video { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.press__pics figcaption { margin-top: 8px; font-size: 15px; color: var(--ink-dim); }
@media (max-width: 640px) {
  .press__facts { grid-template-columns: 1fr; }
  .press__facts dd { padding-top: 0; border-top: 0; }
}
