/* MoaBoard new-board flow v2 -------------------------------------------------
   A page-local layer: purpose -> name -> review. Shared product styles stay
   untouched so this wizard can remain stable while the rest of the app evolves. */

.page-new {
  --new-paper: #f7f8f5;
  --new-surface: #ffffff;
  --new-ink: #111814;
  --new-soft-ink: #354039;
  --new-muted: #6b746e;
  --new-faint: #929a95;
  --new-line: #e2e6e1;
  --new-line-strong: #ccd4ce;
  --new-green: #08785b;
  --new-green-strong: #055f48;
  --new-green-soft: #eaf4f0;
  min-width: 0;
  min-height: 100svh;
  margin: 0;
  color: var(--new-ink);
  background: var(--new-paper);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.page-new [hidden] {
  display: none;
}

.page-new button,
.page-new input,
.page-new select,
.page-new textarea {
  font: inherit;
}

.page-new .new-header.site-nav {
  position: relative;
  z-index: 40;
  width: 100%;
  max-width: none;
  min-height: 64px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-bottom: 1px solid var(--new-line);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.page-new .new-header-inner {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.page-new .site-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--new-ink);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.page-new .mb-brand-mark {
  position: relative;
  display: grid;
  width: 22px;
  height: 24px;
  grid-template-columns: 7px 8px;
  grid-template-rows: 14px 7px;
  gap: 3px;
  flex: 0 0 auto;
}

.page-new .mb-brand-mark::before,
.page-new .mb-brand-mark::after,
.page-new .mb-brand-mark i {
  display: block;
  border-radius: 3px;
  content: "";
}

.page-new .mb-brand-mark::before {
  grid-row: 1 / 3;
  background: var(--new-green);
}

.page-new .mb-brand-mark::after {
  grid-column: 2;
  grid-row: 1;
  background: var(--new-ink);
}

.page-new .mb-brand-mark i {
  grid-column: 2;
  grid-row: 2;
  background: #e8bd39;
}

.page-new .site-links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 22px;
}

.page-new .site-links > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0;
  color: var(--new-muted);
  font-size: 12px;
  font-weight: 620;
  text-decoration: none;
  transition: color 140ms ease;
}

.page-new .site-links > a:hover {
  color: var(--new-green);
}

.page-new .site-links .language-switcher {
  margin: 0;
}

.page-new .new-mobile-step-back,
.page-new .new-mobile-title,
.page-new .new-mobile-exit,
.page-new .new-mobile-action-bar {
  display: none;
}

.page-new .new-shell {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  min-height: calc(100svh - 64px);
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin: 0 auto;
  padding: 56px 0 88px;
}

.page-new .new-guide {
  position: sticky;
  top: 40px;
  min-width: 0;
}

.page-new .new-guide-kicker,
.page-new .new-step-kicker {
  display: block;
  margin: 0;
  color: var(--new-green);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.page-new .new-guide-heading h1 {
  margin: 14px 0 0;
  color: var(--new-ink);
  font-size: 30px;
  font-weight: 680;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.page-new .new-guide-heading p {
  margin: 13px 0 0;
  color: var(--new-muted);
  font-size: 12px;
  font-weight: 450;
  line-height: 1.65;
  word-break: keep-all;
}

.page-new .new-progress {
  position: relative;
  display: grid;
  width: 100%;
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  color: var(--new-muted);
  border: 0;
  list-style: none;
}

.page-new .new-progress::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 15px;
  width: 1px;
  background: var(--new-line);
  content: "";
}

.page-new .new-progress li {
  position: relative;
  display: grid;
  min-height: 66px;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 8px 0;
}

.page-new .new-progress li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--new-faint);
  background: var(--new-paper);
  border: 1px solid var(--new-line);
  border-radius: 50%;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  font-weight: 720;
  letter-spacing: 0.04em;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.page-new .new-progress li div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-top: 1px;
}

.page-new .new-progress strong {
  color: var(--new-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  transition: color 180ms ease;
}

.page-new .new-progress small {
  color: var(--new-faint);
  font-size: 10px;
  font-weight: 450;
  line-height: 1.4;
}

.page-new .new-progress li[aria-current="step"] > span {
  color: #fff;
  background: var(--new-green);
  border-color: var(--new-green);
}

.page-new .new-progress li[aria-current="step"] strong {
  color: var(--new-ink);
}

.page-new .new-progress li.is-complete > span {
  color: var(--new-green);
  background: var(--new-green-soft);
  border-color: #afd0c4;
}

.page-new .new-guide-selection {
  display: grid;
  gap: 5px;
  margin-top: 28px;
  padding: 18px 0 0;
  border-top: 1px solid var(--new-line);
}

.page-new .new-guide-selection small {
  color: var(--new-faint);
  font-size: 10px;
  font-weight: 600;
}

.page-new .new-guide-selection strong {
  color: var(--new-ink);
  font-size: 13px;
  font-weight: 680;
}

.page-new .new-guide-selection span {
  color: var(--new-muted);
  font-size: 10px;
  line-height: 1.45;
}

.page-new .new-workspace,
.page-new .new-form,
.page-new .new-panel {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--new-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-new .new-panel-heading {
  margin: 0 0 30px;
  min-width: 0;
}

.page-new .new-plan-intent {
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--new-line);
  color: var(--new-green);
  font-size: 13px;
  line-height: 1.6;
}

.page-new .new-step-kicker {
  display: block;
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.page-new .new-panel-heading h2,
.page-new .new-copy h1,
.page-new .new-copy h2 {
  width: 100%;
  max-width: 100%;
  margin: 15px 0 0;
  color: var(--new-ink);
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 690;
  line-height: 1.07;
  letter-spacing: -0.055em;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.page-new .new-panel-heading p,
.page-new .new-copy > p:not(.new-auto-note, .new-auth-state) {
  max-width: 590px;
  margin: 16px 0 0;
  color: var(--new-muted);
  font-size: 14px;
  font-weight: 440;
  line-height: 1.7;
  word-break: keep-all;
}

.page-new .template-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.page-new .template-picker button {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 66px;
  grid-template-columns: 30px minmax(0, 1fr) 20px;
  grid-template-areas: none;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 12px 10px;
  color: var(--new-ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--new-line);
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease;
}

.page-new .template-picker button:last-child {
  border-bottom: 1px solid var(--new-line);
}

.page-new .template-picker button::before,
.page-new .template-picker button::after {
  display: none;
}

.page-new .new-choice-index {
  color: var(--new-faint);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 680;
  letter-spacing: 0.04em;
}

.page-new .new-choice-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 3px;
}

.page-new .template-picker button strong,
.page-new .template-picker button small {
  grid-area: auto;
  margin: 0;
  padding: 0;
  color: inherit;
  overflow-wrap: anywhere;
}

.page-new .template-picker button strong {
  font-size: 14px;
  font-weight: 660;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.page-new .template-picker button strong::before,
.page-new .template-picker button strong::after {
  display: none;
}

.page-new .template-picker button small {
  color: var(--new-muted);
  font-size: 11px;
  font-weight: 440;
  line-height: 1.4;
}

.page-new .new-choice-check {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid var(--new-line-strong);
  border-radius: 50%;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.page-new .template-picker button:hover {
  color: var(--new-green);
  background: rgba(8, 120, 91, 0.035);
  border-color: var(--new-line);
  border-radius: 0;
  transform: none;
}

.page-new .template-picker button.active {
  padding-right: 10px;
  padding-left: 10px;
  color: var(--new-green-strong);
  background: transparent;
  border-color: var(--new-line);
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.page-new .template-picker button.active .new-choice-index {
  color: var(--new-green);
}

.page-new .template-picker button.active .new-choice-check {
  background: var(--new-green);
  border-color: var(--new-green);
  box-shadow: inset 0 0 0 4px var(--new-paper);
}

.page-new .new-plan-limit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 230px);
  gap: 18px 28px;
  align-items: end;
  margin: -4px 0 28px;
  padding: 22px 0;
  border-top: 1px solid var(--new-line-strong);
  border-bottom: 1px solid var(--new-line-strong);
  outline: 0;
}

.page-new .new-plan-limit-copy {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.page-new .new-plan-limit-kicker {
  color: var(--new-green);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 740;
  letter-spacing: 0.08em;
}

.page-new .new-plan-limit h3 {
  margin: 0;
  color: var(--new-ink);
  font-size: 19px;
  font-weight: 680;
  line-height: 1.35;
  letter-spacing: -0.035em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.page-new .new-plan-limit-copy p {
  max-width: 440px;
  margin: 0;
  color: var(--new-muted);
  font-size: 11px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.page-new .new-upgrade-board-field {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: var(--new-muted);
  font-size: 10px;
  font-weight: 620;
}

.page-new .new-upgrade-board-field select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 34px 0 11px;
  color: var(--new-ink);
  background: var(--new-surface);
  border: 1px solid var(--new-line-strong);
  border-radius: 8px;
  font-size: 11px;
  text-overflow: ellipsis;
}

.page-new .new-plan-limit-actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--new-line);
  border-bottom: 1px solid var(--new-line);
}

.page-new .new-plan-limit-actions.is-compare-only {
  grid-template-columns: auto;
  justify-content: start;
  border: 0;
}

.page-new .new-plan-option {
  display: grid;
  min-width: 0;
  min-height: 62px;
  align-content: center;
  gap: 3px;
  padding: 9px 14px;
  color: var(--new-soft-ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--new-line);
  border-radius: 0;
  cursor: pointer;
}

.page-new .new-plan-option:hover {
  color: var(--new-green-strong);
  background: rgba(8, 120, 91, 0.035);
}

.page-new .new-plan-option strong,
.page-new .new-plan-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-new .new-plan-option strong {
  color: inherit;
  font-size: 12px;
  font-weight: 680;
}

.page-new .new-plan-option small {
  color: var(--new-muted);
  font-size: 10px;
}

.page-new .new-plan-option:disabled {
  cursor: wait;
  opacity: 0.55;
}

.page-new .new-plan-compare {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--new-green-strong);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.page-new .new-plan-limit-status {
  grid-column: 1 / -1;
  min-height: 0;
  margin: -9px 0 0;
  color: #a53d35;
  font-size: 10px;
  line-height: 1.5;
}

.page-new .new-plan-limit-status:empty {
  display: none;
}

.page-new .new-panel-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-top: 24px;
}

.page-new .new-purpose-notes {
  display: grid;
  gap: 7px;
}

.page-new .new-auto-note,
.page-new .new-auth-state {
  position: relative;
  max-width: 440px;
  margin: 0;
  padding-left: 13px;
  color: var(--new-muted);
  font-size: 10px;
  font-weight: 450;
  line-height: 1.5;
}

.page-new .new-auto-note::before,
.page-new .new-auth-state::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--new-line-strong);
  border-radius: 50%;
  content: "";
}

.page-new .new-auth-state[data-authenticated="true"] {
  color: var(--new-green);
}

.page-new .new-auth-state[data-authenticated="true"]::before {
  background: var(--new-green);
}

.page-new .primary-button {
  display: inline-flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 19px;
  color: #fff;
  background: var(--new-green);
  border: 1px solid var(--new-green);
  border-radius: 8px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 690;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.page-new .primary-button:hover {
  color: #fff;
  background: var(--new-green-strong);
  border-color: var(--new-green-strong);
  transform: translateY(-1px);
}

.page-new .primary-button:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.page-new .new-purpose-continue {
  width: auto;
  white-space: nowrap;
}

.page-new .new-desktop-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  margin: -13px 0 18px;
  padding: 0;
  color: var(--new-muted);
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 580;
  cursor: pointer;
}

.page-new .new-desktop-back::before {
  content: "\2190";
  font-size: 13px;
}

.page-new .new-desktop-back:hover {
  color: var(--new-green);
}

.page-new .new-details .new-panel-heading,
.page-new .new-review .new-panel-heading {
  margin-bottom: 36px;
}

.page-new .new-name-field {
  position: relative;
  display: grid;
  gap: 9px;
  margin: 0;
  color: var(--new-muted);
  font-size: 11px;
  font-weight: 620;
}

.page-new .new-name-field > span {
  color: var(--new-muted);
}

.page-new .new-name-field input {
  width: 100%;
  min-height: 70px;
  padding: 8px 48px 8px 0;
  color: var(--new-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--new-line-strong);
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.04em;
  transition: border-color 150ms ease;
}

.page-new .new-name-field input::placeholder {
  color: #adb4b0;
}

.page-new .new-name-field input:focus {
  border-color: var(--new-green);
}

.page-new .new-name-field > small {
  position: absolute;
  right: 0;
  bottom: 17px;
  color: var(--new-faint);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 520;
}

.page-new .new-name-preview {
  display: grid;
  gap: 7px;
  margin-top: 34px;
  padding: 22px 0;
  border-top: 1px solid var(--new-line);
  border-bottom: 1px solid var(--new-line);
}

.page-new .new-name-preview small {
  color: var(--new-faint);
  font-size: 10px;
  font-weight: 620;
}

.page-new .new-name-preview strong {
  overflow: hidden;
  color: var(--new-ink);
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-new .new-name-preview span {
  overflow: hidden;
  color: var(--new-green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-new .new-panel-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}

.page-new .new-panel-actions .primary-button {
  min-width: 160px;
}

.page-new .creation-summary {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--new-line);
  border-bottom: 1px solid var(--new-line);
  border-radius: 0;
  box-shadow: none;
}

.page-new .new-review-identity {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding-block: 20px;
  border-bottom: 1px solid var(--new-line);
  overflow-wrap: anywhere;
}

.page-new .new-review-identity > strong {
  color: var(--new-ink);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.4;
}

.page-new .new-review-identity > :is(span, small) {
  color: var(--new-muted);
  font-size: 12px;
  line-height: 1.6;
}

.page-new .template-preview,
.page-new .access-preview {
  min-width: 0;
  margin: 0;
  padding: 21px 0;
  color: var(--new-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-new .template-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 18px;
}

.page-new .template-preview strong,
.page-new .access-preview strong {
  color: var(--new-ink);
  font-size: 14px;
  font-weight: 660;
  line-height: 1.4;
}

.page-new .template-preview span,
.page-new .access-preview span {
  color: var(--new-muted);
  font-size: 11px;
  font-weight: 440;
  line-height: 1.55;
}

.page-new .template-preview span {
  grid-column: 1 / -1;
}

.page-new .template-preview small {
  grid-column: 2;
  grid-row: 1;
  color: var(--new-green);
  font-size: 10px;
  font-weight: 650;
}

.page-new .access-preview {
  display: grid;
  gap: 15px;
  border-top: 1px solid var(--new-line);
}

.page-new .access-preview > div {
  display: grid;
  gap: 5px;
}

.page-new .access-preview dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.page-new .access-preview dl div {
  display: grid;
  gap: 4px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--new-line);
  border-radius: 0;
}

.page-new .access-preview dl div:first-child {
  padding-left: 0;
  border-left: 0;
}

.page-new .access-preview dt,
.page-new .access-preview dd {
  margin: 0;
  font-size: 10px;
  line-height: 1.4;
}

.page-new .access-preview dt {
  color: var(--new-faint);
  font-weight: 500;
}

.page-new .access-preview dd {
  color: var(--new-soft-ink);
  font-weight: 650;
}

.page-new .advanced-settings {
  margin: 22px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--new-line);
  border-radius: 0;
  box-shadow: none;
}

.page-new .advanced-settings > summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  color: var(--new-muted);
  font-size: 11px;
  font-weight: 620;
  cursor: pointer;
  list-style: none;
}

.page-new .advanced-settings > summary::-webkit-details-marker {
  display: none;
}

.page-new .advanced-settings > summary::after {
  width: 7px;
  height: 7px;
  margin-right: 3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.page-new .advanced-settings[open] {
  display: block;
  padding: 0;
}

.page-new .advanced-settings[open] > summary::after {
  transform: rotate(225deg);
}

.page-new .advanced-settings-body {
  display: grid;
  gap: 20px;
  padding: 8px 0 24px;
}

.page-new .advanced-settings label,
.page-new .new-fieldset {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--new-muted);
  border: 0;
  font-size: 11px;
  font-weight: 620;
}

.page-new .new-fieldset legend {
  margin-bottom: 8px;
  padding: 0;
}

.page-new .advanced-settings :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  color: var(--new-ink);
  background: var(--new-surface);
  border: 1px solid var(--new-line-strong);
  border-radius: 8px;
  outline: 0;
  box-shadow: none;
  font-size: 12px;
  font-weight: 480;
}

.page-new .advanced-settings textarea {
  min-height: 96px;
  resize: vertical;
}

.page-new .advanced-settings :is(input, select, textarea):focus {
  border-color: var(--new-green);
  box-shadow: 0 0 0 3px rgba(8, 120, 91, 0.1);
}

.page-new .mode-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.page-new .mode-picker button {
  display: grid;
  min-width: 0;
  min-height: 72px;
  align-content: center;
  gap: 4px;
  margin: 0;
  padding: 12px 13px;
  color: var(--new-soft-ink);
  text-align: left;
  background: var(--new-surface);
  border: 1px solid var(--new-line);
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.page-new .mode-picker button::before,
.page-new .mode-picker button::after {
  display: none;
}

.page-new .mode-picker button strong {
  color: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.page-new .mode-picker button small {
  color: var(--new-muted);
  font-size: 10px;
  font-weight: 440;
  line-height: 1.4;
}

.page-new .mode-picker button:hover,
.page-new .mode-picker button.active {
  padding: 12px 13px;
  color: var(--new-green-strong);
  background: var(--new-green-soft);
  border-color: #a9cfc1;
  border-radius: 8px;
  transform: none;
}

.page-new .two-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-new .advanced-settings .checkbox-line {
  display: flex;
  min-height: 44px;
  flex-direction: row;
  gap: 9px;
  align-items: center;
}

.page-new .checkbox-line input {
  width: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--new-green);
}

.page-new .new-create-actions {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
  margin-top: 0;
}

.page-new .new-desktop-submit {
  min-width: 188px;
}

.page-new .status-line {
  width: 100%;
  min-height: 17px;
  margin: 9px 0 0;
  color: var(--new-muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
}

.page-new .status-line:empty {
  display: none;
}

.page-new .status-line.error {
  color: #a53d35;
}

.page-new .status-line.success {
  color: var(--new-green);
}

.page-new :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--new-green);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .page-new .new-shell {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 48px;
  }

  .page-new .new-panel-heading h2,
  .page-new .new-copy h1,
  .page-new .new-copy h2 {
    font-size: clamp(34px, 4.6vw, 42px);
  }
}

@media (min-width: 761px) and (max-width: 920px) {
  .page-new .new-shell {
    display: block;
    width: min(680px, calc(100% - 48px));
    padding-top: 40px;
  }

  .page-new .new-guide {
    position: static;
    margin-bottom: 34px;
  }

  .page-new .new-guide-heading,
  .page-new .new-guide-selection {
    display: none;
  }

  .page-new .new-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--new-line);
    border-bottom: 1px solid var(--new-line);
  }

  .page-new .new-progress::before {
    display: none;
  }

  .page-new .new-progress li {
    min-height: 56px;
    grid-template-columns: 31px minmax(0, 1fr);
    align-items: center;
    padding: 8px 12px;
    border-left: 1px solid var(--new-line);
  }

  .page-new .new-progress li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .page-new .new-progress li div {
    padding-top: 0;
  }

  .page-new .new-progress small {
    display: none;
  }

  .page-new .new-workspace {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .page-new {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .page-new.is-creation-blocked {
    padding-bottom: 0;
  }

  .page-new .new-header.site-nav {
    position: sticky;
    top: 0;
    min-height: 56px;
  }

  .page-new .new-header-inner {
    display: grid;
    width: 100%;
    min-height: 56px;
    grid-template-columns: 68px minmax(0, 1fr) 68px;
    padding: 0 16px;
  }

  .page-new .site-brand,
  .page-new .site-links {
    display: none;
  }

  .page-new .new-mobile-step-back,
  .page-new .new-mobile-title,
  .page-new .new-mobile-exit {
    min-height: 44px;
    align-items: center;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    font-size: 12px;
    text-decoration: none;
  }

  .page-new .new-mobile-step-back:not([hidden]) {
    display: inline-flex;
    justify-self: start;
    color: var(--new-soft-ink);
    font-weight: 600;
    cursor: pointer;
  }

  .page-new .new-mobile-step-back::before {
    margin-right: 5px;
    content: "\2190";
  }

  .page-new .new-mobile-title {
    display: inline-flex;
    grid-column: 2;
    justify-self: center;
    color: var(--new-ink);
    font-weight: 680;
    letter-spacing: -0.025em;
  }

  .page-new .new-mobile-exit {
    display: inline-flex;
    grid-column: 3;
    justify-self: end;
    color: var(--new-muted);
    font-weight: 560;
  }

  .page-new .new-shell {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0 0 28px;
  }

  .page-new .new-guide {
    position: static;
    width: 100%;
    background: rgba(255, 255, 255, 0.74);
    border-bottom: 1px solid var(--new-line);
  }

  .page-new .new-guide-heading,
  .page-new .new-guide-selection {
    display: none;
  }

  .page-new .new-progress {
    display: grid;
    width: min(100% - 32px, 680px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 auto;
    padding: 12px 0 13px;
  }

  .page-new .new-progress::before {
    top: 27px;
    right: calc(16.667% + 16px);
    bottom: auto;
    left: calc(16.667% + 16px);
    width: auto;
    height: 1px;
  }

  .page-new .new-progress li {
    display: grid;
    min-height: 50px;
    grid-template-columns: 1fr;
    gap: 6px;
    justify-items: center;
    padding: 0;
    text-align: center;
  }

  .page-new .new-progress li > span {
    width: 30px;
    height: 30px;
    background: #fbfcfa;
  }

  .page-new .new-progress li[aria-current="step"] > span {
    background: var(--new-green);
  }

  .page-new .new-progress li.is-complete > span {
    background: var(--new-green-soft);
  }

  .page-new .new-progress li div {
    padding: 0;
  }

  .page-new .new-progress strong {
    overflow: hidden;
    max-width: 100%;
    font-size: 10px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-new .new-progress small {
    display: none;
  }

  .page-new .new-workspace {
    width: min(100% - 32px, 680px);
    margin: 0 auto;
    padding: 30px 0 20px;
  }

  .page-new .new-panel-heading {
    margin-bottom: 24px;
  }

  .page-new .new-panel-heading h2,
  .page-new .new-copy h1,
  .page-new .new-copy h2 {
    margin-top: 11px;
    font-size: clamp(30px, 9.2vw, 38px);
    line-height: 1.1;
  }

  .page-new .new-panel-heading p,
  .page-new .new-copy > p:not(.new-auto-note, .new-auth-state) {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.62;
  }

  .page-new .template-picker button {
    min-height: 62px;
    grid-template-columns: 27px minmax(0, 1fr) 18px;
    gap: 11px;
    padding: 10px 8px;
  }

  .page-new .template-picker button:hover,
  .page-new .template-picker button.active {
    padding-right: 8px;
    padding-left: 8px;
  }

  .page-new .template-picker button strong {
    font-size: 15px;
  }

  .page-new .template-picker button small {
    font-size: 12px;
  }

  .page-new .new-upgrade-board-field select {
    font-size: 16px;
  }

  .page-new .new-panel-footer {
    display: block;
    margin-top: 18px;
  }

  .page-new .new-plan-limit {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 0;
    padding: 18px 0;
  }

  .page-new .new-plan-limit-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-new .new-plan-option {
    min-height: 56px;
    border-right: 0;
    border-bottom: 1px solid var(--new-line);
  }

  .page-new .new-plan-option:last-of-type {
    border-bottom: 0;
  }

  .page-new .new-plan-compare {
    justify-content: flex-start;
    padding: 0 14px;
    border-top: 1px solid var(--new-line);
  }

  .page-new .new-auto-note {
    display: none;
  }

  .page-new .new-auth-state {
    font-size: 10px;
  }

  .page-new .new-purpose-continue,
  .page-new .new-desktop-back,
  .page-new .new-panel-actions,
  .page-new .new-desktop-submit {
    display: none;
  }

  .page-new .new-mobile-action-bar {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: calc(72px + env(safe-area-inset-bottom));
    align-items: flex-start;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--new-line);
    box-shadow: 0 -8px 24px rgba(17, 24, 20, 0.04);
    backdrop-filter: blur(12px);
  }

  .page-new.is-creation-blocked .new-mobile-action-bar {
    display: none;
  }

  .page-new .new-mobile-action-bar .primary-button:not([hidden]) {
    display: flex;
    width: 100%;
    min-height: 52px;
    font-size: 13px;
  }

  .page-new .new-name-field input {
    min-height: 62px;
    font-size: clamp(24px, 7.5vw, 30px);
  }

  .page-new .new-name-preview {
    margin-top: 28px;
    padding: 20px 0;
  }

  .page-new .new-review .new-panel-heading {
    margin-bottom: 28px;
  }

  .page-new .template-preview,
  .page-new .access-preview {
    padding: 18px 0;
  }

  .page-new .access-preview dl {
    gap: 10px;
  }

  .page-new .access-preview dl div {
    padding: 0 10px;
  }

  .page-new .mode-picker,
  .page-new .two-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-new .mode-picker button {
    min-height: 64px;
  }

  .page-new .new-create-actions {
    display: block;
  }

  .page-new .status-line {
    padding-bottom: 8px;
    text-align: left;
  }
}

@media (max-width: 390px) {
  .page-new .new-header-inner {
    padding: 0 14px;
  }

  .page-new .new-progress,
  .page-new .new-workspace {
    width: calc(100% - 28px);
  }

  .page-new .new-mobile-action-bar {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-new *,
  .page-new *::before,
  .page-new *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
