.resource-tile-computer {
  --tile-top: #695227;
  --tile-bottom: #392708;
  --tile-accent: #291b04;
  --tile-bg: #695227;
  --tile-hover: #554118;
  --tile-ink: #fff;
}
#computer-help-open > span:first-child { font-size: 2.1rem; }
#computer-help {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  background: Canvas;
  color: CanvasText;
  overscroll-behavior: contain;
}
#computer-help > :not(.computer-help-content) { display: none !important; }
.computer-help-content { max-width: 55rem; margin: auto; padding: 1rem clamp(1rem, 5vw, 3rem) 3rem; }
.computer-help-toolbar, .computer-help-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.computer-help-toolbar { position: sticky; top: 0; z-index: 1; background: Canvas; padding-block: .75rem; }
#computer-help-close { margin-left: auto; }
#computer-help-title { font-size: clamp(1.65rem, 4vw, 2.6rem); }
#computer-help-screen { font-size: 1.2rem; line-height: 1.6; }
.computer-help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .85rem; }
#computer-help .computer-help-grid button {
  padding: 1rem;
  min-height: 4.5rem;
  width: 100%;
  text-align: left;
  font-size: 1.12rem;
  color: #fff;
  background: #185d71;
  border-color: #185d71;
}
#computer-help button:focus-visible, #computer-help a:focus-visible { outline: 3px solid CanvasText; outline-offset: 3px; }
.computer-help-keys { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; margin-block: .75rem; }
.computer-help-keys kbd { padding: .4rem .65rem; border: 1px solid GrayText; border-bottom-width: 4px; border-radius: .45rem; font: 700 1rem system-ui; }
.computer-help-actions { margin-top: 1.5rem; }

#computer-help-title { font-size: clamp(1.35rem, 3vw, 1.85rem); }
.computer-help-platform-label { margin-top: -.5rem; }
#computer-help .computer-help-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 6rem;
  border: 1px solid #ffffff45;
  border-radius: 16px;
  background: linear-gradient(145deg, #247f87, #114c62) !important;
  color: #fff !important;
  box-shadow: inset 0 1px #ffffff35, 0 4px 0 #112d37, 0 8px 16px #0002;
}
#computer-help .computer-help-card:hover { filter: brightness(1.13); }
.computer-help-card > span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border-radius: 12px;
  background: #ffffff24;
  font-size: 1.55rem;
}
.computer-help-platforms .computer-help-card { min-height: 7rem !important; }
.computer-help-box {
  margin-block: 1rem;
  padding: clamp(.85rem, 3vw, 1.35rem);
  border: 1px solid GrayText;
  border-radius: 14px;
  background: color-mix(in srgb, Canvas 95%, CanvasText);
}
.computer-help-box h3 { margin: 0; font-size: 1.1rem; }
.computer-help-box p { margin: .45rem 0 .7rem; }
.computer-help-steps { padding-inline-start: 2rem; }
.computer-help-steps > li::marker { font-weight: 800; }
.computer-help-key-row {
  display: grid;
  grid-template-columns: minmax(9rem, 42%) 1fr;
  align-items: center;
  gap: .7rem;
  padding: .6rem 0;
}
.computer-help-key-row + .computer-help-key-row { border-top: 1px solid color-mix(in srgb, GrayText 42%, transparent); }
.computer-help-key-row .computer-help-keys { margin: 0; }
.computer-help-key-row kbd { font-size: .9rem; background: Canvas; color: CanvasText; }

.resource-tile-computer {
  --tile-top: #176575;
  --tile-bottom: #13354c;
  --tile-accent: #102938;
}
.computer-help-tile-icon { display: block; width: 56%; max-width: 68px; }
#computer-help .computer-help-card { gap: .9rem; }
.computer-help-card > span {
  background: #f0fcff;
  color: #184761;
  box-shadow: inset 0 0 0 1px #ffffff80, 0 3px 6px #0003;
}
.computer-help-card svg { width: 1.9rem; height: 1.9rem; }
@media (forced-colors: active) {
  #computer-help .computer-help-card { border: 2px solid ButtonText; }
}

#computer-help-user:not([hidden]) { display: inline-flex; align-items: center; padding: .45rem .8rem; font-weight: 750; border: 1px solid GrayText; border-radius: 100px; color: CanvasText; background: Canvas; }
#computer-help .computer-help-platforms .computer-help-card:first-child { background: linear-gradient(145deg,#485467,#252d3a) !important; }
#computer-help .computer-help-platforms .computer-help-card:last-child { background: linear-gradient(145deg,#1264a0,#173b6b) !important; }


html body :is(.section-tabs.resource-tiles,.teacher-collections) #computer-help-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  gap: 0 !important;
  overflow: hidden;
  padding: 0 !important;
  background: #14343a !important;
  color: #fff !important;
}
html body .teacher-collections #computer-help-open {
  width: var(--resource-tile-size, 128px);
  height: var(--resource-tile-size, 128px);
}
#computer-help-open .computer-help-tile-icon {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  flex: none;
}
#computer-help-user { gap: .45rem; }
#computer-help-user svg { display: block; width: 1.25rem; height: 1.25rem; }



.computer-help-keys.computer-help-inline-keys {
  display: inline-flex;
  margin: .15em .15em;
  gap: .25rem;
  vertical-align: middle;
  max-width: 100%;
}
.computer-help-inline-keys kbd { padding: .13rem .4rem; font-size: .9rem; }

#computer-help.computer-help-page { position: static; height: auto; min-height: 100dvh; overflow: visible; }

.computer-help-welcome { margin-block: 1rem 1.5rem; }
.computer-help-welcome h2 { margin: 0 0 .45rem; font-size: clamp(1.35rem, 4vw, 2rem); }
.computer-help-welcome p { max-width: 50ch; margin: 0; font-size: 1.1rem; }
.computer-help-choice-heading { margin: 0 0 .8rem; font-size: 1.1rem; }
#computer-help .computer-help-platforms .computer-help-card {
  padding: 1.1rem 1.25rem;
  font-size: 1.3rem;
}

#computer-help-shortcut-search {
  display: block;
  box-sizing: border-box;
  width: min(100%, 36rem);
  min-height: 2.75rem;
  margin-top: .4rem;
  padding: .6rem .8rem;
  border: 1px solid GrayText;
  border-radius: .65rem;
  color: CanvasText;
  background: Canvas;
  font: inherit;
}

#computer-help-title[hidden] { display: none !important; }

#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card:nth-child(1) { background: #125e61 !important; border-color: #125e61; }
#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card:nth-child(2) { background: #563987 !important; border-color: #563987; }
#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card:nth-child(3) { background: #8b4517 !important; border-color: #8b4517; }
#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card:nth-child(4) { background: #22633a !important; border-color: #22633a; }
#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card:nth-child(5) { background: #922e50 !important; border-color: #922e50; }
#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card:nth-child(6) { background: #705408 !important; border-color: #705408; }
#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card:nth-child(10) { background: #38448f !important; border-color: #38448f; }
#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card:nth-child(11) { background: #425725 !important; border-color: #425725; }
#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card:nth-child(12) { background: #79325f !important; border-color: #79325f; }
#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card:nth-child(7) { background: #174e70 !important; border-color: #174e70; }

#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card:nth-child(8) { background: #315a46 !important; border-color: #315a46; }
#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card:nth-child(9) { background: #943b25 !important; border-color: #943b25; }

.computer-help-grid { grid-auto-rows: 1fr; }
.computer-help-grid:not(.computer-help-platforms) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#computer-help .computer-help-grid:not(.computer-help-platforms) .computer-help-card {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 9rem;
  height: 100%;
  padding: .85rem;
}
@media (max-width: 760px) {
  .computer-help-grid:not(.computer-help-platforms) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .computer-help-grid:not(.computer-help-platforms) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 320px) {
  .computer-help-grid:not(.computer-help-platforms) { grid-template-columns: 1fr; }
}
