.help-folder-shortcut {
  position: absolute;
  top: 22px;
  right: 20px;
  z-index: 1;
  display: flex;
  width: 96px;
  min-height: 83px;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #fff;
  text-align: center;
  outline: none;
}
.help-folder-shortcut .app-name {
  padding: 2px 4px;
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 15px;
  text-shadow: 1px 1px 2px #173547, 0 1px 3px #173547;
}
.help-folder-shortcut:hover .app-name { background: #164fa275; }
.help-folder-shortcut:focus-visible .app-name,
.help-folder-shortcut:active .app-name,
.help-folder-shortcut[aria-expanded="true"] .app-name {
  border-color: #d8eaff;
  border-style: dotted;
  background: #1c57b9;
}
.help-folder-shortcut:focus-visible .icon-picture { filter: brightness(1.12); }
.help-folder-window {
  position: absolute;
  z-index: 15;
  top: clamp(104px, 19vh, 180px);
  left: 50%;
  width: 560px;
  max-width: calc(100% - 28px);
  max-height: calc(100% - 120px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 3px solid #0759db;
  border-top: 0;
  border-radius: 8px 8px 3px 3px;
  background: #ece9d8;
  box-shadow: 2px 5px 15px #173c6770, inset 0 0 0 1px #ffffff85;
  transform: translateX(-50%);
  color: #141414;
}
.help-folder-titlebar {
  display: flex;
  flex-shrink: 0;
  min-height: 31px;
  align-items: center;
  gap: 5px;
  padding: 3px 4px 4px;
  background: linear-gradient(#6ca5ff 0%, #2780f7 9%, #0560e6 30%, #0050d7 82%, #0845bb 100%);
  box-shadow: inset 0 1px 1px #bbd8ff;
  color: #fff;
}
.help-folder-titlebar > img { flex: 0 0 20px; }
.help-folder-titlebar h2 {
  margin: 0;
  font: bold 13px/20px Tahoma, Verdana, sans-serif;
  text-shadow: 1px 1px #0e3f99;
}
.help-folder-close {
  display: grid;
  width: 23px;
  height: 23px;
  margin-left: auto;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 3px;
  background: linear-gradient(135deg, #eaa88e, #e45b35 45%, #be3217 90%);
  box-shadow: inset 1px 1px 1px #fff9, inset -1px -1px 1px #6d230d80;
  color: white;
}
.help-folder-close span { font: 24px/18px Arial, sans-serif; transform: translateY(-1px); }
.help-folder-close:hover { filter: brightness(1.12); }
.help-folder-close:active { filter: brightness(.9); }
.help-folder-close:focus-visible { outline: 1px dotted #fff; outline-offset: -4px; }
.help-folder-address {
  display: flex;
  min-height: 34px;
  flex-shrink: 0;
  align-items: center;
  gap: 9px;
  padding: 5px 8px;
  border-bottom: 1px solid #c2c0b5;
  color: #5a584e;
  font-size: 11px;
}
.help-folder-address > div {
  display: flex;
  min-height: 23px;
  flex: 1;
  align-items: center;
  gap: 5px;
  padding: 1px 5px;
  border: 1px solid #7f9db9;
  background: #fff;
  color: #141414;
}
.help-folder-body { display: flex; min-height: 0; flex: 1; overflow: auto; background: #fff; }
.help-folder-sidebar {
  width: 162px;
  flex-shrink: 0;
  padding: 16px 12px;
  background: linear-gradient(135deg, #7da2e5, #6379d6);
  color: #173d85;
}
.help-folder-sidebar h3 {
  margin: 0;
  padding: 7px 9px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #fff, #c9dbf7);
  font-size: 11px;
}
.help-folder-sidebar p {
  margin: 0;
  padding: 8px 9px;
  background: #d6dff7;
  font-size: 11px;
  line-height: 1.45;
}
.help-folder-sidebar p + p { padding-top: 0; }
.help-folder-files { min-height: 210px; flex: 1; padding: 20px 18px; }
.help-folder-file {
  display: flex;
  width: 108px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 7px 4px 6px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: #171717;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
}
.help-folder-file > img { width: 48px; height: 48px; }
.help-folder-file:hover { border-color: #a8c4e9; background: #edf4ff; }
.help-folder-file:focus-visible { border-color: #316ac5; outline: 1px dotted #1a4f9e; outline-offset: -4px; background: #dceaff; }
.help-folder-file:active { background: #c3dcff; }
.help-folder-status {
  min-height: 24px;
  flex-shrink: 0;
  padding: 5px 9px;
  border-top: 1px solid #d0cec0;
  box-shadow: inset 0 1px #fff;
  font-size: 11px;
  line-height: 13px;
}

/* Reserve the top of narrow desktops for the help folder. */
@media (max-width: 760px) {
  .help-folder-shortcut { top: 14px; right: 12px; width: 90px; min-height: 78px; }
  .desktop-icons {
    inset: 104px 10px auto;
    height: min(382px, calc(100dvh - 148px));
    grid-template-columns: repeat(4, minmax(0, 94px));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 6px;
  }
  .desktop-icons .desktop-icon { width: 100%; min-height: 0; gap: 2px; }
  .desktop-icons .icon-picture,
  .desktop-icons .icon-picture > img { width: 48px; height: 48px; }
  .desktop-icons .app-name { max-width: 100%; font-size: 11px; line-height: 13px; overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  .desktop-icons {
    height: min(445px, calc(100dvh - 148px));
    grid-template-columns: repeat(3, minmax(0, 94px));
    grid-template-rows: repeat(5, minmax(0, 1fr));
  }
  .help-folder-sidebar { display: none; }
  .help-folder-files { min-height: 188px; padding: 16px; }
}
@media (max-width: 760px) and (max-height: 590px) {
  .help-folder-shortcut { top: 10px; min-height: 62px; }
  .help-folder-shortcut .icon-picture,
  .help-folder-shortcut .icon-picture > img { width: 42px; height: 42px; }
  .desktop-icons { top: 82px; height: min(382px, calc(100dvh - 126px)); }
  .desktop-icons .icon-picture,
  .desktop-icons .icon-picture > img { width: 40px; height: 40px; }
  .help-folder-window { top: 82px; max-height: calc(100% - 94px); }
}
@media (max-width: 760px) and (max-height: 440px) {
  .help-folder-shortcut { top: 7px; right: 10px; width: 84px; min-height: 55px; }
  .help-folder-shortcut .icon-picture,
  .help-folder-shortcut .icon-picture > img { width: 35px; height: 35px; }
  .desktop-icons {
    inset: 70px 8px 8px;
    height: auto;
    grid-template-columns: repeat(4, minmax(0, 94px));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }
  .desktop-icons .desktop-icon { gap: 0; }
  .desktop-icons .icon-picture,
  .desktop-icons .icon-picture > img { width: clamp(22px, calc((100dvh - 226px)/4), 37px); height: clamp(22px, calc((100dvh - 226px)/4), 37px); }
  .desktop-icons .app-name { padding: 1px 2px; font-size: 10px; line-height: 12px; }
  .help-folder-window { top: 70px; max-height: calc(100% - 80px); }
  .help-folder-files { min-height: 130px; padding: 8px; }
}
@media (max-width: 480px) and (min-height: 441px) and (max-height: 590px) {
  .desktop-icons .icon-picture,
  .desktop-icons .icon-picture > img { width: clamp(28px, calc((100dvh - 306px)/5), 40px); height: clamp(28px, calc((100dvh - 306px)/5), 40px); }
}
@media (max-width: 760px) and (max-height: 280px) {
  .desktop-icons { grid-template-columns: repeat(5, minmax(0, 86px)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .desktop-icons .icon-picture,
  .desktop-icons .icon-picture > img { width: 24px; height: 24px; }
  .desktop-icons .app-name { font-size: 9px; line-height: 10px; padding: 0 1px; }
  .help-folder-address, .help-folder-status, .help-folder-sidebar { display: none; }
  .help-folder-files { min-height: 104px; }
}
@media (min-width: 761px) and (max-height: 440px) {
  .help-folder-shortcut { top: 9px; }
  .help-folder-window { top: 66px; max-height: calc(100% - 78px); }
  .help-folder-files { min-height: 150px; }
}
@media (max-width: 760px) and (max-height: 250px) {
  .desktop-icons .icon-picture,
  .desktop-icons .icon-picture > img { width: 20px; height: 20px; }
}
@media (max-width: 760px) and (max-height: 230px) {
  .desktop-icons .app-name { display: none; }
}

/* All thirteen application guides share the same Explorer folder. */
.help-folder-window { top: clamp(90px, 13vh, 116px); width: 820px; max-height: calc(100% - 108px); }
.help-folder-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); align-content: start; gap: 12px 8px; min-width: 0; padding: 18px; }
.help-folder-file { width: 100%; min-height: 104px; justify-content: flex-start; }
.help-folder-sidebar a { color: #143d8a; text-decoration: underline; }
@media (max-width: 480px) {
  .help-folder-window { top: 100px; max-height: calc(100% - 112px); }
  .help-folder-files { padding: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-height: 440px) {
  .help-folder-window { top: 68px; max-height: calc(100% - 78px); }
  .help-folder-files { padding: 10px; }
  .help-folder-file { min-height: 86px; }
}
