/*
 * « Mon compte »: the private space of the customer, Tempo's (webacappella.lite, the user,
 * 2026-10-19: « le design de tempo est vraiment réussi, une très légère adaptation suffira »),
 * its colours included. Ported from packages/portal/src/views: layout-base.ts (the theme, the
 * drawer), layout-user.ts (the shell), login.ts (the door: sign-in, password, purchase),
 * components/button.ts, notice.ts, form-fields.ts, preferences.ts, data-table.ts,
 * danger-zone.ts, and the pages subscription.ts, invoices.ts, general.ts, contact.ts.
 *
 * The one exception to shared/tokens.json (CLAUDE.md): the colours are Tempo's, light and dark,
 * as its custom properties; nothing of the public site (www.css, tokens.css) is loaded here. The
 * Content-Security-Policy keeps every style in this file and every script in a file of its own
 * (prefs.js sets the theme before the first paint, compte.js the rest). Classes are prefixed
 * `ta-`; the few the scripts look for (ta-device, ta-actions, ta-field*, ta-flash*,
 * ta-link-button, ta-signin__*) keep their names.
 */

/* ------------------------------------------------------------------ theme (layout-base.ts) */

:root
{
  --top-height: 3.5rem;
  --user-side: 16.5rem;
  /* The height one sees under the bar: on a phone 100vh counts the bars of the browser too, and
     the foot of the drawer (the legal pages, « Interface ») would be out of reach */
  --shell-body-height: calc(100vh - var(--top-height));
  --ui-field-radius: 0.625rem;
  --ui-field-padding-x: 0.75rem;
  --ui-field-padding-y: 0.5rem;
  --ui-field-border: var(--border);
  --ui-field-border-focus: var(--primary);
  --ui-field-bg: var(--bg-card);
  --ui-field-bg-focus: var(--bg-card-hover);
  --ui-field-text: var(--text);
  --ui-field-placeholder: var(--text-subtle);
  --wac-magenta: #ff4013;
  --wac-rose: #ff6a3d;
  --wac-magenta-deep: #db3610;
  --wac-amber: #ffb43f;
  --wac-prune: #4a2a18;
  --wac-prune-deep: #331c10;
  --wac-rail: linear-gradient(180deg, #ffb43f 0%, #ff7a4d 48%, #ff4013 100%);
  /* The flat fill of the main buttons: white on it at 4.62:1 */
  --wac-cta: #db3610;
  --wac-cta-shadow: 0 8px 20px -8px rgba(var(--primary-rgb), 0.6);
}

@supports (height: 100dvh)
{
  :root
  {
    --shell-body-height: calc(100dvh - var(--top-height));
  }
}

:root,
:root[data-theme='light']
{
  --bg: #f5efe9;
  --bg-card: #ffffff;
  --bg-card-hover: #faf3ed;
  --bg-side: #f3ece4;
  --bg-subtle: #f8f1e9;
  --border: #eae5df;
  --border-strong: #ddd3c8;
  --text: #2c2a33;
  --text-muted: #6d6877;
  --text-subtle: #8b8794;
  --primary: #ff4013;
  --primary-rgb: 255, 64, 19;
  --primary-hover: #db3610;
  --success: #4f9c43;
  --warning: #b06a00;
  --danger: #dc2626;
  --accent-text-primary: #c0330f;
  --accent-text-success: #3f8136;
  --accent-text-warning: #b06a00;
  --accent-text-danger: #b91c1c;
  --heading-color: #4a2a18;
  --accent-tint: #fff0e6;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 4px 14px rgba(74, 40, 22, 0.08), 0 10px 30px rgba(74, 40, 22, 0.06);
  --wac-sidebar: var(--bg-card);
  --wac-nav-text: #57525f;
  --wac-nav-text-muted: #6d6877;
  --wac-nav-text-strong: var(--text);
  --wac-nav-active-bg: rgba(var(--primary-rgb), 0.09);
  --wac-nav-active-text: var(--accent-text-primary);
  --wac-nav-active-bar: linear-gradient(180deg, var(--wac-amber), var(--wac-magenta));
  --wac-nav-hover-bg: rgba(0, 0, 0, 0.045);
  --wac-nav-border: var(--border);
}

:root[data-theme='dark']
{
  --bg: #1f120b;
  --bg-card: #331c10;
  --bg-card-hover: #3f2416;
  --bg-side: #2a1810;
  --bg-subtle: rgba(255, 255, 255, 0.04);
  --border: #4a3626;
  --border-strong: #5e4632;
  --text: #f3ece2;
  --text-muted: #c4b3a0;
  --text-subtle: #9b8b7a;
  --primary: #ff6a3d;
  --primary-rgb: 255, 106, 61;
  --primary-hover: #ff4013;
  --success: #7bbf5a;
  --warning: #ffb43f;
  --danger: #ef4444;
  --accent-text-primary: #ffbfa8;
  --accent-text-success: #a8dd8c;
  --accent-text-warning: #fcd34d;
  --accent-text-danger: #fca5a5;
  --heading-color: #f7e6d0;
  --accent-tint: rgba(var(--primary-rgb), 0.14);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-elevated: 0 10px 30px rgba(0, 0, 0, 0.4), 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  --wac-sidebar: var(--bg-side);
  --wac-nav-text: var(--text-muted);
  --wac-nav-text-muted: var(--text-subtle);
  --wac-nav-text-strong: #ffffff;
  --wac-nav-active-bg: rgba(var(--primary-rgb), 0.2);
  --wac-nav-active-text: #ffffff;
  --wac-nav-active-bar: linear-gradient(180deg, var(--wac-amber), var(--primary));
  --wac-nav-hover-bg: rgba(255, 255, 255, 0.06);
  --wac-nav-border: var(--border);
}

/* The size of the text, as « Interface » sets it: in % of the browser's setting, everything is in rem */
:root[data-font-size='sm']
{
  font-size: 93.75%;
}

:root[data-font-size='lg']
{
  font-size: 112.5%;
}

:root[data-font-size='xl']
{
  font-size: 125%;
}

/* ------------------------------------------------------------------ base */

*,
*::before,
*::after
{
  box-sizing: border-box;
}

/* An inline icon without its size never shows as a giant glyph while the sheet loads */
:where(svg:not([width]))
{
  width: 1em;
  height: 1em;
}

html,
body
{
  margin: 0;
}

html
{
  scrollbar-gutter: stable;
}

body
{
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a
{
  color: inherit;
  text-decoration: none;
}

h1
{
  margin: 0 0 1.5rem;
  color: var(--heading-color);
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2
{
  margin: 2rem 0 1rem;
  color: var(--heading-color);
  font-size: 1rem;
  font-weight: 700;
}

::placeholder
{
  color: var(--text-muted);
  opacity: 1;
}

button:not(:disabled):not([aria-disabled='true']),
select,
summary
{
  cursor: pointer;
}

.ta-muted
{
  color: var(--text-muted);
}

.ta-sr-only
{
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ta-skip
{
  position: absolute;
  z-index: 60;
  top: -100px;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: var(--bg-card);
  color: var(--text);
  font-weight: 700;
}

.ta-skip:focus
{
  top: 1rem;
}

.ta-icon
{
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------------ the logo (brand-logo.ts) */

.ta-logo
{
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.ta-logo img
{
  display: block;
  flex: none;
  width: 2rem;
  height: 2rem;
}

.ta-wordmark
{
  color: var(--heading-color);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.ta-wordmark__accent
{
  color: var(--primary);
}

.ta-logo--on-dark .ta-wordmark
{
  color: #ffffff;
}

.ta-logo--on-dark .ta-wordmark__accent
{
  color: var(--wac-amber);
}

/* ------------------------------------------------------------------ the shell (layout-user.ts) */

.ta-top
{
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--top-height);
  padding: 0 1.5rem 0 0;
  background: var(--bg-card);
}

/* The line under the bar right of the side only: the logo and the side read as one panel */
.ta-top::after
{
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: var(--user-side);
  height: 1px;
  background: var(--border);
}

.ta-top__brand
{
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
  width: var(--user-side);
  height: 100%;
  padding-left: 1.5rem;
  border-right: 1px solid var(--border);
  background: var(--wac-sidebar);
}

/* « Mon compte › Mes appareils »; on a phone, the root alone, with its chevron « back up » */
.ta-crumb
{
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  min-width: 0;
  font-size: 0.9375rem;
}

.ta-crumb__root
{
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  min-width: 0;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s;
}

.ta-crumb__root:hover
{
  color: var(--text);
}

.ta-crumb__up
{
  display: none;
  flex: 0 0 auto;
}

.ta-crumb__up .ta-icon,
.ta-crumb__sep .ta-icon
{
  width: 1rem;
  height: 1rem;
}

.ta-crumb__sep
{
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--text-subtle);
}

.ta-crumb__current
{
  overflow: hidden;
  color: var(--heading-color);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ta-top__tools
{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* The account open in this browser: information only, its initial and its address */
.ta-badge
{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 16rem;
  padding: 0.1875rem 0.6875rem 0.1875rem 0.1875rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-subtle);
  cursor: default;
}

.ta-badge__mono
{
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.14);
  color: var(--accent-text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.ta-badge__mail
{
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ta-logout
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ta-logout:hover
{
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(220, 38, 38, 0.08);
  color: var(--accent-text-danger);
}

.ta-logout .ta-icon
{
  width: 1rem;
  height: 1rem;
}

/* The column of the side in its colour down to the bottom of a long page, its line included: the
   side itself stays in the window */
.ta-shell
{
  display: grid;
  grid-template-columns: var(--user-side) minmax(0, 1fr);
  align-items: start;
  min-height: var(--shell-body-height);
  background: linear-gradient(to right, var(--wac-sidebar) calc(var(--user-side) - 1px), var(--border) 0 var(--user-side), transparent 0);
}

/* The side: the service at its top, the account at its foot, then « Interface » and the public site */
.ta-side
{
  position: sticky;
  top: var(--top-height);
  display: flex;
  flex-direction: column;
  align-self: start;
  height: var(--shell-body-height);
  overflow-y: auto;
  padding: 1.25rem 0.875rem 1rem;
  border-right: 1px solid var(--border);
  background: var(--wac-sidebar);
}

.ta-side__spacer
{
  flex: 1;
  min-height: 1rem;
}

.ta-side__nav--account
{
  margin-bottom: 0.25rem;
}

/* « Ouvrir le site officiel », last, under « Interface » */
.ta-side__nav--end
{
  flex-shrink: 0;
  padding-top: 0.125rem;
}

.ta-side__nav ul
{
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-nav-item
{
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  color: var(--wac-nav-text);
  font-size: 0.875rem;
  transition: background 0.15s, color 0.15s;
}

.ta-nav-item:hover
{
  background: var(--wac-nav-hover-bg);
  color: var(--wac-nav-text-strong);
}

.ta-nav-item[aria-current='page']
{
  background: var(--wac-nav-active-bg);
  color: var(--wac-nav-active-text);
  font-weight: 600;
}

/* The bar of the section shown, in the colours of the brand */
.ta-nav-item[aria-current='page']::before
{
  content: '';
  position: absolute;
  top: 0.375rem;
  bottom: 0.375rem;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--wac-nav-active-bar);
}

.ta-nav-item .ta-icon
{
  width: 1rem;
  height: 1rem;
  color: var(--wac-nav-text-muted);
}

.ta-nav-item:hover .ta-icon,
.ta-nav-item[aria-current='page'] .ta-icon
{
  color: var(--wac-nav-text-strong);
}

.ta-nav-item__label
{
  flex: 1;
}

/* « Aide »: the public site, in a new tab, which the arrow says */
.ta-nav-item__label + .ta-icon
{
  width: 0.6875rem;
  height: 0.6875rem;
}

.ta-nav-item:focus-visible,
.ta-logout:focus-visible,
.ta-crumb__root:focus-visible,
.ta-burger:focus-visible
{
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.ta-main
{
  min-width: 0;
  max-width: 60rem;
  padding: 2rem 2.5rem;
}

.ta-main--wide
{
  max-width: 76rem;
}

/* The button of the drawer: in the bar below the threshold only */
.ta-burger
{
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s;
}

.ta-burger:hover
{
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

/* « Interface »: the theme and the size of the text (preferences.ts) */
.ta-prefs
{
  flex-shrink: 0;
  padding: 0.5rem 0;
  border-top: 1px solid var(--wac-nav-border);
}

/* Its icon in the column of the entries above and below it */
.ta-prefs__btn
{
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.5rem 0.625rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--wac-nav-text);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.ta-prefs__btn:hover
{
  background: var(--wac-nav-hover-bg);
  color: var(--wac-nav-text-strong);
}

.ta-prefs__btn .ta-icon
{
  width: 1rem;
  height: 1rem;
  opacity: 0.85;
}

.ta-prefs__pop
{
  width: min(20rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-card);
  box-shadow: var(--shadow-elevated);
  color: var(--text);
  /* Above « Interface », itself above « Ouvrir le site officiel » */
  inset: auto auto 6.5rem 1rem;
}

.ta-prefs__pop::backdrop
{
  background: rgba(0, 0, 0, 0.2);
}

/* « Se déconnecter ? » (shell.ts): a card in the middle of the window, the page dimmed behind */
.ta-dialog
{
  width: min(26rem, calc(100vw - 2rem));
  padding: 1.25rem 1.375rem;
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  background: var(--bg-card);
  box-shadow: var(--shadow-elevated);
  color: var(--text);
}

.ta-dialog::backdrop
{
  background: rgba(0, 0, 0, 0.35);
}

.ta-dialog__title
{
  margin: 0 0 0.5rem;
  color: var(--heading-color);
  font-size: 1.125rem;
}

.ta-dialog p
{
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ta-dialog .ta-actions
{
  margin-top: 1.125rem;
}

.ta-prefs__title
{
  margin-bottom: 0.5rem;
  color: var(--heading-color);
  font-size: 0.875rem;
  font-weight: 700;
}

.ta-pref-row
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.875rem 0;
  border-top: 1px solid var(--border);
}

.ta-pref-row:first-of-type
{
  padding-top: 0;
  border-top: 0;
}

.ta-prefs__pop .ta-pref-row
{
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.4rem;
}

.ta-pref-label
{
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.ta-pref-label__name
{
  font-size: 0.875rem;
  font-weight: 600;
}

.ta-pref-label__desc
{
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.ta-pref-seg
{
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.1875rem;
  padding: 0.1875rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-subtle);
}

.ta-prefs__pop .ta-pref-seg
{
  width: 100%;
}

.ta-pref-seg__btn
{
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ta-pref-seg__btn:hover
{
  color: var(--text);
}

.ta-pref-seg__btn:focus-visible
{
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.ta-pref-seg__btn .ta-icon
{
  width: 0.9375rem;
  height: 0.9375rem;
}

.ta-pref-seg__a
{
  font-weight: 700;
}

.ta-pref-seg__btn[data-ta-font-size='sm'] .ta-pref-seg__a
{
  font-size: 0.8em;
}

.ta-pref-seg__btn[data-ta-font-size='md'] .ta-pref-seg__a
{
  font-size: 0.95em;
}

.ta-pref-seg__btn[data-ta-font-size='lg'] .ta-pref-seg__a
{
  font-size: 1.1em;
}

.ta-pref-seg__btn[data-ta-font-size='xl'] .ta-pref-seg__a
{
  font-size: 1.25em;
}

/* The choice in force, from the attributes prefs.js sets before the first paint */
:root[data-theme-pref='system'] [data-ta-theme='system'],
:root[data-theme-pref='light'] [data-ta-theme='light'],
:root[data-theme-pref='dark'] [data-ta-theme='dark'],
:root[data-font-size='sm'] [data-ta-font-size='sm'],
:root[data-font-size='md'] [data-ta-font-size='md'],
:root[data-font-size='lg'] [data-ta-font-size='lg'],
:root[data-font-size='xl'] [data-ta-font-size='xl'],
.ta-pref-seg__btn[aria-current='true']
{
  border-color: var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  color: var(--text);
  font-weight: 600;
}

/* The control of a row of preferences, at its right (Tempo, preferences.ts) */
.ta-pref-control
{
  flex-shrink: 0;
}

.ta-pref-control .ta-langcb
{
  width: 11rem;
}

/* On a phone, the control under its label, the whole width */
@media (max-width: 48rem)
{
  .ta-pref-row
  {
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
  }

  .ta-pref-control .ta-langcb
  {
    width: 100%;
  }
}

/* ------------------------------------------------------------------ the choice of a language */

/* Tempo's language select (language-select.ts, public/lang-select.js): the native select, then its list */
.ta-langcb
{
  display: flex;
  position: relative;
  flex-direction: column;
}

.ta-langcb__native
{
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
}

/* Enhanced: the select out of sight, still the value of the page */
.ta-langcb.is-enhanced .ta-langcb__native
{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}

.ta-langcb__button
{
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ta-langcb__button:hover
{
  border-color: var(--primary);
}

.ta-langcb__button.is-active
{
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.14);
}

.ta-langcb__button:disabled
{
  opacity: 0.55;
  cursor: not-allowed;
}

.ta-langcb__flag
{
  font-size: 1.25rem;
  line-height: 1;
}

.ta-langcb__text
{
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ta-langcb__chevron
{
  flex: none;
  width: 1rem;
  height: 1rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.ta-langcb__button.is-active .ta-langcb__chevron
{
  transform: rotate(180deg);
}

.ta-langcb__dropdown
{
  display: none;
  position: absolute;
  z-index: 60;
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-card);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ta-langcb__dropdown.is-open
{
  display: block;
}

.ta-langcb__dropdown.drop-bottom
{
  top: calc(100% + 6px);
}

.ta-langcb__dropdown.drop-top
{
  bottom: calc(100% + 6px);
}

.ta-langcb__search-wrap
{
  position: relative;
  padding: 0.625rem;
  border-bottom: 1px solid var(--border);
}

.ta-langcb__search
{
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.125rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-subtle);
  color: var(--text);
  font: inherit;
}

.ta-langcb__search:focus
{
  border-color: var(--primary);
  outline: none;
}

.ta-langcb__search-icon
{
  position: absolute;
  top: 50%;
  left: 1.25rem;
  width: 0.9375rem;
  height: 0.9375rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.ta-langcb__list
{
  max-height: 250px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ta-langcb__item
{
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5625rem 0.875rem;
  cursor: pointer;
  transition: background-color 0.12s;
}

.ta-langcb__item:hover,
.ta-langcb__item.is-focused
{
  background: var(--bg-subtle);
}

.ta-langcb__item[aria-selected='true'] .ta-langcb__item-name
{
  color: var(--accent-text-primary);
  font-weight: 600;
}

.ta-langcb__item-name
{
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Muted rather than Tempo's subtle: 4.5:1 at least on the card */
.ta-langcb__item-code
{
  color: var(--text-muted);
  font-size: 0.75rem;
}

.ta-langcb__no-results
{
  padding: 0.875rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

/* ------------------------------------------------------------------ the drawer (layout-base.ts) */

@media (max-width: 64rem)
{
  .ta-burger
  {
    display: inline-flex;
  }

  .ta-shell
  {
    grid-template-columns: 1fr;
    background: none;
  }

  .ta-top
  {
    padding: 0 0.875rem;
  }

  .ta-top__brand
  {
    width: auto;
    padding-left: 0;
    border-right: 0;
    background: transparent;
  }

  .ta-top::after
  {
    left: 0;
  }

  /* The name goes, the drawing of the logo stays, and the link to the site with it */
  .ta-top .ta-wordmark
  {
    display: none;
  }

  /* The side leaves the page and slides in from the left, under the bar; hidden while closed, so
     that its links are out of the way of the keyboard too */
  html [data-ta-drawer]
  {
    position: fixed;
    z-index: 40;
    left: 0;
    width: min(20rem, 82vw);
    box-shadow: none;
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0.22s ease, visibility 0s linear 0.22s;
  }

  html[data-ta-drawer-open] [data-ta-drawer]
  {
    box-shadow: var(--shadow-elevated);
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.22s ease;
  }

  /* The veil under the bar: a click on it closes the drawer (drawer.js) */
  .ta-portal::after
  {
    content: '';
    position: fixed;
    z-index: 39;
    top: var(--top-height);
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  html[data-ta-drawer-open] .ta-portal::after
  {
    opacity: 1;
    visibility: visible;
  }

  html[data-ta-drawer-open]
  {
    overflow: hidden;
  }
}

@media (max-width: 48rem)
{
  .ta-crumb__sep,
  .ta-crumb__current,
  .ta-badge__mail
  {
    display: none;
  }

  .ta-crumb__up
  {
    display: inline-flex;
  }

  .ta-badge
  {
    max-width: none;
    padding: 0.1875rem;
  }

  .ta-main
  {
    padding: 1.5rem 16px 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce)
{
  html [data-ta-drawer],
  html[data-ta-drawer-open] [data-ta-drawer],
  .ta-portal::after
  {
    transition: none;
  }
}

/* ------------------------------------------------------------------ the page: its head, its cards */

/* The title of a page, Octave beside it on a computer (sites.ts, .sites__head) */
.ta-head
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin: 0 0 1.625rem;
}

.ta-head__art
{
  display: block;
  flex: none;
  width: 8rem;
  height: auto;
}

.ta-head__body
{
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.ta-head h1
{
  margin: 0;
}

.ta-head__lede
{
  max-width: 46rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* A phone: the drawing goes, it is decoration only (octave-art.ts) */
@media (max-width: 48rem)
{
  .ta-head__art
  {
    display: none;
  }
}

/* A card: one topic (general.ts, .card) */
.ta-panel
{
  max-width: 40rem;
  margin-bottom: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.ta-panel--wide
{
  max-width: 52rem;
}

.ta-panel > :last-child
{
  margin-bottom: 0;
}

.ta-panel p
{
  margin: 0 0 0.75rem;
}

.ta-heading
{
  margin: 0 0 0.25rem;
  color: var(--heading-color);
  font-size: 1rem;
  font-weight: 700;
}

.ta-panel__sub
{
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.ta-panel p.ta-panel__sub
{
  margin-bottom: 1.25rem;
}

.ta-value
{
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------ messages (notice.ts) */

.ta-notice
{
  max-width: 40rem;
  margin: 0 0 1rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-subtle);
  color: var(--text);
  font-size: 0.875rem;
}

.ta-notice p
{
  margin: 0 0 0.5rem;
}

.ta-notice > :last-child,
.ta-notice > :last-child > :last-child
{
  margin-bottom: 0;
}

.ta-notice--warning
{
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.1);
}

/* What just happened (toasts.ts, toast.js): a message at the top of the page, closed by its button */
.ta-flashes
{
  display: grid;
  max-width: 40rem;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.ta-flashes:empty
{
  display: none;
}

/* The page's own (« Enregistré. »): at the bottom of the window, wherever one is */
.ta-flashes--float
{
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-width: 32rem;
  margin: 0 auto;
}

.ta-flash
{
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.625rem 0.375rem 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-subtle);
  color: var(--text);
  font-size: 0.875rem;
}

.ta-flashes--float .ta-flash
{
  background: var(--bg-card);
  box-shadow: var(--shadow-elevated);
}

.ta-flash--success
{
  border-color: rgba(34, 197, 94, 0.32);
  background: rgba(34, 197, 94, 0.1);
  color: var(--accent-text-success);
}

.ta-flash--warning
{
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.1);
}

.ta-flash__body
{
  flex: 1;
  min-width: 0;
}

.ta-flash__body p
{
  margin: 0;
}

.ta-flash__body p + p
{
  margin-top: 0.375rem;
}

.ta-flash__close
{
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 0.375rem;
  background: none;
  color: var(--text-muted);
}

.ta-flash__close:hover
{
  background: var(--wac-nav-hover-bg);
  color: var(--text);
}

.ta-flash__close svg
{
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.ta-status
{
  color: var(--accent-text-success);
  font-size: 0.875rem;
}

.ta-error
{
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: 0.5rem;
  background: rgba(220, 38, 38, 0.07);
  color: var(--accent-text-danger);
  font-size: 0.8125rem;
}

.ta-status:empty,
.ta-error:empty
{
  display: none;
}

/* ------------------------------------------------------------------ buttons and links (button.ts) */

.ta-button
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5625rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  user-select: none;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.ta-button:hover:not(:disabled)
{
  background: var(--bg-card);
  color: var(--text);
}

/* The main gesture of a screen: the flat fill of the brand, its coloured shadow */
.ta-button-primary
{
  border-color: transparent;
  background: var(--wac-cta);
  box-shadow: var(--wac-cta-shadow);
  color: #ffffff;
}

.ta-button-primary:hover:not(:disabled)
{
  background: var(--wac-cta);
  color: #ffffff;
  filter: brightness(1.04);
  transform: translateY(-1px);
}

/* What saves, or an important gesture that is not the main one */
.ta-button-secondary
{
  border-color: transparent;
  background: var(--accent-tint);
  color: var(--accent-text-primary);
}

.ta-button-secondary:hover:not(:disabled)
{
  background: color-mix(in srgb, var(--accent-tint) 70%, var(--primary) 12%);
  color: var(--accent-text-primary);
}

.ta-button-danger
{
  color: var(--accent-text-danger);
}

.ta-button-danger:hover:not(:disabled)
{
  border-color: color-mix(in srgb, var(--danger) 35%, var(--border));
  background: color-mix(in srgb, var(--danger) 10%, transparent);
  color: var(--accent-text-danger);
}

.ta-button-lg
{
  padding: 0.6875rem 1.5rem;
  font-size: 0.9375rem;
}

.ta-button:disabled
{
  cursor: not-allowed;
  opacity: 0.5;
}

.ta-button[aria-busy='true']
{
  cursor: progress;
  opacity: 0.7;
}

.ta-button:focus-visible,
.ta-link:focus-visible,
.ta-link-button:focus-visible
{
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* A link in the accent of the text (the bright accent fails AA in small type) */
.ta-link,
.ta-link-button
{
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-text-primary);
  font: inherit;
  font-weight: 600;
}

.ta-link:hover,
.ta-link-button:hover
{
  text-decoration: underline;
}

.ta-actions
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.875rem;
  margin: 0.875rem 0 0;
}

/* On a phone, a long label wraps rather than leaving its card */
@media (max-width: 48rem)
{
  .ta-actions .ta-button
  {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* A link beside a button: at the size of the button */
.ta-actions .ta-link,
.ta-actions .ta-link-button
{
  font-size: 0.875rem;
}

/* ------------------------------------------------------------------ fields (form-fields.ts) */

.ta-form
{
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  max-width: 24rem;
  margin: 0 0 0.75rem;
}

.ta-form .ta-actions
{
  margin-top: 0.5rem;
}

.ta-label
{
  margin-top: 0.5rem;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
}

.ta-label:first-child
{
  margin-top: 0;
}

.ta-input,
.ta-form select,
.ta-form textarea
{
  width: 100%;
  padding: var(--ui-field-padding-y) var(--ui-field-padding-x);
  border: 1px solid var(--ui-field-border);
  border-radius: var(--ui-field-radius);
  outline: none;
  background: var(--ui-field-bg);
  color: var(--ui-field-text);
  font: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.ta-input:hover:not(:focus):not(:disabled),
.ta-form select:hover:not(:focus),
.ta-form textarea:hover:not(:focus)
{
  background: var(--ui-field-bg-focus);
}

/* The focus drawn inside the field, never cut by a scroll */
.ta-input:focus,
.ta-form select:focus,
.ta-form textarea:focus
{
  border-color: var(--ui-field-border-focus);
  background: var(--ui-field-bg-focus);
}

.ta-input[aria-invalid='true']
{
  border-color: var(--danger);
}

.ta-form .ta-muted,
.ta-hint
{
  margin: 0.125rem 0 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.ta-input-code
{
  max-width: 11rem;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.25em;
}

/* The checker of a new password (password-field.js): four steps that fill up, red, orange, then
   green, and its word under them in the same colour */
.ta-strength
{
  margin: 0.5rem 0 0;
}

.ta-strength__bar
{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  max-width: 16rem;
}

.ta-strength__bar span
{
  height: 0.3125rem;
  border-radius: 999px;
  background: var(--border);
  transition: background-color 0.2s;
}

.ta-strength[data-ta-score='0'] .ta-strength__bar span:nth-child(-n+1),
.ta-strength[data-ta-score='1'] .ta-strength__bar span:nth-child(-n+1)
{
  background: var(--danger);
}

.ta-strength[data-ta-score='2'] .ta-strength__bar span:nth-child(-n+2)
{
  background: var(--warning);
}

.ta-strength[data-ta-score='3'] .ta-strength__bar span:nth-child(-n+3),
.ta-strength[data-ta-score='4'] .ta-strength__bar span
{
  background: var(--success);
}

.ta-strength__word
{
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
}

.ta-strength[data-ta-score='0'] .ta-strength__word,
.ta-strength[data-ta-score='1'] .ta-strength__word
{
  color: var(--accent-text-danger);
}

.ta-strength[data-ta-score='2'] .ta-strength__word
{
  color: var(--accent-text-warning);
}

.ta-strength[data-ta-score='3'] .ta-strength__word,
.ta-strength[data-ta-score='4'] .ta-strength__word
{
  color: var(--accent-text-success);
}

/* What an e-mail field says once left (email-field.js): its badge at its right end, its note under */
.ta-field
{
  position: relative;
  display: block;
}

.ta-field__badge
{
  position: absolute;
  top: 50%;
  right: 0.625rem;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
  transform: translateY(-50%);
}

.ta-field--flagged .ta-input
{
  padding-right: 7rem;
}

.ta-field-note
{
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
}

.ta-field-note--problem
{
  color: var(--accent-text-danger);
}

.ta-check
{
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.45;
  cursor: pointer;
}

.ta-check input
{
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--primary);
}

.ta-check input:focus-visible
{
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* A question before what cannot be undone, in its place */
.ta-confirm
{
  flex-basis: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-subtle);
  font-size: 0.875rem;
}

.ta-confirm p
{
  margin: 0;
}

/* What paying commits to, once under the offers that sell (account-views.ts, buyTerms) */
.ta-buy-terms
{
  /* As wide as the two cards and their gap (.ta-plan, .ta-plans) */
  max-width: 49rem;
  margin: 1rem 0 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-subtle);
  font-size: 0.875rem;
}

.ta-buy-terms p
{
  margin: 0 0 0.5rem;
}

.ta-buy-terms .ta-hint
{
  margin: 0;
}

/* What cannot be undone, folded at the bottom of a page (danger-zone.ts) */
.ta-danger
{
  max-width: 40rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.ta-danger summary
{
  color: var(--text-muted);
}

.ta-danger summary:hover
{
  color: var(--accent-text-danger);
}

.ta-danger[open] summary
{
  margin-bottom: 0.75rem;
}

/* ------------------------------------------------------------------ « Mes appareils » */

/* « Votre carnet, à l'abri »: what the copy holds, in large figures, then its last backup */
.ta-figures
{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
  gap: 0.75rem;
  margin: 0.25rem 0 0.875rem;
  padding: 0;
  list-style: none;
}

.ta-figure
{
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-subtle);
}

.ta-figure__count
{
  color: var(--heading-color);
  font-size: 1.75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1.1;
}

.ta-figure__label
{
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.ta-notebook__saved
{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.875rem;
}

.ta-notebook__saved .ta-icon
{
  color: var(--accent-text-success);
}

.ta-device-list
{
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.ta-device
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.ta-device-text
{
  display: flex;
  flex: 1 1 14rem;
  flex-direction: column;
  min-width: 0;
  font-size: 0.875rem;
}

.ta-device-name
{
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* The steps (« Pour bien démarrer », the purchase): numbered cards, the one at hand framed */
.ta-start
{
  max-width: 40rem;
  margin: 0 0 1.5rem;
}

.ta-start > .ta-heading
{
  margin: 0 0 0.75rem;
}

/* The question, then its two answers side by side; the one chosen stands out, the other stays at hand */
.ta-start__ask
{
  margin: 0 0 0.75rem;
}

/* The two answers as tiles: an icon, a large label, a card that lights up once chosen */
.ta-start__choice
{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.75rem;
  max-width: 36rem;
  margin: 0 0 1.25rem;
}

.ta-start__option
{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  border: 2px solid var(--border);
  border-radius: 0.875rem;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  color: var(--heading-color);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.ta-start__option .ta-icon
{
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent-text-primary);
}

.ta-start__option:hover
{
  border-color: var(--primary);
}

.ta-start__option:focus-visible
{
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.ta-start__option[aria-pressed='true']
{
  border-color: var(--primary);
  background: var(--accent-tint);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.14);
}

/* What to type in the app, out of the sentence: the address and the password, each on its line */
.ta-creds
{
  display: grid;
  gap: 0.5rem;
  margin: 0.75rem 0;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-subtle);
}

.ta-creds div
{
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.125rem 0.75rem;
}

.ta-creds dt
{
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* On a phone, each label above its value */
@media (max-width: 48rem)
{
  .ta-creds div
  {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ta-creds dd
{
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--heading-color);
  font-size: 1.0625rem;
  font-weight: 700;
}

.ta-start__title
{
  margin: 0 0 0.375rem;
  font-size: 1rem;
}

/* « Ou, dans l'app… »: the other way, after the code, set apart */
.ta-start .ta-steplist__body .ta-start__or
{
  margin: 1.125rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.ta-steplist
{
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-steplist__item
{
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.ta-steplist__item--current
{
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-card);
}

.ta-steplist__item--waiting,
.ta-steplist__item--done
{
  background: transparent;
  box-shadow: none;
}

.ta-steplist__item--waiting
{
  color: var(--text-muted);
}

.ta-steplist__number
{
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--wac-cta);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
}

.ta-steplist__item--done .ta-steplist__number
{
  background: color-mix(in srgb, var(--success) 14%, transparent);
  color: var(--accent-text-success);
}

.ta-steplist__item--waiting .ta-steplist__number
{
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
}

.ta-steplist__number svg
{
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ta-steplist__body
{
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
}

.ta-steplist__body p
{
  margin: 0 0 0.625rem;
}

.ta-steplist__body > :last-child
{
  margin-bottom: 0;
}

.ta-steplist__title
{
  margin: 0.1875rem 0 0.375rem;
  color: var(--heading-color);
  font-size: 0.9375rem;
  font-weight: 700;
}

.ta-steplist__item--waiting .ta-steplist__title
{
  color: inherit;
}

/* The apps to install, each with its download; the store badges at their size */
.ta-install
{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.ta-install__item
{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
}

.ta-install__name
{
  font-size: 0.875rem;
  font-weight: 600;
}

/* The download of the site (www/pages/devices.ts, deviceAction): the main button here */
.ta-install .ta-btn
{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5625rem 1rem;
  border-radius: 0.375rem;
  background: var(--wac-cta);
  box-shadow: var(--wac-cta-shadow);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
}

.ta-install .ta-btn svg
{
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ta-install .ta-get__store img
{
  display: block;
  width: auto;
  height: 2.5rem;
}

/* Google's badge holds its own margin in its PNG: a little higher, as on the site (www.css), so that all look the same size */
.ta-install .ta-get__store--google-play img
{
  height: 3.3rem;
  margin: -0.4rem 0;
}

/* Our own download, for an app outside the stores (the Mac): the shape and the colours of the store
   badges beside it, whatever the theme, a computer drawn in place of their logo */
.ta-dl-badge
{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 0.875rem 0 0.625rem;
  border: 1px solid #a6a6a6;
  border-radius: 0.5rem;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.15s;
}

.ta-dl-badge:hover
{
  transform: translateY(-1px);
}

.ta-dl-badge:focus-visible
{
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.ta-dl-badge .ta-icon
{
  width: 1.625rem;
  height: 1.625rem;
}

.ta-dl-badge__text
{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.ta-dl-badge__small
{
  font-size: 0.625rem;
  font-weight: 500;
}

.ta-dl-badge__big
{
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ta-downloads__more
{
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
}

/* The sign-in code: as text for a computer, as a QR code for a phone */
.ta-signin
{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 0.75rem 0 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-subtle);
  font-size: 0.875rem;
}

.ta-signin__part
{
  flex: 1 1 13rem;
}

/* The code, a button that copies it: a dashed card that lights up under the pointer, its copy icon
   at its end, a check for a moment once copied */
.ta-signin__code
{
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0;
  padding: 0.375rem 0.75rem 0.375rem 1rem;
  border: 1px dashed var(--border-strong);
  border-radius: 0.75rem;
  background: var(--bg-card);
  color: var(--heading-color);
  font: inherit;
  font-size: 1.75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
  cursor: copy;
  transition: border-color 0.15s, background-color 0.15s;
}

/* On a phone, a little smaller: the code on one line, never cut at its dash */
@media (max-width: 48rem)
{
  .ta-signin__code
  {
    gap: 0.625rem;
    padding: 0.375rem 0.625rem 0.375rem 0.75rem;
    font-size: 1.375rem;
    letter-spacing: 0.08em;
  }
}

.ta-signin__code:hover
{
  border-color: var(--primary);
  background: var(--accent-tint);
}

/* « Code copié »: a bubble just above the code, its point towards it; it rises in, then fades */
.ta-signin__codewrap
{
  display: inline-block;
  position: relative;
}

.ta-signin__bubble
{
  position: absolute;
  bottom: calc(100% + 0.625rem);
  left: 50%;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: var(--heading-color);
  color: var(--bg-card);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: normal;
  white-space: nowrap;
  box-shadow: var(--shadow-elevated);
  opacity: 0;
  transform: translate(-50%, 0.375rem) scale(0.92);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  pointer-events: none;
}

.ta-signin__bubble::after
{
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border: 0.375rem solid transparent;
  border-top-color: var(--heading-color);
  transform: translateX(-50%);
  content: '';
}

.ta-signin__bubble.is-shown
{
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

@media (prefers-reduced-motion: reduce)
{
  .ta-signin__bubble
  {
    transition: opacity 0.18s;
    transform: translate(-50%, 0);
  }
}

.ta-signin__code:focus-visible
{
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.ta-signin__copy
{
  display: inline-flex;
  color: var(--accent-text-primary);
}

.ta-signin__copy .ta-icon
{
  width: 1.25rem;
  height: 1.25rem;
}

.ta-signin__copy .ta-icon:nth-of-type(2),
.ta-signin__code.is-copied .ta-signin__copy .ta-icon:nth-of-type(1)
{
  display: none;
}

.ta-signin__code.is-copied .ta-signin__copy .ta-icon:nth-of-type(2)
{
  display: block;
  color: var(--accent-text-success);
}

.ta-signin__qr
{
  width: 10rem;
  max-width: 100%;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: #ffffff;
}

.ta-signin__qr svg
{
  display: block;
  width: 100%;
  height: auto;
}

/* Dark on light whatever the theme: a phone reads it */
.ta-signin__light
{
  fill: #ffffff;
}

.ta-signin__dark
{
  fill: #1c1917;
}

/* Its time, on top: a ring that empties and the minutes left, in a pill; then, over, that it no longer works */
.ta-signin__timer,
.ta-signin__expired
{
  flex-basis: 100%;
  margin: 0;
}

.ta-signin__clock
{
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 1rem 0.375rem 0.375rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  color: var(--heading-color);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.ta-signin__ring
{
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  transform: rotate(-90deg);
}

.ta-signin__ring circle
{
  fill: none;
  stroke-width: 4;
}

.ta-signin__ring-track
{
  stroke: var(--accent-tint);
}

.ta-signin__ring-left
{
  stroke: var(--primary);
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear, stroke 0.4s;
}

.ta-signin__ring-left.is-reset
{
  transition: none;
}

/* The last minute: the ring and the words in the colour of a warning */
.ta-signin__timer.is-ending .ta-signin__ring-left
{
  stroke: var(--warning);
}

.ta-signin__timer.is-ending .ta-signin__clock
{
  color: var(--accent-text-warning);
}

.ta-signin__expired
{
  color: var(--accent-text-danger);
  font-weight: 600;
}

.ta-signin__note
{
  flex-basis: 100%;
  margin: 0;
}

.ta-signin .ta-actions
{
  flex-basis: 100%;
  margin: 0;
}

/* ------------------------------------------------------------------ « Abonnement » (subscription.ts) */

.ta-current__plan
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin: 0.25rem 0 0;
  font-size: 1.125rem;
}

.ta-panel p.ta-current__plan
{
  margin-bottom: 0.25rem;
}

.ta-current__state
{
  font-size: 0.875rem;
}

.ta-chip
{
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
}

.ta-chip--ok
{
  background: color-mix(in srgb, var(--success) 14%, transparent);
  color: var(--accent-text-success);
}

.ta-chip--warn
{
  background: color-mix(in srgb, var(--warning) 14%, transparent);
  color: var(--accent-text-warning);
}

.ta-plans-title
{
  margin: 2rem 0 1rem;
}

.ta-plans
{
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
  max-width: 52rem;
}

.ta-plan
{
  display: flex;
  flex: 1 1 15rem;
  flex-direction: column;
  max-width: 24rem;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

/* The offer of the account: in the language of a state (green), never the accent of the brand */
.ta-plan.is-current
{
  border-color: color-mix(in srgb, var(--success) 45%, var(--border));
  background: color-mix(in srgb, var(--success) 5%, var(--bg-card));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 14%, transparent);
}

.ta-plan.is-recommended
{
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-elevated);
}

.ta-plan__head
{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.ta-plan__name
{
  margin: 0;
  color: var(--heading-color);
  font-size: 1rem;
  font-weight: 700;
}

.ta-plan__badge
{
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5625rem;
  border: 1px solid color-mix(in srgb, var(--success) 35%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--success) 14%, transparent);
  color: var(--accent-text-success);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.ta-plan__badge--recommended
{
  border-color: transparent;
  background: var(--wac-cta);
  color: #ffffff;
}

.ta-plan__price
{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0;
}

.ta-plan__amount
{
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ta-plan__per
{
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.ta-plan__people
{
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.ta-plan__feats
{
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4375rem;
  margin: 0.875rem 0 1rem;
  padding: 0.875rem 0 0;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  list-style: none;
}

.ta-plan__feats li
{
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.ta-plan__mark
{
  flex: 0 0 auto;
  color: var(--accent-text-success);
  font-weight: 700;
}

.ta-plan__cta
{
  margin: 0;
}

.ta-plan__note
{
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* ------------------------------------------------------------------ « Mes factures » (data-table.ts) */

.ta-table-card
{
  max-width: 52rem;
  padding: 0.5rem 0.75rem;
  overflow-x: auto;
}

.ta-table
{
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  color: var(--text);
  font-size: 0.875rem;
}

.ta-table thead th
{
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.ta-table tbody td
{
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.ta-table tbody tr:last-child td
{
  border-bottom: 0;
}

.ta-table tbody tr:hover td
{
  background: rgba(var(--primary-rgb), 0.05);
}

.ta-table .ta-num
{
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.ta-table .ta-strong
{
  font-weight: 600;
}

.ta-table__link
{
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--accent-text-primary);
  font-weight: 600;
  white-space: nowrap;
}

.ta-table__link:hover
{
  text-decoration: underline;
}

.ta-table__link .ta-icon
{
  width: 0.875rem;
  height: 0.875rem;
}

/* A phone: each row a small card, its labels before its values */
@media (max-width: 40rem)
{
  .ta-table-card
  {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .ta-table thead
  {
    display: none;
  }

  .ta-table,
  .ta-table tbody,
  .ta-table tr,
  .ta-table td
  {
    display: block;
  }

  .ta-table tr
  {
    margin: 0 0 0.75rem;
    padding: 0.5rem 0;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: var(--bg-card);
  }

  .ta-table tbody td
  {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.375rem 1rem;
    border: 0;
  }

  .ta-table td[data-label]::before
  {
    content: attr(data-label);
    color: var(--text-muted);
    font-weight: 600;
  }
}

/* ------------------------------------------------------------------ « Nous contacter » (contact.ts) */

.ta-contact
{
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-width: 28rem;
}

.ta-contact select,
.ta-contact textarea
{
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  background: var(--ui-field-bg);
  color: var(--text);
  font: inherit;
}

.ta-contact select
{
  appearance: auto;
}

.ta-contact textarea
{
  min-height: 9rem;
  line-height: 1.5;
  resize: vertical;
}

.ta-contact select:focus,
.ta-contact textarea:focus
{
  border-color: var(--ui-field-border-focus);
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.ta-contact__reply
{
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.ta-contact .ta-actions
{
  margin-top: 0.25rem;
}

/* ------------------------------------------------------------------ the door (login.ts) */

.ta-door-page
{
  min-height: 100vh;
}

.ta-door
{
  position: relative;
  display: grid;
  grid-template-columns: clamp(20rem, 32vw, 27rem) 1fr;
  min-height: 100vh;
}

/* The languages: at the top right, facing the logo. Tempo's switch (menu/lang-switch.css, copied as
   is by the public site), its colours given through its --wpl-* variables, never by a rule of it */
.ta-door__lang
{
  position: absolute;
  z-index: 3;
  top: 1.25rem;
  right: 1.25rem;
  --wpl-radius: 0.5rem;
  --wpl-color: var(--text-muted);
  --wpl-hover: var(--text);
  --wpl-pop-bg: var(--bg-card);
  --wpl-pop-border: var(--border);
  --wpl-pop-radius: 0.75rem;
  --wpl-pop-shadow: var(--shadow-elevated);
  --wpl-item-color: var(--text);
  --wpl-item-radius: 0.5rem;
  --wpl-item-hover: var(--bg-card-hover);
  --wpl-accent: var(--accent-text-primary);
}

/* The panel of the brand: flat brown, the rail of the brand at its seam */
.ta-door__brand
{
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-rows: auto 1fr auto auto;
  gap: 2rem;
  padding: 3rem;
  background: var(--wac-prune-deep);
  color: #ffffff;
}

.ta-door__brand::before
{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  background: var(--wac-rail);
}

.ta-door__inner
{
  align-self: center;
}

.ta-door__art
{
  display: block;
  width: min(15rem, 80%);
  height: auto;
  margin: 0 0 1.5rem;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35));
}

.ta-door__pitch
{
  margin: 0 0 0.75rem;
  color: #ffffff;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-wrap: balance;
}

.ta-door__price
{
  margin: 0 0 0.75rem;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ta-door__cadence
{
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  font-weight: 500;
}

.ta-door__sub
{
  max-width: 21rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* The offer on the page of purchase: what it gives, what it commits to, who sells */
.ta-door__feats
{
  display: grid;
  gap: 0.4375rem;
  margin: 0 0 1rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  list-style: none;
}

.ta-door__feats li
{
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.ta-door__feats .ta-plan__mark
{
  color: var(--wac-amber);
}

.ta-door__brand .ta-door__sub + .ta-door__sub
{
  margin-top: 0.5rem;
}

.ta-door__other
{
  display: inline-block;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ta-door__why
{
  display: inline-block;
  margin-top: 0.75rem;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ta-door__why:hover,
.ta-door__other:hover
{
  color: #ffffff;
}

.ta-door__made
{
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
}

.ta-door__seller
{
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.ta-door__legal
{
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin-top: -1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.ta-door__legal a
{
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
}

.ta-door__legal a .ta-icon
{
  width: 10px;
  height: 10px;
  opacity: 0.55;
}

.ta-door__legal a:hover
{
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.ta-door__brand a:focus-visible
{
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.ta-door__legal--mobile,
.ta-door__why--mobile
{
  display: none;
}

/* The column of the form */
.ta-door__col
{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

.ta-door__wrap
{
  width: 100%;
  max-width: 21rem;
}

.ta-door__wrap--wide
{
  max-width: 30rem;
}

/* The logo above the form when the panel is gone (a phone) */
.ta-door__form-brand
{
  display: none;
  margin-bottom: 2.5rem;
}

.ta-door__title
{
  margin: 0 0 1.75rem;
  color: var(--heading-color);
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.ta-door__title + .ta-door__lede
{
  margin-top: -1.25rem;
}

.ta-door__lede
{
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.ta-door__fields
{
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.ta-door__fields .ta-input
{
  height: 3.25rem;
  padding: 0 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  transition: border-color 0.22s ease-out, background-color 0.22s ease-out, box-shadow 0.22s ease-out;
}

.ta-door__fields .ta-input:hover:not(:focus)
{
  border-color: rgba(var(--primary-rgb), 0.32);
  background: var(--bg-card-hover);
}

.ta-door__fields .ta-input:focus
{
  border-color: var(--ui-field-border-focus);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.ta-door__submit
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3.25rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: 0.75rem;
  background: var(--wac-cta);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: filter 0.15s;
}

.ta-door__submit:hover:not(:disabled)
{
  filter: brightness(1.07);
}

.ta-door__submit:focus-visible
{
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.ta-door__submit:disabled,
.ta-door__submit[aria-busy='true']
{
  cursor: default;
  opacity: 0.72;
  filter: none;
}

.ta-door__wrap .ta-error,
.ta-door__wrap .ta-status
{
  margin: 0.75rem 0 0;
}

.ta-door__wrap .ta-status
{
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 0.75rem;
  background: rgba(22, 163, 74, 0.08);
  font-size: 0.8125rem;
}

.ta-door__wrap .ta-error
{
  border-radius: 0.75rem;
}

.ta-door__wrap .ta-flashes
{
  margin-bottom: 1.25rem;
}

.ta-door__forgot
{
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  text-align: right;
}

.ta-door__alt
{
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.ta-door__forgot a,
.ta-door__alt a
{
  color: var(--accent-text-primary);
  font-weight: 600;
}

.ta-door__forgot a:hover,
.ta-door__alt a:hover
{
  text-decoration: underline;
}

/* The steps of the purchase in the column */
.ta-door__wrap .ta-steplist__item
{
  padding: 1rem;
}

.ta-door__wrap .ta-form
{
  max-width: none;
}

@media (max-width: 44rem)
{
  .ta-door
  {
    grid-template-columns: 1fr;
  }

  .ta-door__brand
  {
    display: none;
  }

  .ta-door__form-brand
  {
    display: block;
  }

  .ta-door__col
  {
    align-items: flex-start;
    padding: 3.5rem 16px 2.5rem;
  }

  .ta-door__why--mobile
  {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--accent-text-primary);
  }

  .ta-door__legal--mobile
  {
    display: flex;
    margin: 1.25rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
  }

  .ta-door__legal--mobile a
  {
    color: var(--text-muted);
  }

  .ta-door__legal--mobile a:hover
  {
    color: var(--text);
  }

  /* The offer, under the steps when the panel is gone */
  .ta-door__offer-mobile
  {
    display: block;
  }
}

.ta-door__offer-mobile
{
  display: none;
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-card);
  font-size: 0.875rem;
}

.ta-door__offer-mobile .ta-plan__feats
{
  margin-bottom: 0.5rem;
}

/* Last, and as specific as one class: an element with `hidden` stays hidden whatever its display */
[hidden]
{
  display: none;
}
