/* Tutorial screenshots use the full image and a single linked caption. */
#hilfe26 .help-prose a.help-shot {
  display:block;
  width:fit-content;
  max-width:100%;
  margin:1.65rem 0 2rem;
  color:var(--heading);
  text-decoration:none;
  cursor:zoom-in;
  scroll-margin-top:calc(90px + env(safe-area-inset-top,0px));
  border-radius:16px;
}
#hilfe26 .help-shot-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
  font-size:1rem;
  font-weight:650;
  line-height:1.4;
  overflow-wrap:anywhere;
}
#hilfe26 .help-shot-title:empty::before {content:"Screenshot"}
#hilfe26 .help-shot-title::after {
  content:"";
  flex:0 0 20px;
  height:20px;
  background:currentColor;
  opacity:.75;
  --zoom:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='7.5'/%3E%3Cpath d='m16 16 5 5M7.5 10.5h6M10.5 7.5v6'/%3E%3C/svg%3E");
  -webkit-mask:var(--zoom) center/contain no-repeat;
  mask:var(--zoom) center/contain no-repeat;
}
#hilfe26 .help-shot img {
  display:block;
  width:auto;
  height:auto;
  max-height:80vh;
  margin:0;
  border-radius:16px;
  box-shadow:0 0 0 1px var(--line);
}
#hilfe26 .help-shot:is(:hover,:focus-visible) .help-shot-title::after {opacity:1}
#hilfe26 .help-shot:hover img {box-shadow:0 0 0 1px var(--edge)}
/* Keep keyboard focus visible at the zoom icon without framing the screenshot. */
#hilfe26 .help-shot:focus-visible {outline:none}
#hilfe26 .help-shot:focus-visible .help-shot-title {position:relative}
#hilfe26 .help-shot:focus-visible .help-shot-title:not(:empty)::before {
  content:"";
  position:absolute;
  right:-5px;
  top:50%;
  transform:translateY(-50%);
  width:30px;
  height:30px;
  border:2px solid currentColor;
  border-radius:50%;
  pointer-events:none;
}

/* tricoma1 component.window, _shared/window-frame.css and foundations/glass.css.
   The glass sits behind the opaque inlay, offset 8px at the top left. */
html:has(.help-shot-viewer[open]) {overflow:hidden}
#hilfe26 .help-shot-viewer {
  --glass-tint:rgb(237 242 245 / .75);
  --glass-header:color-mix(in srgb,#fff 96%,#56616a 4%);
  --glass-filter:blur(20px) saturate(100%);
  --highlight:rgb(255 255 255 / .52);
  --contact:rgb(16 24 32 / .08);
  --rim:.5px;
  --outline:rgb(26 38 48 / .24);
  --shadow:0 5px 18px rgb(20 35 48 / .10),0 1px 3px rgb(20 35 48 / .08);
  --paper:#fff;
  --radius:27px;
  --reveal:8px;
  --bar:48px;
  --gutter:max(clamp(8px,2vw,32px),env(safe-area-inset-left),env(safe-area-inset-right));
  --vertical:max(clamp(8px,2vh,24px),env(safe-area-inset-top),env(safe-area-inset-bottom));
  --available:calc(100vh - 2 * var(--vertical) - var(--bar));
  position:fixed;
  inset:0;
  width:calc(var(--reveal) + max(260px,min(var(--image-width),var(--available) * var(--image-ratio))));
  max-width:calc(100% - 2 * var(--gutter));
  max-height:none;
  height:fit-content;
  padding:var(--bar) 0 0 var(--reveal);
  margin:auto;
  border:0;
  border-radius:var(--radius);
  background:transparent;
  overflow:visible;
  font:inherit;
  color:var(--heading);
  isolation:isolate;
}
@supports (height:100dvh) {
  #hilfe26 .help-shot-viewer {--available:calc(100dvh - 2 * var(--vertical) - var(--bar))}
}
html:is([data-theme=dark],[data-theme-scheme=dark]) #hilfe26 .help-shot-viewer {
  --glass-tint:rgb(43 49 57 / .76);
  --glass-header:rgb(43 49 57);
  --glass-filter:blur(24px) saturate(105%);
  --highlight:rgb(235 245 255 / .16);
  --contact:rgb(0 0 0 / .16);
  --rim:.25px;
  --outline:rgb(224 237 250 / .20);
  --shadow:0 7px 22px rgb(0 0 0 / .30),0 1px 4px rgb(0 0 0 / .22);
  --paper:#21272d;
}
#hilfe26 .help-shot-viewer::backdrop {background:rgb(6 13 17 / .46)}
#hilfe26 .help-shot-viewer::before {
  content:"";
  position:absolute;
  inset:0 var(--reveal) var(--reveal) 0;
  z-index:-1;
  pointer-events:none;
  border-radius:inherit;
  border:var(--rim) solid var(--highlight);
  --glass-top:color-mix(in srgb,var(--glass-header) 64%,transparent);
  background:
    linear-gradient(transparent,color-mix(in srgb,var(--glass-tint) 15.625%,transparent) 40px,
      color-mix(in srgb,var(--glass-tint) 50%,transparent) 80px,
      color-mix(in srgb,var(--glass-tint) 84.375%,transparent) 120px,var(--glass-tint) 160px),
    linear-gradient(var(--glass-top),color-mix(in srgb,var(--glass-top) 84.375%,transparent) 40px,
      color-mix(in srgb,var(--glass-top) 50%,transparent) 80px,
      color-mix(in srgb,var(--glass-top) 15.625%,transparent) 120px,transparent 160px);
  -webkit-backdrop-filter:var(--glass-filter);
  backdrop-filter:var(--glass-filter);
  box-shadow:inset 0 var(--rim) 0 var(--highlight),0 1px 4px var(--contact),var(--shadow);
}
/* Retain contrast on touch browsers that composite the dialog without backdrop blur. */
@media (hover:none) {
  #hilfe26 .help-shot-viewer::before {background-color:color-mix(in srgb,var(--glass-header) 91%,transparent)}
}
/* The outline and glass share one contour. The screenshot keeps its own uncut inlay. */
#hilfe26 .help-shot-viewer:has(.shot-edge path[d])::before {
  clip-path:var(--shot-contour);
  box-shadow:none;
  border:0;
}
#hilfe26 .shot-edge {
  position:absolute;
  top:0;left:0;
  width:calc(100% - var(--reveal));
  height:calc(100% - var(--reveal));
  overflow:visible;
  pointer-events:none;
  z-index:-1;
  fill:none;
  stroke:var(--outline);
  stroke-width:.5px;
}
#hilfe26 .shot-bar {
  display:flex;
  align-items:center;
  position:absolute;
  inset:0 18px auto clamp(16px,5%,22px);
  height:var(--bar);
  justify-content:space-between;
  gap:clamp(54px,100% - 272px,120px);
}
#hilfe26 .shot-controls {display:flex;flex:none;align-items:center;gap:4px}
#hilfe26 #help-shot-caption {
  flex:0 1 auto;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:1rem;
  font-weight:650;
}
@media (max-width:520px) {
  #hilfe26 #help-shot-caption {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    white-space:normal;
    overflow-wrap:anywhere;
    font-size:.92rem;
    line-height:1.2;
  }
}
#hilfe26 .shot-bar button {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  cursor:pointer;
  border-radius:999px;
}
#hilfe26 .shot-bar button:focus-visible {outline:2px solid currentColor;outline-offset:-6px}
#hilfe26 .shot-bar button[hidden] {display:none}
#hilfe26 .shot-bar button:is(:hover,:focus-visible) {background:var(--highlight)}
#hilfe26 .shot-bar svg {
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:18;
  stroke-linecap:round;
}
#hilfe26 .shot-stage {
  overflow:auto;
  overscroll-behavior:contain;
  max-height:var(--available);
  border-radius:var(--radius);
  background:var(--paper);
  box-shadow:var(--shadow);
}
#hilfe26 .shot-stage img {
  display:block;
  margin:auto;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:var(--available);
}
#hilfe26 .help-shot-viewer.is-original {width:calc(var(--image-width) + var(--reveal))}
#hilfe26 .is-original .shot-stage img {max-width:none;max-height:none}
#hilfe26 .is-original .shot-size svg {transform:scale(.75)}
@media (forced-colors:active) {
  #hilfe26 .shot-edge {stroke:CanvasText;stroke-width:1px}
}
@media (prefers-reduced-transparency:reduce), (forced-colors:active) {
  #hilfe26 .help-shot-viewer::before {background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  #hilfe26 .help-shot-viewer::before {background:var(--paper)}
}
