/* MoveConsole — /login: the sign-in page (owner, Oct 7 2026; the site's "Log in" since Oct 19 2026).
   No site header or footer: the form on a white column, and on wide screens a navy showcase with the real dashboard
   (a data-ui snapshot) tilted in depth, three floating notes and a slow aurora behind. Sign in asks for the company's
   address only (AUTH_PLAN 1г, Oct 31 2026): assets/login.js checks it with the app and opens that company's own
   sign-in page, where the team signs in with an emailed code. The password-era rules below (.lgn-check, .lgn-row,
   .lgn-note) stay for the local _start.html mock, which is built on this file. */

.lgn{ --ink-s: #4a5160; --hair: #e3e6ec; --field: #dcdfe5; background: #fff; }
/* a class that sets display (the steps are grids) would otherwise show a part the script has hidden */
.lgn [hidden]{ display: none !important; }
/* --z is the page's zoom (set on <html> by the head script and assets/login.js). Zoom scales viewport units too, so
   anything a window tall divides by it to stay a window tall. */
.lgn-wrap{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: calc(100vh / var(--z, 1)); min-height: calc(100svh / var(--z, 1)); }

/* ---------- the form column ---------- */
/* minmax(0, 1fr): an auto column would grow to the fields' natural width and push the page sideways on phones */
.lgn-form-col{ display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: 28px clamp(24px, 4vw, 64px); }
.lgn-top{ display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lgn-top .brand svg{ width: 168px; height: 25px; color: var(--navy); }
.lgn-back{ display: inline-flex; align-items: center; gap: 8px; color: var(--ink-s); font: 500 14px/1 var(--font-ui); transition: color .2s; }
.lgn-back:hover{ color: var(--blue-600); }
.lgn-back .ico{ width: 15px; height: 15px; transform: scaleX(-1); }

.lgn-center{ align-self: center; width: 100%; max-width: 420px; margin: 0 auto; padding: 44px 0; }
.lgn-pill{ display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; background: #f6f7f9; box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink-s); font: 500 12.5px/1 var(--font-ui); }
.lgn-pill i{ width: 7px; height: 7px; border-radius: 50%; background: #12916f; box-shadow: 0 0 0 3px rgba(18, 145, 111, .16); }
.lgn-center h1{ margin: 20px 0 10px; color: var(--navy); font: 600 clamp(38px, 3.4vw, 48px)/1.02 var(--font); letter-spacing: -.04em; }
.lgn-sub{ margin: 0 0 30px; color: var(--ink-s); font-size: 16.5px; line-height: 1.5; }

.lgn-form{ display: grid; gap: 16px; }
.lgn-f{ display: grid; gap: 7px; }
.lgn-f label, .lgn-row label{ color: var(--navy); font: 500 13.5px/1.2 var(--font-ui); }
.lgn-row{ display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lgn-link{ padding: 0; border: 0; background: none; color: var(--blue-600); font: 500 13px/1 var(--font-ui); cursor: pointer; }
.lgn-link:hover{ text-decoration: underline; text-underline-offset: 3px; }
.lgn-in{ position: relative; display: flex; align-items: center; height: 52px; border: 1px solid var(--field); border-radius: 13px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.lgn-in:focus-within{ border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.lgn-in > .ico{ flex: none; width: 18px; height: 18px; margin: 0 2px 0 15px; color: #a3a8b2; transition: color .2s; }
.lgn-in:focus-within > .ico{ color: var(--blue); }
.lgn-in input{ flex: 1 1 0; width: 100%; min-width: 0; height: 100%; padding: 0 14px 0 10px; border: 0; background: transparent; color: var(--ink); font: 400 16px/1 var(--font-ui); outline: none; }
.lgn-in input::placeholder{ color: #a3a8b2; }
.lgn-addr span{ flex: none; height: 100%; display: grid; place-items: center; padding: 0 14px; border-left: 1px solid var(--field); border-radius: 0 12px 12px 0; background: #f6f7f9; color: var(--ink-s); font: 500 14.5px/1 var(--font-ui); }
.lgn-eye{ flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: 4px; border: 0; border-radius: 10px; background: none; color: #a3a8b2; cursor: pointer; transition: color .2s, background-color .2s; }
.lgn-eye:hover{ color: var(--navy); background: #f6f7f9; }
.lgn-eye svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lgn-eye .off{ display: none; }
.lgn-eye.is-on .on{ display: none; }
.lgn-eye.is-on .off{ display: block; }
.lgn-hint{ color: var(--muted); font-size: 12.5px; line-height: 1.4; }

.lgn-check{ display: inline-flex; align-items: center; gap: 10px; color: var(--ink-s); font: 400 14px/1.3 var(--font-ui); cursor: pointer; user-select: none; }
.lgn-check input{ position: absolute; width: 1px; height: 1px; opacity: 0; }
.lgn-check span{ display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--field); transition: background-color .2s, box-shadow .2s; }
.lgn-check input:checked + span{ background: var(--blue); box-shadow: none; }
.lgn-check input:checked + span::after{ content: ""; width: 11px; height: 11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.lgn-check input:focus-visible + span{ outline: 2px solid var(--blue); outline-offset: 2px; }
.lgn-submit{ width: 100%; min-width: 0; height: 54px; margin-top: 4px; border-radius: 14px; font-size: 17px; }

/* a field with a problem: red edge, the message under it (assets/login.js) */
.lgn-in.is-bad{ border-color: #d4473f; }
.lgn-in.is-bad:focus-within{ box-shadow: 0 0 0 4px rgba(212, 71, 63, .14); }
.lgn-in.is-bad > .ico{ color: #d4473f; }
.lgn-err{ margin: 0; color: #b42318; font: 500 13px/1.35 var(--font-ui); }
.lgn-note{ margin: 2px 0 0; padding: 10px 12px; border-radius: 11px; background: #f6f7f9; color: var(--ink-s); font: 400 13px/1.45 var(--font-ui); }
/* on its way to the company's own sign-in page; a long address ends in "…" rather than widening the button */
.lgn-submit[disabled]{ cursor: progress; }
.lgn-go{ min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lgn-spin{ flex: none; width: 16px; height: 16px; box-sizing: border-box; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: lgn-spin .7s linear infinite; }
@keyframes lgn-spin{ to{ transform: rotate(360deg); } }

/* ---------- sign in: the company's address, the companies on this device, "find my company" ---------- */
/* a message under a field (or over the form): always in the page, so screen readers read out what's put in it;
   empty, it takes no room — under a field it gives back the field's 7px gap */
.lgn-f > .lgn-live:empty{ margin-top: -7px; }
#lgn-saved-msg:not(:empty){ margin: -6px 0 18px; }
.lgn-live .lgn-link{ font-size: inherit; line-height: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lgn-live b{ font-weight: 600; overflow-wrap: anywhere; }
.lgn-info{ margin: 0; color: var(--ink-s); font: 400 13.5px/1.45 var(--font-ui); }
.lgn-turn{ display: block; margin: 18px auto 0; font-size: 14px; line-height: 1.3; }
.lgn-sr{ position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.in-view.is-new{ animation: up-in .35s var(--ease); }
.in-view h1{ outline: none; }

/* a company opened from this device before: one tap to its sign-in, × forgets it here */
.lgn-cos{ display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lgn-co{ display: flex; align-items: stretch; border: 1px solid var(--field); border-radius: 15px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.lgn-co:hover{ border-color: #c3c9d3; }
.lgn-co:has(.lgn-co-go:focus-visible){ border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.lgn-co-go{ flex: 1; min-width: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 14px; padding: 12px 12px 12px 12px; border: 0; border-radius: 14px 0 0 14px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lgn-co-go:focus-visible{ outline: none; }
.lgn-co-ini{ display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--blue-50); color: var(--blue); font: 600 14px/1 var(--font); letter-spacing: .02em; }
.lgn-co-t{ min-width: 0; }
.lgn-co-t b{ display: block; color: var(--navy); font: 600 15px/1.3 var(--font-ui); overflow-wrap: anywhere; }
.lgn-co-t small{ display: block; margin-top: 2px; overflow: hidden; color: var(--ink-s); font: 400 13px/1.35 var(--font-ui); text-overflow: ellipsis; white-space: nowrap; }
.lgn-co-go > .ico{ width: 18px; height: 18px; color: #a3a8b2; transition: color .2s, transform .35s var(--ease); }
.lgn-co-go:hover > .ico{ color: var(--blue); transform: translateX(3px); }
/* on its way: the arrow turns into a spinner */
.lgn-co-go[aria-busy="true"]{ cursor: progress; }
.lgn-co-go[aria-busy="true"] > .ico{ display: none; }
.lgn-co-go[aria-busy="true"]::after{ content: ""; width: 16px; height: 16px; box-sizing: border-box; border: 2px solid rgba(6, 26, 63, .16); border-top-color: var(--navy); border-radius: 50%; animation: lgn-spin .7s linear infinite; }
.lgn-co-x{ flex: none; display: grid; place-items: center; width: 46px; border: 0; border-left: 1px solid var(--hair); border-radius: 0 14px 14px 0; background: none; color: #a3a8b2; cursor: pointer; transition: color .2s, background-color .2s; }
.lgn-co-x:hover{ background: #f6f7f9; color: var(--navy); }
.lgn-co-x:focus-visible{ outline-offset: -4px; border-radius: 0 14px 14px 0; }
.lgn-co-x .ico{ width: 16px; height: 16px; }
.lgn-or.lgn-or-s{ margin: 20px 0 18px; }

/* sent: the same words whether the email is on a team or not */
.lgn-sent:not([hidden]){ display: grid; justify-items: start; gap: 14px; padding-top: 22px; }
.lgn-sent h1{ margin: 6px 0 0; outline: none; }
.lgn-sent .lgn-sub{ margin: 0; }
.lgn-sent .lgn-sub b{ color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.lgn-fine{ margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.lgn-sent-act{ display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.lgn-sent-act .btn{ height: 54px; padding: 0 26px; border-radius: 14px; font-size: 17px; }

/* ---------- sign in | create account ---------- */
.lgn-mode{ position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 300px; padding: 4px; border-radius: 999px; background: #f1f3f6; box-shadow: inset 0 0 0 1px var(--hair); }
.lgn-mode::before{ content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #fff;
  box-shadow: 0 1px 2px rgba(6, 26, 63, .08), 0 6px 14px -6px rgba(6, 26, 63, .2); transition: transform .35s var(--ease); }
.lgn-wrap[data-mode="up"] .lgn-mode::before{ transform: translateX(100%); }
.lgn-mode button{ position: relative; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--ink-s); font: 500 14px/1 var(--font-ui); cursor: pointer; transition: color .25s; }
.lgn-mode button:hover{ color: var(--navy); }
.lgn-mode button[aria-selected="true"]{ color: var(--navy); font-weight: 600; }
.lgn-mode button:focus-visible{ outline: 2px solid var(--blue); outline-offset: 2px; }
/* the create-account steps sit in the middle of the window's height like sign in does (owner, Nov 1 2026: «должно все
   быть по середине по высоте»), each step re-centring. On a window shorter than the page, assets/login.js shrinks the
   whole column in proportion (CSS zoom) so it fits. */

/* ---------- create account ---------- */
/* no step counter and no page title on screen: each step's heading is the title, with one short line under it */
.up-sr{ position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.up-form{ display: grid; }
.up-step{ display: grid; gap: 16px; }
.up-step:not([hidden]){ animation: up-in .35s var(--ease); }
@keyframes up-in{ from{ opacity: 0; transform: translateY(8px); } }
.up-step h2{ margin: 26px 0 0; color: var(--navy); font: 600 clamp(30px, 2.5vw, 36px)/1.08 var(--font); letter-spacing: -.035em; outline: none; }
.up-lead{ margin: -8px 0 6px; color: var(--ink-s); font-size: 16px; line-height: 1.5; }

/* monthly | yearly */
.up-bill{ display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 13px; background: #f1f3f6; }
.up-bill label{ position: relative; cursor: pointer; }
.up-bill input, .up-plan input, .up-opt input{ position: absolute; width: 1px; height: 1px; opacity: 0; }
.up-bill span{ display: flex; align-items: center; justify-content: center; gap: 7px; height: 38px; border-radius: 10px; color: var(--ink-s); font: 500 14px/1 var(--font-ui); transition: background-color .2s, color .2s, box-shadow .2s; }
.up-bill em{ padding: 4px 7px; border-radius: 999px; background: #e3f6ec; color: #12795c; font: 600 11px/1 var(--font-ui); font-style: normal; }
.up-bill input:checked + span{ background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 1px 2px rgba(6, 26, 63, .08), 0 6px 14px -8px rgba(6, 26, 63, .25); }
.up-bill input:focus-visible + span{ outline: 2px solid var(--blue); outline-offset: 2px; }

/* the plans: four bars for the size of the fleet, the price on the right */
.up-plans{ display: grid; gap: 10px; }
.up-plan{ position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 16px 13px 13px; border: 1px solid var(--field); border-radius: 15px; background: #fff;
  cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.up-plan:hover{ border-color: #c3c9d3; }
.up-plan:has(input:checked){ border-color: var(--blue); background: #f7faff; box-shadow: 0 0 0 4px var(--blue-100); }
.up-plan:has(input:focus-visible){ outline: 2px solid var(--blue); outline-offset: 3px; }
.up-bars{ display: flex; align-items: flex-end; justify-content: center; gap: 3px; width: 40px; height: 40px; padding: 10px 0 11px; box-sizing: border-box; border-radius: 11px; background: #f2f4f7; transition: background-color .2s; }
.up-bars i{ width: 4px; border-radius: 2px; background: #d3d8e0; transition: background-color .2s; }
.up-bars i:nth-child(1){ height: 6px; } .up-bars i:nth-child(2){ height: 10px; } .up-bars i:nth-child(3){ height: 14px; } .up-bars i:nth-child(4){ height: 19px; }
.up-bars[data-n="1"] i:nth-child(-n+1), .up-bars[data-n="2"] i:nth-child(-n+2), .up-bars[data-n="3"] i:nth-child(-n+3), .up-bars[data-n="4"] i{ background: var(--navy); }
.up-plan:has(input:checked) .up-bars{ background: var(--blue); }
.up-plan:has(input:checked) .up-bars i{ background: rgba(255, 255, 255, .38); }
.up-plan:has(input:checked) .up-bars[data-n="1"] i:nth-child(-n+1), .up-plan:has(input:checked) .up-bars[data-n="2"] i:nth-child(-n+2),
.up-plan:has(input:checked) .up-bars[data-n="3"] i:nth-child(-n+3), .up-plan:has(input:checked) .up-bars[data-n="4"] i{ background: #fff; }
.up-plan-t{ min-width: 0; }
.up-plan-t b{ display: block; color: var(--navy); font: 600 15.5px/1.2 var(--font-ui); }
.up-plan-t small{ display: block; margin-top: 3px; color: var(--ink-s); font: 400 13px/1.3 var(--font-ui); }
.up-plan-p{ display: grid; justify-items: end; gap: 4px; text-align: right; white-space: nowrap; }
.up-amt{ display: flex; align-items: baseline; gap: 2px; }
.up-plan-p b{ color: var(--navy); font: 600 21px/1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.up-plan-p small{ color: var(--ink-s); font: 500 12.5px/1 var(--font-ui); }
.up-plan-p em{ color: #12795c; font: 500 11.5px/1.2 var(--font-ui); font-style: normal; }
.up-incl{ display: grid; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.up-incl li{ display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 9px; color: var(--ink-s); font: 400 13.5px/1.45 var(--font-ui); }
.up-incl .ico{ width: 16px; height: 16px; margin-top: 2px; color: #12916f; stroke-width: 2.4; }

/* how their data comes in */
.up-opts{ display: grid; gap: 8px; margin: 2px 0 0; padding: 0; border: 0; }
.up-opts legend{ margin-bottom: 8px; padding: 0; color: var(--navy); font: 500 13.5px/1.2 var(--font-ui); }
.up-opt{ position: relative; display: block; cursor: pointer; }
.up-opt > span{ display: grid; gap: 3px; padding: 12px 44px 12px 14px; border: 1px solid var(--field); border-radius: 13px; background: #fff; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.up-opt > span::after{ content: ""; position: absolute; top: 50%; right: 14px; width: 18px; height: 18px; margin-top: -9px; box-sizing: border-box; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--field); transition: box-shadow .2s; }
.up-opt:hover > span{ border-color: #c3c9d3; }
.up-opt input:checked + span{ border-color: var(--blue); background: #f7faff; box-shadow: 0 0 0 4px var(--blue-100); }
.up-opt input:checked + span::after{ box-shadow: inset 0 0 0 5.5px var(--blue); }
.up-opt input:focus-visible + span{ outline: 2px solid var(--blue); outline-offset: 3px; }
.up-opt b{ color: var(--navy); font: 600 14.5px/1.25 var(--font-ui); }
.up-opt small{ color: var(--ink-s); font: 400 13px/1.35 var(--font-ui); }

.lgn-hint b{ color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }

/* password strength: three bars and a word */
.up-meter{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: center; gap: 6px; }
.up-meter i{ height: 4px; border-radius: 4px; background: var(--hair); transition: background-color .25s; }
.up-meter[data-lv="1"] i:nth-child(1){ background: #d4473f; }
.up-meter[data-lv="2"] i:nth-child(-n+2){ background: #d99a06; }
.up-meter[data-lv="3"] i{ background: #12916f; }
.up-meter span{ min-width: 92px; color: var(--muted); font: 500 12px/1 var(--font-ui); text-align: right; }

/* review */
.up-sum{ margin: 0; border: 1px solid var(--hair); border-radius: 15px; }
.up-sum > div{ display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 13px 16px; }
.up-sum > div + div{ border-top: 1px solid var(--hair); }
.up-sum dt{ color: var(--muted); font: 500 12.5px/1.35 var(--font-ui); }
.up-sum dd{ margin: 0; min-width: 0; color: var(--navy); font: 500 14.5px/1.4 var(--font-ui); overflow-wrap: anywhere; }
.up-sum dd small{ display: block; color: var(--ink-s); font: 400 13px/1.4 var(--font-ui); }
.up-get{ display: grid; gap: 8px; }
.up-get div{ display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; background: #f8f9fb; }
.up-get i{ display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--hair); color: var(--blue); }
.up-get i .ico{ width: 17px; height: 17px; }
.up-get p{ margin: 0; color: var(--ink-s); font-size: 13.5px; line-height: 1.45; }
.up-get b{ color: var(--navy); font-weight: 600; }

.up-nav{ display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.up-back{ flex: none; display: inline-flex; align-items: center; gap: 7px; height: 54px; padding: 0 16px; border: 0; border-radius: 14px; background: none; color: var(--ink-s); font: 500 15px/1 var(--font-ui); cursor: pointer; transition: background-color .2s, color .2s; }
.up-back:hover{ background: #f4f5f8; color: var(--navy); }
.up-back:focus-visible{ outline: 2px solid var(--blue); outline-offset: 2px; }
.up-back .ico{ width: 16px; height: 16px; transform: scaleX(-1); }
.up-go{ flex: 1; min-width: 0; height: 54px; border-radius: 14px; font-size: 17px; }
.up-legal{ margin: 12px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; text-align: center; }
.up-legal a{ color: var(--ink-s); text-decoration: underline; text-underline-offset: 2px; }
.up-legal a:hover{ color: var(--blue-600); }

/* after "Create account" */
.up-done{ display: grid; justify-items: start; gap: 16px; padding-top: 26px; }
.up-done:not([hidden]){ animation: up-in .45s var(--ease); }
.up-done-ic{ display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: var(--blue-50); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue-100); }
.up-done-ic .ico{ width: 24px; height: 24px; }
.up-done h2{ margin: 4px 0 0; color: var(--navy); font: 600 clamp(30px, 2.8vw, 36px)/1.06 var(--font); letter-spacing: -.035em; outline: none; }
.up-done > p{ margin: 0; color: var(--ink-s); font-size: 16px; line-height: 1.55; }
.up-done > p b{ color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.up-done-card{ display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 14px; width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--hair); border-radius: 15px; }
.up-done-card .up-bars{ background: var(--blue); }
.up-done-card .up-bars i{ background: rgba(255, 255, 255, .38); }
.up-done-card .up-bars[data-n="1"] i:nth-child(-n+1), .up-done-card .up-bars[data-n="2"] i:nth-child(-n+2), .up-done-card .up-bars[data-n="3"] i:nth-child(-n+3), .up-done-card .up-bars[data-n="4"] i{ background: #fff; }
.up-done-card b{ display: block; color: var(--navy); font: 600 15px/1.3 var(--font-ui); overflow-wrap: anywhere; }
.up-done-card small{ display: block; margin-top: 2px; color: var(--ink-s); font: 400 13px/1.35 var(--font-ui); }
.up-done-act{ display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.up-done-act .btn{ height: 54px; padding: 0 26px; border-radius: 14px; font-size: 17px; }
.up-fine{ margin: 0; color: var(--muted); font-size: 12.5px; }

/* ---------- create account, the live sign-up (AUTH_PLAN 2б) ---------- */
/* 16+ trucks: a call, not a card */
.up-big{ margin: -4px 0 0; color: var(--ink-s); font: 400 13.5px/1.45 var(--font-ui); }
.up-big a{ color: var(--blue-600); font-weight: 600; }
.up-big a:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* the workspace's address, made from the name and checked with the app as it's typed: checking (a spinner), free (a
   green tick), taken or not allowed (red, the nearest free one a tap away) */
.up-addr{ display: grid; gap: 14px; padding: 14px; border-radius: 15px; background: #f6f8fb; box-shadow: inset 0 0 0 1px var(--hair); transition: background-color .25s, box-shadow .25s; }
.up-addr-row{ display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.up-addr-ic{ position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--hair); color: var(--blue); transition: background-color .25s, color .25s, box-shadow .25s; }
.up-addr-ic .ico{ width: 18px; height: 18px; transition: opacity .2s; }
.up-addr-t{ min-width: 0; }
.up-addr-t b{ display: block; color: var(--navy); font: 600 15px/1.3 var(--font-ui); overflow-wrap: anywhere; }
.up-addr-t small{ display: block; margin-top: 2px; color: var(--ink-s); font: 400 13px/1.35 var(--font-ui); }
.up-addr-edit{ padding: 8px 2px; font-size: 13.5px; }
.up-addr[data-state="checking"] .up-addr-ic .ico{ opacity: 0; }
.up-addr[data-state="checking"] .up-addr-ic::after{ content: ""; position: absolute; width: 16px; height: 16px; box-sizing: border-box; border: 2px solid var(--blue-100); border-top-color: var(--blue); border-radius: 50%; animation: lgn-spin .7s linear infinite; }
.up-addr[data-state="free"]{ background: #f1faf5; box-shadow: inset 0 0 0 1px #bfe6d1; }
.up-addr[data-state="free"] .up-addr-ic{ background: #12916f; box-shadow: none; color: #fff; animation: up-pop .3s var(--ease); }
.up-addr[data-state="free"] .up-addr-t small{ color: #12795c; font-weight: 500; }
.up-addr[data-state="taken"], .up-addr[data-state="bad"]{ background: #fef6f5; box-shadow: inset 0 0 0 1px #f4cbc7; }
.up-addr[data-state="taken"] .up-addr-ic, .up-addr[data-state="bad"] .up-addr-ic{ background: #d4473f; box-shadow: none; color: #fff; }
.up-addr[data-state="taken"] .up-addr-t small, .up-addr[data-state="bad"] .up-addr-t small{ color: #b42318; font-weight: 500; }
.up-try{ justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 38px; margin-top: -4px; padding: 0 14px 0 12px; border: 0; border-radius: 999px; background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-100); color: var(--blue-600); font: 500 13.5px/1 var(--font-ui); cursor: pointer; transition: background-color .2s; }
.up-try:hover{ background: var(--blue-100); }
.up-try:focus-visible{ outline: 2px solid var(--blue); outline-offset: 2px; }
.up-try .ico{ width: 15px; height: 15px; stroke-width: 2.4; }
.up-try b{ font-weight: 600; }
@keyframes up-pop{ 50%{ transform: scale(1.08); } }

/* the email step's three faces (the email, its code, "you already have a workspace") share one section */
.up-v{ display: grid; gap: 16px; }
.up-v:not([hidden]){ animation: up-in .35s var(--ease); }
.up-lead b{ color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.up-lead .lgn-link{ font-size: 14.5px; }
.up-hp{ position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
/* Cloudflare's check: takes no room, its row's gap included, until Cloudflare asks for the click; then its checkbox shows
   under the email until it's answered (owner, Nov 7; assets/login.js) */
.up-human{ min-width: 0; height: 0; margin-top: -16px; overflow: hidden; }
.up-human.is-asking{ height: auto; margin-top: 0; overflow: visible; }

/* the code: one field (paste, the phone's own code suggestion) drawn as six boxes; the box being typed in is lit */
.lgn-in.up-code, .lgn-in.up-code:focus-within, .lgn-in.up-code.is-bad:focus-within{ display: block; height: auto; border: 0; background: none; box-shadow: none; }
.up-code input{ position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; color: transparent; caret-color: transparent; letter-spacing: 0; cursor: text; }
.up-code input::selection{ background: transparent; }
.up-code-box{ display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.up-code-box i{ display: grid; place-items: center; height: 62px; border: 1px solid var(--field); border-radius: 14px; background: #fff; color: var(--navy); font: 600 28px/1 var(--font); font-style: normal; font-variant-numeric: tabular-nums; transition: border-color .2s, box-shadow .2s, background-color .2s, color .2s; }
.up-code:focus-within .up-code-box i.is-at{ border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.up-code-box i.is-on{ animation: up-pop .2s var(--ease); }
.up-code.is-bad .up-code-box i{ border-color: #d4473f; }
.up-code.is-ok .up-code-box i{ border-color: #12916f; background: #f1faf5; color: #0d6b4f; }
.up-code.is-busy .up-code-box i{ opacity: .6; }
.up-code.is-shake{ animation: up-shake .4s; }
@keyframes up-shake{ 20%, 60%{ transform: translateX(-6px); } 40%, 80%{ transform: translateX(6px); } }
.up-resend{ margin: -4px 0 0; color: var(--muted); font: 400 13.5px/1.4 var(--font-ui); }
.up-resend .lgn-link{ font-size: 13.5px; }
.up-resend .lgn-link[disabled]{ color: var(--muted); cursor: default; text-decoration: none; }

/* this email is on a team already: its workspaces, a sign-in each */
.up-exist{ display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.up-exist li{ display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; border: 1px solid var(--field); border-radius: 15px; background: #fff; }
.up-exist-ini{ display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--blue-50); color: var(--blue); font: 600 14px/1 var(--font); letter-spacing: .02em; }
.up-exist-t{ min-width: 0; }
.up-exist-t b{ display: block; color: var(--navy); font: 600 15px/1.3 var(--font-ui); overflow-wrap: anywhere; }
.up-exist-t small{ display: block; margin-top: 2px; overflow: hidden; color: var(--ink-s); font: 400 13px/1.35 var(--font-ui); text-overflow: ellipsis; white-space: nowrap; }
.up-exist-go{ display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 11px; background: var(--blue); color: #fff; font: 600 14px/1 var(--font-ui); transition: background-color .2s; }
.up-exist-go:hover{ background: var(--blue-600); }

/* review and pay */
.up-total{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 15px; background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue-100); }
.up-total span{ color: var(--navy); font: 500 14.5px/1.2 var(--font-ui); }
.up-total b{ color: var(--navy); font: 600 30px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.up-renew{ margin: -8px 0 0; color: var(--ink-s); font: 400 13px/1.45 var(--font-ui); }
.up-secure{ display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--muted); font: 400 12.5px/1.45 var(--font-ui); }
.up-secure .ico{ flex: none; width: 14px; height: 14px; margin-top: 2px; color: #12916f; }

/* the main button at work: a spinner instead of the arrow, the words say what's happening */
.up-go.is-busy{ cursor: progress; }
.up-go.is-busy > .ico{ display: none; }
.up-go.is-busy::before{ content: ""; flex: none; width: 16px; height: 16px; box-sizing: border-box; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: lgn-spin .7s linear infinite; }

/* paid: three lines tick off while the workspace is made; "late" keeps only the words */
.up-make{ display: grid; gap: 2px; width: 100%; margin: 4px 0 0; padding: 0; list-style: none; }
.up-make li{ display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 12px; padding: 9px 0; color: var(--muted); font: 500 15.5px/1.35 var(--font-ui); transition: color .3s; }
.up-make li b{ color: inherit; font-weight: 600; overflow-wrap: anywhere; }
.up-make i{ display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--hair); transition: background-color .3s, box-shadow .3s; }
.up-make li[data-st]{ color: var(--navy); }
.up-make li[data-st="now"] i{ box-shadow: inset 0 0 0 2px var(--blue-100); }
.up-make li[data-st="now"] i::after{ content: ""; width: 30px; height: 30px; box-sizing: border-box; border: 2px solid transparent; border-top-color: var(--blue); border-radius: 50%; animation: lgn-spin .8s linear infinite; }
.up-make li[data-st="done"] i{ background: #12916f; box-shadow: none; animation: up-pop .3s var(--ease); }
.up-make li[data-st="done"] i::after{ content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.up-done[data-state="late"] .up-make{ display: none; }

.lgn-or{ display: flex; align-items: center; gap: 14px; margin: 30px 0 16px; color: var(--muted); font: 500 12.5px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; }
.lgn-or::before, .lgn-or::after{ content: ""; flex: 1; height: 1px; background: var(--hair); }
.lgn-alt{ display: grid; gap: 10px; }
.lgn-alt div{ display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #f8f9fb; }
.lgn-alt i{ display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--hair); color: var(--blue); }
.lgn-alt i .ico{ width: 18px; height: 18px; }
.lgn-alt p{ margin: 0; color: var(--ink-s); font-size: 14px; line-height: 1.45; }
.lgn-alt b{ color: var(--navy); font-weight: 600; }

.lgn-foot{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; color: var(--muted); font: 400 13.5px/1.4 var(--font-ui); }
.lgn-foot a{ color: var(--ink-s); }
.lgn-foot a:hover{ color: var(--blue-600); }
.lgn-foot > span a{ color: var(--blue-600); font-weight: 600; }
.lgn-foot > span button{ padding: 0; border: 0; background: none; color: var(--blue-600); font: 600 13.5px/1.4 var(--font-ui); cursor: pointer; }
.lgn-foot > span button:hover{ text-decoration: underline; text-underline-offset: 3px; }
.lgn-foot-up{ display: none; }
/* The switch is public since Nov 6 2026. data-signup="preview" on .lgn-wrap hides it again: sign in shows as it did before
   the switch (its pill, "Book a demo"); only /login#signup opens Create account. */
.lgn-panel > .lgn-pill, .lgn-foot-demo{ display: none; }
.lgn-wrap[data-signup="preview"]:not([data-mode="up"]) .lgn-mode,
.lgn-wrap[data-signup="preview"]:not([data-mode="up"]) .lgn-foot-in{ display: none; }
.lgn-wrap[data-signup="preview"]:not([data-mode="up"]) .lgn-panel > .lgn-pill{ display: inline-flex; }
.lgn-wrap[data-signup="preview"]:not([data-mode="up"]) .lgn-foot-demo{ display: inline; }
.lgn-wrap[data-mode="up"] .lgn-foot-in{ display: none; }
.lgn-wrap[data-mode="up"] .lgn-foot-up{ display: inline; }
.lgn-foot nav{ display: flex; gap: 18px; }

/* ---------- the showcase ---------- */
/* exactly one screen tall and pinned, so the caption at its foot is always in view however long the form is.
   Flat brand blue, as the emails' masthead (owner, Nov 1: the navy panel read dark; glows and gradients read as
   generated) — no aurora, grid, sheen or fade. */
.lgn-show{ position: sticky; top: 12px; align-self: start; height: calc(100vh / var(--z, 1) - 24px); height: calc(100svh / var(--z, 1) - 24px); overflow: hidden; display: grid; grid-template-rows: 1fr auto; margin: 12px 12px 12px 0; padding: clamp(28px, 3vw, 48px); border-radius: 28px; color: #fff;
  background: var(--blue); isolation: isolate; }

/* the window is placed, not stacked, so it can bleed off the right edge without pushing the caption out; the stage
   cuts it off in a straight line above the caption (clipped only at the bottom: it still runs off to the right) */
.lgn-stage{ position: relative; min-height: 0; clip-path: inset(-50% -50% 0 -50%); }
.lgn-win{ position: absolute; top: 5%; left: 6%; width: 118%; border-radius: 16px;
  box-shadow: 0 40px 90px -36px rgba(6, 26, 63, .55), 0 0 0 1px rgba(255, 255, 255, .22); animation: lgn-in 1s var(--ease) both; }
.lgn-win .ui-win{ border-radius: 0 0 16px 16px; box-shadow: none; }
/* a browser's address bar on the window: the company's own address */
.lgn-url{ display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 16px 16px 0 0; background: #eef1f5; box-shadow: inset 0 -1px 0 #dde2e9; }
.lgn-url > i{ flex: none; width: 9px; height: 9px; border-radius: 50%; background: #d3d8e0; }
.lgn-url span{ display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 72%; margin: 0 0 0 10px; padding: 6px 14px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #dde2e9; color: #4a5160; font: 500 12.5px/1 var(--font-ui); }
.lgn-url span .ico{ flex: none; width: 12px; height: 12px; color: #12916f; }
.lgn-url b{ min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
@keyframes lgn-in{ from{ opacity: 0; transform: translate3d(0, 24px, 0); } }

/* notes from the day, white cards over the screen so they read on white and on blue alike */
.lgn-chip{ position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 11px 16px 11px 11px; border-radius: 16px;
  background: #fff; box-shadow: 0 0 0 1px rgba(6, 26, 63, .06), 0 24px 48px -20px rgba(6, 26, 63, .5); color: var(--navy); animation: lgn-float 7s ease-in-out infinite; }
.lgn-chip i{ display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.lgn-chip i .ico{ width: 17px; height: 17px; }
.lgn-chip.is-ok i{ background: #16a362; color: #fff; }
.lgn-chip b{ display: block; font: 600 14px/1.25 var(--font-ui); }
.lgn-chip small{ display: block; color: var(--ink-s); font: 500 12.5px/1.3 var(--font-ui); }
.lgn-chip.c1{ top: 1%; right: 6%; }
.lgn-chip.c2{ top: 46%; left: 0; animation-delay: -2.4s; }
.lgn-chip.c3{ top: 66%; right: 8%; animation-delay: -4.6s; }
@keyframes lgn-float{ 50%{ transform: translateY(-8px); } }

/* create account: the plan card over the screen, following the picks */
/* low on the right, clear of the address bar it shares the screen with */
.lgn-plan{ position: absolute; z-index: 2; top: 30%; right: 5%; display: none; gap: 6px; width: 250px; padding: 16px 18px; box-sizing: border-box; border-radius: 20px;
  background: #fff; box-shadow: 0 0 0 1px rgba(6, 26, 63, .06), 0 28px 56px -22px rgba(6, 26, 63, .55); color: var(--navy); animation: lgn-float 7s ease-in-out infinite; }
.lgn-plan-k{ color: var(--muted); font: 600 11px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; }
.lgn-plan > b{ font: 600 15px/1.25 var(--font-ui); }
.lgn-plan-p{ display: flex; align-items: baseline; gap: 5px; margin-top: 2px; }
.lgn-plan-p b{ font: 600 36px/1 var(--font); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.lgn-plan-p span{ color: var(--ink-s); font: 500 14px/1 var(--font-ui); }
.lgn-plan small{ color: #12795c; font: 500 12.5px/1.35 var(--font-ui); }
.lgn-plan ul{ display: grid; gap: 7px; margin: 8px 0 0; padding: 11px 0 0; border-top: 1px solid #e8ebf0; list-style: none; }
.lgn-plan li{ display: flex; align-items: center; gap: 8px; color: var(--ink-s); font: 500 12.5px/1.2 var(--font-ui); }
.lgn-plan li .ico{ flex: none; width: 14px; height: 14px; color: #12916f; stroke-width: 2.4; }
/* the workspace as it's put together: the company as it's typed (grey until then), the plan, how far it has got */
.lgn-plan{ width: 272px; }
.lgn-plan-co{ display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px; margin: 6px 0 4px; }
.lgn-plan-co i{ display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue); color: #fff; font: 600 13px/1 var(--font); font-style: normal; letter-spacing: .02em; transition: background-color .25s, color .25s; }
.lgn-plan-co span{ min-width: 0; }
.lgn-plan-co b{ display: block; overflow: hidden; font: 600 14.5px/1.25 var(--font-ui); text-overflow: ellipsis; white-space: nowrap; }
.lgn-plan-co small{ display: block; margin-top: 1px; overflow: hidden; color: var(--ink-s); font: 500 12px/1.35 var(--font-ui); text-overflow: ellipsis; white-space: nowrap; }
.lgn-plan.is-blank .lgn-plan-co i{ background: #e9edf3; color: #9aa1ab; }
.lgn-plan.is-blank .lgn-plan-co b{ color: #9aa1ab; }
.lgn-plan-row{ display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid #e8ebf0; }
.lgn-plan-row > b{ font: 600 14px/1.25 var(--font-ui); }
.lgn-plan-row .lgn-plan-p{ margin: 0; }
.lgn-plan-row .lgn-plan-p b{ font-size: 28px; }
.lgn-plan-st{ display: none; align-items: center; justify-self: start; gap: 7px; margin-top: 6px; padding: 7px 10px; border-radius: 10px; background: #e9f7f0; color: #12795c; font: 600 12.5px/1 var(--font-ui); }
.lgn-plan-st .ico{ width: 13px; height: 13px; stroke-width: 2.6; }
.lgn-plan[data-stage="on"] .lgn-plan-st{ display: inline-flex; animation: up-in .35s var(--ease); }
.lgn-wrap[data-mode="up"] .lgn-plan{ display: grid; }
.lgn-wrap[data-closed] .lgn-plan{ display: none; }   /* registration switched off: no workspace being made here */
.lgn-wrap[data-mode="up"] .lgn-chip{ display: none; }

.lgn-cap{ position: relative; z-index: 3; display: grid; gap: 10px; max-width: 520px; padding-top: 24px; }
.lgn-cap > div{ display: grid; gap: 10px; }
.lgn-cap > .lgn-cap-up, .lgn-wrap[data-mode="up"] .lgn-cap > .lgn-cap-in{ display: none; }
.lgn-wrap[data-mode="up"] .lgn-cap > .lgn-cap-up{ display: grid; }
.lgn-cap-up > div{ display: grid; gap: 10px; }
/* the free plan's own way in (/login#free-<key>): what each path shows */
.lgn-wrap[data-free] .only-paid, .lgn-wrap:not([data-free]) .only-free{ display: none !important; }
.lgn-cap h2{ margin: 0; color: #fff; font: 600 clamp(26px, 2.3vw, 34px)/1.12 var(--font); letter-spacing: -.03em; text-wrap: balance; }
.lgn-cap p{ margin: 0; color: rgba(255, 255, 255, .86); font-size: 16px; line-height: 1.5; }
.lgn-cap ul{ display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.lgn-cap li{ padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff; font: 500 12.5px/1 var(--font-ui); }

/* ---------- first paint ---------- */
.js .lgn-center > *{ animation: lgn-rise .8s var(--ease) both; }
.js .lgn-center > :nth-child(2){ animation-delay: .05s; } .js .lgn-center > :nth-child(3){ animation-delay: .1s; }
.js .lgn-center > :nth-child(4){ animation-delay: .15s; } .js .lgn-center > :nth-child(n+5){ animation-delay: .2s; }
@keyframes lgn-rise{ from{ opacity: 0; transform: translateY(12px); } }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px){
  .lgn-chip.c3{ display: none; }
}
@media (max-width: 980px){
  .lgn-wrap{ grid-template-columns: minmax(0, 1fr); }
  .lgn-show{ display: none; }
  .lgn-form-col{ background: radial-gradient(120% 50% at 50% -10%, var(--blue-50), #fff 60%); }
}
@media (max-width: 520px){
  .lgn-form-col{ padding: 20px 18px 24px; }
  .lgn-back span{ display: none; }
  .lgn-center{ padding: 32px 0; }
  .lgn-addr span{ padding: 0 10px; font-size: 13.5px; }
  .lgn-foot{ justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce){
  .lgn-chip, .lgn-plan, .lgn-win, .js .lgn-center > *, .up-step:not([hidden]), .up-done:not([hidden]), .in-view.is-new{ animation: none; }
  .lgn-mode::before{ transition: none; }
  .lgn-spin, .lgn-co-go[aria-busy="true"]::after{ animation-duration: 2.4s; }
}
