/* Barcode Rocket Help center (/help/): on top of /articles/articles.css. */

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* search */
.hsearch {
  position: relative;
  margin: 0 0 24px;
}

.hsearch .hs-i {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 20px;
  height: 20px;
  color: var(--slate2);
  pointer-events: none;
}

.hsearch input {
  width: 100%;
  background: #16263f;
  border: 1px solid #2f4266;
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  padding: 10px 14px 10px 40px;
}

.hsearch input::placeholder {
  color: var(--slate2);
}

.hsearch input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 160, 32, .35);
}

.hsearch.big {
  max-width: 640px;
  margin: 24px auto 32px;
}

.hsearch.big .hs-i {
  left: 20px;
  top: 16px;
  width: 24px;
  height: 24px;
}

.hsearch.big input {
  font-size: 18px;
  padding: 16px 20px 16px 52px;
  border-radius: 12px;
  border-width: 1.5px;
}

.hcount {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hresults {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  background: #0d182b;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 6px;
  text-align: left;
}

.hresults[hidden] {
  display: none;
}

/* open results: the page behind is blurred, like the Inbox */
.hs-dim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(4, 9, 18, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}

html.hs-open .hs-dim {
  opacity: 1;
  pointer-events: auto;
}

.hsearch.is-open {
  z-index: 50;
}

.hres {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
}

.hres:hover,
.hres:focus {
  background: rgba(232, 160, 32, .1);
  outline: none;
}

.hres:focus-visible {
  box-shadow: inset 0 0 0 2px var(--amber);
}

.hres .r-t {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #f1f5f9;
}

.hres .r-c {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber2);
  margin-top: 4px;
}

.hres .r-x {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
  margin-top: 4px;
}

.hres mark {
  background: rgba(232, 160, 32, .25);
  color: inherit;
  border-radius: 4px;
  padding: 0 1px;
}

.hempty {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

/* landing */
.hland .idx-head h1 {
  font-size: 36px;
}

.hcats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hcat {
  background: rgba(15, 27, 48, .55);
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}

.hcat h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.hcat h2 svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--amber);
}

.hcat h2 a {
  color: #f1f5f9;
  text-decoration: none;
}

.hcat h2 a:hover {
  color: var(--amber2);
}

.hcat h2 .cnt {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--slate2);
  white-space: nowrap;
}

.hcat > p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  margin: 8px 0 10px;
}

.hcat ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  flex: 1;
}

.hcat li {
  font-size: 14px;
  line-height: 1.45;
  padding: 6px 0;
  border-top: 1px solid rgba(148, 163, 184, .1);
}

.hcat li a {
  color: #cbd5e1;
  text-decoration: none;
}

.hcat li a:hover {
  color: var(--amber2);
  text-decoration: underline;
}

.hcat .all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* a full size touch target (44 px), owner QA 2026-10-18 */
  min-height: 44px;
  margin-bottom: -10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber2);
  text-decoration: none;
}

.hcat .all:hover {
  text-decoration: underline;
}

.quick {
  max-width: 760px;
  margin: 40px auto 0;
}

.quick h2,
.othercats h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

/* the same look as the home FAQ: lines between, no boxes (owner, 2026-10-17) */
.quick details {
  border-top: 1px solid rgba(148, 163, 184, .16);
}

.quick details:last-of-type {
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.quick summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 2px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  transition: color .15s;
}

.quick summary::-webkit-details-marker {
  display: none;
}

.quick summary::after {
  content: "+";
  flex: none;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: var(--slate);
  transition: transform .2s ease, color .2s ease;
}

.quick details[open] summary::after {
  transform: rotate(45deg);
  color: var(--amber2);
}

.quick summary:hover {
  color: var(--amber2);
}

.quick summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.quick .qa {
  padding: 0 44px 24px 2px;
}

.quick .qa p {
  font-size: 16px;
  line-height: 1.75;
  color: #cbd5e1;
}

.quick .qa p + p {
  margin-top: 8px;
}

.quick .qa a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--amber2);
  text-decoration: none;
}

.quick .qa a:hover {
  text-decoration: underline;
}

.quick .qa svg,
.hcat .all svg,
.hcta svg {
  width: 16px;
  height: 16px;
}

.help .contact-box {
  max-width: 760px;
}

.idx .contact-box {
  margin: 32px auto;
}

.help-contact h2,
article .help-contact h2 {
  font-size: 18px;
  margin: 0 0 6px;
}

.help-contact p {
  font-size: 16px;
  line-height: 1.65;
  color: #cbd5e1;
}

.hmore {
  text-align: center;
  font-size: 14px;
  color: var(--slate);
}

/* category page */
.help.idx .hsearch {
  max-width: 760px;
  margin: 24px auto 24px;
}

.hlist .item {
  gap: 6px;
}

.othercats {
  max-width: 760px;
  margin: 32px auto 0;
}

.othercats ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.othercats a {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
}

.othercats a:hover {
  border-color: var(--amber);
  color: var(--text);
}

/* article */
.hcta {
  margin: -6px 0 24px;
}

.hcta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}

.shot {
  margin: 24px 0 24px;
  text-align: center;
}

.shot a {
  display: inline-block;
  max-width: 100%;
  border-radius: 12px;
  line-height: 0;
}

.shot a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.shot img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--navy);
}

.shot figcaption {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  margin: 10px auto 0;
  max-width: 520px;
  text-align: center;
}

.deeper {
  margin-top: 36px;
}

.deeper h2 {
  font-size: 20px;
  margin: 0 0 6px;
}

.deeper li {
  font-size: 16px;
}

@media (max-width: 900px) {
  .hcats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hcats {
    grid-template-columns: 1fr;
  }

  .hland .idx-head h1 {
    font-size: 30px;
  }

  .hsearch.big input {
    font-size: 16px;
    padding: 14px 14px 14px 48px;
  }

  .hsearch.big .hs-i {
    left: 16px;
    top: 16px;
  }
}

/* full size screenshot (owner, 2026-10-17) */
.shot a {
  cursor: zoom-in;
}

.shot-view {
  max-width: 96vw;
  max-height: 96vh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--navy);
  overflow: visible;
}

.shot-view::backdrop {
  background: rgba(5, 10, 20, .8);
}

.shot-view img {
  display: block;
  max-width: calc(96vw - 2px);
  max-height: calc(96vh - 2px);
  width: auto;
  height: auto;
  border-radius: 12px;
}

.shot-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--navy);
  color: var(--text);
  cursor: pointer;
}

.shot-close:hover {
  color: var(--amber2);
}

.shot-close:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.shot-close svg {
  width: 20px;
  height: 20px;
}
