
.hp-layout {
  --hp-rail: 248px;
}
.hp-side {
  min-width: 0;
}
.hp-list {
  list-style: none;
  margin: 0;
  padding: var(--s1);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 10px);
}
.hp-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--s2);
  min-height: 36px;
  padding: 7px var(--s3);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.875rem;
  transition: background-color var(--t-quick) var(--ease);
}
.hp-list a:hover {
  background: var(--hover);
  text-decoration: none;
}
.hp-list a:active {
  background: var(--wash-strong);
}
.hp-list a[aria-current="page"] {
  background: var(--blue-50);
  color: var(--blue);
  font-weight: 600;
}
.hp-list .icon {
  margin-left: auto;
  color: var(--text-muted);
  flex: none;
}
.hp-title {
  flex: 1 1 0;
  min-width: 0;
}
.hp-gap {
  margin-top: var(--s1);
  padding-top: var(--s1);
  border-top: 1px solid var(--line);
}
.hp-snippet {
  order: 3;
  flex: 1 0 100%;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.hp-results {
  border: 0;
  padding: 0;
}
.hp-hits {
  margin: 0 0 var(--s2);
}


.hp-search {
  padding: var(--s3);
}
.hp-search .field {
  margin-bottom: var(--s3);
}
.hp-search .btn {
  width: 100%;
}


.hp-doc {
  padding: var(--s5) var(--s6);
  min-width: 0;
  max-width: 800px;
}
.hp-article {
  line-height: 1.6;
  font-size: 0.9375rem;
}
.hp-article p,
.hp-article ul,
.hp-article ol {
  margin: 0 0 var(--s3);
}
.hp-article > :last-child,
.hp-article > :last-child > :last-child {
  margin-bottom: 0;
}
.hp-article h2 {
  font-size: 1.0625rem;
  margin: 0 0 var(--s2);
}
.hp-article li + li {
  margin-top: var(--s2);
}
.hp-steps {
  padding-left: var(--s5);
}


.hp-article .go,
.hp-jump .go {
  margin: 0 1px;
  padding: 1px 6px 1px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--blue);
  font-size: 0.875rem;
  line-height: 1.375rem;
  vertical-align: baseline;
}
.hp-article .go:hover,
.hp-jump .go:hover {
  border-color: var(--blue);
  background: var(--blue-50);
  text-decoration: none;
}
.hp-article .go:active,
.hp-jump .go:active {
  background: var(--wash-strong);
}


.hp-places {
  list-style: none;
  padding: 0;
}
.hp-places li {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: var(--s3);
  align-items: baseline;
  margin-inline: calc(-1 * var(--s2));
  padding: var(--s1) var(--s2);
  border-radius: var(--radius);
  transition: background-color var(--t-quick) var(--ease);
}
.hp-places li + li {
  margin-top: var(--s1);
}
.hp-places .go {
  justify-self: start;
}

.hp-places .go::after {
  content: "";
  position: absolute;
  inset: 0;
}
@media (hover: hover) {
  .hp-places li:hover {
    background: var(--blue-50);
  }
}
.hp-places li:active {
  background: var(--blue-50);
}

.hp-case + .hp-case {
  margin-top: var(--s4);
}
.hp-case h2 {
  font-size: 0.9375rem;
  margin-bottom: var(--s1);
}
.hp-case p {
  margin-bottom: 0;
}


.hp-article > .warning {
  margin-bottom: var(--s3);
}
.hp-article > .notice {
  margin-bottom: var(--s3);
}
.hp-jump {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s5);
}
.hp-run {
  scroll-margin-top: var(--s5);
}
.hp-run + .hp-run {
  margin-top: var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
}
.hp-cmd {
  display: flex;
  align-items: stretch;
  gap: var(--s2);
  margin-top: var(--s2);
}
.hp-cmd pre {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 7px var(--s3);
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: pre;
  background: var(--wash);
  border-radius: 6px;
  font-size: 0.8125rem;
  line-height: 1.125rem;
}
.hp-cmd .sr-only {
  width: 1px;
}
.hp-cmd .btn {
  flex: none;
}


.hp-roles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 21.25rem), 1fr));
  gap: var(--s4);
  align-items: stretch;
  min-width: 0;
}
.hp-roles > .hp-role {
  margin: 0;
}
.hp-role {
  padding: var(--s4) var(--s5) var(--s5);
  scroll-margin-top: var(--s5);
  min-width: 0;
}
.hp-role-head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-height: 32px;
  margin-bottom: var(--s2);
}
.hp-role-head h2 {
  font-size: 1rem;
  margin: 0;
}
.hp-role-head .btn {
  margin-left: auto;
}
.hp-paper,
.hp-narrow {
  display: none;
}


.entry-main:has(.hp-entry) {
  max-width: 600px;
}
.hp-entry h1 {
  margin-bottom: var(--s4);
}
.hp-entry .back {
  margin-bottom: var(--s2);
}
.hp-entry .hp-list {
  border: 0;
  padding: 0;
}
.hp-entry .hp-list li + li {
  border-top: 1px solid var(--line);
}
.hp-entry .hp-list a {
  min-height: 48px;
  padding-inline: var(--s2);
}
.hp-signin {
  margin-top: var(--s5);
}

@media screen and (min-width: 48em) {
  .main:has(> .hp-layout) {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    grid-template-rows: repeat(3, auto) auto 1fr;
    column-gap: var(--s5);
  }
  .main:has(> .hp-layout) > * {
    grid-column: 1 / -1;
  }
  .main:has(> .hp-layout) > .title-row {
    grid-column: 2;
    grid-row: 4;
    flex-wrap: nowrap;
    min-height: 36px;
  }
  .main:has(> .hp-layout) .back {
    display: none;
  }
  .main:has(.hp-doc) > .title-row {
    max-width: 800px;
  }
  .hp-layout {
    display: contents;
  }
  .hp-side {
    grid-column: 1;
    grid-row: 4 / span 2;
    align-self: start;
    position: sticky;
    top: var(--s4);
  }
  .hp-layout > :not(.hp-side) {
    grid-column: 2;
    grid-row: 5;
    align-self: start;
  }
  .hp-list .icon {
    display: none;
  }
  .hp-entry .hp-list .icon,
  .hp-results .icon {
    display: block;
  }
}
@media screen and (max-width: 47.99875em) {
  .hp-wide {
    display: none;
  }
  .hp-narrow {
    display: inline;
  }
  .main:has(> .hp-layout) .title-row {
    align-items: flex-end;
    flex-wrap: nowrap;
  }
  .main:has(> .hp-layout) .title-tools {
    flex: none;
    width: auto;
  }
  .main:has(.hp-layout:not(.hp-index)) .hp-find {
    display: none;
  }
  .hp-index .hp-doc,
  .hp-layout:not(.hp-index) .hp-side {
    display: none;
  }
  .hp-index .hp-list a[aria-current="page"] {
    background: none;
    color: var(--text);
    font-weight: 400;
  }
  .hp-list a {
    min-height: 44px;
  }
  .hp-doc,
  .hp-role {
    padding: var(--s4);
  }
  .hp-article .go,
  .hp-jump .go {
    padding-block: 6px;
    line-height: 1.25rem;
  }
  
  .hp-article .go:not(.hp-places .go),
  .hp-jump .go {
    position: relative;
  }
  .hp-article .go:not(.hp-places .go)::after,
  .hp-jump .go::after {
    content: "";
    position: absolute;
    inset: -5px 0;
  }
  .hp-places li {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s1);
  }
  .hp-entry .back {
    margin-block: 0;
  }
}
@media print {
  .hp-side,
  .hp-find,
  .main:has(> .hp-layout) .back,
  .hp-article .go .icon {
    display: none;
  }
  .hp-article .go {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
  }
  .hp-layout {
    display: block;
  }
  .hp-doc,
  .hp-role {
    max-width: none;
    border: 0;
    padding: 0;
  }
  .hp-steps li {
    break-inside: avoid;
  }
  .hp-screen {
    display: none;
  }
  .hp-paper {
    display: inline;
  }
  .hp-role-head h2 {
    font-size: 18pt;
  }
  .printing-one .title-row,
  .printing-one .hp-role:not(.print-this) {
    display: none;
  }
  .printing-one .hp-roles {
    display: block;
  }
}


.hp-results .hp-answer .hp-snippet {
  display: block;
}
.hp-results .hp-steps {
  margin: 0.25rem 0 0.25rem 1.25rem;
  padding: 0;
}
.hp-ask {
  margin-top: 0.75rem;
}

.hp-results .hp-answer-words {
  padding: 7px var(--s3);
  font-size: 0.875rem;
  color: var(--text);
}
.hp-results .hp-answer-words .hp-title {
  display: block;
  font-weight: 600;
}
.hp-results .hp-answer-words .hp-steps {
  font-size: 0.875rem;
}
.hp-entry .hp-answer-words .hp-steps li + li {
  border-top: 0;
  margin-top: 2px;
}
