/* Agent Gary's walkthrough (public/geeksquad.js): a Geek Squad service order. A black badge band on top (the agent's Bii
   head in an orange ring, the wordmark in orange board letters), then the carbon-copy pink order torn off along a
   perforation: tick-box device picker, numbered steps in red form boxes, and small dark replicas of each app's screen
   with the thing to press in a hard red ring. The paper stays paper in dark mode. */
.gsq { --gs-orange: #ff6c0c; --gs-paper: #ffe9e6; --gs-ink: #2e0b0f; --gs-ink-2: #7d4a4f; --gs-red: #d3121c; --gs-rule: #f0c4c4;
  position: fixed; left: 0; right: 0; top: var(--app-top, 0px); height: var(--app-h, 100%); z-index: 33; display: flex; flex-direction: column;
  background: #000; color: var(--gs-ink); opacity: 0; transform: translateY(18px); transition: opacity .2s, transform .26s cubic-bezier(.2, .8, .2, 1); overscroll-behavior: contain; }
.gsq.open { opacity: 1; transform: none; }

.gsq-top { flex: none; display: flex; align-items: center; gap: 12px; padding: calc(12px + env(safe-area-inset-top)) 12px 14px 16px; background: #000; color: #fff; }
.gsq-face { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px var(--gs-orange); display: grid; place-items: center; }
.gsq-face svg { width: 48px; height: 52px; display: block; }
.gsq-who { flex: 1; min-width: 0; display: grid; gap: 2px; }
.gsq-mark { font: 600 28px/1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--gs-orange); }
.gsq-agent { font: 700 15px/1.2 "Atkinson Hyperlegible", system-ui, sans-serif; color: #fff; }
.gsq-x { flex: none; width: 44px; height: 44px; border: 0; background: #ffffff24; color: #fff; display: grid; place-items: center; }
.gsq-x svg { width: 20px; height: 20px; }

.gsq-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: #000; }
/* the order, torn off along a row of perforations */
.gsq-sheet { position: relative; max-width: 600px; min-height: 100%; margin: 0 auto; padding: 26px 0 calc(28px + var(--sab, env(safe-area-inset-bottom))); background: var(--gs-paper); }
.gsq-sheet::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 8px;
  background: radial-gradient(circle at 5px 4px, #000 2.6px, transparent 3.2px) 0 0 / 14px 8px repeat-x; }
.gsq-body { padding: 0 20px; }
.gsq-lede { margin: 6px 0 18px; font-size: 19px; font-weight: 700; line-height: 1.35; max-width: 32ch; text-wrap: pretty; }

.gsq-pick { margin: 0 0 8px; padding: 0; border: 0; min-width: 0; }
.gsq-pick legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--gs-ink-2); }
.gsq-boxes { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--gs-red); }
.gsq-boxes button { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 8px 8px 2px; border: 0; border-bottom: 1px solid var(--gs-rule);
  background: none; color: var(--gs-ink); font: 700 16px/1.2 "Atkinson Hyperlegible", system-ui, sans-serif; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gsq-boxes button:nth-child(odd) { border-right: 1px solid var(--gs-rule); }
.gsq-boxes button:nth-child(even) { padding-left: 10px; }
.gsq-box { flex: none; width: 24px; height: 24px; border: 2px solid var(--gs-red); background: #fff; color: var(--gs-ink); display: grid; place-items: center; }
.gsq-box svg { width: 22px; height: 22px; margin: -4px -2px 0 2px; }
.gsq-boxes button[aria-checked="true"] { color: var(--gs-ink); }

.gsq-memo { margin: 18px 0 4px; padding: 10px 12px 11px 14px; border-left: 4px solid var(--gs-orange); background: #fff7f2; color: var(--gs-ink); font-size: 16px; line-height: 1.45; }
.gsq-part { scroll-margin-top: 10px; margin: 26px 0 16px; padding: 8px 12px; background: #000; color: #fff; font: 700 17px/1.2 "Atkinson Hyperlegible", system-ui, sans-serif; box-shadow: inset 4px 0 0 var(--gs-orange); }

.gsq-steps { list-style: none; margin: 0; padding: 0; }
.gsq-steps li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding-bottom: 26px; }
.gsq-steps li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 40px; bottom: 6px; width: 2px; background: var(--gs-rule); }
.gsq-n { width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--gs-red); background: #fff; color: var(--gs-red); font: 600 22px/1 "Barlow Condensed", sans-serif; }
.gsq-step { min-width: 0; padding-top: 4px; }
.gsq-t { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.gsq-s { margin: 4px 0 0; color: var(--gs-ink-2); font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.gsq-v { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }

.gsq-addr { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gsq-addr span { font-size: 16px; font-weight: 700; word-break: break-all; }
.gsq-copy, .gsq-open { display: inline-flex; align-items: center; gap: 7px; }
.gsq-copy { min-height: 40px; padding: 0 12px; border: 0; background: #000; color: #fff; font: 700 15px/1 "Atkinson Hyperlegible", system-ui, sans-serif; }
.gsq-copy svg { width: 17px; height: 17px; color: var(--gs-orange); }
.gsq-open { margin-top: 12px; font-size: 17px; }
.gsq-open svg { width: 20px; height: 20px; }
.gsq-codebox { display: inline-block; margin-top: 12px; }
.gsq-codebox input { width: 5.6em; padding: 6px 4px 4px 10px; border: 0; border-bottom: 3px solid var(--gs-red); border-radius: 0; background: #fff; color: var(--gs-ink);
  font: 600 36px/1 "Barlow Condensed", sans-serif; letter-spacing: .28em; outline: none; }
.gsq-codebox input::placeholder { color: #e7c3c3; }
.gsq-codebox input:focus { border-bottom-color: #000; }
.gsq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---- replicas: the other app's screens (its own dark look and system type); the thing to press gets the red ring ---- */
.gv { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 100%; padding: 12px 14px; background: #101010; color: #f2f2f2;
  font: 500 14px/1.25 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; border-radius: 6px; }
.gv.tv { border: 5px solid #000; border-bottom-width: 9px; border-radius: 3px; }
.gv .tap { box-shadow: 0 0 0 3px var(--gs-red, #d3121c), 0 0 0 5px #fff; }
.gv-h { font-size: 15px; font-weight: 700; }
.gv-label { color: #a6a6a6; font-size: 12px; }
.gv-field { min-width: 0; max-width: 100%; padding: 7px 9px; background: #262626; border-bottom: 2px solid #5a5a5a; font-size: 12.5px; word-break: break-all; }
.gv-btn { padding: 8px 14px; background: #303030; border-radius: 4px; font-weight: 700; }
.gv-raised { background: #00a4dc; color: #fff; }
.gv-code { align-items: center; }
.gv-digits { font: 700 26px/1 system-ui, sans-serif; letter-spacing: .12em; }
.gv-app { flex-direction: row; align-items: center; gap: 10px; background: #fff; color: #1c1c1e; box-shadow: 0 0 0 1px #0000001f; }
.gv-app b { display: block; font-size: 14px; }
.gv-app small { color: #6e6e73; font-size: 12px; }
.gv-icon { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: #101010; color: #fff; font-weight: 800; font-size: 18px; }
.gv-get { margin-left: 6px; padding: 5px 14px; border-radius: 99px; background: #eef0f5; color: #0a67d6; font-weight: 700; }
.gv-jf { background: #101010; }
.gv-bar { flex-direction: row; align-items: center; width: 220px; padding: 8px 10px; }
.gv-logo { width: 58px; height: 12px; border-radius: 2px; background: #3a3a3a; }
.gv-sp { flex: 1; }
.gv-avatar { width: 28px; height: 28px; border-radius: 50%; background: #3a3a3a; color: #cfcfcf; display: grid; place-items: center; }
.gv-avatar svg { width: 18px; height: 18px; }
.gv-menu { gap: 0; padding: 6px 0; min-width: 176px; background: #1e1e1e; }
.gv-mrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 14px; }
.gv-mrow svg { width: 18px; height: 18px; color: #bdbdbd; }
.gv-rule { width: 100%; height: 1px; margin: 4px 0; background: #3a3a3a; }
.gv-burger { width: 28px; height: 28px; margin-right: 8px; display: grid; place-items: center; color: #e6e6e6; }
.gv-burger svg { width: 20px; height: 20px; }
.gv-drawer { min-width: 190px; }
.gsq-jobs { margin-bottom: 18px; }
.gv-auth { min-width: 200px; }
.gv-auth .gv-field { width: 100%; font-size: 14px; letter-spacing: .08em; }

@media (max-width: 360px) { .gsq-boxes { grid-template-columns: 1fr; } .gsq-boxes button:nth-child(odd) { border-right: 0; } .gsq-boxes button:nth-child(even) { padding-left: 2px; } }
@media (prefers-reduced-motion: reduce) { .gsq { transition: none; transform: none; } }

/* the web browser plan: its tick-box runs the full width of the grid; replicas of a browser's address bar and the hub's
   own sign-in page (felt board, white form, indigo Sign in), in the hub's colours */
.gsq-boxes button.wide { grid-column: 1 / -1; border-right: 0; }
.gv-web { flex-direction: row; align-items: center; gap: 10px; width: 250px; padding: 8px 10px; background: #e9e9ee; color: #1c1c1e; box-shadow: 0 0 0 1px #0000001a; }
.gv-dots { flex: none; display: flex; gap: 4px; }
.gv-dots i { width: 7px; height: 7px; border-radius: 50%; background: #c2c2c8; }
.gv-url { flex: 1; min-width: 0; padding: 6px 10px; border-radius: 99px; background: #fff; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gv-hub { gap: 0; width: 210px; padding: 0; overflow: hidden; background: #e3e7ec; color: #1d2140; }
.gv-board { align-self: stretch; display: grid; gap: 3px; padding: 10px 12px 9px; background: #2b2a33 repeating-linear-gradient(to bottom, transparent 0 3px, #232229 3px 4px);
  color: #f5f5f2; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; }
.gv-board b { font-size: 22px; line-height: 1; }
.gv-board small { font-size: 11px; letter-spacing: .14em; }
.gv-hform { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px 12px; font-family: "Atkinson Hyperlegible", system-ui, sans-serif; }
.gv-hl { font-size: 11.5px; font-weight: 700; }
.gv-hf { align-self: stretch; padding: 5px 8px; background: #fff; border: 1px solid #cfd5de; border-radius: 4px; font-size: 12.5px; }
.gv-pw { letter-spacing: .1em; }
.gv-hbtn { margin-top: 6px; padding: 7px 14px; border-radius: 4px; background: #3340a0; color: #fff; font-size: 13px; font-weight: 700; }
