/* Web app on the site (M518 to M522), in the site's tokens, so it follows the look and dark mode. */

.wa-tile { width: var(--s, 48px); height: var(--s, 48px); border-radius: calc(var(--s, 48px) * .23); background: #fff; display: grid; place-items: center; flex: none; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .18), 0 0 0 1px rgba(15, 23, 42, .06); }
.wa-tile img { width: 100%; height: 100%; object-fit: contain; }
.wa-tile--lg { --s: 76px; }

/* Installing, as Progressify Pro draws it, kept flat: a banner across the top in the app's colour, a snackbar or a card
   in the page, and one install window. No shadowed buttons; one soft shadow on the window alone. */
.wa-x { flex: none; width: 32px; height: 32px; border-radius: 99px; border: 0; background: color-mix(in oklab, var(--ink, #0f172a) 7%, transparent); color: var(--ink, #0f172a);
  display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.wa-x:hover { background: color-mix(in oklab, var(--ink, #0f172a) 12%, transparent); }
.wa-x--on { background: transparent; color: var(--wa-on, #fff); opacity: .85; }
.wa-x--on:hover { background: color-mix(in oklab, var(--wa-on, #fff) 14%, transparent); opacity: 1; }
.wa-x--dark { background: transparent; color: #cbd5e1; }
.wa-x--dark:hover { background: rgba(255, 255, 255, .1); }
.wa-t { display: block; min-width: 0; }
.wa-t b { display: block; font: 600 15px/1.3 var(--font-body, inherit); }
.wa-t span { display: block; font-size: 13px; line-height: 1.4; margin-top: 2px; opacity: .8; }

/* In the page's flow above the site's header, so it never covers it, and it scrolls away with the page. */
.wa-ban { position: relative; z-index: 2; background: var(--wa-c, #2E6FF0); color: var(--wa-on, #fff); font-family: var(--font-body, inherit);
  max-height: 0; overflow: hidden; transition: max-height .3s ease-out; }
.wa-ban.is-on { max-height: 140px; }
.wa-ban__in { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wa-ban__app { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wa-ban__app .wa-tile { --s: 40px !important; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.wa-ban__do { display: flex; align-items: center; gap: 6px; flex: none; }
.wa-ban__go { height: 34px; padding: 0 16px; border-radius: 99px; border: 0; background: var(--wa-on, #fff); color: var(--wa-c, #2E6FF0); font: 600 14px var(--font-body, inherit); cursor: pointer; }
.wa-ban__go:hover { opacity: .9; }
@media (max-width: 600px) { .wa-ban__in { padding: 8px 10px 8px 12px; gap: 10px; } .wa-ban .wa-t span { display: none; } .wa-ban .wa-t b { font-size: 14px; } }

.wa-snack { position: fixed; left: 50%; bottom: 16px; z-index: 60; width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 12px 10px 14px 16px;
  border-radius: 12px; background: #0f172a; color: #f1f5f9; font-family: var(--font-body, inherit); overflow: hidden;
  transform: translate(-50%, 20px); opacity: 0; transition: transform .25s ease-out, opacity .25s; }
.wa-snack.is-on { transform: translate(-50%, 0); opacity: 1; }
[data-theme="dark"] .wa-snack { background: #1e293b; }
.wa-snack .wa-t { flex: 1; }
.wa-snack__go { flex: none; height: 34px; padding: 0 14px; border-radius: 8px; border: 0; background: #fff; color: #0f172a; font: 600 13.5px var(--font-body, inherit); cursor: pointer; }
.wa-snack__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--blue, #2E6FF0); transform-origin: left; animation: wa-snack 9s linear forwards; }
@keyframes wa-snack { to { transform: scaleX(0); } }

.wa-inl { display: flex; align-items: center; gap: 14px; margin: 26px 0 8px; padding: 14px 12px 14px 16px; border: 1px solid var(--border, #e2e8f0); border-radius: 14px;
  background: var(--card, #fff); color: var(--ink, #0f172a); font-family: var(--font-body, inherit); opacity: 0; transition: opacity .2s; }
.wa-inl.is-on { opacity: 1; }
.wa-inl__app { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.wa-inl__app .wa-tile { border-radius: 50%; }
.wa-inl .wa-t span { color: var(--muted, #64748b); opacity: 1; }
.wa-inl__go { flex: none; height: 36px; padding: 0 16px; border-radius: 99px; border: 0; background: var(--blue, #2E6FF0); color: #fff; font: 600 14px var(--font-body, inherit); cursor: pointer; }
.wa-inl__go:hover { opacity: .9; }
@media (max-width: 600px) { .wa-inl { flex-wrap: wrap; } .wa-inl__app { flex-basis: calc(100% - 46px); } .wa-inl__go { flex: 1; order: 3; } }

/* The install window: a card in the middle on a computer, a sheet from the bottom on a phone, over a blurred page */
.wa-dlg { position: fixed; inset: 0; z-index: 1100; background: rgba(15, 23, 42, 0); backdrop-filter: blur(0); transition: background .2s, backdrop-filter .2s; font-family: var(--font-body, inherit); }
.wa-dlg.is-on { background: rgba(15, 23, 42, .55); backdrop-filter: blur(4px); }
.wa-dlg__box { position: absolute; left: 50%; top: 50%; width: min(32rem, calc(100% - 24px)); max-height: calc(100% - 48px); display: flex; flex-direction: column; border-radius: 16px;
  background: var(--card, #fff); color: var(--ink, #0f172a); border: 1px solid var(--border, #e2e8f0); box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
  transform: translate(-50%, calc(-50% + 16px)); opacity: 0; transition: transform .2s ease-out, opacity .2s; overflow: hidden; }
.wa-dlg.is-on .wa-dlg__box { transform: translate(-50%, -50%); opacity: 1; }
.wa-dlg__h { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--border, #e2e8f0); }
.wa-dlg__h b { font-size: 16px; font-weight: 600; }
.wa-dlg__b { padding: 20px; overflow-y: auto; }
.wa-app { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; border: 1px solid var(--border, #e2e8f0); background: color-mix(in oklab, var(--ink, #0f172a) 3%, var(--card, #fff)); }
.wa-app .wa-tile { border-radius: 50%; }
.wa-app b { display: block; font-size: 15px; font-weight: 600; }
.wa-app span { color: var(--muted, #64748b); font-size: 13px; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wa-wait { display: grid; justify-items: center; gap: 12px; padding: 28px 0 8px; color: var(--muted, #64748b); font-size: 14px; }
.wa-wait i { width: 26px; height: 26px; border-radius: 99px; border: 2.5px solid color-mix(in oklab, var(--ink, #0f172a) 12%, transparent); border-top-color: var(--blue, #2E6FF0); animation: wa-spin .8s linear infinite; }
@keyframes wa-spin { to { transform: rotate(360deg); } }
.wa-go { width: 100%; margin-top: 20px; height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 12px;
  background: var(--blue, #2E6FF0); color: #fff; font: 600 15px var(--font-body, inherit); cursor: pointer; }
.wa-go:hover { opacity: .92; }
.wa-steps { list-style: none; margin: 22px 0 0; padding: 0; }
.wa-steps li { position: relative; padding: 0 0 22px 46px; }
.wa-steps li:last-child { padding-bottom: 0; }
.wa-steps li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 6px; width: 1px; background: var(--border, #e2e8f0); }
.wa-steps li:last-child::after { display: none; }
.wa-steps__i { position: absolute; left: 0; top: 0; width: 33px; height: 33px; border-radius: 99px; display: grid; place-items: center;
  background: color-mix(in oklab, var(--ink, #0f172a) 6%, transparent); color: var(--ink, #0f172a); }
.wa-steps b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.4; padding-top: 6px; }
.wa-steps p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted, #64748b); }
.wa-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 10px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border, #e2e8f0); background: none; color: var(--ink, #0f172a); font: 500 13px ui-monospace, Menlo, monospace; cursor: pointer; }
.wa-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-copy.is-done { color: #16a34a; border-color: color-mix(in oklab, #16a34a 45%, transparent); }
@media (max-width: 700px) {
  .wa-dlg__box { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 88%; border-radius: 18px 18px 0 0; border-bottom: 0; transform: translateY(100%); opacity: 1; box-shadow: none; }
  .wa-dlg.is-on .wa-dlg__box { transform: none; }
}

/* The offer of notifications, after the press the browser asks */
.wa-ask { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start; margin: 34px 0 8px; padding: 20px 22px; border-radius: 18px;
  border: 1px solid var(--border, #e2e8f0); background: color-mix(in oklab, var(--blue, #2E6FF0) 7%, var(--card, #fff)); font-family: var(--font-body, inherit); }
.po-w > .wa-ask, .wa-ask { max-width: 720px; }
.wa-ask__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--blue, #2E6FF0); color: #fff; }
.wa-ask b { display: block; font: 800 19px/1.25 var(--font-display, inherit); color: var(--ink, #0f172a); }
.wa-ask p { margin: 4px 0 0; color: var(--muted, #64748b); font-size: 15px; line-height: 1.5; }
.wa-ask .cms-btns { grid-column: 2; justify-content: flex-start; margin: 0; gap: 10px; }
.wa-ask .cms-btn { height: 42px; padding: 0 18px; font-size: 14.5px; }
.wa-ask small { grid-column: 2; color: var(--muted, #64748b); font-size: 13px; margin-top: -4px; }
@media (max-width: 600px) { .wa-ask { grid-template-columns: 1fr; } .wa-ask .cms-btns, .wa-ask small { grid-column: 1; } }
.po-post--cont + .wa-ask, .wa-ask + .po-post--cont { margin-top: 0; }
section > .wa-ask { margin-left: auto; margin-right: auto; }

/* Your emails: this device */
.wa-dev .ep-card__h { position: relative; }
.wa-dev__which { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--muted, #64748b); }
.wa-dev__which svg { color: var(--blue, #2E6FF0); }
.wa-dev__all b { font-size: 16px; }
.wa-dev__off { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--border, #e2e8f0); font-size: 14.5px; }

/* Offline: the bar on a kept copy, and the Offline page's list */
.wa-off-bar, .wa-toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px;
  border-radius: 14px; background: #0f172a; color: #e2e8f0; font: 500 14.5px/1.35 var(--font-body, inherit); box-shadow: 0 10px 30px rgba(15, 23, 42, .3); }
.wa-off-bar { width: min(560px, calc(100% - 24px)); }
.wa-toast { white-space: nowrap; }
[data-theme="dark"] .wa-off-bar, [data-theme="dark"] .wa-toast { background: #1e293b; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 30px rgba(0, 0, 0, .5); }
.wa-off-bar svg, .wa-toast svg { flex: none; color: #fbbf24; }
.wa-off-bar > span { flex: 1; }
.wa-off-bar b { color: #fff; }
.wa-off-bar button { flex: none; height: 34px; padding: 0 14px; border-radius: 10px; border: 0; background: #fff; color: #0f172a; font: 700 13.5px var(--font-body, inherit); cursor: pointer; }
@media (max-width: 600px) { .wa-toast { white-space: normal; width: calc(100% - 24px); } }
.wa-off { padding: 0 20px 72px; }
.wa-off__in { max-width: 560px; margin: 0 auto; display: grid; gap: 22px; justify-items: center; }
.wa-kept { width: 100%; border: 1px solid var(--border, #e2e8f0); border-radius: 16px; background: var(--card, #fff); overflow: hidden; }
.wa-kept h3 { margin: 0; padding: 14px 18px; font: 700 13px var(--font-body, inherit); letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #64748b); border-bottom: 1px solid var(--border, #e2e8f0); }
.wa-kept a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 18px; border-top: 1px solid var(--border, #e2e8f0); color: var(--ink, #0f172a); text-decoration: none; font-size: 15.5px; font-weight: 600; }
.wa-kept div > a:first-child { border-top: 0; }
.wa-kept a span { color: var(--muted, #64748b); font-weight: 400; font-size: 14px; white-space: nowrap; }
.wa-off__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* The install page */
.wa-ip { padding: 8px 20px 80px; }
.wa-ip__in { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; color: var(--ink, #0f172a); font-family: var(--font-body, inherit); }
.wa-ip__list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 16px; }
.wa-ip__list li { display: flex; gap: 10px; align-items: center; }
.wa-ip__list svg { color: var(--blue, #2E6FF0); flex: none; }
.wa-ip__btns { justify-content: flex-start; }
.wa-ip__done { margin: 16px 0 0; color: var(--muted, #64748b); }
.wa-qr { justify-self: center; padding: 22px; border-radius: 24px; background: var(--card, #fff); border: 1px solid var(--border, #e2e8f0); box-shadow: 0 16px 44px rgba(15, 23, 42, .12); text-align: center; width: 300px; }
.wa-qr svg { display: block; width: 100%; height: auto; background: #fff; border-radius: 12px; padding: 6px; }
.wa-qr b { display: block; margin-top: 14px; font-size: 16px; }
.wa-qr span { display: block; color: var(--muted, #64748b); font-size: 14px; margin-top: 4px; }
@media (max-width: 760px) { .wa-ip__in { grid-template-columns: 1fr; gap: 28px; } .wa-qr { display: none; } }

/* A lesson's screen switch */
.cl-ib.wa-awake.is-on { background: color-mix(in oklab, var(--blue, #2E6FF0) 14%, transparent); border-color: color-mix(in oklab, var(--blue, #2E6FF0) 45%, transparent); color: var(--blue, #2E6FF0); }

/* Share this post: the device's own sheet */
.po-chip--share { background: var(--blue, #2E6FF0); border-color: var(--blue, #2E6FF0); color: #fff; }

/* ── Round 2 (M524 to M528): the app's own pieces, flat, in the site's tokens or the client dashboard's ── */
body { --wa-bg: var(--card, #fff); --wa-tx: var(--ink, #0f172a); --wa-mu: var(--muted, #64748b); --wa-bd: var(--border, #e2e8f0); --wa-ac: var(--blue, #2E6FF0); --wa-acs: var(--wa-ac); }
html.wa-portal body { --wa-bg: var(--ui-card, #fff); --wa-tx: var(--ui-text, #0f172a); --wa-mu: var(--ui-muted, #64748b); --wa-bd: var(--ui-border, #e2e8f0); --wa-ac: var(--ui-accent, #2E6FF0); }
[data-theme="dark"] body { --wa-acs: color-mix(in oklab, var(--wa-ac) 72%, #000); }
html.wa-in-app { overscroll-behavior-y: contain; }

html.wa-portal .wa-tabs, html.wa-portal .wa-sheet { background: linear-gradient(var(--ui-card, #fff), var(--ui-card, #fff)), var(--ui-bg, #fff); }

/* The tab bar (M524): fixed at the foot; while it shows, the header's Menu button and the dashboard's go. */
.wa-tabs { display: none; }
html.wa-has-tabs .wa-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; background: var(--wa-bg); border-top: 1px solid var(--wa-bd);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); font-family: var(--font-body, inherit); }
.wa-tabs > a, .wa-tabs > button { flex: 1; position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 52px; padding: 0; border: 0; background: none;
  color: var(--wa-mu); font: 600 11px var(--font-body, inherit); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wa-tabs > .is-on { color: var(--wa-ac); }
.wa-tabs > .is-on::before { content: ""; position: absolute; top: -7px; left: 30%; right: 30%; height: 2px; border-radius: 2px; background: var(--wa-ac); }
.wa-tabs i { position: absolute; top: 2px; left: calc(50% + 5px); min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 99px; background: #DC2626; color: #fff;
  font: 700 10px/16px var(--font-body, inherit); font-style: normal; text-align: center; }
html.wa-has-tabs body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
html.wa-has-tabs .pnav__burger, html.wa-has-tabs .portal-topbar__toggle { display: none !important; }
html.wa-has-tabs .wa-snack, html.wa-has-tabs .wa-off-bar, html.wa-has-tabs .wa-toast, html.wa-has-tabs .wa-cbar { bottom: calc(80px + env(safe-area-inset-bottom)); }
/* What else sits at the foot of the page rises above the tab bar: the cookie notice, a banner bar, a survey, a product's or a course's buy bar. */
html.wa-has-tabs .ckbar, html.wa-has-tabs .svpop { bottom: calc(78px + env(safe-area-inset-bottom)); }
html.wa-has-tabs .bn--bar, html.wa-has-tabs .pp-bar, html.wa-has-tabs .cs-pbar { bottom: calc(66px + env(safe-area-inset-bottom)); }

/* The sheet: the menu, a section of it, or the dashboard's other links, rising from the bottom over a dimmed page. */
.wa-dim { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 23, 42, .5); opacity: 0; transition: opacity .2s; }
.wa-dim.is-on { opacity: 1; }
.wa-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; max-height: calc(100dvh - 56px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--wa-bg); color: var(--wa-tx); border-radius: 24px 24px 0 0; padding: 6px 16px calc(16px + env(safe-area-inset-bottom)); box-sizing: border-box;
  font-family: var(--font-body, inherit); transform: translateY(100%); transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
.wa-sheet.is-on { transform: none; }
html.wa-has-tabs .wa-sheet { bottom: calc(66px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 56px - 66px); padding-bottom: 16px; }
html.wa-sheet-open .wa-tabs { z-index: 1002; }
@media (min-width: 700px) { .wa-sheet { left: 50%; right: auto; width: 560px; margin-left: -280px; } }
html.wa-sheet-open { overflow: hidden; }
.wa-sheet__grab { width: 40px; height: 5px; border-radius: 5px; background: var(--wa-bd); margin: 2px auto 10px; }
.wa-sheet__view { display: flex; flex-direction: column; gap: 12px; }
.wa-sheet__view.wa-in-r { animation: wa-in-r .2s ease-out; }
.wa-sheet__view.wa-in-l { animation: wa-in-l .2s ease-out; }
@keyframes wa-in-r { from { transform: translateX(24px); opacity: 0; } }
@keyframes wa-in-l { from { transform: translateX(-24px); opacity: 0; } }
.wa-sheet__head { display: flex; align-items: center; gap: 10px; }
.wa-sheet__head h2 { flex: 1; margin: 0; font: 700 21px/1.2 var(--font-display, var(--font-body, inherit)); letter-spacing: -.01em; color: var(--wa-tx); }
.wa-sheet__head small { display: block; margin-top: 2px; font: 500 13px var(--font-body, inherit); letter-spacing: 0; color: var(--wa-mu); }
.wa-rb { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: color-mix(in oklab, var(--wa-tx) 7%, transparent); color: var(--wa-tx); cursor: pointer; }
.wa-find { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 0; border-radius: 14px; background: color-mix(in oklab, var(--wa-tx) 6%, transparent);
  color: var(--wa-mu); font: 500 15px var(--font-body, inherit); text-align: left; cursor: pointer; }
.wa-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wa-tile2 { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 14px 8px 12px; border-radius: 18px; background: color-mix(in oklab, var(--wa-ac) 7%, var(--wa-bg));
  color: var(--wa-tx); text-decoration: none; }
.wa-tile2 b { font: 600 14.5px/1.2 var(--font-body, inherit); }
.wa-tile2 small { display: block; margin-top: -4px; font: 500 12px var(--font-body, inherit); color: var(--wa-mu); }
.wa-tile2__ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--wa-bg); color: var(--wa-ac); }
.wa-tile2__ic svg { width: 20px; height: 20px; }
.wa-tile2.is-on { background: var(--wa-acs); color: #fff; }
.wa-tile2.is-on small { color: rgba(255, 255, 255, .8); }
.wa-tile2.is-on .wa-tile2__ic { background: rgba(255, 255, 255, .18); color: #fff; }
.wa-feat { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; color: #fff; text-decoration: none; background-color: var(--wa-acs);
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; }
.wa-feat__ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.wa-feat b { display: block; font: 700 16px var(--font-body, inherit); }
.wa-feat small { display: block; margin-top: 2px; font: 500 13px var(--font-body, inherit); opacity: .85; }
.wa-feat__go { flex: none; margin-left: auto; height: 34px; padding: 0 14px; border-radius: 99px; background: #fff; color: var(--wa-acs); display: grid; place-items: center; font: 600 13.5px var(--font-body, inherit); }
.wa-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.wa-acc a { height: 46px; border-radius: 14px; display: grid; place-items: center; font: 600 15px var(--font-body, inherit); text-decoration: none;
  background: color-mix(in oklab, var(--wa-tx) 7%, transparent); color: var(--wa-tx); }
.wa-acc a + a { background: var(--wa-tx); color: var(--wa-bg); }
.wa-grp { margin: 2px 4px -6px; font: 700 11.5px var(--font-body, inherit); letter-spacing: .06em; text-transform: uppercase; color: var(--wa-mu); }
.wa-list { border-radius: 18px; background: color-mix(in oklab, var(--wa-tx) 4%, transparent); overflow: hidden; }
.wa-row { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center; padding: 11px 14px; color: var(--wa-tx); text-decoration: none; }
.wa-row + .wa-row::before { content: ""; position: absolute; top: 0; left: 62px; right: 0; height: 1px; background: var(--wa-bd); }
.wa-row__ic { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--wa-bg); color: var(--wa-ac); }
.wa-row__ic svg { width: 20px; height: 20px; }
.wa-row b { font: 600 15px/1.25 var(--font-body, inherit); }
.wa-row--one b { grid-row: 1 / span 2; }
.wa-row small { grid-column: 2; font: 500 12.5px/1.3 var(--font-body, inherit); color: var(--wa-mu); }
.wa-row > svg { grid-column: 3; grid-row: 1 / span 2; color: var(--wa-mu); }

/* Pull to refresh, swipe back, and the line while a slow page opens (M525). */
.wa-pull { position: fixed; top: 8px; left: 50%; z-index: 95; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--wa-bg);
  border: 1px solid var(--wa-bd); color: var(--wa-ac); opacity: 0; transform: translate(-50%, 0); transition: opacity .15s; pointer-events: none; --wa-pull: 0; }
.wa-pull.is-on { opacity: 1; transition: none; }
.wa-pull__ring { position: absolute; inset: -1px; width: 40px; height: 40px; transform: rotate(-90deg); }
.wa-pull__ring circle { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--wa-pull) * 100); }
.wa-pull.is-spin .wa-pull__ring { animation: wa-spin .7s linear infinite; }
.wa-pull.is-spin .wa-pull__ring circle { stroke-dashoffset: 70; }
@keyframes wa-spin { to { transform: rotate(270deg); } }
.wa-edge { position: fixed; left: 0; top: 50%; z-index: 95; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--wa-ac) 70%, var(--wa-bg));
  color: #fff; opacity: 0; transform: translate(-50px, -50%); pointer-events: none; }
.wa-edge.is-on { opacity: 1; }
.wa-edge.is-go { background: var(--wa-acs); }
.wa-load { position: fixed; top: 0; left: 0; z-index: 99; height: 3px; width: 100%; background: var(--wa-ac); transform-origin: 0 50%; animation: wa-load 6s cubic-bezier(.1, .7, .2, 1) forwards; }
@keyframes wa-load { from { transform: scaleX(0); } to { transform: scaleX(.92); } }

/* Connection lost, back, and the page from hours ago (M527): flat bars at the foot. */
.wa-cbar { position: fixed; left: 50%; bottom: 18px; z-index: 65; width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 11px 12px 11px 16px;
  border-radius: 12px; font: 500 14.5px/1.35 var(--font-body, inherit); transform: translate(-50%, 12px); opacity: 0; transition: opacity .2s, transform .2s; }
.wa-cbar.is-on { opacity: 1; transform: translate(-50%, 0); }
.wa-cbar > span { flex: 1; }
.wa-cbar svg { flex: none; }
.wa-cbar--dark { background: #0f172a; color: #e2e8f0; }
[data-theme="dark"] .wa-cbar--dark { background: #1e293b; }
.wa-cbar--dark b { color: #fff; }
.wa-cbar--ok { background: #ECFDF3; color: #14532D; border: 1px solid #BBF7D0; }
[data-theme="dark"] .wa-cbar--ok { background: #0F2A1C; color: #BBF7D0; border-color: #14532D; }
.wa-cbar button[data-wa-re] { flex: none; height: 32px; padding: 0 14px; border-radius: 99px; border: 0; background: #fff; color: #0f172a; font: 600 13.5px var(--font-body, inherit); cursor: pointer; }
.wa-cbar__x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: inherit; opacity: .7; cursor: pointer; }

/* The bell beside light and dark (M526), and its small panel. */
.wa-bell { position: relative; display: inline-grid; place-items: center; margin-right: 6px; }
.wa-bell.is-on::after { content: ""; position: absolute; top: 2px; right: 2px; width: 7px; height: 7px; border-radius: 50%; background: #16A34A; }
.wa-np { position: absolute; z-index: 1100; background: var(--wa-bg); color: var(--wa-tx); border: 1px solid var(--wa-bd); border-radius: 14px; padding: 16px; box-sizing: border-box;
  font: 14px/1.45 var(--font-body, inherit); box-shadow: 0 12px 32px rgba(15, 23, 42, .14); }
.wa-np h3 { margin: 0 0 4px; font: 700 15.5px var(--font-body, inherit); color: var(--wa-tx); }
.wa-np p { margin: 0 0 12px; font-size: 13.5px; color: var(--wa-mu); }
.wa-np small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--wa-mu); }
.wa-np__go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; border: 0; border-radius: 10px; background: var(--wa-acs); color: #fff;
  font: 600 14px var(--font-body, inherit); cursor: pointer; }
.wa-np__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--wa-bd); cursor: pointer; }
.wa-np__row:first-of-type { border-top: 0; }
.wa-np__row b { font-weight: 600; }
.wa-np__all { display: block; margin-top: 10px; font: 600 13.5px var(--font-body, inherit); color: var(--wa-ac); text-decoration: none; }
.wa-sw { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 36px; height: 20px; margin: 0; border-radius: 99px; background: var(--wa-bd); cursor: pointer; transition: background .15s; }
.wa-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.wa-sw:checked { background: var(--wa-acs); }
.wa-sw:checked::after { left: 18px; }
.wa-sw:disabled { opacity: .45; }
.wa-shared-note { margin-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .wa-sheet, .wa-dim, .wa-cbar { transition: none; } .wa-load { animation: none; transform: scaleX(.6); } }
