/* launch-gate.css: Go mode launch styles (2026-10-09), loaded after styles.css.
   1. The first screen, signed out (account.html #ac-in.gt, html.ac-gate; also under html.ac-lift while the account
      opens): the headline, the house's figures and what you can do on the left, the sign-in card on the right; on a
      phone one column, with the sign-in right under the headline.
   2. What's new on Home (account-new.js #hm-new), and the New tag on the sidebar's tabs (.wn-pill: a quiet tag, not
      the green count of something that needs attention).
   Colours are the theme's tokens only (light and dark); every motion is under prefers-reduced-motion: no-preference. */

/* ---------------------------------------------------------------------------------------------- 1. the first screen */
html.ac-gate #ac-in.gt, html.ac-lift body #main.account > #ac-in.gt {
  padding: 0; gap: 0; align-items: stretch; justify-content: flex-start; text-align: left;
  background: var(--grain), var(--paper); /* the page's paper with its grain: no glow blobs (design kit 6.7) */
}
#ac-in.gt .gt-mode::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--green); }
#ac-in.gt .gt-wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 40px 40px; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
#ac-in.gt .gt-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; flex: none; }
#ac-in.gt .gt-top .ac-gate-mark { gap: 10px; }
#ac-in.gt .gt-top .ac-gate-mark svg { width: 30px; height: 30px; }
#ac-in.gt .gt-top .ac-gate-mark span { font-size: 28px; top: -1px; }
#ac-in.gt .gt-mode { margin-left: 4px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 0; border-radius: 0; background: none; color: var(--brass-ink); font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; font-style: normal; }
#ac-in.gt .ac-gate-links { margin: 0; gap: 20px; }
/* @priors_trade (journey audit B3-01): X's mark and the handle; on a phone the mark alone, its name in its label */
#ac-in.gt .ac-gate-links .gt-x { display: inline-flex; align-items: center; gap: 6px; }
#ac-in.gt .ac-gate-links .gt-x svg { flex: none; }

#ac-in.gt .gt-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 404px); grid-template-areas: "hero card" "stats stats" "do do"; align-content: center; column-gap: 80px; padding: 16px 0 40px; }
#ac-in.gt .gt-hero { grid-area: hero; align-self: center; min-width: 0; }
#ac-in.gt .gt-card { grid-area: card; align-self: center; }
#ac-in.gt .gt-stats { grid-area: stats; margin: 64px 0 0; }
#ac-in.gt .gt-do { grid-area: do; margin-top: 44px; }

#ac-in.gt .gt-kick { margin: 0 0 16px; font: 500 15px/1.2 var(--sans); color: var(--green); }
#ac-in.gt .gt-h { margin: 0; max-width: 11.5em; font: 400 clamp(44px, 5.4vw, 74px)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
/* the second sentence on a line of its own in every language (inline, Chinese broke it mid-phrase) */
#ac-in.gt .gt-h em { display: block; font-style: italic; color: var(--green); }
#ac-in.gt .gt-lede { margin: 22px 0 0; max-width: 31em; font: 400 18px/1.55 var(--sans); color: var(--ink-2); text-wrap: pretty; }

/* the house's figures: four cells on one line, hairlines between them; a placeholder bar until each one loads */
#ac-in.gt .gt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 20px 0 0; border-top: 1px solid var(--rule-2); }
#ac-in.gt .gt-stats[hidden] { display: none; }
#ac-in.gt .gt-stats > div { min-width: 0; padding: 0 24px; border-left: 1px solid var(--rule-2); }
#ac-in.gt .gt-stats > div:first-child { padding-left: 0; border-left: 0; }
#ac-in.gt .gt-stats dt { font: 500 9.5px/1.3 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-ink); overflow-wrap: anywhere; }
#ac-in.gt .gt-stats dd { margin: 8px 0 0; min-height: 38px; font: 400 36px/1.05 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
#ac-in.gt .gt-stats [data-k="lost"] dd { color: var(--green); }
#ac-in.gt .gt-sk { display: inline-block; width: 4.6em; max-width: 100%; height: 22px; margin-top: 6px; border-radius: 0; vertical-align: top; background: linear-gradient(var(--rule) 0 0) 0 100% / 100% 1px no-repeat; }

/* what you can do: two by two, a pixel icon on a soft tile, the name and one line */
#ac-in.gt .gt-do-t { margin-bottom: 16px; margin-top: 0; font: 600 14px/1.2 var(--sans); color: var(--ink-2); }
#ac-in.gt .gt-do ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 32px; }
#ac-in.gt .gt-do li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; align-items: start; align-content: start; }
#ac-in.gt .gt-ico { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 0; background: radial-gradient(90% 60% at 50% 0%, var(--case-lamp), transparent 70%), radial-gradient(70% 70% at 50% 45%, var(--case-1), var(--case-0)); box-shadow: inset 0 0 0 1px var(--case-edge); color: var(--case-mint); }
#ac-in.gt .gt-do b { font: 600 15px/1.3 var(--sans); color: var(--ink); }
#ac-in.gt .gt-do li > span:last-child { font: 400 14px/1.45 var(--sans); color: var(--muted); }

/* the sign-in card: Google, first and filled */
#ac-in.gt .gt-card { min-width: 0; padding: 32px 30px 28px; border-radius: 0; background: var(--grain), var(--card); border: 1px solid var(--rule-2); box-shadow: inset 0 1px 0 var(--brass-line); }
#ac-in.gt .gt-card-t { margin: 0; font: 500 30px/1.1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
#ac-in.gt .gt-card-s { margin: 10px 0 24px; font: 400 15px/1.5 var(--sans); color: var(--muted); }
#ac-in.gt .act { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: stretch; text-align: left; }
#ac-in.gt .act > .row { display: flex; margin: 0; }
#ac-in.gt .act > .row > .btn { flex: 1 1 auto; }
#ac-in.gt #ac-privy-row { margin-top: 0; }
#ac-in.gt .act .row > .btn.gbtn:not(:disabled) { gap: 12px; min-height: 56px; padding: 0 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 500 16px/1 var(--sans); box-shadow: inset 0 -4px 0 var(--ink), inset 0 -5px 0 var(--brass); }
#ac-in.gt .act .row > .btn.gbtn:not(:disabled):hover { background: var(--green); border-color: var(--green); box-shadow: inset 0 -4px 0 var(--green), inset 0 -5px 0 var(--brass); color: var(--paper); }
#ac-in.gt .act .row > .btn.gbtn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
#ac-in.gt .g-tile { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 0; background: #fff; }
#ac-in.gt .g-tile .g-logo { width: 16px; height: 16px; }
#ac-in.gt .act > .wstat { text-align: center; }
#ac-in.gt .act > .wstat:empty { display: none; }

/* the legal line at the foot of the screen (the site's footer is hidden here): the privacy notice and its choices */
#ac-in.gt .gt-legal { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; padding-top: 14px; border-top: 1px solid var(--rule-2); font: 400 13px/1.3 var(--sans); }
#ac-in.gt .gt-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
#ac-in.gt .gt-legal a:hover { color: var(--ink); }

/* a narrower screen: one column, the sign-in right after the headline, the figures and the tiles under it */
@media (max-width: 960px) {
  #ac-in.gt .gt-main { display: flex; flex-direction: column; align-items: stretch; padding: 12px 0 28px; }
  #ac-in.gt .gt-card { margin-top: 32px; width: 100%; max-width: 520px; }
  #ac-in.gt .gt-stats { margin-top: 44px; }
  #ac-in.gt .gt-do { margin-top: 36px; }
  #ac-in.gt .gt-do ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #ac-in.gt .gt-wrap { padding: 0 18px 32px; }
  #ac-in.gt .gt-top { height: 64px; }
  #ac-in.gt .gt-top .ac-gate-mark svg { width: 26px; height: 26px; }
  #ac-in.gt .gt-top .ac-gate-mark span { font-size: 24px; }
  #ac-in.gt .ac-gate-links { gap: 16px; font-size: 13.5px; }
  #ac-in.gt .ac-gate-links .gt-x { min-width: 24px; min-height: 24px; justify-content: center; text-decoration: none; }
  #ac-in.gt .ac-gate-links .gt-x-t { display: none; }
  #ac-in.gt .gt-main { padding-top: 8px; }
  #ac-in.gt .gt-card { margin-top: 24px; }
  #ac-in.gt .gt-stats { margin-top: 36px; }
  #ac-in.gt .gt-do { margin-top: 32px; }
  #ac-in.gt .gt-kick { margin-bottom: 12px; font-size: 14px; }
  #ac-in.gt .gt-h { font-size: clamp(36px, 10.6vw, 44px); line-height: 1.02; }
  #ac-in.gt .gt-lede { margin-top: 14px; font-size: 16px; }
  #ac-in.gt .gt-card { padding: 22px 20px 20px; border-radius: 0; }
  #ac-in.gt .gt-card-t { font-size: 25px; }
  #ac-in.gt .gt-card-s { margin: 6px 0 18px; font-size: 14px; }
  #ac-in.gt .gt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  #ac-in.gt .gt-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  #ac-in.gt .gt-stats dd { font-size: 28px; min-height: 30px; }
  #ac-in.gt .gt-do ul { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 380px) {
  #ac-in.gt .gt-mode { display: none; }
}

/* ---------------------------------------------------------------------------------------------- 2. What's new */
.hm-card.wn { margin: 14px 0 0; gap: 12px; }
.hm-card.wn[hidden] { display: none; }
.hm-card.wn > header { align-items: center; }
.wn-mark { display: inline-grid; place-items: center; color: var(--green); }
.hm-card.wn > header .wn-hide { margin-left: auto; font-size: 13px; white-space: nowrap; }
.wn-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wn-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 14px; height: 100%; padding: 12px 14px; border-radius: 0; border: 1px solid var(--rule-2); background: var(--grain), var(--card); color: var(--ink); text-decoration: none; }
.wn-row:hover, .wn-row:focus-visible { border-color: var(--brass-line); box-shadow: none; } /* focus keeps the site's 2 px green ring */
.wn-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 0; background: radial-gradient(90% 60% at 50% 0%, var(--case-lamp), transparent 70%), radial-gradient(70% 70% at 50% 45%, var(--case-1), var(--case-0)); box-shadow: inset 0 0 0 1px var(--case-edge); color: var(--case-mint); }
.wn-txt { min-width: 0; display: grid; gap: 3px; }
.wn-txt b { font: 600 14.5px/1.25 var(--sans); color: var(--ink); }
.wn-txt span { font: 400 13px/1.4 var(--sans); color: var(--muted); }
.wn-go { width: 14px; height: 14px; font-size: 0; font-style: normal; color: var(--faint); background: currentColor; -webkit-mask: var(--g-arrow) center / 14px 14px no-repeat; mask: var(--g-arrow) center / 14px 14px no-repeat; }
.wn-row:hover .wn-go, .wn-row:focus-visible .wn-go { color: var(--green); }
.hm-card.wn > .wn-more { display: none; }
@media (max-width: 760px) {
  .wn-list { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .wn-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; padding: 10px 12px; }
  .wn-ico { width: 32px; height: 32px; border-radius: 0; }
  .wn-list.wn-few > li:nth-child(n+5) { display: none; }
  .hm-card.wn > .wn-more { display: block; align-self: flex-start; margin: 2px 0 2px 2px; font-size: 13.5px; }
}

/* the New tag on a sidebar tab (account-new.js), beside the tab's name; before a count when both show */
.ga-tab > .wn-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--green); font: 500 10px/1 var(--mono); text-transform: uppercase; font-style: normal; letter-spacing: .02em; white-space: nowrap; }
.ga-tab > .wn-pill::before { content: ""; flex: none; width: 6px; height: 6px; background: currentColor; } /* New: the kit's 6 px square and the word, no capsule */
.ga-tab > .wn-pill ~ .ga-badge, .ga-tab:hover > .wn-pill ~ .ga-badge, .ga-tab:focus-visible > .wn-pill ~ .ga-badge { margin-left: 6px; }

/* motion, only for those who have not asked for less */
@media (prefers-reduced-motion: no-preference) {
  @keyframes gt-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
  #ac-in.gt .gt-stats > .in dd { animation: gt-in .4s var(--ease) both; }
  #ac-in.gt .act .row > .btn.gbtn { transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease); }
  #ac-in.gt .act .row > .btn.gbtn:active { transform: scale(.985); }
  .wn-row { transition: border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease); }
  .wn-go { transition: color .15s var(--ease), transform .2s var(--ease); }
  .wn-row:hover .wn-go { transform: translateX(2px); }
}
/* the phone's tab bar (goapp.js #ga-bar): a new tab's dot at its icon's top left, and More's for a new tab behind it
   (the count badge and More's own dot take the top right) */
.ga-bt-i > .wn-dot { position: absolute; top: 3px; left: calc(50% - 16px); width: 6px; height: 6px; border-radius: 0; background: var(--green); box-shadow: 0 0 0 2px var(--paper); font-style: normal; }
/* under the Google button: who can sign in now, and where news comes (journey audit B2-17) */
#ac-in.gt .gt-list-note { margin: 14px 0 0; font-size: 13.5px; }
#ac-in.gt .gt-list-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
