@font-face {
  font-family: "Inter Tight";
  src: url("/app/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/app/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #112c24;
  --night-2: #193e34;
  --night-3: #2a5a4c;
  --lamp: #dda73f;
  --lamp-soft: #f8edd2;
  --lamp-ink: #7a5200;
  --river: #2d6a57;
  --sindoor: #e4572e;
  --mist: #eef3eb;
  --white: #fff;
  --ink: #112c24;
  --muted: #4e6258;
  --line: #d5ded3;
  --ok: #1a7f5a;
  --ok-bg: #e0f0e5;
  --warn-bg: #f8edd2;
  --bad: #b3361a;
  --bad-bg: #fde3dc;
  --display: "Inter Tight", "Inter Web", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 1rem / 1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
:focus-visible {
  outline: 3px solid var(--lamp);
  outline-offset: 2px;
  border-radius: 4px;
}
a {
  color: var(--river);
}
button {
  font: inherit;
}
.boot {
  text-align: center;
  margin-top: 30vh;
  color: var(--muted);
}
.wrap {
  width: min(70rem, 100% - 2rem);
  margin-inline: auto;
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font: 700 1.3rem / 1 var(--display);
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand svg {
  width: 1.8rem;
  height: 1.8rem;
}

/* buttons & fields */
.btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font: 600 .95rem / 1 var(--sans);
  padding: .8rem 1.2rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn.primary {
  background: var(--lamp);
  color: var(--night);
}
.btn.primary:hover:not(:disabled) {
  background: #ffc85e;
}
.btn.dark {
  background: var(--night);
  color: var(--white);
}
.btn.dark:hover:not(:disabled) {
  background: var(--night-3);
}
.btn.outline {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}
.btn.outline:hover:not(:disabled) {
  border-color: var(--ink);
}
.btn.danger {
  background: var(--white);
  border-color: #efb3a4;
  color: var(--bad);
}
.btn.danger:hover:not(:disabled) {
  background: var(--bad-bg);
}
.btn.sm {
  padding: .5rem .8rem;
  font-size: .85rem;
  border-radius: 8px;
}
.field {
  display: grid;
  gap: .35rem;
  margin-bottom: 1rem;
}
.field label {
  font-weight: 600;
  font-size: .9rem;
}
.field input {
  font: inherit;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.field input:focus {
  outline: 3px solid var(--lamp);
  outline-offset: 0;
  border-color: var(--ink);
}
.hint {
  color: var(--muted);
  font-size: .85rem;
  margin: 0;
}
.err {
  background: var(--bad-bg);
  color: var(--bad);
  border-radius: 10px;
  padding: .7rem .9rem;
  font-size: .92rem;
  margin-bottom: 1rem;
}

/* auth */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.auth-side {
  background: linear-gradient(160deg, #07131f, var(--night) 55%, #11405a);
  color: var(--white);
  padding: clamp(2rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-side .brand {
  color: var(--white);
}
.auth-side h1 {
  font: 700 clamp(2rem, 4vw, 3.2rem) / 1.05 var(--display);
  letter-spacing: -.03em;
  margin: 0 0 1rem;
  max-width: 14ch;
}
.auth-side p {
  color: #b9cbd8;
  max-width: 26rem;
  margin: 0 0 1.6rem;
}
.auth-apps {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.auth-apps span {
  background: var(--white);
  border-radius: 10px;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
}
.auth-apps img {
  width: 1.35rem;
  height: 1.35rem;
}
.auth-main {
  display: grid;
  place-items: center;
  padding: 2rem 1.2rem;
}
.auth-card {
  width: min(26rem, 100%);
}
.auth-card h2 {
  font: 700 1.8rem / 1.1 var(--display);
  letter-spacing: -.02em;
  margin: 0 0 .4rem;
}
.auth-card .sub {
  color: var(--muted);
  margin: 0 0 1.6rem;
}
.switch {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: .92rem;
}
.switch button {
  background: none;
  border: 0;
  color: var(--river);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: .2em;
}
@media (max-width: 820px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-side {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .auth-side h1 {
    font-size: 1.8rem;
  }
  .auth-apps {
    display: none;
  }
}

/* shell */
.top {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  flex-wrap: wrap;
}
.nav {
  display: flex;
  gap: .2rem;
  flex-wrap: wrap;
}
.nav a {
  padding: .5rem .85rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: .95rem;
}
.nav a:hover {
  color: var(--ink);
  background: var(--mist);
}
.nav a[aria-current] {
  color: var(--ink);
  background: var(--lamp-soft);
  font-weight: 600;
}
.who {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .9rem;
  color: var(--muted);
}
main {
  padding-block: 2.2rem 5rem;
}
h1.page {
  font: 700 clamp(1.7rem, 3vw, 2.3rem) / 1.1 var(--display);
  letter-spacing: -.025em;
  margin: 0 0 .5rem;
}
.lead {
  color: var(--muted);
  margin: 0 0 1.8rem;
  max-width: 40rem;
}

/* cards */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.card h3 {
  font: 650 1.15rem / 1.2 var(--display);
  margin: 0;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}
.card .row {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.card .tile {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
}
.card .tile img {
  width: 1.5rem;
  height: 1.5rem;
}
.card .grow {
  flex: 1;
}
.card .foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  flex-wrap: wrap;
}
.chip {
  font: 600 .75rem / 1 var(--sans);
  padding: .38rem .6rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--muted);
  border: 1px solid var(--line);
}
.chip.ok {
  background: var(--ok-bg);
  color: #0f5c3f;
  border-color: transparent;
}
.chip.warn {
  background: var(--warn-bg);
  color: var(--lamp-ink);
  border-color: transparent;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}
.panel h2 {
  font: 650 1.25rem / 1.2 var(--display);
  margin: 0 0 .5rem;
}
.panel > p {
  color: var(--muted);
  margin: 0 0 1rem;
}

/* url box & code */
.urlbox {
  display: flex;
  gap: .5rem;
  align-items: stretch;
  flex-wrap: wrap;
}
.urlbox code {
  flex: 1;
  min-width: 12rem;
  display: block;
  font: 500 .85rem / 1.5 var(--mono);
  background: #0f2a22;
  color: #d7e4ec;
  border-radius: 10px;
  padding: .85rem 1rem;
  overflow-x: auto;
  white-space: nowrap;
}
pre.code {
  margin: 0;
  background: #0f2a22;
  color: #d7e4ec;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  font: 400 .85rem / 1.65 var(--mono);
}
.warnbox {
  background: var(--lamp-soft);
  border-radius: 12px;
  padding: .8rem 1rem;
  color: var(--lamp-ink);
  font-size: .92rem;
  margin-top: 1rem;
}
.tabs {
  display: flex;
  gap: .3rem;
  margin: 1.2rem 0 .8rem;
  flex-wrap: wrap;
}
.tabs button {
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: .5rem .85rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--muted);
  cursor: pointer;
}
.tabs button[aria-selected="true"] {
  background: var(--night);
  color: var(--white);
}
ol.steps {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
  color: var(--ink);
}
ol.steps li {
  margin: .35rem 0;
}
.prompts {
  display: grid;
  gap: .5rem;
  margin-top: .8rem;
}
.prompts div {
  background: var(--mist);
  border-radius: 10px;
  padding: .6rem .8rem;
  font-size: .92rem;
}

/* tables */
.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: .9rem;
}
th,
td {
  text-align: left;
  padding: .7rem .95rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th {
  background: #f7f9fa;
  font-weight: 600;
}
tr:last-child td {
  border-bottom: 0;
}
td code {
  font: 500 .85rem var(--mono);
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 2.2rem 1rem;
}
.inline {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  align-items: end;
}
.inline .field {
  margin: 0;
  flex: 1;
  min-width: 12rem;
}
.secretbox {
  background: #e8f5ee;
  border: 1px solid #b5dfc9;
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
}
.secretbox strong {
  display: block;
  margin-bottom: .5rem;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--lamp-soft);
  color: var(--lamp-ink);
  border-radius: 12px;
  padding: .8rem 1rem;
  margin-bottom: 1.4rem;
  font-size: .92rem;
}
/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  background: var(--night);
  color: var(--white);
  padding: .75rem 1.1rem;
  border-radius: 10px;
  font-size: .92rem;
  z-index: 50;
  max-width: 90vw;
}
.toast.bad {
  background: var(--bad);
}
@media (prefers-reduced-motion: no-preference) {
  .toast {
    animation: rise .25s ease-out;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translate(-50%, .6rem);
    }
  }
}

.badge {
  display: inline-block;
  margin-left: .4rem;
  min-width: 1.2rem;
  padding: .1rem .38rem;
  border-radius: 999px;
  background: var(--lamp, #dda73f);
  color: #112c24;
  font: 700 .72rem / 1.2 var(--sans);
  text-align: center;
}
.dim {
  color: var(--muted);
  font-size: .82rem;
}
.approvals,
.rules {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.approval,
.rule {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}
.approval:last-child,
.rule:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.rule {
  align-items: center;
}
.sel {
  font: 500 .9rem var(--sans);
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: inherit;
  min-width: 10rem;
}
.code.small {
  font-size: .78rem;
  max-height: 11rem;
  overflow: auto;
  margin: .5rem 0 0;
}
.per-app {
  margin-top: 1rem;
}
.per-app summary {
  cursor: pointer;
  font-weight: 600;
}

/* connected accounts inside an app card */
.accts {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.acct {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--mist, #f4f7f1);
}
.acct .chip {
  align-self: flex-start;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acct-actions {
  display: flex;
  gap: .4rem;
}
.acct-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  padding-inline: .5rem;
}
.card .row .chip {
  flex: none;
  white-space: nowrap;
}
.card .foot .btn {
  flex: 1 1 auto;
}

/* approvals page: stacks cleanly on narrow screens */
.approval .grow,
.rule .grow,
.history-row .grow {
  min-width: 0;
  overflow-wrap: anywhere;
}
.code.small {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sel {
  max-width: 100%;
}
.app-rules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: .8rem;
  margin-top: .9rem;
}
.app-rule {
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  min-width: 0;
}
.app-rule-sels {
  display: grid;
  gap: .5rem;
}
.app-rule-sels label {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  align-items: center;
  gap: .5rem;
}
.app-rule-sels .sel {
  min-width: 0;
  width: 100%;
}
.history {
  display: flex;
  flex-direction: column;
}
.history-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.history-row:last-child {
  border-bottom: 0;
}
@media (max-width: 560px) {
  .approval .inline {
    width: 100%;
  }
  .approval .inline .btn {
    flex: 1 1 0;
  }
  .rule .sel {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .top .wrap {
    padding-block: .7rem;
    row-gap: .5rem;
  }
}

.brand .logo {
  display: block;
  height: 2.1rem;
  width: auto;
}
.boot {
  display: grid;
  justify-items: center;
  gap: .8rem;
}
.boot img {
  width: 3.4rem;
  height: 3.4rem;
}

/* ---- app frame: sidebar on wide screens, slide-in menu on narrow ones ---- */
.app-shell {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  min-height: 100vh;
}
.side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.1rem .9rem;
  background: var(--white);
  border-right: 1px solid var(--line);
  z-index: 30;
}
.side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .2rem .6rem .5rem;
}
.side-close,
.mbar {
  display: none;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  flex: 1;
}
.nav-group {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.nav-label {
  margin: 0 0 .25rem .7rem;
  font: 600 .74rem / 1 var(--sans);
  color: var(--muted);
}
.nav-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  padding: .6rem .7rem;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  font: 500 .95rem / 1.2 var(--sans);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.nav-item:hover {
  background: var(--mist);
}
.nav-item[aria-current="page"] {
  background: var(--lamp-soft);
  font-weight: 600;
}
.nav-item .ico {
  display: grid;
  place-items: center;
  color: var(--muted);
  flex: none;
}
.nav-item[aria-current="page"] .ico {
  color: var(--ink);
}
.nav-item .badge {
  margin-left: auto;
}
.nav-item:focus-visible,
.menu-toggle:focus-visible,
.side-close:focus-visible {
  outline: 2px solid var(--night-2);
  outline-offset: 2px;
}
.side-foot {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}
.who {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.who-email {
  padding: 0 .7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: .82rem;
}
.main {
  min-width: 0;
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 5rem;
}
.page-body {
  max-width: 68rem;
  margin-inline: auto;
}
.main > .banner {
  max-width: 68rem;
  margin: 0 auto 1.2rem;
}
.scrim[hidden] {
  display: none;
}
.menu-toggle,
.side-close {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.side-close {
  display: none;
}
@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .mbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .side {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(18rem, 86vw);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .22s ease, visibility 0s linear .22s;
    box-shadow: 0 0 40px rgba(17, 44, 36, 0.25);
  }
  .side.open {
    transform: none;
    visibility: visible;
    transition: transform .22s ease;
  }
  .side-close {
    display: grid;
  }
  .scrim {
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(17, 44, 36, 0.45);
  }
  .main {
    padding-top: 1.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .side {
    transition: none !important;
  }
}

/* ---- home: checklist and summary ---- */
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.tour-btn {
  gap: .45rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.setup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.setup-head h2 {
  margin: 0 0 .2rem;
}
.setup-head p {
  margin: 0;
}
.meter {
  height: .5rem;
  margin: 1rem 0 1.2rem;
  border-radius: 999px;
  background: var(--mist);
  overflow: hidden;
}
.meter-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--lamp);
  transition: width .4s ease;
}
.steps-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 0;
  border-top: 1px solid var(--line);
}
.step:first-child {
  border-top: 0;
}
.step-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font: 600 .85rem / 1 var(--sans);
}
.step.next .step-mark {
  border-color: var(--lamp);
  background: var(--lamp-soft);
  color: var(--ink);
}
.step.done .step-mark {
  border-color: transparent;
  background: var(--night-2);
  color: var(--white);
}
.step-text {
  flex: 1;
  min-width: 0;
}
.step-text strong {
  display: block;
}
.step-text p {
  margin: .15rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}
.step.done .step-text strong {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--line);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-width: 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.stat:hover {
  border-color: var(--night-2);
}
.stat-value {
  font: 700 1.6rem / 1.1 var(--display);
  overflow-wrap: anywhere;
}
.stat-label {
  font-weight: 600;
  font-size: .9rem;
}
.stat .dim {
  overflow-wrap: anywhere;
}
.more {
  margin: .8rem 0 0;
}
@media (max-width: 700px) {
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .step {
    flex-wrap: wrap;
  }
  .step .btn {
    margin-left: 2.8rem;
  }
}

/* ---- guided tour ---- */
.tour {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.tour-dim {
  position: absolute;
  inset: 0;
}
.tour.centered .tour-dim {
  background: rgba(17, 44, 36, 0.55);
}
.tour-spot {
  position: fixed;
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(17, 44, 36, 0.55), 0 0 0 2px var(--lamp);
  pointer-events: none;
  transition: left .2s ease, top .2s ease, width .2s ease, height .2s ease;
}
.tour-spot[hidden] {
  display: none;
}
.tour-card {
  position: fixed;
  width: min(22rem, calc(100vw - 24px));
  padding: 1.1rem 1.2rem 1.2rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 60px -12px rgba(17, 44, 36, 0.5);
}
.tour-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
  color: var(--muted);
  font-size: .8rem;
}
.tour-skip {
  border: 0;
  background: none;
  color: var(--muted);
  font: 600 .8rem var(--sans);
  text-decoration: underline;
  cursor: pointer;
}
.tour-title {
  margin: 0 0 .35rem;
  font: 650 1.2rem / 1.2 var(--display);
}
.tour-body {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.5;
}
.tour-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
}
@media (prefers-reduced-motion: reduce) {
  .tour-spot,
  .meter-fill {
    transition: none;
  }
}

/* checklist rows wrap the button under the text on narrow screens instead of squeezing the text */
.step-text {
  flex: 1 1 12rem;
}
@media (max-width: 700px) {
  .step .btn {
    margin-left: 2.8rem;
  }
}
.page-head {
  gap: .8rem 1rem;
  margin-bottom: 1.2rem;
}
