:root {
  --nc-plum: #5f2d6f;
  --nc-plum-deep: #41204d;
  --nc-lavender: #c8aecf;
  --nc-mist: #f1eaf2;
  --nc-ivory: #fbf8f5;
  --nc-sage: #62796f;
  --nc-ink: #342d35;
  --nc-muted: #706670;
  --nc-line: #ded2df;
  --nc-shadow: 0 20px 55px rgba(67, 36, 76, .09);
}

.nomade-auth-layout,
.nomade-private-shell {
  background: var(--nc-ivory);
  color: var(--nc-ink);
  display: grid;
  min-height: 82vh;
}

.nomade-auth-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
}

.nomade-auth-story,
.nomade-login-card {
  padding: clamp(2.5rem, 7vw, 7rem);
}

.nomade-auth-story {
  background:
    radial-gradient(circle at 14% 82%, rgba(200, 174, 207, .4), transparent 34%),
    radial-gradient(circle, rgba(95, 45, 111, .15) 1px, transparent 1.3px),
    var(--nc-mist);
  background-size: auto, 22px 22px, auto;
  color: var(--nc-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.nomade-auth-story::after {
  border: 1px solid rgba(95, 45, 111, .18);
  border-radius: 50%;
  content: "";
  height: 260px;
  position: absolute;
  right: -90px;
  top: -80px;
  width: 260px;
}

.nomade-auth-brand {
  color: var(--nc-plum);
  font-size: 2.2rem;
  font-weight: 800;
  left: clamp(2.5rem, 7vw, 7rem);
  letter-spacing: -.075em;
  position: absolute;
  text-decoration: none;
  top: 2.5rem;
}

.nomade-auth-story h1 {
  color: var(--nc-plum-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  max-width: 720px;
}

.nomade-auth-story > p:not(.nomade-eyebrow) {
  color: #625862;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 650px;
}

.nomade-auth-story blockquote {
  border-left: 3px solid var(--nc-lavender);
  color: var(--nc-plum-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  margin: 2.5rem 0 0;
  max-width: 520px;
  padding-left: 1.2rem;
}

.nomade-login-card {
  align-self: center;
  margin: 2rem;
  max-width: 560px;
}

.nomade-login-card h2,
.nomade-private-main h1,
.nomade-new-project h2,
.nomade-profile-card h2 {
  color: var(--nc-plum-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.nomade-login-card form {
  display: grid;
  gap: .8rem;
}

.nomade-login-card input[type="text"],
.nomade-login-card input[type="password"],
.nomade-form input,
.nomade-form select,
.nomade-form textarea {
  appearance: none;
  background: #fff;
  border: 1px solid #cdbfd0;
  border-radius: 13px;
  box-sizing: border-box;
  color: var(--nc-ink);
  font: inherit;
  min-height: 52px;
  padding: .8rem .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}

.nomade-login-card input:focus,
.nomade-form input:focus,
.nomade-form select:focus {
  border-color: var(--nc-plum);
  box-shadow: 0 0 0 4px rgba(95, 45, 111, .1);
  outline: 0;
}

.nomade-login-card input[type="submit"],
.nomade-button {
  align-items: center;
  background: var(--nc-plum);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(95, 45, 111, .17);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1.35rem;
  text-decoration: none;
}

.nomade-google-button {
  align-items: center;
  background: #fff;
  border: 1px solid #cdbfd0;
  border-radius: 999px;
  color: var(--nc-ink);
  display: flex;
  font: inherit;
  font-weight: 700;
  gap: .65rem;
  justify-content: center;
  min-height: 50px;
  width: 100%;
}

.nomade-google-button::before {
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
  border-radius: 50%;
  content: "";
  height: 18px;
  width: 18px;
}

.nomade-divider {
  align-items: center;
  color: var(--nc-muted);
  display: flex;
  font-size: .85rem;
  gap: 1rem;
  margin: 1.5rem 0;
}

.nomade-divider::before,
.nomade-divider::after {
  background: var(--nc-line);
  content: "";
  flex: 1;
  height: 1px;
}

.nomade-helper,
.nomade-form-intro,
.nomade-dashboard-intro {
  color: var(--nc-muted);
}

.nomade-helper {
  font-size: .86rem;
}

.nomade-eyebrow {
  color: var(--nc-plum);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nomade-private-shell {
  grid-template-columns: 276px minmax(0, 1fr);
}

.nomade-private-nav {
  background: #f4eef4;
  border-right: 1px solid var(--nc-line);
  color: var(--nc-ink);
  display: flex;
  flex-direction: column;
  min-height: 86vh;
  padding: 2rem 1.25rem;
}

.nomade-private-brand {
  color: var(--nc-plum);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -.075em;
  text-decoration: none;
}

.nomade-user-chip {
  align-items: center;
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--nc-line);
  border-radius: 17px;
  display: flex;
  gap: .75rem;
  margin: 2rem 0;
  padding: .8rem;
}

.nomade-user-chip img {
  border-radius: 50%;
}

.nomade-user-chip span {
  display: grid;
}

.nomade-user-chip small {
  color: var(--nc-muted);
}

.nomade-private-nav nav {
  display: grid;
  gap: .35rem;
}

.nomade-private-nav nav a,
.nomade-logout {
  border-radius: 12px;
  color: #5f5560;
  padding: .78rem .9rem;
  text-decoration: none;
}

.nomade-private-nav nav a.is-active,
.nomade-private-nav nav a:hover {
  background: #fff;
  box-shadow: 0 6px 20px rgba(67, 36, 76, .06);
  color: var(--nc-plum);
  font-weight: 700;
}

.nomade-logout {
  margin-top: auto;
}

.nomade-private-main {
  background:
    radial-gradient(circle at 92% 5%, rgba(200, 174, 207, .18), transparent 22%),
    var(--nc-ivory);
  padding: clamp(2rem, 5vw, 5rem);
}

.nomade-private-main h1 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.05;
  margin: .5rem 0 1rem;
  max-width: 820px;
}

.nomade-dashboard-intro {
  font-size: 1.03rem;
  line-height: 1.65;
  max-width: 700px;
}

.nomade-dashboard-head {
  align-items: flex-start;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.nomade-project-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 3rem 0 4rem;
}

.nomade-project-card,
.nomade-empty-project,
.nomade-new-project,
.nomade-profile-card {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--nc-line);
  border-radius: 25px;
  box-shadow: var(--nc-shadow);
  padding: 1.7rem;
}

.nomade-empty-project {
  grid-column: 1 / span 2;
  min-height: 240px;
}

.nomade-empty-project h2 {
  color: var(--nc-plum-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.nomade-empty-project p {
  color: var(--nc-muted);
  max-width: 520px;
}

.nomade-empty-project a {
  color: var(--nc-plum);
  font-weight: 700;
}

.nomade-empty-icon {
  align-items: center;
  background: var(--nc-mist);
  border-radius: 50%;
  color: var(--nc-plum);
  display: flex;
  font-size: 1.5rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.nomade-project-purpose {
  color: var(--nc-plum);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nomade-project-card h2 {
  color: var(--nc-plum-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.nomade-project-progress {
  background: #e7dce9;
  border-radius: 999px;
  height: 7px;
  margin-top: 2.4rem;
  overflow: visible;
  position: relative;
}

.nomade-project-progress span {
  background: linear-gradient(90deg, var(--nc-plum), var(--nc-lavender));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.nomade-project-person {
  background: var(--nc-plum-deep);
  border-radius: 8px 8px 5px 5px;
  bottom: 11px;
  height: 24px;
  margin-left: -6px;
  position: absolute;
  transform: rotate(5deg);
  width: 12px;
}

.nomade-project-person::before {
  background: #c89c86;
  border-radius: 50%;
  content: "";
  height: 10px;
  left: 1px;
  position: absolute;
  top: -11px;
  width: 10px;
}

.nomade-project-person::after {
  background: var(--nc-plum-deep);
  border-radius: 3px;
  bottom: -8px;
  box-shadow: 6px 1px 0 var(--nc-plum-deep);
  content: "";
  height: 10px;
  left: 4px;
  position: absolute;
  width: 4px;
}

.nomade-project-stages {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}

.nomade-project-stages span {
  background: #f5f1f5;
  border-radius: 999px;
  color: #817681;
  font-size: .68rem;
  padding: .28rem .5rem;
}

.nomade-project-stages span.is-current {
  background: var(--nc-mist);
  color: var(--nc-plum);
  font-weight: 700;
}

.nomade-new-project,
.nomade-profile-card {
  padding: clamp(1.6rem, 4vw, 3.2rem);
}

.nomade-new-project {
  max-width: 1100px;
}

.nomade-new-project h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: .6rem;
}

.nomade-form-intro {
  margin-bottom: 2rem;
}

.nomade-form-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nomade-form label {
  color: var(--nc-ink);
  display: grid;
  font-size: .9rem;
  font-weight: 650;
  gap: .5rem;
}

.nomade-profile-card {
  margin-top: 2rem;
  max-width: 1120px;
}

body .nomade-profile-card input,
body .nomade-profile-card select {
  appearance: auto;
  background-color: #fff;
  border: 1.5px solid #cdbfd0;
  border-radius: 13px;
  box-shadow: 0 1px 0 rgba(65, 32, 77, .03);
  color: var(--nc-ink);
  display: block;
  min-height: 54px;
  opacity: 1;
  padding: .82rem 1rem;
  -webkit-text-fill-color: var(--nc-ink);
}

body .nomade-profile-card input:disabled {
  background: #f5f1f5;
  color: #756b75;
  cursor: not-allowed;
  -webkit-text-fill-color: #756b75;
}

.nomade-profile-card label > span {
  display: block;
}

.nomade-profile-card label small {
  color: var(--nc-muted);
  font-size: .76rem;
  font-weight: 400;
  line-height: 1.4;
}

.nomade-profile-privacy {
  border-top: 1px solid var(--nc-line);
  color: var(--nc-muted);
  font-size: .8rem;
  line-height: 1.5;
  margin: 1.6rem 0 0;
  padding-top: 1rem;
}

.nomade-new-project .nomade-button,
.nomade-profile-card .nomade-button {
  margin-top: 1.5rem;
}

.nomade-notice {
  background: var(--nc-mist);
  border-left: 4px solid var(--nc-plum);
  border-radius: 12px;
  color: var(--nc-plum-deep);
  padding: .9rem 1rem;
}

.nomade-document-center,
.nomade-preference-card,
.nomade-assistant-card {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--nc-line);
  border-radius: 25px;
  box-shadow: var(--nc-shadow);
  margin-top: 2.5rem;
  max-width: 1050px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.nomade-project-selector {
  display: grid;
  font-size: .9rem;
  font-weight: 700;
  gap: .5rem;
  max-width: 460px;
}

.nomade-project-selector select {
  background: #fff;
  border: 1px solid #cdbfd0;
  border-radius: 13px;
  font: inherit;
  min-height: 50px;
  padding: .75rem .9rem;
}

.nomade-document-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2rem 0;
}

.nomade-document-item,
.nomade-preference-card > label {
  align-items: flex-start;
  background: #faf7fa;
  border: 1px solid var(--nc-line);
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  gap: .8rem;
  padding: 1rem;
}

.nomade-document-item input,
.nomade-preference-card input {
  accent-color: var(--nc-plum);
  height: 19px;
  margin-top: .15rem;
  width: 19px;
}

.nomade-document-item span,
.nomade-preference-card label span {
  display: grid;
  gap: .25rem;
}

.nomade-document-item small,
.nomade-preference-card label small {
  color: var(--nc-muted);
  line-height: 1.45;
}

.nomade-preference-card {
  display: grid;
  gap: .8rem;
}

.nomade-preference-card .nomade-button {
  justify-self: start;
  margin-top: .8rem;
}

.nomade-assistant-card {
  max-width: 820px;
}

.nomade-assistant-card form {
  display: grid;
  gap: .8rem;
}

.nomade-assistant-card textarea {
  background: #fff;
  border: 1px solid #cdbfd0;
  border-radius: 16px;
  box-sizing: border-box;
  color: var(--nc-ink);
  font: inherit;
  line-height: 1.55;
  padding: 1rem;
  resize: vertical;
  width: 100%;
}

.nomade-assistant-card .nomade-button {
  justify-self: start;
}

.nomade-assistant-answer {
  align-items: flex-start;
  background: var(--nc-mist);
  border-radius: 18px;
  display: flex;
  gap: .8rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
}

.nomade-assistant-answer > span {
  align-items: center;
  background: var(--nc-plum);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 34px;
  font-family: Georgia, "Times New Roman", serif;
  height: 34px;
  justify-content: center;
}

.nomade-assistant-answer p {
  color: var(--nc-plum-deep);
  line-height: 1.6;
  margin: .15rem 0 0;
}

.nomade-safety-note {
  border-top: 1px solid var(--nc-line);
  color: var(--nc-muted);
  font-size: .8rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.nomade-private-gate {
  margin: 10vh auto;
  max-width: 560px;
  padding: 2rem;
  text-align: center;
}

@media (max-width: 900px) {
  .nomade-auth-layout,
  .nomade-private-shell {
    grid-template-columns: 1fr;
  }

  .nomade-auth-story {
    min-height: 46vh;
  }

  .nomade-private-nav {
    min-height: auto;
  }

  .nomade-private-nav nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nomade-project-grid,
  .nomade-form-grid,
  .nomade-document-grid {
    grid-template-columns: 1fr;
  }

  .nomade-empty-project {
    grid-column: auto;
  }

  .nomade-dashboard-head {
    flex-direction: column;
  }
}
