/* Compiled to api/internal/web/static/goyhost.css for the NoJS shell. */
.gh-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gh-home .gm-sheet-hero-top {
  align-items: center;
}

.gh-home .gm-sheet-hero h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.gh-home .gm-sheet-hero-actions .gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 16px;
  line-height: 1;
  text-align: center;
}

.gh-home .gm-sheet-hero-aside {
  flex: 1 1 340px;
  min-width: 0;
  max-width: 100%;
}

.gh-gate {
  width: min(32rem, 100%);
  margin-inline: auto;
}

.gh-gate .gm-captcha {
  align-items: center;
  text-align: center;
}

.gh-gate .gm-captcha > *,
.gh-gate .captcha {
  margin-inline: auto;
}

.gh-facts .gm-sheet-kpi-value {
  font-size: 1.7rem;
  line-height: 1.1;
}

.gh-payin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gm-stone);
}

.gh-marks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.gh-marks img {
  display: block;
  width: 22px;
  height: 22px;
}

.gh-mark {
  position: relative;
  display: inline-flex;
  outline: none;
}

.gh-mark-name {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 2px 6px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-ink);
  color: var(--gm-cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.gh-mark:hover .gh-mark-name,
.gh-mark:focus-visible .gh-mark-name {
  opacity: 1;
}

.gh-places {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  max-width: 100%;
  gap: 10px;
  padding: 10px 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-card);
  box-shadow: var(--gm-tile-shadow);
}
.gh-places h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gm-stone);
}

.gh-places-marquee {
  min-width: 0;
  overflow: hidden;
  container-type: inline-size;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 1.1rem, #000 calc(100% - 1.1rem), transparent);
  mask-image: linear-gradient(to right, transparent, #000 1.1rem, #000 calc(100% - 1.1rem), transparent);
}

.gh-places-track {
  display: flex;
  width: max-content;
  animation: gm-marquee-rtl 36s linear infinite;
}

.gh-places:hover .gh-places-track,
.gh-places:focus-within .gh-places-track {
  animation-play-state: paused;
}

.gh-places-set {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
  padding-right: 6px;
}
.gh-places-set .gh-flag {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9.5rem;
  height: 3.25rem;
  padding: 6px;
  overflow: hidden;
  border: 2px solid #1d2021;
  box-shadow: 3px 3px 0 #1d2021;
  text-decoration: none;
  color: #fbf1c7;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.gh-places-set .gh-flag--out {
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}
.gh-places-set .gh-flag:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
.gh-places-set .gh-flag img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gh-places-set .gh-flag span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  padding: 3px 7px;
  background: rgba(29, 32, 33, 0.55);
  color: rgba(251, 241, 199, 0.92);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}
.gh-places-set .gh-flag em {
  font-style: normal;
  font-size: 11px;
  line-height: 1.2;
  padding: 0 4px;
  background: var(--gm-warn);
  color: #1d2021;
}

.gh-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.gh-head::before {
  content: "";
  height: 2px;
  background: var(--gm-ink);
}
.gh-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  justify-self: center;
}
.gh-head .gh-head-links {
  justify-self: end;
}

.gh-head-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 800px) {
  .gh-facts {
    grid-template-columns: 1fr;
  }
  .gh-head {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .gh-head::before {
    display: none;
  }
  .gh-head h2,
  .gh-head .gh-head-links {
    justify-self: start;
  }
  .gh-head .gh-head-links {
    justify-content: flex-start;
  }
}
.gh-rack {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  color: var(--gm-ink);
  font-family: var(--gm-font);
}
.gh-rack text {
  font-family: inherit;
}

.gh-win-frame {
  fill: var(--gm-tile-bg);
  stroke: var(--gm-ink);
  stroke-width: 2;
}

.gh-win-bar {
  fill: var(--gm-ink);
}

.gh-win-kicker {
  fill: var(--gm-cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.gh-name {
  fill: var(--gm-ink);
  font-size: 22px;
  font-weight: 700;
  opacity: 0;
  animation: gh-name 15s linear infinite;
}
.gh-name:nth-child(1) {
  animation-delay: 0s;
}
.gh-name:nth-child(2) {
  animation-delay: 3s;
}
.gh-name:nth-child(3) {
  animation-delay: 6s;
}
.gh-name:nth-child(4) {
  animation-delay: 9s;
}
.gh-name:nth-child(5) {
  animation-delay: 12s;
}

.gh-caret {
  fill: var(--gm-accent);
  animation: gh-caret 1.1s steps(2, end) infinite;
}

.gh-scan {
  fill: var(--gm-ink);
  opacity: 0.16;
  animation: gh-scan 2.4s linear infinite;
}

.gh-wire {
  fill: none;
  stroke: var(--gm-ink);
  stroke-width: 1.5;
  stroke-dasharray: 6 7;
  stroke-linecap: round;
  opacity: 0.4;
  animation: gh-ants 1.6s linear infinite;
}

.gh-cab-box {
  fill: var(--gm-kpi-bg);
  stroke: var(--gm-ink);
  stroke-width: 2;
}

.gh-cab text {
  fill: var(--gm-ink);
  font-size: 14px;
  font-weight: 700;
}

.gh-led {
  fill: var(--gm-ok);
  animation: gh-blink 1.6s steps(2, end) infinite;
}

.gh-led--b {
  animation-delay: 0.45s;
}

.gh-pkt rect {
  fill: var(--gm-accent);
  stroke: var(--gm-ink);
  stroke-width: 1.2;
}

.gh-pkt text {
  fill: var(--gm-cream);
  stroke: none;
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
  letter-spacing: 0.04em;
}

@keyframes gh-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes gh-blink {
  50% {
    opacity: 0.28;
  }
}
@keyframes gh-name {
  0%, 19% {
    opacity: 1;
  }
  20%, 100% {
    opacity: 0;
  }
}
@keyframes gh-caret {
  50% {
    fill: transparent;
  }
}
@keyframes gh-scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(68px);
  }
}
@keyframes gh-ants {
  to {
    stroke-dashoffset: -26;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gh-fly,
  .gh-scan {
    display: none;
  }
  .gh-name {
    animation: none;
    opacity: 0;
  }
  .gh-name:first-child {
    opacity: 1;
  }
  .gh-wire,
  .gh-led,
  .gh-caret,
  .gh-cards .gm-sheet-card,
  .gh-plan,
  .gh-machine,
  .gh-act,
  .gh-metric,
  .gh-machine-page .gm-sheet-card,
  .gh-places-track {
    animation: none;
    transition: none;
  }
  .gh-places-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .gh-places-set:nth-child(2) {
    display: none;
  }
}
.gh-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.gh-cards .gh-plan {
  content-visibility: auto;
  contain-intrinsic-size: auto 360px;
}

.gh-home .gh-plan {
  content-visibility: visible;
  animation: gh-rise 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gh-spec {
  display: grid;
  gap: 8px;
  margin: 0;
}
.gh-spec div {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}
.gh-spec dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gm-stone);
}
.gh-spec dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.gh-price {
  margin: 0;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.gh-price strong {
  font-size: 1.8rem;
  line-height: 1;
}
.gh-price span {
  font-weight: 400;
  color: var(--gm-stone);
}

.gh-setup {
  margin: 0;
  color: var(--gm-stone);
}

.gh-plan--premium {
  box-shadow: 4px 4px 0 var(--gm-accent);
}

.gh-prem-title,
.gh-band--premium {
  color: var(--gm-accent-hover);
}

.gh-band {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.gh-band::before, .gh-band::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--gm-ink);
}

.gh-band--premium::before,
.gh-band--premium::after {
  background: var(--gm-accent);
}

.gh-plan-place {
  margin: 0;
  font-weight: 700;
}

.gh-plan-line {
  margin: 0 0 8px;
  color: var(--gm-stone);
}

.gh-plan .gm-sheet-card-head h2 {
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.gh-cards > .gh-plan {
  height: 100%;
}

.gh-plan-foot {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 2px solid var(--gm-ink);
}

.gh-plan {
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.gh-plan:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--gm-ink);
}

.gh-plan:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--gm-ink);
}

.gh-plan--premium:hover {
  box-shadow: 6px 6px 0 var(--gm-accent);
}

.gh-plan--premium:active {
  box-shadow: 2px 2px 0 var(--gm-accent);
}

.gh-plan--out:hover,
.gh-plan--out:active {
  transform: none;
  box-shadow: var(--gm-tile-shadow);
}

.gh-plan--out .gm-sheet-card-head {
  background: var(--gm-stone);
}

.gh-order {
  position: relative;
  display: flex;
  margin-top: auto;
  align-self: stretch;
}
.gh-order .gm-btn {
  flex: 1;
  min-height: 48px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gh-sold {
  position: absolute;
  top: -11px;
  right: 10px;
  z-index: 1;
  background: var(--gm-warn);
  color: var(--gm-ink);
  font-weight: 700;
  border: 2px solid var(--gm-ink);
}

.gh-filters {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-card);
  box-shadow: var(--gm-tile-shadow);
}

.gh-find {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 720px) {
  .gh-find {
    grid-template-columns: 1fr;
  }
  .gh-uses a.gm-btn,
  .gh-btns a.gm-btn {
    min-height: 44px;
  }
}
.gh-slide {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.gh-slide .gh-slide-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gm-stone);
}
.gh-slide output {
  letter-spacing: 0;
  text-transform: none;
  color: var(--gm-ink);
}
.gh-slide input[type=range] {
  width: 100%;
  height: 28px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.gh-slide input[type=range]::-webkit-slider-runnable-track {
  height: 12px;
  background: var(--gm-beige);
  border: 2px solid var(--gm-ink);
  box-shadow: 2px 2px 0 var(--gm-ink);
}
.gh-slide input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 22px;
  margin-top: -7px;
  background: var(--gm-accent);
  border: 2px solid var(--gm-ink);
  box-shadow: 2px 2px 0 var(--gm-ink);
}
.gh-slide input[type=range]::-moz-range-track {
  height: 12px;
  background: var(--gm-beige);
  border: 2px solid var(--gm-ink);
  box-shadow: 2px 2px 0 var(--gm-ink);
}
.gh-slide input[type=range]::-moz-range-thumb {
  width: 16px;
  height: 22px;
  background: var(--gm-accent);
  border: 2px solid var(--gm-ink);
  box-shadow: 2px 2px 0 var(--gm-ink);
  border-radius: 0;
}
.gh-slide input[type=range]:focus-visible {
  outline: 2px solid var(--gm-ink);
  outline-offset: 2px;
}

.gh-find button {
  grid-column: 1/-1;
  justify-self: start;
  min-height: 32px;
}

.gh-uses a.gm-btn {
  min-height: 28px;
  padding: 2px 8px;
  font-size: 13px;
}

.gh-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

@media (max-width: 800px) {
  .gh-notes {
    grid-template-columns: 1fr;
  }
}
.gh-filter h2 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gm-stone);
}

.gh-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.gh-btns a.gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 12px;
  line-height: 1.15;
  text-align: center;
  background: var(--gm-tile-bg);
  color: var(--gm-ink);
  border: 2px solid var(--gm-ink);
  box-shadow: 2px 2px 0 var(--gm-ink);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
}
.gh-btns a.gm-btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
.gh-btns a.gm-btn:hover {
  background: var(--gm-beige);
  color: var(--gm-ink);
}
.gh-btns a.gm-btn[aria-current=page] {
  background: var(--gm-accent);
  color: var(--gm-cream);
  box-shadow: 4px 4px 0 var(--gm-ink);
}
.gh-btns a.gm-btn[aria-current=page]:hover {
  background: var(--gm-accent-hover);
  color: var(--gm-cream);
}
.gh-btns .gh-sold {
  position: static;
  top: auto;
  right: auto;
  margin-left: 6px;
}

.gh-btns--kind a.gm-btn {
  min-height: 40px;
  padding: 8px 14px;
}

.gh-btns a.gh-stock {
  background: transparent;
  box-shadow: none;
  border-style: dashed;
  font-weight: 400;
}

.gh-btns a.gh-stock[aria-current=page] {
  background: var(--gm-warn);
  color: var(--gm-ink);
  border-style: solid;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--gm-ink);
}

.gh-about {
  margin: 0;
}
.gh-about summary {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 6px 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 2px 2px 0 var(--gm-ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.12s ease;
}
.gh-about summary > span {
  text-decoration: none;
}
.gh-about summary:hover {
  background: var(--gm-tile-bg);
}
.gh-about summary:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
.gh-about summary::-webkit-details-marker {
  display: none;
}
.gh-about summary::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background: linear-gradient(var(--gm-ink), var(--gm-ink)) center/10px 2px no-repeat, linear-gradient(var(--gm-ink), var(--gm-ink)) center/2px 10px no-repeat;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.gh-about[open] summary {
  background: var(--gm-tile-bg);
}
.gh-about[open] summary::before {
  transform: rotate(45deg);
}
.gh-about .gh-note {
  margin: 8px 0 0;
}

.gh-rules {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
}
.gh-rules .gh-rule {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 6px 8px;
  border-left: 3px solid var(--gm-ink);
  background: var(--gm-beige);
  scroll-margin: 16px;
}
.gh-rules dt {
  margin: 0;
  font-weight: 700;
}
.gh-rules dd {
  margin: 0;
}
.gh-rules .gh-rule:target,
.gh-rules .gh-rule.gh-hit {
  background: var(--gm-warn);
  border-left-width: 6px;
  box-shadow: 3px 3px 0 var(--gm-ink);
}

a.gh-cap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 2px 2px 0 var(--gm-ink);
  color: var(--gm-ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
a.gh-cap:hover, a.gh-cap:focus-visible {
  background: var(--gm-warn);
}

.gh-rates {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 0;
}
.gh-rates caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 6px;
}
.gh-rates th,
.gh-rates td {
  padding: 4px 8px;
  border-bottom: 1px solid var(--gm-ink);
  text-align: left;
}

.gh-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 2px dashed var(--gm-ink);
  background: var(--gm-beige);
}
.gh-empty p {
  margin: 0;
  font-weight: 700;
}

.gh-skel {
  height: 220px;
  border: 2px solid var(--gm-ink);
  background: linear-gradient(100deg, var(--gm-tile-bg) 30%, var(--gm-beige) 50%, var(--gm-tile-bg) 70%);
  background-size: 220% 100%;
  box-shadow: var(--gm-tile-shadow);
  animation: gh-skel 1.3s ease-in-out infinite;
}

@keyframes gh-skel {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
.gh-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gm-oldgui-frame--order {
  width: min(36rem, 100% - 1rem);
}

.gh-order-page {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gh-order-page .gh-spec {
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}

.gh-order-page .gh-plan-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.gh-order-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-tile-bg);
}

.gh-order-form {
  padding: 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
}

.gh-order-form > .gm-btn {
  width: 100%;
}

@media (max-width: 420px) {
  .gh-order-page .gh-spec,
  .gh-order-page .gh-plan-foot {
    grid-template-columns: 1fr;
    display: grid;
  }
}
.gh-email summary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
}

.gm-captcha {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  --go-captcha-theme-text-color: var(--gm-ink);
  --go-captcha-theme-bg-color: var(--gm-beige);
  --go-captcha-theme-btn-color: var(--gm-cream);
  --go-captcha-theme-btn-disabled-color: var(--gm-line);
  --go-captcha-theme-btn-bg-color: var(--gm-accent);
  --go-captcha-theme-btn-border-color: var(--gm-ink);
  --go-captcha-theme-active-color: var(--gm-accent);
  --go-captcha-theme-border-color: var(--gm-ink);
  --go-captcha-theme-icon-color: var(--gm-ink);
  --go-captcha-theme-loading-icon-color: var(--gm-accent);
  --go-captcha-theme-body-bg-color: var(--gm-hard);
  --go-captcha-theme-dot-color: var(--gm-cream);
  --go-captcha-theme-dot-bg-color: var(--gm-accent);
  --go-captcha-theme-dot-border-color: var(--gm-cream);
  --go-captcha-theme-default-color: var(--gm-ink);
  --go-captcha-theme-default-bg-color: var(--gm-muted);
  --go-captcha-theme-default-border-color: var(--gm-ink);
  --go-captcha-theme-default-hover-color: var(--gm-muted);
}

.captcha {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  border: 2px solid var(--gm-ink);
  background: var(--gm-tile-bg);
}

.gh-host-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}
.gh-host-row .gh-host {
  flex: 1;
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.gh-host-rand {
  flex: none;
  box-sizing: border-box;
  height: 29px;
  min-height: 29px;
  margin: 0;
  padding: 0 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.gh-host {
  width: 100%;
  max-width: none;
}

.gh-hint {
  margin: -4px 0 0;
  color: var(--gm-ink-soft);
  font-size: 0.9rem;
}

.gh-details summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.12s ease;
}
.gh-details summary::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: linear-gradient(var(--gm-ink), var(--gm-ink)) center/10px 2px no-repeat, linear-gradient(var(--gm-ink), var(--gm-ink)) center/2px 10px no-repeat;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.gh-details[open] summary::before {
  transform: rotate(45deg);
}
.gh-details summary:hover {
  background: var(--gm-tile-bg);
}
.gh-details summary:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
.gh-details summary::-webkit-details-marker {
  display: none;
}
.gh-details .gm-label {
  margin-top: 12px;
}

.gh-form .gm-ta {
  min-height: 4.5rem;
}

.gm-captcha [class*=dots] {
  pointer-events: none;
}

.gm-captcha [class*=dots] .dot {
  pointer-events: auto;
}

.gh-account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gh-account-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
  color: var(--gm-ink);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.12s ease, color 0.12s ease;
}
.gh-account-tabs a:hover {
  background: var(--gm-tile-bg);
}
.gh-account-tabs a:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
.gh-account-tabs a[aria-current=page] {
  background: var(--gm-accent);
  color: var(--gm-cream);
  box-shadow: 3px 3px 0 var(--gm-ink);
}
.gh-account-tabs a[aria-current=page]:hover {
  background: var(--gm-accent-hover);
  color: var(--gm-cream);
}

.gh-pass-block {
  margin-top: 14px;
}
.gh-pass-block p {
  margin: 0 0 8px;
}

.gh-pass-block--tight {
  margin-top: 8px;
}
.gh-pass-block--tight p {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gm-ink-soft);
}
.gh-pass-block--tight .gh-pass-value.gm-inp,
.gh-pass-block--tight .gh-pass-value.gm-inp:focus {
  min-height: 32px;
  min-width: 0;
  padding: 4px 8px;
  font-size: 0.85rem;
}

.gh-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(13.5rem, 0.95fr);
  gap: 14px 18px;
  padding: 12px 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
  box-shadow: 4px 4px 0 var(--gm-ink);
}

.gh-board-col {
  min-width: 0;
}
.gh-board-col h3 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gh-board-col dl {
  display: grid;
  gap: 3px;
  margin: 0;
}
.gh-board-col dl div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}
.gh-board-col dt,
.gh-board-col dd {
  margin: 0;
}
.gh-board-col dt {
  font-size: 12px;
  color: var(--gm-ink-soft);
}
.gh-board-col dd {
  font-weight: 700;
  overflow-wrap: break-word;
}

.gh-board-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--gm-ink-soft);
}

.gh-upgrades {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gh-upgrades form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.gh-upgrade-sure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.gh-upgrade {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  min-width: 8.5rem;
  margin: 0;
  padding: 8px 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
  color: var(--gm-ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.gh-upgrade strong {
  font-size: 1.15rem;
}
.gh-upgrade small {
  font-size: 12px;
  font-weight: 700;
  color: var(--gm-ink-soft);
}
.gh-upgrade:hover, .gh-upgrade:active {
  transform: none;
  box-shadow: 3px 3px 0 var(--gm-ink);
  background: var(--gm-tile-bg, var(--gm-cream));
}
.gh-upgrade[aria-pressed=true] {
  background: var(--gm-accent);
  color: var(--gm-cream);
}
.gh-upgrade[aria-pressed=true] small {
  color: var(--gm-cream);
}
.gh-upgrade:disabled {
  cursor: default;
}
.gh-upgrade:focus-visible {
  outline: 2px solid var(--gm-ink);
  outline-offset: 2px;
}

.gh-board-price {
  margin: 8px 0 0;
  font-weight: 700;
}
.gh-board-price strong {
  font-size: 1.35rem;
}

.gh-pass {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.gh-pass-value.gm-inp,
.gh-pass-value.gm-inp:focus {
  flex: 1;
  width: auto;
  max-width: none;
  height: auto;
  min-width: 12rem;
  min-height: 2.75rem;
  margin: 0;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 2px solid var(--gm-ink);
  box-shadow: none;
  background-color: var(--gm-cream);
  color: var(--gm-ink);
  caret-color: var(--gm-ink);
  opacity: 1;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  -webkit-text-fill-color: var(--gm-ink);
}

.gh-pass-value.gm-inp::selection {
  background: var(--gm-accent);
  color: var(--gm-cream);
}

.gh-pass-value--cmd.gm-inp,
.gh-pass-value--cmd.gm-inp:focus {
  font-family: ui-monospace, monospace;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}

.gh-graph {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
  background: #fff;
}

.gh-account {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.gh-account-nav {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: var(--gm-tile-shadow);
}
.gh-account-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--gm-ink);
  text-decoration: none;
  border-left: 4px solid transparent;
}
.gh-account-nav a[aria-current=page] {
  border-left-color: var(--gm-accent);
  font-weight: 700;
  background: var(--gm-tile-bg);
}

.gh-acts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gh-act-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 10px;
}

.gh-act-row--two,
.gh-act-row--danger {
  grid-template-columns: 1fr 1fr;
}

.gh-act {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 8.5rem;
  padding: 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
  box-shadow: 4px 4px 0 var(--gm-ink);
}
.gh-act h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.gh-act p {
  margin: 0;
}
.gh-act .gm-btn,
.gh-act form {
  margin: 0;
  align-self: flex-start;
}

.gh-act--wide {
  min-height: 0;
}

.gh-act--danger {
  background: var(--gm-beige);
  box-shadow: 4px 4px 0 var(--gm-err, #9d0006);
}

.gh-machine-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gh-account .gm-sheet-card,
.gh-account .gh-metric,
.gh-account .gh-act,
.gh-account .gm-btn,
.gh-account .gh-back {
  transition: none;
}

.gh-account .gm-sheet-card:hover,
.gh-account .gm-sheet-card:active,
.gh-account .gh-metric:hover,
.gh-account .gh-metric:active,
.gh-account .gh-act:hover,
.gh-account .gh-act:active,
.gh-account .gm-btn:hover,
.gh-account .gm-btn:active,
.gh-account .gh-back:hover,
.gh-account .gh-back:active {
  transform: none;
}

.gh-ov {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
  box-shadow: 4px 4px 0 var(--gm-ink);
}

.gh-ov-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.gh-ov-head h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.gh-ov-head p {
  margin: 4px 0 0;
  color: var(--gm-ink-soft);
}

.gh-ov-note {
  margin: 0;
}

.gh-ov-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gh-ov-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
  color: var(--gm-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.gh-ov-btn:hover, .gh-ov-btn:active {
  transform: none;
  background: var(--gm-tile-bg, var(--gm-cream));
  box-shadow: 3px 3px 0 var(--gm-ink);
}
.gh-ov-btn:focus-visible {
  outline: 2px solid var(--gm-ink);
  outline-offset: 2px;
}

.gh-ov-head .gh-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gh-ov-head .gh-pay-status {
  margin-top: 0;
}

.gh-graphs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gh-graphs.is-open,
.gh-graphs--one {
  grid-template-columns: 1fr;
}

.gh-graph-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
  color: var(--gm-ink);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}
.gh-graph-card:hover, .gh-graph-card:active {
  transform: none;
  box-shadow: 3px 3px 0 var(--gm-ink);
}
.gh-graph-card:focus-visible {
  outline: 2px solid var(--gm-ink);
  outline-offset: 2px;
}
.gh-graph-card img {
  width: 100%;
  height: auto;
  background: #fff;
  border: 2px solid var(--gm-ink);
}

.gh-graph-card.is-open {
  grid-column: 1/-1;
  background: var(--gm-cream);
}

.gh-machine-page .gh-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gh-machine-page .gm-sheet-card-head .gh-pay-status {
  margin-top: 0;
}

.gh-machine-page .gh-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gh-machine-page .gh-login {
  margin: 0;
}
.gh-machine-page .gh-login > div {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.gh-machine-page .gh-login dt,
.gh-machine-page .gh-login dd {
  margin: 0;
}
.gh-machine-page .gh-login dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gm-stone);
}
.gh-machine-page .gh-login .gm-btn {
  margin: 0;
}

.gh-machine-page .gh-kpis-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gh-machine-page .gh-chips .gm-btn {
  flex: 0 0 auto;
  min-height: 40px;
  margin: 0;
  padding: 4px 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  box-shadow: none;
  color: var(--gm-ink);
  font-weight: 700;
}

.gh-machine-page .gh-chips .gm-btn[aria-current=page] {
  background: var(--gm-accent);
  color: var(--gm-card);
  border-bottom-color: var(--gm-accent);
  box-shadow: none;
}

.gh-machine-page .gh-act--wide .gh-form {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 12px;
}

.gh-machine-page .gh-act--wide .gh-form .gm-label {
  flex: 1 1 12rem;
  margin: 0;
}

.gh-machine-nav p {
  margin: 12px 12px 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gh-cred {
  margin: 14px;
  padding: 16px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-ink);
  color: var(--gm-cream);
  box-shadow: 4px 4px 0 var(--gm-accent);
}
.gh-cred p {
  margin: 0 0 8px;
}
.gh-cred strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.3;
  word-break: break-all;
}

.gh-access-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 14px 14px;
}

.gh-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gh-bill-add {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}
.gh-bill-add .gm-label,
.gh-bill-add .gm-btn,
.gh-bill-add .gh-coins {
  width: 100%;
}

.gh-pay-due {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px 16px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
}
.gh-pay-due p {
  margin: 0;
}

.gh-pay-id {
  min-width: 0;
}

.gh-pay-host {
  font-weight: 700;
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

.gh-pay-code {
  color: var(--gm-ink-soft);
}

.gh-pay-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 8px;
  padding: 0 10px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gh-pay-status--paid {
  background: var(--gm-accent);
  color: var(--gm-cream);
}

.gh-pay-status--wait {
  background: var(--gm-warn);
}

.gh-pay-sum {
  text-align: right;
}
.gh-pay-sum .gh-price strong {
  font-size: 2.4rem;
}
.gh-pay-sum .gh-hint {
  margin-top: 6px;
}

.gh-pay-go {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.gh-pay-go .gh-load-bars {
  height: 14px;
}
.gh-pay-go .gh-load-bars i {
  width: 5px;
  height: 14px;
  border-color: var(--gm-cream);
  background: transparent;
  animation-name: gh-pay-load;
}

@keyframes gh-pay-load {
  0%, 100% {
    transform: scaleY(0.4);
    background: transparent;
  }
  40% {
    transform: scaleY(1);
    background: var(--gm-cream);
  }
}
.gh-pay-warn {
  margin: 0;
  padding: 10px 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-warn);
  font-weight: 700;
}
.gh-pay-warn span {
  display: block;
}
.gh-pay-warn span + span {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 2px solid var(--gm-ink);
}

.gh-pay-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gh-pay-acts .gm-btn {
  flex: 1 1 12rem;
}

.gh-paid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 16px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 4px 4px 0 var(--gm-ok);
}
.gh-paid p {
  margin: 0;
}
.gh-paid .gh-price strong {
  font-size: 2.4rem;
}
.gh-paid .gh-pay-go {
  margin-top: 8px;
}

.gh-send {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "head head" "qr main";
  gap: 16px 20px;
  padding: 16px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 4px 4px 0 var(--gm-ink);
}

.gh-send-head {
  grid-area: head;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gh-send-head img {
  width: 36px;
  height: 36px;
}
.gh-send-head p {
  margin: 0;
}

.gh-send-qr {
  grid-area: qr;
  padding: 10px;
  border: 2px solid var(--gm-ink);
  background: #fff;
  line-height: 0;
  align-self: start;
}

.gh-send-main {
  grid-area: main;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gh-send-kicker {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gm-ink-soft);
}

.gh-send-amt {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.gh-send-amt span {
  font-size: 0.48em;
  letter-spacing: 0.04em;
}

.gh-send-addr {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-ink);
  color: var(--gm-cream);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
  cursor: pointer;
  appearance: none;
}

.gh-send-addr:hover {
  background: var(--gm-hard);
}

.gh-send-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.gh-send-live {
  margin: 8px 0 0;
  color: var(--gm-ink-soft);
}

.gh-vnc-page .gm-sheet-card,
.gh-vnc,
.gh-vnc-btn,
.gh-vnc-status {
  transition: none;
}

.gh-vnc-page .gm-sheet-card:hover,
.gh-vnc-page .gm-sheet-card:active,
.gh-vnc-btn:hover,
.gh-vnc-btn:active,
.gh-vnc-status:hover,
.gh-vnc-status:active {
  transform: none;
}

.gh-vnc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
  box-shadow: 4px 4px 0 var(--gm-ink);
}

.gh-vnc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.gh-vnc-head h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.1;
}
.gh-vnc-head p {
  margin: 4px 0 0;
  color: var(--gm-ink-soft);
}

.gh-vnc-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
  color: var(--gm-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.gh-vnc-status:disabled {
  cursor: default;
}
.gh-vnc-status:focus-visible {
  outline: 2px solid var(--gm-ink);
  outline-offset: 2px;
}

.gh-vnc-status--connected {
  background: var(--gm-cream);
}

.gh-vnc-status--failed {
  box-shadow: 3px 3px 0 var(--gm-err, #9d0006);
}

.gh-vnc-dot,
.gh-vnc-spin {
  width: 12px;
  height: 12px;
  flex: none;
  border: 2px solid var(--gm-ink);
  background: var(--gm-ink-soft);
}

.gh-vnc-status--connecting .gh-vnc-spin,
.gh-vnc-wait .gh-vnc-spin {
  border-color: var(--gm-ink);
  border-right-color: transparent;
  background: transparent;
  animation: gh-vnc-spin 0.8s linear infinite;
}

.gh-vnc-status--connected .gh-vnc-dot {
  background: var(--gm-ok);
}

.gh-vnc-status--closed .gh-vnc-dot {
  background: var(--gm-beige);
}

.gh-vnc-status--failed .gh-vnc-dot {
  background: var(--gm-err, #9d0006);
}

@keyframes gh-vnc-spin {
  to {
    transform: rotate(360deg);
  }
}
.gh-vnc-screen {
  position: relative;
  background: #1d2021;
  border: 2px solid var(--gm-ink);
}

.gh-console {
  height: 28rem;
  background: #1d2021;
  overflow: hidden;
}

.gh-vnc-wait {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(29, 32, 33, 0.88);
  color: var(--gm-cream);
  font-weight: 700;
}

.gh-vnc-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.gh-vnc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
  color: var(--gm-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.gh-vnc-btn:hover {
  background: var(--gm-tile-bg, var(--gm-cream));
}
.gh-vnc-btn:disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: 3px 3px 0 var(--gm-ink);
}
.gh-vnc-btn:focus-visible {
  outline: 2px solid var(--gm-ink);
  outline-offset: 2px;
}

.gh-vnc-btn--go {
  background: var(--gm-ink);
  color: var(--gm-cream);
}
.gh-vnc-btn--go:hover {
  background: var(--gm-ink);
  color: var(--gm-cream);
}

.gh-vnc-paste {
  display: flex;
  flex: 1 1 16rem;
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.gh-vnc-paste .gm-inp {
  flex: 1 1 auto;
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .gh-vnc-spin {
    animation: none;
  }
}
@media (max-width: 720px) {
  .gh-send {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "qr" "main";
    justify-items: center;
  }
  .gh-send-head,
  .gh-send-main {
    width: 100%;
  }
}
.gh-coin-wait {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.gh-skel.gh-coin-skel {
  height: 108px;
  min-height: 108px;
  box-shadow: 2px 2px 0 var(--gm-ink);
}

.gh-coin-picked {
  margin: 0;
  font-weight: 700;
}

.gh-coin {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 108px;
  padding: 8px 4px;
  background: var(--gm-beige);
  color: var(--gm-ink);
  box-shadow: 2px 2px 0 var(--gm-ink);
  line-height: 1.15;
  text-align: center;
}
.gh-coin img {
  width: 28px;
  height: 28px;
  display: block;
}
.gh-coin .gh-coin-rate {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.gh-coin .gh-coin-load {
  height: 12px;
}
.gh-coin .gh-coin-load i {
  width: 4px;
  height: 12px;
}
.gh-coin input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gh-coin[aria-pressed=true],
.gh-coin:has(input:checked) {
  background: var(--gm-accent);
  color: var(--gm-cream);
  box-shadow: 3px 3px 0 var(--gm-ink);
}

.gh-bill-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gh-bill-row {
  display: grid;
  margin: 0;
  padding: 0;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
  box-shadow: 4px 4px 0 var(--gm-ink);
  overflow: hidden;
}

.gh-bill-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 2px solid var(--gm-ink);
  background: var(--gm-beige);
}
.gh-bill-top .gh-pay-status {
  margin-top: 0;
  margin-left: auto;
}

.gh-bill-kicker,
.gh-bill-no,
.gh-bill-meta,
.gh-bill-sum {
  margin: 0;
}

.gh-bill-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gh-bill-no {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.gh-bill-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 14px 14px 8px;
}

.gh-bill-host {
  color: inherit;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.gh-bill-meta {
  margin-top: 4px;
}

.gh-bill-sum {
  text-align: right;
  flex: none;
}
.gh-bill-sum span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gh-bill-sum strong {
  font-size: 1.7rem;
  line-height: 1.1;
}

.gh-bill-acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 14px 14px;
}
.gh-bill-acts .gm-btn,
.gh-bill-acts form {
  margin: 0;
}
.gh-bill-acts .gh-pay-warn,
.gh-bill-acts .gh-bill-confirm {
  flex: 1 1 100%;
}

.gh-bill-confirm {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.gh-cost .gh-bill-top .gh-price {
  margin: 0 0 0 auto;
}

.gh-cost-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  margin: 0;
}
.gh-cost-facts div {
  margin: 0;
  padding: 12px 14px;
}
.gh-cost-facts div + div {
  border-left: 2px solid var(--gm-ink);
}
.gh-cost-facts dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gh-cost-facts dd {
  margin: 4px 0 0;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.05rem;
}

.gh-cost-short dd {
  color: var(--gm-err, #9d0006);
}

.gh-cost-note {
  margin: 0;
  padding: 12px 14px 0;
}

.gh-cost-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
}
.gh-cost-pay form,
.gh-cost-pay .gm-btn {
  margin: 0;
}

.gh-act--short {
  background: var(--gm-beige);
}

.gh-provision,
.gh-monitor {
  margin-top: 16px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
  box-shadow: 4px 4px 0 var(--gm-ink);
  overflow: hidden;
}

.gh-setup-steps {
  list-style: none;
  margin: 0;
  padding: 0 14px 8px;
}
.gh-setup-steps li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--gm-line);
}
.gh-setup-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
}
.gh-setup-steps li.is-done::before {
  background: var(--gm-accent);
}
.gh-setup-steps li.is-now {
  font-weight: 700;
}
.gh-setup-steps li.is-now::before {
  background: var(--gm-warn);
}

.gh-setup-note,
.gh-monitor-wait {
  margin: 0;
  padding: 0 14px 14px;
}

.gh-metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 12px 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-tile-bg);
  box-shadow: var(--gm-tile-shadow);
}
.gh-metric header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.gh-metric h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gh-metric strong {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.gh-chart {
  display: block;
  width: 100%;
  color: var(--gm-ink);
}

.gh-machine {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
  box-shadow: 4px 4px 0 var(--gm-ink);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}
.gh-machine:first-of-type {
  margin-top: 0;
}
.gh-machine {
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}
.gh-machine:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--gm-ink);
}
.gh-machine:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--gm-ink);
}
.gh-machine header,
.gh-machine footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gh-machine header {
  padding: 12px 14px;
  border-bottom: 2px solid var(--gm-ink);
  background: var(--gm-beige);
}
.gh-machine .gh-pay-status {
  margin-top: 0;
  flex: none;
}
.gh-machine header strong {
  display: block;
  font-size: 1.15rem;
}
.gh-machine dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0 14px;
}
.gh-machine dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gh-machine dd {
  margin: 2px 0 0;
  word-break: break-all;
}
.gh-machine footer {
  padding: 0 14px 14px;
}
.gh-machine footer p {
  margin: 0;
}

.gh-machine-spec {
  margin-top: 16px;
  padding: 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
  box-shadow: 4px 4px 0 var(--gm-ink);
}
.gh-machine-spec div {
  grid-template-columns: 8.5rem minmax(0, 1fr);
}

.gh-machine-code {
  display: block;
  margin-top: 2px;
  font-size: 12px;
}

.gh-machine-open {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  font-weight: 700;
}

.gh-inv {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  gap: 8px 16px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--gm-line);
}
.gh-inv:first-child {
  border-top: 0;
  padding-top: 0;
}

@media (max-width: 720px) {
  .gh-pay-due {
    align-items: stretch;
  }
  .gh-pay-sum {
    text-align: left;
  }
  .gh-account {
    grid-template-columns: 1fr;
  }
  .gh-account-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .gh-inv {
    grid-template-columns: 1fr auto;
  }
  .gh-bill-body {
    flex-direction: column;
    align-items: stretch;
  }
  .gh-bill-sum {
    text-align: left;
  }
  .gh-cost .gh-bill-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .gh-cost .gh-bill-top .gh-price {
    margin-left: 0;
  }
  .gh-cost-facts {
    grid-template-columns: 1fr;
  }
  .gh-cost-facts div + div {
    border-left: 0;
    border-top: 2px solid var(--gm-ink);
  }
  .gh-cost-pay {
    flex-direction: column;
    align-items: stretch;
  }
  .gh-bill-acts {
    justify-content: flex-start;
  }
  .gh-metric-grid,
  .gh-act-row,
  .gh-act-row--danger,
  .gh-machine dl,
  .gh-machine-page .gh-kpis-3,
  .gh-board {
    grid-template-columns: 1fr;
  }
  .gh-machine-page .gh-login > div {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }
  .gh-machine-page .gh-login .gm-btn {
    grid-column: 2;
    justify-self: start;
  }
  .gh-machine-page .gh-act--wide .gh-form {
    flex-direction: column;
    align-items: stretch;
  }
}
.gh-ticket-open,
.gh-ticket-new > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  margin: 0;
  padding: 6px 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
  color: var(--gm-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.gh-ticket-open::-webkit-details-marker,
.gh-ticket-new > summary::-webkit-details-marker {
  display: none;
}
.gh-ticket-open::marker,
.gh-ticket-new > summary::marker {
  content: "";
}
.gh-ticket-open:hover, .gh-ticket-open:active,
.gh-ticket-new > summary:hover,
.gh-ticket-new > summary:active {
  transform: none;
  background: var(--gm-tile-bg, var(--gm-cream));
  box-shadow: 3px 3px 0 var(--gm-ink);
}
.gh-ticket-open:focus-visible,
.gh-ticket-new > summary:focus-visible {
  outline: 2px solid var(--gm-ink);
  outline-offset: 2px;
}

.gh-ticket-open[aria-expanded=true],
.gh-ticket-new[open] > summary {
  background: var(--gm-accent);
  color: var(--gm-cream);
}

.gh-ticket-new[open] > summary:hover,
.gh-ticket-open[aria-expanded=true]:hover {
  background: var(--gm-accent);
  color: var(--gm-cream);
}

.gh-ticket-form {
  margin-top: 12px;
}

.gh-tickets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gh-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "subject status" "meta status";
  gap: 2px 12px;
  align-items: center;
  padding: 10px 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
  box-shadow: 3px 3px 0 var(--gm-ink);
  color: var(--gm-ink);
  text-decoration: none;
}
.gh-ticket:hover, .gh-ticket:active {
  transform: none;
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
}
.gh-ticket:focus-visible {
  outline: 2px solid var(--gm-ink);
  outline-offset: 2px;
}

.gh-ticket-subject {
  grid-area: subject;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.gh-ticket-meta {
  grid-area: meta;
  font-size: 12px;
  font-weight: 700;
  color: var(--gm-ink-soft);
}

.gh-ticket-status {
  grid-area: status;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gh-ticket-status--open {
  background: var(--gm-accent);
  color: var(--gm-cream);
}

.gh-ticket-status--closed {
  background: var(--gm-cream);
  color: var(--gm-ink-soft);
}

.gh-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gh-thread-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: min(34rem, 86%);
}

.gh-thread-row--staff {
  align-self: flex-start;
  align-items: flex-start;
}

.gh-thread-row--you {
  align-self: flex-end;
  align-items: flex-end;
}

.gh-thread-who {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gh-thread-row--staff .gh-thread-who {
  color: var(--gm-accent);
}

.gh-thread-bubble {
  padding: 10px 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
}
.gh-thread-bubble p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.gh-thread-bubble time {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gm-ink-soft);
}

.gh-thread-row--staff .gh-thread-bubble {
  border-left-width: 6px;
  border-left-color: var(--gm-accent);
}

.gh-thread-row--you .gh-thread-bubble {
  background: var(--gm-cream);
  border-right-width: 6px;
}

.gh-thread-row--you time {
  text-align: right;
}

.gh-thread-row,
.gh-thread-bubble {
  transition: none;
}

.gh-thread-row:hover,
.gh-thread-row:active,
.gh-thread-bubble:hover,
.gh-thread-bubble:active {
  transform: none;
}

.gm-btn {
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.12s ease, color 0.12s ease;
}

.gh-about,
.gh-details,
.gm-faq-details {
  interpolate-size: allow-keywords;
}
.gh-about::details-content,
.gh-details::details-content,
.gm-faq-details::details-content {
  height: 0;
  overflow: clip;
  opacity: 0;
  transition: height 0.48s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease, content-visibility 0.48s allow-discrete;
}
.gh-about[open]::details-content,
.gh-details[open]::details-content,
.gm-faq-details[open]::details-content {
  height: auto;
  opacity: 1;
}

.gh-load {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 4px 0;
  padding: 10px 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
}
.gh-load p {
  margin: 0;
  font-weight: 700;
}

.gh-load-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 16px;
}
.gh-load-bars i {
  display: block;
  width: 6px;
  height: 16px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-tile-bg);
  transform-origin: center bottom;
  animation: gh-load 0.9s ease-in-out infinite;
}
.gh-load-bars i:nth-child(2) {
  animation-delay: 0.15s;
}
.gh-load-bars i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes gh-load {
  0%, 100% {
    transform: scaleY(0.4);
    background: var(--gm-tile-bg);
  }
  40% {
    transform: scaleY(1);
    background: var(--gm-accent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gh-about::details-content,
  .gh-details::details-content,
  .gm-faq-details::details-content,
  .gh-load-bars i,
  .gh-skel,
  .gm-btn,
  .gh-about summary,
  .gh-details summary {
    transition: none;
    animation: none;
  }
}
.gm-oldgui-menubar {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 2px;
  column-gap: 2px;
}
.gm-oldgui-menubar a,
.gm-oldgui-menubar button {
  min-height: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 8px;
  line-height: 1.15;
  font: inherit;
  font-weight: 400;
  color: var(--gm-ink);
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
}
.gm-oldgui-menubar a:hover,
.gm-oldgui-menubar button:hover,
.gm-oldgui-menubar a[aria-current=page],
.gm-oldgui-menubar a.gm-oldgui-menu-sel,
.gm-oldgui-menubar button[aria-current=page] {
  background: var(--gm-accent);
  color: var(--gm-card);
  box-shadow: none;
}

.gh-logout {
  display: inline-flex;
  margin: 0;
}

.gm-label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.gm-inp,
select.gm-inp,
textarea.gm-inp {
  font-size: 16px;
  min-height: 48px;
  width: 100%;
  box-sizing: border-box;
}

textarea.gm-inp {
  min-height: 96px;
}

.gh-tip {
  align-self: flex-start;
}
.gh-tip summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--gm-ink);
  border-radius: 50%;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.gh-tip summary::-webkit-details-marker {
  display: none;
}
.gh-tip p {
  max-width: 36rem;
  margin: 8px 0 0;
}

.gh-note {
  margin: 0;
  color: var(--gm-ink-soft);
  line-height: 1.4;
}

.gh-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 2px solid var(--gm-ink);
  font-weight: 700;
}

.gh-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  max-width: 100%;
  padding-bottom: 4px;
}
.gh-chips a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  box-shadow: none;
  color: var(--gm-ink);
  font-weight: 700;
  text-decoration: none;
}
.gh-chips a[aria-current=page] {
  background: var(--gm-accent);
  color: var(--gm-card);
  border-bottom-color: var(--gm-accent);
  box-shadow: none;
}

.gh-chips--wrap {
  flex-wrap: wrap;
  overflow-x: visible;
}

.gh-power,
div.gh-danger {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gh-power form,
div.gh-danger form {
  display: flex;
}

div.gh-danger {
  padding-top: 8px;
  border-top: 2px solid var(--gm-accent);
}

.gh-power .gm-btn,
div.gh-danger .gm-btn,
.gh-form > .gm-btn,
.gh-coins .gm-btn,
.gh-dock .gm-btn {
  min-height: 48px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gh-coins {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.gh-addr {
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
}

.gh-totp-step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 4px 0 8px;
  padding: 14px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
}
.gh-totp-step > p {
  margin: 0;
}
.gh-totp-step .gm-btn {
  align-self: flex-start;
}

.gh-totp-enroll {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.gh-totp-qr {
  padding: 8px;
  border: 2px solid var(--gm-ink);
  background: #fff;
  line-height: 0;
}

.gh-totp-secret {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.gh-totp-secret code {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
  overflow-wrap: anywhere;
  user-select: all;
}

.gh-totp-codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gh-totp-codes li {
  margin: 0;
  padding: 8px 6px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-cream);
  text-align: center;
  letter-spacing: 0.06em;
}

.gh-totp-one {
  letter-spacing: 0.18em;
  text-align: center;
  font-weight: 700;
}

.gh-totp {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.gh-totp .gm-inp {
  width: 100%;
  height: 3.25rem;
  min-width: 0;
  padding: 0;
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

@media (max-width: 720px) {
  .gh-totp-enroll {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .gh-totp-secret,
  .gh-totp-step .gm-btn {
    width: 100%;
  }
}
.gh-dock {
  display: none;
}

.gh-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 720px) {
  .gh-facts,
  .gh-cards {
    grid-template-columns: 1fr;
  }
  .gh-form > .gm-btn,
  .gh-form > button {
    width: 100%;
  }
  .gh-power,
  div.gh-danger {
    flex-direction: column;
  }
  .gh-power .gm-btn,
  .gh-power form,
  div.gh-danger .gm-btn,
  div.gh-danger form {
    width: 100%;
  }
  .gm-oldgui-menubar {
    gap: 6px;
  }
  .gm-oldgui-menubar a,
  .gm-oldgui-menubar button {
    min-height: 44px;
    padding: 8px 12px;
  }
  .gm-oldgui-frame,
  .gm-oldgui-frame--wide,
  .gm-oldgui-frame--order {
    margin: 10px 0 16px;
  }
  .gh-home .gm-sheet-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .gh-home .gm-sheet-hero-actions .gm-btn {
    width: 100%;
  }
  .gh-places {
    grid-template-columns: 1fr;
  }
  .gh-btns a.gm-btn,
  .gh-about summary,
  .gh-details summary,
  .gh-account-tabs a {
    min-height: 44px;
  }
  .gh-account-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .gh-account-tabs a {
    justify-content: center;
  }
  .gh-rules .gh-rule,
  .gh-plan .gh-spec div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .gm-captcha img {
    max-width: 100%;
    height: auto;
  }
  .gh-dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    background: var(--gm-bg, #efe6c9);
    border-top: 2px solid var(--gm-ink);
  }
  .gh-dock .gm-btn {
    flex: 1;
  }
  .gm-oldgui-frame,
  .gm-oldgui-body {
    max-width: 100%;
  }
}
.gm-token-box {
  max-width: 100%;
}

.gm-tok {
  letter-spacing: 0.08em;
}

.gh-docs {
  width: min(46rem, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gh-back-row {
  margin: 0;
}

.gh-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 16px 6px 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-ink);
  box-shadow: 3px 3px 0 var(--gm-hard, var(--gm-ink));
  color: var(--gm-cream);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.gh-back:hover {
  background: var(--gm-ink);
  color: var(--gm-cream);
}
.gh-back:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
.gh-back:focus-visible {
  outline: 2px solid var(--gm-cream);
  outline-offset: 2px;
}
.gh-back svg {
  width: 18px;
  height: 18px;
  flex: none;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.gh-toc-lead {
  margin: 4px 0 0;
  font-weight: 700;
}

.gh-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.gh-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 2px 2px 0 var(--gm-ink);
  color: var(--gm-ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
}
.gh-toc a:hover {
  background: var(--gm-tile-bg);
}
.gh-toc a:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.gh-defbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gh-defbox h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.gh-docs .gm-sheet-card p {
  margin: 0;
}

.gh-docs .gm-sheet-card p + p {
  margin-top: 8px;
}

.gh-docs .gm-faq-list {
  gap: 8px;
}

.gh-defs {
  display: grid;
  margin: 0;
  border: 2px solid var(--gm-ink);
  background: var(--gm-beige);
  box-shadow: 3px 3px 0 var(--gm-ink);
}
.gh-defs div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
  padding: 8px 10px;
  border-top: 1px solid var(--gm-ink);
}
.gh-defs div:first-child {
  border-top: 0;
}
.gh-defs dt,
.gh-defs dd {
  margin: 0;
}
.gh-defs dt {
  font-weight: 700;
}

.gh-docs .gh-rates th {
  background: var(--gm-ink);
  color: var(--gm-cream);
}
.gh-docs .gh-rates td:last-child,
.gh-docs .gh-rates th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .gh-defs div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.gm-save-token {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.gm-save-token h1 {
  margin: 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
}

.gm-save-token-once {
  margin: 0;
}

.gm-save-token-plate {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 6px;
  background-color: #1d2021;
  box-shadow: inset 5px 5px 0 #000;
  cursor: text;
  user-select: all;
  color: #fbf1c7;
  line-height: 1;
}

.gm-save-token-plate:focus {
  outline: 2px solid #cc241d;
  outline-offset: 2px;
}

.gm-save-token-chunk {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 2px 8px;
  background-color: #282828;
  color: #fbf1c7;
  box-shadow: inset 3px 3px 0 #000;
  font-size: clamp(13px, 4.2vw, 20px);
  letter-spacing: 0.08em;
  text-indent: 0.08em;
}

.gm-save-token-plate::selection,
.gm-save-token-plate *::selection {
  background-color: #fbf1c7;
  color: #282828;
}

.gm-save-token-dash {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gm-save-token-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.gm-save-token-copy {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-sizing: border-box;
  box-shadow: 4px 4px 0 #1d2021;
  text-align: center;
}

.gm-save-token-copy[aria-pressed=true] {
  background: #98971a;
  color: #282828;
  box-shadow: inset 2px 2px 0 #665c54;
}

.gm-save-token-actions-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.gm-save-token-status {
  margin: 0;
  text-align: center;
}

.gm-save-token-ack {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 6px 8px;
  border: 2px solid #282828;
  background: #ebdbb2;
  box-shadow: 2px 2px 0 #1d2021;
  font-size: 13px;
  line-height: 1.3;
}

.gm-save-token-continue {
  display: flex;
  justify-content: center;
  margin: 2px 0 0;
}

.gm-save-token-continue .gm-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.gm-save-token-slip {
  display: none;
}

@media print {
  @page {
    margin: 8mm;
  }
  .gm-oldgui-toprow,
  .gm-oldgui-title,
  .gm-oldgui-menubar,
  .gm-oldgui-foot,
  .gm-save-token > :not(.gm-save-token-slip) {
    display: none !important;
  }
  .gm-save-token-slip {
    display: block;
    color: #000;
    background: #fff;
  }
}
