/* figtree-latin-ext-wght-normal */
@font-face {
  font-family: 'Figtree Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(./fonts/figtree-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* figtree-latin-wght-normal */
@font-face {
  font-family: 'Figtree Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(./fonts/figtree-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --ink: #242337;
  --muted: #71667c;
  --purple: #6d28d9;
  --border: #e8e6ef;
  --surface: #f8f9fc;
  --text-small: 0.75rem;
  --text-body: 0.875rem;
  --text-reading: 1rem;
  --text-lead: 1.125rem;
  font-family: 'Figtree Variable', sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #6c36b6;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
svg {
  flex-shrink: 0;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}
p {
  text-wrap: pretty;
}
a,
button,
input,
summary {
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid #9863df;
  outline-offset: 4px;
}
main:focus {
  outline: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 20;
  padding: 14px;
  background: white;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  flex-wrap: wrap;
  min-height: 64px;
  width: 100%;
  margin: auto;
  padding: 10px 40px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.9375rem;
  letter-spacing: -1.3px;
  font-weight: 760;
  color: #272236;
}
.brand:hover {
  text-decoration: none;
}
.brand-period {
  color: #8854d6;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 32px;
}
.account-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-body);
  color: var(--muted);
}
.account-label svg {
  width: 16px;
}
.language-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
}
.language-picker > svg {
  width: 16px;
  margin-right: 6px;
}
.language-picker a {
  padding: 9px 10px;
  min-width: 36px;
  min-height: 44px;
  display: grid;
  place-items: center;
  font-size: var(--text-small);
  font-weight: 650;
  border-radius: 7px;
  color: var(--muted);
}
.language-picker a[aria-current] {
  background: #eee8f8;
  color: #6c439c;
}
.language-picker a:hover {
  background: #f0ebf7;
  text-decoration: none;
}
.auth-layout {
  max-width: 1336px;
  min-height: 680px;
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #eae6f0;
  border-radius: 24px;
  overflow: hidden;
  background: white;
}
.story-panel {
  background: #f0ebf8;
  position: relative;
  padding: 40px 42px 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.story-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.story-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: #70548f;
}
.story-eyebrow > span {
  background: #8ca76b;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.story-spark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #9575bd;
}
.story-copy {
  margin-top: 37px;
  max-width: 450px;
  z-index: 1;
}
.story-copy h2 {
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  font-weight: 570;
  letter-spacing: -1.6px;
  line-height: 1.16;
}
.story-copy h2 > span {
  color: #8252b9;
}
.story-copy p {
  font-size: var(--text-body);
  line-height: 1.8;
  color: #71667c;
  max-width: 310px;
  margin-top: 19px;
}
.connection-art {
  position: relative;
  min-height: 304px;
  width: 100%;
  max-width: 490px;
  margin: auto;
  isolation: isolate;
}
.orbit {
  position: absolute;
  border: 1px dashed #d4c6e6;
  border-radius: 50%;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.orbit-outer {
  width: 330px;
  height: 276px;
  transform: translate(-50%, -50%) rotate(-22deg);
}
.orbit-inner {
  width: 242px;
  height: 198px;
  border-style: solid;
  border-color: #e1d7ed;
}
.hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 146px;
  height: 155px;
  transform: translate(-50%, -50%) rotate(-5deg);
  border: 1px solid #e3d9ef;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 16px 38px #684c8910;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}
.hub > img {
  width: 52px;
  height: 52px;
}
.hub > span {
  font-size: 1.4375rem;
  letter-spacing: -0.7px;
  font-weight: 750;
}
.hub > small {
  max-width: 120px;
  line-height: 1.3;
  text-align: center;
  font-size: var(--text-small);
  color: var(--muted);
}
.hub > i {
  position: absolute;
  right: -9px;
  bottom: 24px;
  background: #dcebcd;
  color: #5c7a3f;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 4px solid #f0ebf8;
  border-radius: 50%;
}
.hub > i svg {
  width: 13px;
}
.floating-app {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px;
  background: white;
  border: 1px solid #e6dfee;
  border-radius: 13px;
  box-shadow: 0 8px 25px #65458708;
  min-width: 167px;
}
.floating-app strong {
  font-size: var(--text-small);
  font-weight: 650;
}
.app-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  flex-shrink: 0;
}
.violet {
  background: #eee7fa;
  color: #8851ce;
}
.mint {
  background: #e6f1e9 !important;
  color: #61856b !important;
}
.peach {
  background: #fcf0e5 !important;
  color: #b98761 !important;
}
.little-lines {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}
.little-lines i {
  width: 30px;
  height: 4px;
  border-radius: 3px;
  background: #ece8f1;
}
.little-lines i + i {
  width: 16px;
  background: #f2eff5;
}
.tiny-check {
  color: #94ab7d;
  margin-left: auto;
}
.tiny-check svg {
  width: 12px;
  height: 12px;
}
.app-marketing {
  left: 1%;
  top: 27px;
  transform: rotate(-7deg);
}
.app-payments {
  right: -1%;
  top: 128px;
  transform: rotate(7deg);
}
.app-sales {
  left: 10%;
  bottom: 1px;
  transform: rotate(-3deg);
}
.orbit-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c2d7a0;
}
.dot-one {
  top: 24px;
  right: 23%;
}
.dot-two {
  bottom: 44px;
  right: 22%;
  width: 6px;
  height: 6px;
  background: #d9b797;
}
.orbit-star {
  position: absolute;
  bottom: 12px;
  right: 12%;
  font-size: 1.875rem;
  color: #b296ce;
}
.story-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid #ddd1e9;
}
.leaf-tile {
  display: grid;
  place-items: center;
  width: 41px;
  height: 44px;
  border-radius: 13px;
  background: #e3ebd5;
  color: #748960;
  flex-shrink: 0;
}
.story-bottom strong {
  font-size: var(--text-body);
  font-weight: 620;
}
.story-bottom p {
  font-size: var(--text-small);
  color: #71667c;
  margin-top: 5px;
}
.form-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 48px 30px;
  min-width: 0;
}
.form-content {
  width: 100%;
  max-width: 420px;
  margin: auto 0;
}
.form-emblem {
  width: 54px;
  height: 54px;
  background: #f2ecfb;
  border: 1px solid #e8ddf6;
  border-radius: 16px;
  color: #8b58c7;
  display: grid;
  place-items: center;
  position: relative;
  margin-bottom: 27px;
  transform: rotate(-5deg);
}
.form-emblem > svg {
  width: 25px;
  height: 25px;
  transform: rotate(5deg);
}
.form-emblem > span {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 3px solid white;
  background: #b6d486;
  border-radius: 50%;
  right: -3px;
  top: 1px;
}
.eyebrow {
  color: #71667c;
  font-size: var(--text-small);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 650;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}
h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -1.15px;
  line-height: 1.18;
}
.form-intro {
  font-size: var(--text-body);
  color: var(--muted);
  line-height: 1.8;
  margin-top: 13px;
  margin-bottom: 29px;
}
form {
  margin: 0;
}
label {
  display: block;
  font-size: var(--text-body);
  font-weight: 600;
  color: #55475f;
  margin-bottom: 9px;
}
.input-wrap {
  position: relative;
  margin-bottom: 21px;
}
.input-wrap > svg {
  position: absolute;
  top: 16px;
  left: 15px;
  width: 17px;
  height: 17px;
  color: #a396ae;
}
input:not([type='hidden']) {
  width: 100%;
  min-height: 52px;
  height: auto;
  border: 1px solid #e0d9e8;
  background: #fff;
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: var(--text-reading);
  box-shadow: 0 2px 3px #30283e02;
}
input::placeholder {
  color: #71667c;
  opacity: 1;
  font-size: inherit;
}
.input-wrap input {
  padding-left: 42px;
}
input:hover {
  border-color: #c7b7d9;
}
input:focus {
  border-color: #9c70cd;
  box-shadow: 0 0 0 3px #9c70cd12;
  outline: none;
}
input[aria-invalid='true'] {
  border-color: #c46f7c;
}
.label-row {
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.label-row a {
  font-size: var(--text-small);
  font-weight: 550;
}
.primary {
  overflow-wrap: anywhere;
  width: 100%;
  min-height: 49px;
  padding: 13px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--purple);
  border-radius: 9px;
  background: var(--purple);
  color: white;
  font-size: var(--text-body);
  font-weight: 620;
  box-shadow: 0 4px 8px #7543cd16;
  line-height: 1.5;
  text-align: center;
}
.primary > svg {
  width: 17px;
  height: 17px;
}
.primary:hover {
  background: #6835bc;
  text-decoration: none;
  box-shadow: 0 6px 15px #7543cd22;
  transform: translateY(-1px);
}
.primary:active {
  transform: translateY(0);
}
.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: var(--text-small);
  color: #71667c;
  margin-top: 24px;
}
.secure-note > svg {
  width: 14px;
  height: 14px;
  color: #8c9f77;
}
.form-support {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  color: #71667c;
  font-size: var(--text-small);
  margin-top: 42px;
  line-height: 1.7;
}
.form-support > svg {
  width: 13px;
  height: 13px;
  margin-right: 2px;
}
.form-support a {
  font-weight: 600;
}
.error {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: var(--text-body);
  line-height: 1.7;
  background: #fff2f1;
  border: 1px solid #f2d8da;
  color: #a33f4d;
  padding: 11px 13px;
  border-radius: 9px;
  margin-bottom: 20px;
}
.error svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.code-input {
  letter-spacing: 10px;
  text-align: center !important;
  font-size: 1.5625rem !important;
  font-variant-numeric: tabular-nums;
}
.code-input::placeholder {
  font-size: 1.5625rem !important;
  letter-spacing: 10px;
}
.field-help {
  font-size: var(--text-small);
  color: var(--muted);
  margin: 9px 0 24px;
  line-height: 1.7;
}
.secondary-link {
  text-align: center;
  font-size: var(--text-small);
  margin-top: 23px;
}
.qr-frame {
  border: 1px solid var(--border);
  width: 222px;
  height: 222px;
  padding: 10px;
  border-radius: 17px;
  margin: 0 auto 24px;
  box-shadow: 0 5px 20px #6c439c08;
}
.qr {
  display: block;
  width: 200px;
  height: 200px;
}
.success-note {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: var(--text-body);
  line-height: 1.6;
  padding: 12px;
  background: #edf4e6;
  color: #54713e;
  border-radius: 8px;
  margin-top: 22px;
}
.help-list {
  margin-bottom: 24px;
}
.help-list details {
  border-top: 1px solid var(--border);
}
.help-list details:last-child {
  border-bottom: 1px solid var(--border);
}
summary {
  cursor: pointer;
  list-style: none;
  font-size: var(--text-body);
  font-weight: 600;
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
summary::-webkit-details-marker {
  display: none;
}
summary > span {
  font-size: 1.125rem;
  color: #9173ad;
}
details[open] summary > span {
  transform: rotate(45deg);
}
details p {
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--muted);
  padding-bottom: 16px;
}
.dashboard {
  max-width: 1110px;
  padding: 20px 32px 60px;
  margin: auto;
  min-height: calc(100dvh - 182px);
}
.account-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  background: white;
  padding: 14px 18px;
  border-radius: 12px;
}
.account-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #f2ecfb;
  border-radius: 10px;
  color: #9765ca;
}
.account-strip > div:nth-child(2) {
  min-width: 0;
}
.account-strip span {
  color: var(--muted);
  font-size: var(--text-small);
}
.account-strip strong {
  font-size: var(--text-body);
  font-weight: 600;
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.quiet-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  font-size: var(--text-body);
  color: #73627f;
}
.account-strip .quiet-button {
  margin-left: auto;
  flex-shrink: 0;
}
.quiet-button svg {
  width: 15px;
}
.quiet-button:hover {
  background: #f8f4fc;
  text-decoration: none;
}
.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 47px 0 32px;
}
.dashboard-heading h1 {
  font-size: 2.375rem;
}
.dashboard-heading p:last-child {
  font-size: var(--text-body);
  color: var(--muted);
  margin-top: 12px;
}
.green-dot {
  height: 6px;
  width: 6px;
  background: #a8c480;
  border-radius: 50%;
}
.heading-leaf {
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  background: #e6eed8;
  color: #7b965f;
  border-radius: 20px;
  transform: rotate(-8deg);
  position: relative;
  margin-right: 14px;
  flex-shrink: 0;
}
.heading-leaf svg {
  width: 32px;
  height: 32px;
}
.heading-leaf > span {
  position: absolute;
  right: -10px;
  top: -10px;
  font-size: 1.8125rem;
  color: #b598d0;
}
.app-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
}
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 23px 23px 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}
.product-top .app-icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
}
.product-tag {
  font-size: var(--text-small);
  color: #71667c;
  background: #f7f4fa;
  border-radius: 5px;
  padding: 5px 7px;
}
.product-card h2 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}
.product-card > p {
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--muted);
  margin: 10px 0 21px;
  min-height: 43px;
}
.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: auto 0 23px;
}
.roles > span {
  font-size: var(--text-small);
  padding: 4px 7px;
  border-radius: 5px;
  background: #f4effa;
  color: #735685;
  overflow-wrap: anywhere;
}
.product-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 17px 0;
  border-top: 1px solid #eee8f4;
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.5;
}
.product-link svg {
  width: 16px;
}
.product-link:hover {
  text-decoration: none;
  color: #49217b;
}
.product-link.unavailable {
  color: #71667c;
}
.security-card {
  margin-top: 28px;
  border: 1px solid #e1e7d5;
  border-radius: 14px;
  padding: 23px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #edf2e4;
}
.security-card h2 {
  font-size: var(--text-lead);
  font-weight: 600;
  color: #536441;
}
.security-card p {
  font-size: var(--text-small);
  line-height: 1.7;
  color: #586a49;
  margin-top: 6px;
}
.security-card > a {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-body);
  font-weight: 600;
  color: #5c7246;
}
.security-card > a svg {
  width: 15px;
}
.empty-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 55px 24px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: white;
}
.empty-panel h2 {
  font-size: 1.4375rem;
  font-weight: 600;
}
.empty-panel p {
  font-size: var(--text-body);
  color: var(--muted);
  line-height: 1.7;
  margin: 14px 0 24px;
}
@media (min-width: 1500px) {
  .auth-layout {
    min-height: 720px;
    margin-top: 24px;
  }
  .story-panel {
    padding: 46px 50px 40px;
  }
  .connection-art {
    min-height: 330px;
  }
  .form-side {
    padding: 60px;
  }
  .story-copy h2 {
    font-size: 2.875rem;
  }
}
@media (max-width: 1440px) {
  .auth-layout {
    margin: 8px 52px 0;
  }
}
@media (max-width: 1100px) {
  .site-header {
    padding: 10px 30px;
    min-height: 64px;
  }
  .auth-layout {
    margin: 8px 30px 0;
    grid-template-columns: 0.95fr 1fr;
    min-height: 650px;
  }
  .story-panel {
    padding: 28px;
  }
  .story-copy h2 {
    font-size: 2.125rem;
  }
  .form-side {
    padding: 35px 30px 26px;
  }
  .floating-app {
    min-width: 143px;
    padding: 10px;
    gap: 7px;
  }
  .floating-app .app-icon {
    width: 30px;
    height: 32px;
  }
  .hub {
    width: 125px;
    height: 139px;
  }
  .hub > span {
    font-size: 1.3125rem;
  }
  .orbit-outer {
    width: 270px;
    height: 250px;
  }
  .app-marketing {
    left: -5%;
    top: 36px;
  }
  .app-payments {
    right: -6%;
    top: 145px;
  }
  .app-sales {
    left: 0;
    bottom: 5px;
  }
  .story-copy {
    margin-top: 29px;
  }
  .header-tools {
    gap: 20px;
  }
  .account-label {
    font-size: var(--text-small);
  }
  .app-grid {
    gap: 14px;
  }
  .product-card {
    padding: 20px 18px 0;
  }
}
@media (max-width: 800px) {
  .site-header {
    min-height: 64px;
    padding: 10px 24px;
  }
  .brand {
    font-size: 1.75rem;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .account-label {
    display: none;
  }
  .auth-layout {
    display: block;
    margin: 10px 24px 0;
    min-height: 0;
    border-radius: 19px;
  }
  .story-panel {
    display: none;
  }
  .form-side {
    padding: 40px 28px 25px;
    min-height: 550px;
  }
  .form-content {
    max-width: 380px;
  }
  .form-support {
    margin-top: 37px;
  }
  .dashboard {
    padding: 15px 24px 35px;
  }
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .security-card > a {
    grid-column: 2;
    margin-left: 0;
  }
  .dashboard-heading {
    margin: 35px 0 27px;
  }
  .dashboard-heading h1 {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .site-header {
    padding: 10px 20px;
    min-height: 64px;
  }
  .brand {
    gap: 7px;
    font-size: 1.6875rem;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .header-tools {
    gap: 0;
  }
  .language-picker {
    gap: 0;
  }
  .language-picker > svg {
    display: none;
  }
  .language-picker a {
    min-width: 34px;
  }
  .auth-layout {
    margin: 6px 16px 0;
  }
  .form-side {
    padding: 34px 24px 24px;
    min-height: 548px;
  }
  .form-emblem {
    margin-bottom: 25px;
    width: 49px;
    height: 49px;
  }
  h1 {
    font-size: 2rem;
  }
  .form-intro {
    margin-bottom: 26px;
  }
  .form-support {
    font-size: var(--text-small);
    gap: 4px;
  }
  .dashboard {
    padding: 12px 17px 24px;
  }
  .app-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .product-card {
    padding: 22px 23px 0;
  }
  .product-top {
    margin-bottom: 19px;
  }
  .product-card > p {
    min-height: 0;
  }
  .dashboard-heading h1 {
    font-size: 1.875rem;
  }
  .dashboard-heading p:last-child {
    line-height: 1.7;
  }
  .heading-leaf {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    margin-right: 5px;
  }
  .heading-leaf svg {
    width: 24px;
    height: 24px;
  }
  .heading-leaf > span {
    font-size: 1.3125rem;
  }
  .account-strip {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 12px;
    gap: 9px;
  }
  .account-strip .quiet-button {
    grid-column: 2;
    justify-self: start;
    margin-left: 0;
    font-size: var(--text-body);
    padding: 7px 8px;
  }
  .account-strip .quiet-button svg {
    display: none;
  }
  .account-strip strong {
    font-size: var(--text-body);
  }
  .account-avatar {
  flex-shrink: 0;
    width: 30px;
    height: 32px;
  }
  .security-card {
    padding: 18px;
    align-items: flex-start;
    gap: 12px;
  }
  .security-card > div {
    flex: 1;
    min-width: 0;
  }
  .security-card > a {
    margin-left: 0;
    line-height: 1.5;
  }
}
/* Keep the sign-in and sign-out shell, including its gutters, within the dynamic viewport. */
.auth-viewport {
  height: 100dvh;
  padding: 0 0 24px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.auth-viewport .site-header {
  width: 100%;
  padding-inline: clamp(16px, 3.6vw, 52px);
  margin: 0 auto;
}
.auth-viewport .auth-layout {
  width: calc(100% - clamp(32px, 7.2vw, 104px));
  min-height: 0;
  margin: 0 auto;
}
.auth-viewport .form-side {
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  justify-content: flex-start;
}
.auth-viewport .form-content,
.auth-viewport .form-support {
  flex-shrink: 0;
}
@media (max-height: 950px) {
  .auth-viewport .site-header {
    min-height: 64px;
    padding-block: 10px;
  }
  .auth-viewport .form-side {
    padding-block: 20px;
  }
  .auth-viewport .form-emblem {
    margin-bottom: 14px;
  }
  .auth-viewport .eyebrow {
    margin-bottom: 6px;
  }
  .auth-viewport .form-intro {
    margin-top: 8px;
    margin-bottom: 16px;
  }
  .auth-viewport .input-wrap {
    margin-bottom: 14px;
  }
  .auth-viewport .secure-note,
  .auth-viewport .form-support {
    margin-top: 16px;
  }
  .auth-viewport .story-panel {
    padding-block: 20px;
  }
  .auth-viewport .story-copy {
    margin-top: 16px;
  }
  .auth-viewport .story-copy p {
    margin-top: 12px;
  }
  .auth-viewport .connection-art {
    zoom: 0.75;
  }
  .auth-viewport .story-bottom {
    margin-top: 12px;
    padding-top: 12px;
  }
}
@media (max-width: 800px) and (max-height: 740px) {
  .auth-viewport .form-side {
    padding: 14px 16px;
  }
  .auth-viewport .form-emblem {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    margin-bottom: 8px;
  }
  .auth-viewport .form-intro {
    line-height: 1.5;
    margin-block: 6px 12px;
  }
  .auth-viewport label {
    margin-bottom: 6px;
  }
  .auth-viewport .label-row {
    gap: 0 8px;
  }
  .auth-viewport .input-wrap {
    margin-bottom: 10px;
  }
  .auth-viewport .secure-note,
  .auth-viewport .form-support {
    margin-top: 12px;
  }
}
@media (max-height: 700px) {
  .auth-viewport .site-header {
    min-height: 60px;
    padding-block: 6px;
  }
  .auth-viewport .form-side {
    padding-block: 12px;
  }
  .auth-viewport .form-emblem {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    border-radius: 11px;
  }
  .auth-viewport h1 {
    font-size: 1.875rem;
  }
  .auth-viewport .form-intro {
    line-height: 1.5;
    margin-block: 6px 12px;
  }
  .auth-viewport label {
    margin-bottom: 4px;
  }
  .auth-viewport .label-row {
    gap: 0 8px;
  }
  .auth-viewport .input-wrap {
    margin-bottom: 8px;
  }
  .auth-viewport input:not([type='hidden']) {
    min-height: 44px;
    padding-block: 8px;
  }
  .auth-viewport .input-wrap > svg {
    top: 13px;
  }
  .auth-viewport .primary {
    min-height: 44px;
    padding-block: 9px;
  }
  .auth-viewport .secure-note,
  .auth-viewport .form-support {
    margin-top: 8px;
  }
  .auth-viewport .story-panel {
    padding-block: 14px;
  }
  .auth-viewport .story-copy {
    margin-top: 10px;
  }
  .auth-viewport .story-copy h2 {
    font-size: 1.875rem;
  }
  .auth-viewport .story-copy p {
    line-height: 1.5;
    margin-top: 8px;
  }
  .auth-viewport .connection-art {
    zoom: 0.6;
  }
  .auth-viewport .story-bottom {
    margin-top: 8px;
    padding-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Authenticated workspace: compact app launchers and persistent navigation. */
.workspace-page {
  height: 100dvh;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  overflow: hidden;
}
.workspace-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 32px 24px 24px;
  border-right: 1px solid var(--border);
  background: #fff;
}
.workspace-sidebar .brand {
  padding-inline: 8px;
  font-size: 1.9375rem;
}
.workspace-nav {
  margin-top: 32px;
  display: grid;
  gap: 4px;
}
.workspace-nav a {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 550;
}
.workspace-nav a:hover {
  background: #f8f5fc;
  text-decoration: none;
}
.workspace-nav a[aria-current] {
  background: #f0e9fc;
  color: #6d32ba;
  font-weight: 650;
}
.nav-count {
  margin-left: auto;
  min-width: 24px;
  text-align: center;
  font-size: var(--text-small);
  font-variant-numeric: tabular-nums;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 24px;
}
.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 4px;
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 18px;
}
.profile-details {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  color: var(--ink);
}
.profile-details:hover {
  text-decoration: none;
}
.profile-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid #e8ddf6;
  border-radius: 11px;
  background: #f2ecfb;
  color: var(--purple);
  font-weight: 650;
}
.profile-copy {
  min-width: 0;
  display: grid;
  font-size: var(--text-small);
}
.profile-copy strong {
  font-size: var(--text-body);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.profile-copy > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}
.profile-signout {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--muted);
  border-radius: 8px;
}
.profile-signout:hover {
  background: #f2ecfb;
  color: var(--purple);
}
.workspace-main {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}
.workspace-topbar {
  min-height: 64px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 40px;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-small);
  color: var(--muted);
}
.workspace-topbar strong {
  font-weight: 550;
  color: var(--ink);
}
.breadcrumb-divider {
  margin-inline: 12px;
  color: #b5abbf;
}
.workspace-content {
  min-height: 0;
  overflow-y: auto;
  padding: 24px 40px;
}
.workspace-heading {
  margin-bottom: 28px;
}
.workspace-heading .eyebrow {
  font-size: var(--text-small);
  margin-bottom: 10px;
}
.workspace-heading h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.75rem;
}
.workspace-heading > p:last-child {
  color: var(--muted);
  margin-top: 10px;
}
.app-total {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding-inline: 6px;
  font-size: var(--text-small);
  font-weight: 550;
  background: #eee8f8;
  border: 1px solid #e4daef;
  border-radius: 8px;
  color: #735685;
  font-variant-numeric: tabular-nums;
}
.compact-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  max-width: 1000px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.compact-app-card {
  --app-accent: #7543cd;
  --app-tint: #f0eafa;
  --app-line: #dbcbf2;
  min-width: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.product-mint {
  --app-accent: #387661;
  --app-tint: #eaf3ee;
  --app-line: #c9ded2;
}
.product-peach {
  --app-accent: #9b6035;
  --app-tint: #fbefe4;
  --app-line: #eed3bc;
}
.app-card-link {
  min-height: 100%;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
a.app-card-link:hover {
  text-decoration: none;
  background: #fdfcfe;
}
.app-card-link:focus-visible {
  outline-offset: -4px;
  border-radius: 16px;
}
.app-card-art {
  position: relative;
  height: 152px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--app-tint);
  color: var(--app-accent);
  border-bottom: 1px solid var(--app-line);
}
.app-art-orbit {
  position: absolute;
  width: 310px;
  height: 310px;
  border: 1px solid var(--app-line);
  border-radius: 50%;
  z-index: -1;
}
.app-art-orbit-inner {
  width: 228px;
  height: 228px;
}
.app-art-tile {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  background: white;
  border: 1px solid var(--app-line);
  border-radius: 23px;
  transform: rotate(-8deg);
  box-shadow: 0 8px 16px #24233708;
}
.app-art-tile svg { width: 38px; height: 38px; }
.app-art-detail {
  position: absolute;
  left: calc(50% + 32px);
  top: 74px;
  width: 80px;
  height: 56px;
  background: white;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  transform: rotate(8deg);
  box-shadow: 0 4px 6px #24233708;
}
.art-chart { display: flex; align-items: flex-end; gap: 5px; padding: 12px; }
.art-chart i { flex: 1; height: 40%; border-radius: 2px; background: var(--app-line); }
.art-chart i:nth-child(2) { height: 62%; }
.art-chart i:nth-child(3) { height: 52%; }
.art-chart i:nth-child(4) { height: 80%; }
.art-chart i:nth-child(5) { height: 100%; background: var(--app-accent); }
.art-payment { padding: 10px; }
.art-payment i { display: block; width: 13px; height: 10px; border-radius: 3px; background: var(--app-line); margin-bottom: 10px; }
.art-payment span { display: inline-block; width: 22px; height: 4px; border-radius: 2px; background: var(--app-line); }
.art-network { display: grid; place-items: center; }
.app-art-spark { position: absolute; top: 32px; right: calc(50% + 66px); }
.app-art-spark svg { width: 18px; height: 18px; }
.app-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.compact-app-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.compact-app-heading h2 {
  font-size: var(--text-lead);
  font-weight: 650;
}
.compact-app-heading .app-icon {
  width: 38px;
  height: 38px;
}
.app-card-body > p {
  font-size: var(--text-body);
  color: var(--muted);
  margin: 14px 0 18px;
  line-height: 1.65;
}
.compact-app-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto;
  border-top: 1px solid #eee8f4;
  padding-top: 10px;
}
.compact-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}
.compact-roles > span {
  font-size: var(--text-small);
  line-height: 1.5;
  padding: 3px 7px;
  border-radius: 5px;
  background: #f5f2f9;
  color: #735685;
  overflow-wrap: anywhere;
}
.compact-app-open {
  color: var(--app-accent);
  margin-left: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-body);
  font-weight: 600;
}
.app-card-link:hover .compact-app-open { text-decoration: underline; text-underline-offset: 4px; }
.compact-app-open svg {
  width: 16px;
  height: 16px;
}
.compact-unavailable {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: var(--text-small);
  min-height: 44px;
}
.compact-unavailable svg {
  width: 15px;
}
.workspace-security {
  max-width: 1000px;
  background: white;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--ink);
}
.workspace-security:hover {
  background: #f1edf7;
  text-decoration: none;
}
.workspace-security .app-icon, .workspace-empty .app-icon {
  background: #eee8f8;
  color: var(--purple);
}
.workspace-security > span:nth-child(2) {
  display: grid;
  gap: 2px;
}
.workspace-security strong {
  font-size: var(--text-body);
  font-weight: 600;
}
.workspace-security > span:nth-child(2) > span {
  font-size: var(--text-small);
  color: var(--muted);
}
.workspace-security > svg {
  margin-left: auto;
  width: 17px;
}
.workspace-panel {
  max-width: 1000px;
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.workspace-panel h2 {
  font-size: var(--text-lead);
  font-weight: 650;
  margin-bottom: 8px;
}
.workspace-panel h3 {
  font-size: var(--text-body);
  font-weight: 600;
  margin: 0;
}
.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-block: 22px;
}
.settings-row + .settings-row {
  border-top: 1px solid var(--border);
}
.settings-row:last-child {
  padding-bottom: 0;
}
.settings-row > div:first-child {
  flex: 1 1 240px;
  min-width: 0;
}
.settings-row p, .setting-note {
  font-size: var(--text-body);
  color: var(--muted);
}
.account-email {
  overflow-wrap: anywhere;
}
.access-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.access-list li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 18px;
  border-top: 1px solid var(--border);
}
.access-list .compact-roles {
  margin-left: auto;
}
.access-help {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  color: var(--muted);
  font-size: var(--text-small);
}
.workspace-empty {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}
.workspace-empty p {
  color: var(--muted);
}
@media (max-width: 1100px) {
  .workspace-page {
    grid-template-columns: 232px minmax(0, 1fr);
  }
  .workspace-topbar {
    padding-inline: 24px;
  }
  .workspace-content {
    padding: 30px 24px;
  }
}
@media (max-width: 700px) {
  .workspace-page {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .workspace-sidebar {
    padding: 14px 16px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }
  .workspace-sidebar .brand {
    padding: 0;
    font-size: 1.5rem;
  }
  .workspace-sidebar .brand img {
    width: 28px;
    height: 28px;
  }
  .profile-copy {
    display: none;
  }
  .sidebar-bottom {
    margin: 0;
    padding: 0;
    grid-column: 2;
    grid-row: 1;
  }
  .sidebar-profile {
    border: 0;
    margin: 0;
    padding: 0;
  }
  .workspace-nav {
    margin-top: 0;
    grid-column: 1 / -1;
    display: flex;
    gap: 6px;
  }
  .workspace-nav a {
    flex: 1;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    font-size: var(--text-body);
  }
  .nav-count {
    display: none;
  }
  .workspace-topbar {
    padding: 8px 16px;
    min-height: 60px;
  }
  .workspace-topbar > span {
    display: none;
  }
  .workspace-topbar .language-picker {
    margin-left: auto;
  }
  .workspace-content {
    padding: 22px 16px;
  }
  .workspace-heading {
    margin-bottom: 22px;
  }
  .workspace-heading h1 {
    font-size: 1.75rem;
  }
  .workspace-heading > p:last-child {
    font-size: var(--text-small);
  }
  .compact-app-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .app-card-art { height: 120px; }
  .app-art-detail { top: 56px; }
  .app-card-body { padding: 20px; }
  .workspace-panel {
    padding: 18px;
  }
  .access-list .compact-roles {
    margin-left: 0;
    width: 100%;
  }
}
.workspace-main {
  overflow: hidden;
}
.workspace-security {
  position: relative;
}
@media (max-width: 700px) {
  .workspace-sidebar .brand > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .workspace-nav a {
    min-width: 0;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
  }
}

/* Shared invitation form. The people directory is styled in access.css. */
[hidden] { display: none !important; }
.access-description { font-size: var(--text-small); color: var(--muted); line-height: 1.6; }
.access-create-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-block: 22px 0; }
.access-create-form .access-description { margin-top: 6px; }
.invitation-page { width: min(460px, calc(100% - 32px)); margin: 8vh auto; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.invitation-page h1 { font-size: 1.75rem; margin: 28px 0 16px; }
.invitation-page > p { overflow-wrap: anywhere; }
.password-field { position: relative; }
.password-field input { padding-right: 58px; }
.password-toggle { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; padding: 0; background: transparent; color: #71667c; }
.password-toggle:hover { color: #6c36b6; background: #f5f0fa; }
.password-toggle span { display: flex; }
.password-toggle[hidden], .password-toggle span[hidden] { display: none; }
button:disabled { opacity: .65; cursor: not-allowed; }
