/* Nym.bio studio palette, paired with the blue homepage. */
body {
  --gx-ink: #080b13;
  --gx-cobalt: #304fcf;
  --gx-cobalt-dark: #243fba;
  --gx-cobalt-soft: #e8ecff;
  --gx-canvas: #f2edff;
  --gx-paper: #fff;
  --gx-muted: #45475a;
  --gx-line: #c6cae1;
  background: var(--gx-canvas);
}
.studio-header {
  height: 70px;
  padding-inline: clamp(18px, 3.5vw, 52px);
  background: #c8d4ff;
  border-bottom: 2px solid var(--gx-ink);
}
.studio-beta {
  color: #304fcf;
  font-size: 10px;
}
.studio-header-right button {
  color: #080b13;
}
.auth-view {
  max-width: 1080px;
  min-height: calc(100vh - 70px);
  margin: auto;
  padding: 34px 30px 48px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr);
  gap: clamp(35px, 6vw, 85px);
}
.auth-copy {
  padding: 0;
}
.auth-copy .eyebrow {
  color: var(--gx-cobalt);
}
.auth-copy h1 {
  font-size: clamp(45px, 4.6vw, 66px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 17px 0 16px;
}
.auth-copy h1 em {
  color: var(--gx-cobalt);
}
.auth-copy > p {
  max-width: 430px;
  color: #45475a;
  font-size: 15px;
  line-height: 1.5;
}
.auth-visual {
  display: none;
}
.auth-card {
  border: 1px solid #c6cae1;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
  padding: clamp(25px, 3vw, 38px);
}
.auth-card h2 {
  font-size: 30px;
  font-weight: 800;
}
.auth-card p {
  font-size: 13px;
}
.auth-card input,
.panel input:not([type="color"]):not([type="checkbox"]),
.panel textarea,
.panel select,
.share-url input,
.request-result input {
  border: 1px solid #b9c2ec;
  border-radius: 9px;
  background: #fff;
  min-height: 47px;
}
.auth-card input:focus,
.panel input:focus,
.panel textarea:focus,
.panel select:focus {
  border-color: var(--gx-cobalt);
  box-shadow: 0 0 0 3px #5975ff26;
}
.primary-button {
  background: #304fcf;
  border-color: #304fcf;
  border-radius: 9px;
  min-height: 50px;
  font-size: 13px;
}
.primary-button:hover {
  background: #243fba;
  border-color: #243fba;
}
.studio-view {
  grid-template-columns: 215px minmax(0, 1fr);
  min-height: calc(100vh - 70px);
}
.studio-sidebar {
  top: 70px;
  height: calc(100vh - 70px);
  padding: 34px 12px 20px;
  background: #fff;
  border-right: 1px solid #c6cae1;
}
.sidebar-heading {
  color: #646a80;
  margin-bottom: 11px;
}
.studio-sidebar nav {
  gap: 4px;
}
.nav-item {
  min-height: 45px;
  border-radius: 9px;
  color: #353a50;
  font-size: 13px;
}
.nav-item:hover {
  background: #e8ecff;
  color: #080b13;
}
.nav-item.active {
  background: #e8ecff;
  color: #304fcf;
}
.nav-item span {
  color: inherit;
}
.nav-item .nav-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: currentColor;
}
.sidebar-bottom {
  border-color: #c6cae1;
}
.live-dot {
  background: #3c9960;
}
.studio-content {
  max-width: 1240px;
  padding: 42px clamp(22px, 4vw, 60px) 90px;
}
.studio-toolbar {
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #c6cae1;
}
.workspace-label {
  color: #646a80;
}
.studio-toolbar h1 {
  font-size: clamp(32px, 3vw, 43px);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.toolbar-actions {
  gap: 9px;
}
.subtle-button,
.outline-button {
  border: 1px solid #b9c2ec;
  border-radius: 9px;
  background: #fff;
  min-height: 41px;
}
.outline-button {
  background: #304fcf;
  border-color: #304fcf;
  color: #fff;
}
.outline-button:hover {
  background: #243fba;
  border-color: #243fba;
  color: #fff;
}
.studio-message {
  margin: 10px 0 16px;
}
.section-intro {
  max-width: 650px;
  margin-bottom: 22px;
}
.section-intro h2 {
  font-size: clamp(23px, 2.8vw, 30px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.section-intro p {
  font-size: 13px;
}
.page-grid {
  grid-template-columns: minmax(0, 1fr) minmax(265px, 340px);
  gap: clamp(22px, 3vw, 40px);
}
.links-editor-stack {
  display: grid;
  align-content: start;
  gap: 18px;
}
.panel,
.stat-card {
  background: #fff;
  border: 1px solid #c6cae1;
  border-radius: 16px;
  box-shadow: none;
}
.panel {
  padding: clamp(22px, 2.7vw, 31px);
}
.panel-heading {
  margin-bottom: 14px;
}
.panel-heading p {
  margin-top: 5px;
}
.panel h2,
.section-intro h2 {
  font-weight: 800;
}
.panel h2 {
  font-size: 23px;
}
.panel h3 {
  font-weight: 800;
}
.panel-kicker {
  color: #646a80;
}
.panel-symbol {
  color: var(--gx-cobalt);
}
.panel-divider {
  margin: 24px 0;
}
.avatar-preview {
  border-radius: 50%;
  background: #e8ecff;
}
.upload-button,
.readonly-field {
  border-radius: 9px;
}
.color-row input {
  border-radius: 50%;
}
.preview-column {
  top: 100px;
  text-align: left;
}
.preview-header {
  margin: 0 0 13px;
}
.preview-header h3 {
  font-size: 16px;
  margin: 0;
}
.preview-header p {
  margin: 3px 0 0;
  color: #646a80;
  font-size: 11px;
}
.preview-indicator {
  color: #34814e;
}
.phone-frame {
  max-width: 340px;
  height: 625px;
  border: 1px solid #b9c2ec;
  border-radius: 18px;
  background: #f2edff;
  box-shadow: 0 12px 32px #080b131a;
}
.phone-notch {
  display: none;
}
.preview-column > p {
  font-size: 11px;
}
.link-list {
  gap: 9px;
}
.editor-link {
  border: 1px solid #c6cae1;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}
.editor-link-icon {
  border-radius: 7px;
  background: #e8ecff;
}
.editor-link-body strong {
  font-size: 13px;
}
.editor-link-body small {
  font-size: 11px;
}
.editor-link-actions {
  gap: 1px;
}
.editor-link-actions button {
  min-height: 31px;
  min-width: 28px;
  border-radius: 6px;
}
.editor-link-actions button:hover {
  background: #f2edff;
}
.count-badge {
  background: #e8ecff;
  border-radius: 999px;
  color: #304fcf;
}
.empty-state {
  border: 1px dashed #b9c2ec;
  border-radius: 10px;
}
.verified-pill,
.request-result {
  border-radius: 9px;
}
.stat-card:first-child {
  border-top: 1px solid #c6cae1;
}
.stat-card strong {
  font-size: 47px;
}
.share-dialog {
  border-radius: 24px;
}
@media (max-width: 1050px) {
  .page-grid {
    grid-template-columns: minmax(0, 1fr) 275px;
  }
  .auth-view {
    gap: 30px;
  }
}
@media (max-width: 850px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
  .preview-column {
    position: static;
  }
  .phone-frame {
    margin: 0 auto;
  }
  .preview-header {
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 750px) {
  .studio-header {
    height: 62px;
  }
  .auth-view {
    display: block;
    min-height: calc(100vh - 62px);
    padding: 42px 20px 60px;
  }
  .auth-copy h1 {
    font-size: clamp(49px, 11vw, 67px);
    margin: 17px 0 15px;
  }
  .auth-copy > p {
    font-size: 15px;
  }
  .auth-card {
    margin-top: 30px;
  }
  .studio-view {
    display: block;
  }
  .studio-sidebar {
    top: 62px;
    height: auto;
    padding: 7px 9px;
    border-right: 0;
    border-bottom: 1px solid #c6cae1;
  }
  .studio-sidebar nav {
    justify-content: space-between;
    gap: 3px;
  }
  .nav-item {
    flex: 1;
    min-height: 42px;
    font-size: 11px;
    padding: 9px 4px;
  }
  .nav-item span {
    font-size: 15px;
  }
  .studio-content {
    padding: 25px 16px 70px;
  }
  .studio-toolbar h1 {
    font-size: 33px;
  }
  .preview-column {
    display: block;
  }
  .phone-frame {
    width: min(340px, 100%);
  }
}
@media (max-width: 430px) {
  .studio-toolbar {
    display: block;
  }
  .toolbar-actions {
    margin-top: 15px;
  }
  .toolbar-actions > * {
    flex: 1;
  }
  .nav-item span {
    display: none;
  }
  .phone-frame {
    height: 560px;
  }
}

/* Studio home and account controls. */
.account-menu-wrap { position: relative; }
.account-menu-button {
  display: flex; align-items: center; gap: 9px;
  min-height: 42px; padding: 4px 10px 4px 4px;
  border: 1px solid #9eaee9; border-radius: 12px;
  background: #fff; color: var(--gx-ink); font: 700 13px var(--gx-body);
  cursor: pointer;
}
.account-menu-avatar {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 9px; overflow: hidden; background: #5975ff; color: #fff;
  font: 700 16px var(--gx-display);
}
.account-menu-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-menu {
  position: absolute; z-index: 30; top: calc(100% + 9px); right: 0;
  width: min(280px, calc(100vw - 28px)); padding: 9px;
  border: 1px solid #b9c2ec; border-radius: 15px;
  background: #fff; box-shadow: 0 16px 40px #10174225;
}
.account-menu[hidden], .account-menu-wrap[hidden] { display: none; }
.account-menu-identity { display: grid; gap: 4px; padding: 12px 12px 14px; border-bottom: 1px solid #e2e5f4; margin-bottom: 6px; }
.account-menu-identity strong { font: 750 16px var(--gx-display); }
.account-menu-identity small { color: #646a80; overflow-wrap: anywhere; }
.account-menu > button, .account-menu > a {
  display: block; width: 100%; padding: 11px 12px;
  border: 0; border-radius: 8px; background: transparent;
  color: #252a3a; text-align: left; text-decoration: none;
  font: 700 12px var(--gx-body); cursor: pointer;
}
.account-menu > button:hover, .account-menu > a:hover { background: #e8ecff; }
.account-menu .account-signout { color: #a32638; border-top: 1px solid #e2e5f4; border-radius: 0; margin-top: 6px; }
.nav-item[data-section="links"] { margin-top: 22px; }
.section-subtitle { margin: 8px 0 0; color: #565b70; font-size: 13px; line-height: 1.6; }
.dashboard-status { flex: none; padding: 7px 11px; border-radius: 99px; background: #e9f7ee; color: #207b45; font-size: 11px; font-weight: 800; }
.dashboard-status[hidden] { display: none; }
.dashboard-status.is-paused { background: #fff0df; color: #945014; }
.dashboard-grid { display: grid; grid-template-columns: minmax(300px, 1.06fr) minmax(270px, .94fr); gap: 18px; }
.dashboard-page-preview { min-width: 0; height: 660px; overflow: hidden; border: 1px solid #c6cae1; border-radius: 20px; background: #fff; box-shadow: 0 12px 28px #151d4a10; }
.dashboard-page-preview iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.dashboard-side { display: flex; flex-direction: column; gap: 18px; }
.dashboard-next, .dashboard-payment { padding: 23px; }
.dashboard-next { display: flex; flex-direction: column; align-items: flex-start; background: #e8ecff; border-color: #aebdf7; }
.dashboard-next h2, .dashboard-payment h2 { margin: 0 0 7px; font: 750 22px var(--gx-display); letter-spacing: -.035em; }
.dashboard-next p, .dashboard-payment p { margin: 0 0 14px; color: #50566d; font-size: 12px; line-height: 1.55; }
.dashboard-next .primary-button { margin-top: auto; width: auto; padding-inline: 18px; min-height: 42px; }
.dashboard-payment { display: flex; flex-direction: column; align-items: flex-start; }
.dashboard-payment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; }
.dashboard-payment button, .dashboard-payment-actions a { padding: 0; border: 0; background: none; color: #304fcf; font: 800 12px var(--gx-body); cursor: pointer; text-decoration: none; }
.dashboard-payment-actions a:hover { text-decoration: underline; }
.editor-link-icon img { width: 20px; height: 20px; object-fit: contain; }
.dashboard-metrics-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 7px 0 -6px; }
.dashboard-metrics-heading h2 { margin: 0; font: 750 22px var(--gx-display); }
.dashboard-metrics-heading span { font: 700 10px var(--gx-mono); color: #626b8a; text-transform: uppercase; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dashboard-metrics article { display: flex; flex-direction: column; min-height: 112px; padding: 14px; border: 1px solid #c6cae1; border-radius: 13px; background: #fff; }
.dashboard-metrics article span { font: 700 10px var(--gx-mono); color: #626b8a; text-transform: uppercase; }
.dashboard-metrics article strong { margin: 7px 0; font: 750 31px var(--gx-display); line-height: 1; }
.dashboard-metrics article small { color: #61677c; font-size: 11px; }
.dashboard-shortcuts { display: flex; gap: 10px; margin-top: 19px; }
.dashboard-shortcuts button { display: flex; justify-content: space-between; gap: 20px; padding: 14px 17px; flex: 1; border: 1px solid #b9c2ec; border-radius: 10px; background: #fff; color: #304fcf; font-weight: 800; cursor: pointer; }
.dashboard-payment button:hover { text-decoration: underline; }
.account-menu-button:focus-visible, .account-menu button:focus-visible, .account-menu a:focus-visible, .dashboard-payment button:focus-visible { outline: 3px solid #5975ff; outline-offset: 2px; }
@media (max-width: 900px) { .dashboard-grid { grid-template-columns: 1fr; } .dashboard-page-preview { max-width: 620px; width: 100%; margin-inline: auto; } }
@media (max-width: 750px) { .studio-sidebar nav { display: flex; overflow-x: auto; justify-content: flex-start; } .nav-item { flex: none; white-space: nowrap; } .nav-item[data-section="links"] { margin-top: 0; } }
@media (max-width: 600px) { .dashboard-metrics { grid-template-columns: 1fr; } .dashboard-metrics article { min-height: 105px; } .dashboard-page-preview { height: 600px; } .account-menu-button { max-width: 156px; } #account-menu-handle { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } }
@media (max-width: 430px) { .dashboard-grid { display: block; } .dashboard-side { margin-top: 14px; } }

/* Guided profile setup: a quick path from a name to a useful public page. */
.auth-view {
  max-width: 1180px;
}
.auth-copy h1 {
  max-width: 680px;
}
.auth-visual {
  display: block;
  width: min(365px, 100%);
  margin-top: 26px;
  padding: 18px 22px 20px;
  transform: rotate(-2deg);
  background: #fff;
  color: var(--gx-ink);
  border: 3px solid var(--gx-ink);
  border-radius: 20px;
  box-shadow: 9px 9px 0 var(--gx-cobalt);
}
.visual-top {
  color: var(--gx-cobalt);
  opacity: 1;
}
.visual-orbit {
  height: 58px;
  margin-top: 11px;
}
.visual-orbit span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--gx-ink);
  border-radius: 50%;
  background: #c8d4ff;
  color: var(--gx-ink);
  font: 800 29px/1 var(--gx-display);
}
.auth-visual > strong {
  display: block;
  margin-top: 7px;
  font: 800 25px/1.1 var(--gx-display);
  letter-spacing: -0.04em;
}
.visual-handle {
  margin: 3px 0 17px;
  color: #60677c;
  font-size: 12px;
}
.visual-link {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 2px solid var(--gx-ink);
  border-radius: 8px;
  background: #f2edff;
}
.visual-link img {
  display: block;
  width: 19px;
  height: 19px;
}
.visual-link + .visual-link {
  margin-top: 8px;
}
.setup-kicker {
  color: var(--gx-cobalt);
  font: 700 11px/1.4 var(--gx-mono);
  letter-spacing: 0.06em;
}
.auth-card .setup-kicker {
  margin-bottom: 15px;
}
.auth-card h2 {
  margin-bottom: 10px;
}
.handle-hint {
  margin: 9px 0 22px;
  color: #304fcf;
  font: 700 12px/1.4 var(--gx-mono);
}
.setup-footnote {
  display: block;
  margin-top: 15px;
  color: #636a7d;
  font-size: 11px;
  line-height: 1.5;
}
.setup-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(255px, 0.7fr);
  gap: 26px;
  margin: 14px 0 35px;
  border: 3px solid var(--gx-ink);
  border-radius: 17px;
  background: #fff;
  box-shadow: 7px 7px 0 #304fcf;
  overflow: hidden;
}
.setup-guide-main {
  padding: clamp(24px, 3vw, 39px);
}
.setup-guide-main h2 {
  max-width: 520px;
  margin: 11px 0 10px;
  font: 800 clamp(25px, 2.8vw, 37px)/1.05 var(--gx-display);
  letter-spacing: -0.045em;
}
.setup-guide-main p {
  max-width: 500px;
  margin: 0 0 22px;
  color: #45475a;
  font-size: 13px;
  line-height: 1.6;
}
.setup-guide-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-height: 45px;
  padding: 10px 17px;
  border: 2px solid var(--gx-ink);
  border-radius: 9px;
  background: #c8d4ff;
  color: var(--gx-ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--gx-ink);
}
.setup-guide-action:hover {
  background: #aabfff;
}
.setup-steps {
  display: grid;
  align-content: center;
  gap: 6px;
  margin: 0;
  padding: 21px;
  background: #e9edff;
  list-style: none;
  border-left: 2px solid var(--gx-ink);
}
.setup-steps li {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #4d5367;
  font-size: 11px;
}
.setup-steps li.current {
  border-color: #899bff;
  background: #fff;
  color: var(--gx-ink);
}
.setup-steps li.complete {
  color: var(--gx-ink);
}
.setup-steps li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #97a4d7;
  font: 700 10px/1 var(--gx-mono);
}
.setup-steps li.complete > span {
  background: var(--gx-cobalt);
  border-color: var(--gx-cobalt);
  color: #fff;
}
.setup-steps strong {
  font-size: 11px;
}
.setup-steps small {
  color: #5a637a;
  font-size: 10px;
}
@media (max-width: 1050px) {
  .setup-guide {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .setup-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 0;
    border-top: 2px solid var(--gx-ink);
  }
  .setup-steps li {
    grid-template-columns: 29px minmax(0, 1fr);
  }
  .setup-steps small {
    grid-column: 2;
  }
}
@media (max-width: 750px) {
  .auth-visual {
    display: none;
  }
  .setup-guide {
    margin-right: 7px;
  }
  .setup-guide-main {
    padding: 24px;
  }
  .setup-steps {
    grid-template-columns: 1fr;
    padding: 11px;
  }
  .setup-steps li {
    grid-template-columns: 29px minmax(0, 1fr) auto;
    min-height: 40px;
  }
  .setup-steps small {
    grid-column: auto;
  }
}
