/* ==========================================================================
   ChaiPoint — BMC-style onboarding (complete page → Kenya payout → bank)
   Cream + chai brown, not yellow.
   ========================================================================== */

.onboard {
  min-height: 100dvh;
  background: var(--color-pure-white);
  display: flex;
  flex-direction: column;
}

.onboard-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
}

.onboard-logout {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-hairline);
  background: var(--color-pure-white);
  font-size: 14px;
  font-weight: 700;
}

.onboard-logout:hover {
  border-color: var(--color-faint-gray);
}

.onboard-main {
  width: min(760px, calc(100% - 48px));
  margin: 24px auto 120px;
}

.onboard-title {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.045em;
  text-align: center;
  margin-bottom: 8px;
}

.onboard-lede {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-slate-gray);
  text-align: center;
  margin-bottom: 36px;
}

.onboard-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

.onboard-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.onboard-avatar {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: #eceae6;
  color: #b0aaa3;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.onboard-avatar svg {
  width: 72px;
  height: 72px;
}

.onboard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.onboard-upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-hairline);
  background: var(--color-pure-white);
  font-size: 14px;
  font-weight: 700;
}

.onboard-upload svg {
  width: 16px;
  height: 16px;
}

.onboard-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.onboard-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.onboard-input,
.onboard-area,
.onboard-select {
  width: 100%;
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
  background: var(--color-pure-white);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ink-charcoal);
  outline: none;
}

.onboard-input,
.onboard-select {
  height: 52px;
  padding: 0 16px;
}

.onboard-area {
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

.onboard-input[readonly] {
  background: #f6f1ea;
  color: var(--color-ink-charcoal);
}

.onboard-input:focus,
.onboard-area:focus,
.onboard-select:focus {
  border-color: var(--color-electric-cobalt);
}

.onboard-handle {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
}

.onboard-avail {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-slate-gray);
}

.onboard-avail.is-ok {
  color: #1f6b3a;
}

.onboard-avail.is-no {
  color: var(--color-error, #e11d48);
}

.onboard-handle.is-ok {
  border-color: #1f6b3a;
}

.onboard-handle.is-invalid {
  border-color: var(--color-error, #e11d48);
}

.onboard-handle input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  outline: none;
}

.onboard-narrow {
  width: min(480px, 100%);
  margin: 0 auto;
}

.onboard-country {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--color-hairline);
  border-radius: 16px;
  background: var(--color-pure-white);
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.onboard-flag {
  font-size: 22px;
  line-height: 1;
}

.onboard-news {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #eef8f0;
  color: #1f6b3a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.onboard-news svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}

.onboard-connect {
  width: 100%;
  margin-top: 22px;
}

.onboard-note {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-slate-gray);
}

.onboard-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: var(--color-chai);
}

.onboard-skip {
  display: block;
  margin-top: 28px;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-slate-gray);
}

.onboard-skip:hover {
  color: var(--color-ink-charcoal);
}

.onboard-foot .onboard-skip {
  margin-top: 0;
}

.onboard-menu {
  margin-top: 8px;
  border: 1px solid var(--color-hairline);
  border-radius: 16px;
  background: var(--color-pure-white);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

.onboard-search {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid var(--color-hairline);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.onboard-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
}

.onboard-opt:hover,
.onboard-opt.is-on {
  background: #f6f1ea;
}

.onboard-wait {
  text-align: center;
  padding: 24px 8px 8px;
}

.onboard-wait p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-slate-gray);
}

.onboard-foot {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px 20px;
  background: var(--color-pure-white);
  border-top: 1px solid var(--color-hairline);
}

.onboard-progress {
  display: flex;
  gap: 6px;
  width: min(220px, 40%);
}

.onboard-seg {
  height: 6px;
  flex: 1;
  border-radius: 99px;
  background: #e7e4df;
}

.onboard-seg.is-on {
  background: var(--color-ink-charcoal);
}

.onboard-next {
  min-width: 120px;
}

.onboard-error {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-error, #e11d48);
}

.onboard-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 23, 34, 0.42);
}

.onboard-overlay[hidden] {
  display: none;
}

.onboard-modal {
  width: min(440px, 100%);
  background: var(--color-pure-white);
  border-radius: 24px;
  padding: 28px 24px 22px;
  text-align: center;
}

.onboard-warn {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #fff4e5;
  color: var(--color-chai);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}

.onboard-modal h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.onboard-modal p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-slate-gray);
  margin-bottom: 20px;
}

.onboard-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.onboard-later {
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-hairline);
  font-size: 15px;
  font-weight: 700;
}

.desk-card {
  border: 1px solid var(--color-hairline);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 14px;
  background: var(--color-pure-white);
}

.desk-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.desk-name {
  font-size: 18px;
  font-weight: 800;
}

.desk-meta {
  font-size: 13px;
  color: var(--color-slate-gray);
}

.desk-status {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-chai);
}

.desk-status.is-pending {
  color: var(--color-slate-gray);
}

.desk-status.is-submitted {
  color: var(--color-chai);
}

.desk-status.is-connected {
  color: #9a451c;
}

.desk-status.is-live {
  color: #1f6b3a;
}

.desk-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.desk-copy-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 8px;
  align-items: center;
}

.desk-copy-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-slate-gray);
}

.desk-copy-val {
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-ink-charcoal);
  overflow-wrap: anywhere;
}

.desk-copy-btn {
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-hairline);
  background: var(--color-pure-white);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.desk-hint {
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-slate-gray);
  margin: 10px 0 0;
}

.desk-ok {
  font-size: 13px;
  font-weight: 600;
  color: #1f6b3a;
  margin: 8px 0 0;
}

.desk-test {
  margin-top: 12px;
}

.desk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.desk-link {
  display: inline-flex;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-electric-cobalt);
}

.onboard-bar .brand {
  justify-self: start;
}

.onboard-prefix {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-slate-gray);
  white-space: nowrap;
}

.onboard-globe {
  width: 20px;
  height: 20px;
  color: var(--color-slate-gray);
  flex: none;
}

.onboard-done {
  text-align: center;
  padding: 48px 8px 16px;
}

.onboard-done p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-slate-gray);
  margin-top: 12px;
}

.desk-login,
.desk-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.desk-list {
  margin-top: 8px;
}

.desk-empty {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-slate-gray);
  padding: 24px 0;
}

.desk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
}

.onboard-foot-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.onboard-back {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-slate-gray);
}

.onboard-back:hover {
  color: var(--color-ink-charcoal);
}

.bank-picker {
  position: relative;
}

.bank-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--color-hairline);
  border-radius: 14px;
  background: var(--color-pure-white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.bank-mark {
  width: 32px;
  height: 32px;
  flex: none;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(26, 23, 20, 0.08);
}

.bank-mark.is-letter {
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--color-chai);
  border-color: transparent;
}

.bank-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
}

.bank-trigger:hover {
  border-color: rgba(196, 92, 38, 0.45);
}

.bank-trigger:focus,
.bank-picker.is-open .bank-trigger {
  border-color: var(--color-chai);
  outline: none;
}

.bank-label.is-placeholder {
  color: var(--color-slate-gray);
}

.bank-chevron {
  width: 18px;
  height: 18px;
  color: var(--color-slate-gray);
  flex: none;
}

.bank-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  padding: 10px 0 6px;
  background: var(--color-pure-white);
  border: 1px solid rgba(26, 23, 20, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(42, 33, 28, 0.14);
  overflow: hidden;
}

.bank-search {
  display: block;
  width: calc(100% - 20px);
  height: 42px;
  margin: 0 10px 8px;
  padding: 0 12px;
  border: 1px solid var(--color-hairline);
  border-radius: 10px;
  background: var(--color-pure-white);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.bank-search:focus {
  border-color: var(--color-chai);
}

.bank-list {
  max-height: 240px;
  overflow: auto;
}

.bank-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 16px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink-charcoal);
  cursor: pointer;
}

.bank-opt:hover,
.bank-opt.is-on {
  background: #f6f1ea;
}

.bank-empty {
  padding: 18px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-slate-gray);
}

.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 16px;
}

.pay-methods[hidden],
.studio-form[hidden],
.payout-change[hidden],
.payout-card[hidden],
.onboard-hint[hidden] {
  display: none;
}

.pay-method {
  height: 52px;
  border-radius: 14px;
  border: 1.5px solid var(--color-hairline);
  background: var(--color-pure-white);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ink-charcoal);
}

.pay-method:hover {
  border-color: var(--color-faint-gray);
}

.pay-method.is-on {
  border-color: var(--color-ink-charcoal);
  background: #fffaf5;
}

.studio {
  min-height: 100dvh;
  background: #f3eee8;
}

.dash {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100dvh;
}

.dash-scrim {
  display: none;
}

.dash-side {
  background: #f7f4f0;
  border-right: 1px solid var(--color-hairline);
  padding: 22px 16px 32px;
}

.dash-logo {
  justify-self: start;
  margin: 0 8px;
}

.dash-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.dash-side-close {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-ink-charcoal);
  place-items: center;
}

.dash-side-close svg {
  width: 16px;
  height: 16px;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #3a3530;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
}

.dash-link:hover {
  background: rgba(196, 92, 38, 0.08);
}

.dash-link.is-on {
  background: #fff;
  color: var(--color-ink-charcoal);
  box-shadow: 0 1px 0 rgba(26, 23, 20, 0.04);
}

.dash-link.is-on .dash-ico {
  color: var(--color-chai);
}

.dash-ico {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  flex: none;
  color: #6b645c;
}

.dash-link svg.dash-ico {
  width: 18px;
  height: 18px;
}

.dash-link.is-soon {
  opacity: 0.55;
  cursor: default;
}

.dash-soon {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a847c;
}

.dash-label {
  margin: 22px 12px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a847c;
}

.dash-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #faf7f3;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 28px 0;
  position: relative;
}

.dash-top-logo {
  display: none;
  align-items: center;
}

.dash-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-account-pill {
  display: contents;
}

.dash-bell,
.dash-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-hairline);
  background: var(--color-pure-white);
  color: var(--color-ink-charcoal);
  display: grid;
  place-items: center;
  flex: none;
  cursor: pointer;
}

.dash-bell svg {
  width: 18px;
  height: 18px;
}

.dash-avatar {
  font-size: 13px;
  font-weight: 800;
  background: var(--color-chai);
  color: #fff;
  border-color: var(--color-chai);
  border-radius: 12px;
  overflow: hidden;
}

.dash-avatar.has-photo,
.hi-ava.has-photo {
  font-size: 0;
  color: transparent;
  background: #efe8e0;
}

.dash-avatar img,
.hi-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dash-burger {
  display: none;
  order: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-hairline);
  background: var(--color-pure-white);
  flex: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.dash-burger span {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-ink-charcoal);
}

.dash-pop {
  position: absolute;
  top: 64px;
  right: 28px;
  z-index: 20;
  width: 220px;
  padding: 8px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
}

.dash-pop[hidden] {
  display: none;
}

.dash-pop-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-charcoal);
}

.dash-pop-item:hover {
  background: #f6f1ea;
}

.dash-main {
  width: min(880px, calc(100% - 48px));
  margin: 12px auto 120px;
}

.dash-panel[hidden] {
  display: none;
}

.hi-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 1px 0 rgba(26, 23, 20, 0.04);
}

.hi-ava {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #efe8e0;
  color: var(--color-chai-deep);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  flex: none;
  overflow: hidden;
}

.hi-copy {
  min-width: 0;
  flex: 1;
}

.hi-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.045em;
  margin: 0 0 4px;
}

.hi-url {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-slate-gray);
  margin-bottom: 10px;
  word-break: break-all;
  text-decoration: none;
}

.hi-url:hover {
  color: var(--color-chai);
}

.hi-copy .star-proof {
  justify-content: flex-start;
  margin: 0;
}

.hi-actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hi-share {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--color-hairline);
  background: #fff;
  color: var(--color-ink-charcoal);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.hi-share svg {
  width: 16px;
  height: 16px;
}

.hi-share:hover {
  background: var(--color-canvas-cream);
}

.earn-card {
  margin-top: 18px;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
}

.earn-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.earn-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.earn-range {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-slate-gray);
}

.earn-total {
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 8px 0 18px;
}

.earn-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #5c564e;
}

.earn-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.earn-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.earn-supporters::before { background: var(--color-chai); }
.earn-membership::before { background: #e8a0b4; }
.earn-shop::before { background: #9ec9e8; }

.tx-stack {
  --peek: 12px;
  display: grid;
  margin-top: 20px;
  padding: 8px;
  border-radius: 22px;
  background: #f3eee7;
  transition: padding 0.35s ease;
}

.tx-stack:empty {
  display: none;
}

.tx-card {
  --i: 0;
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 2px 12px;
  align-items: start;
  width: calc(100% - var(--i) * 12px);
  justify-self: center;
  margin-top: calc(var(--i) * var(--peek));
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(42, 33, 28, 0.08);
  z-index: calc(5 - var(--i));
  opacity: calc(1 - var(--i) * 0.18);
  transition: margin-top 0.35s ease, width 0.35s ease, opacity 0.35s ease;
}

.tx-card:not(:first-child) {
  pointer-events: none;
}

.tx-card:not(:first-child) .tx-note,
.tx-card:not(:first-child) .tx-meta {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .tx-stack:hover {
    --peek: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tx-stack,
  .tx-card {
    transition: none;
  }

  .tx-stack:hover {
    --peek: 12px;
  }
}

.tx-ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #f3eee7;
}

.tx-ava svg {
  display: block;
  width: 44px;
  height: 44px;
}

.tx-copy {
  min-width: 0;
  padding-top: 1px;
}

.tx-who {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tx-act {
  margin-top: 1px;
  font-size: 13px;
  color: var(--color-slate-gray);
}

.tx-note {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  background: #f6f1ea;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--color-ink-charcoal);
}

.tx-meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--color-slate-gray);
}

.tx-amt {
  padding-top: 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: right;
  white-space: nowrap;
}

.tx-more {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-slate-gray);
  text-align: center;
}

.tx-empty {
  margin-top: 16px;
  padding: 20px 16px;
  border-radius: 14px;
  background: #f6f1ea;
  font-size: 14px;
  color: var(--color-slate-gray);
}

.tx-empty[hidden],
.nudge-card[hidden] {
  display: none;
}

.nudge-card {
  margin-top: 18px;
  background: #fff;
  border-radius: 24px;
  padding: 36px 24px;
  text-align: center;
}

.nudge-heart {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--color-hairline);
  border-radius: 50%;
  color: var(--color-chai);
}

.nudge-heart svg {
  width: 26px;
  height: 26px;
}

.nudge-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.nudge-copy {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-slate-gray);
}

.more-earn {
  margin-top: 28px;
}

.more-earn-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 4px 14px;
}

.more-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px 18px;
  margin-bottom: 12px;
}

.more-ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff4e8;
  color: var(--color-chai);
  margin-bottom: 12px;
}

.more-ico svg {
  width: 18px;
  height: 18px;
}

.more-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.more-copy {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-slate-gray);
}

.more-action {
  margin-top: 16px;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-hairline);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #8a847c;
}

.notes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.notes-head .panel-title {
  margin: 0;
}

.notes-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-ink-charcoal);
  cursor: pointer;
}

.notes-close svg {
  width: 16px;
  height: 16px;
}

.notes-empty {
  background: #fff;
  border-radius: 24px;
  padding: 48px 24px;
  text-align: center;
}

.notes-ico {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: #8a847c;
}

.notes-ico svg {
  width: 40px;
  height: 40px;
}

.notes-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.notes-copy {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-slate-gray);
}

.dash-help {
  display: none;
}

.panel-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.panel-lede {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-slate-gray);
  margin-bottom: 18px;
  max-width: 560px;
}

.studio-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.studio-form.hi-card {
  flex-direction: column;
  align-items: stretch;
}

.studio-saved {
  font-size: 14px;
  font-weight: 600;
  color: #1f6b3a;
}

.danger-card {
  margin-top: 28px;
  background: #fff;
  border-radius: 24px;
  padding: 24px 26px;
  border: 1px solid rgba(154, 59, 28, 0.14);
}

.danger-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.danger-copy {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-slate-gray);
  margin-bottom: 14px;
  max-width: 520px;
}

.danger-btn {
  margin-top: 10px;
  background: #9a3b1c;
  color: #fffaf6;
  border: 0;
}

.danger-btn:hover {
  background: #7c2f16;
}

#delete-live .onboard-label {
  margin-top: 8px;
}

.studio-payout-line {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-ink-charcoal);
  margin: 0 0 14px;
}

.payout-card {
  background: #fff;
  border-radius: 24px;
  padding: 20px 22px;
  margin: 0 0 16px;
}

.payout-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.payout-card-mark {
  flex: none;
}

.payout-card-mark .bank-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.payout-card-mark .bank-mark.is-letter {
  font-size: 14px;
}

.payout-card-copy {
  min-width: 0;
  flex: 1;
}

.payout-card-name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.payout-card-meta,
.payout-card-status {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-slate-gray);
}

.payout-card-status {
  font-weight: 500;
}

.payout-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.onboard-hint {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-slate-gray);
}

.payout-change {
  margin: 0;
  width: fit-content;
}

.dash-foot {
  margin-top: auto;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--color-slate-gray);
}

.dash-banner {
  position: fixed;
  left: 248px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(26, 23, 20, 0.16);
}

.dash-banner[hidden] {
  display: none;
}

.dash-banner.is-wait {
  border: 1px solid #ead9c8;
}

.banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff4e5;
  color: var(--color-chai-deep);
  display: grid;
  place-items: center;
  flex: none;
}

.banner-icon svg {
  width: 22px;
  height: 22px;
}

.banner-copy {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-ink-charcoal);
}

.banner-btn {
  flex: none;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .dash {
    grid-template-columns: 1fr;
  }

  .dash-body {
    background: #f3eee8;
  }

  .dash-side {
    position: fixed;
    inset: 10px auto 10px 10px;
    width: min(300px, 86vw);
    z-index: 40;
    padding: 16px 14px 24px;
    border: 1px solid var(--color-hairline);
    border-radius: 18px;
    background: #fff;
    transform: translateX(calc(-100% - 24px));
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: none;
    overflow: auto;
  }

  .dash-side.is-open {
    transform: none;
    box-shadow: 0 18px 50px rgba(26, 23, 20, 0.18);
  }

  .dash-side-close {
    display: grid;
  }

  .dash-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(42, 33, 28, 0.4);
  }

  .dash-scrim[hidden] {
    display: none;
  }

  .dash-top {
    justify-content: space-between;
    margin: 10px 12px 0;
    padding: 8px 10px 8px 14px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 0 rgba(26, 23, 20, 0.04);
  }

  .dash-top-logo {
    display: flex;
  }

  .dash-account-pill {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 4px 4px 10px;
    border: 1px solid var(--color-hairline);
    border-radius: 999px;
    background: #fff;
  }

  .dash-burger {
    display: flex;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
  }

  .dash-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
  }

  .dash-pop {
    display: none;
  }

  .dash-main {
    width: calc(100% - 24px);
    margin: 12px auto 140px;
  }

  .dash-foot {
    display: none;
  }

  #panel-home .hi-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 8px 12px;
    padding: 22px 18px 8px;
    border-radius: 20px 20px 0 0;
    box-shadow: none;
  }

  #panel-home .hi-ava {
    display: none;
  }

  #panel-home .hi-copy {
    grid-column: 1;
  }

  #panel-home .hi-title {
    font-size: 28px;
    margin: 0;
  }

  #panel-home .hi-url {
    margin: 4px 0 0;
    font-size: 13px;
  }

  #panel-home .hi-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
  }

  #panel-home .hi-share {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  #panel-home .earn-card {
    margin-top: 0;
    padding: 8px 18px 22px;
    border-radius: 0 0 20px 20px;
  }

  .earn-title {
    font-size: 16px;
  }

  .earn-total {
    font-size: 48px;
    margin: 6px 0 14px;
  }

  .earn-legend {
    gap: 10px 16px;
    font-size: 13px;
  }

  .tx-empty {
    display: none;
  }

  .nudge-card,
  .notes-empty,
  .more-card {
    border-radius: 20px;
  }

  .dash-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    text-align: center;
    padding: 18px 16px 16px;
    border-radius: 20px;
  }

  .banner-btn {
    width: 100%;
    height: 46px;
    background: #1a1714;
    border-color: #1a1714;
    color: #fff;
  }

  .banner-btn:hover {
    background: #2a241f;
  }

  .dash-help {
    display: grid;
    place-items: center;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 28;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1a1714;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(26, 23, 20, 0.22);
  }

  body:has(#banner-setup:not([hidden])) .dash-help,
  body:has(#banner-wait:not([hidden])) .dash-help {
    bottom: 148px;
  }

  .pay-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .onboard-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .onboard-fields {
    width: 100%;
  }

  .desk-grid {
    grid-template-columns: 1fr;
  }

  .desk-copy-row {
    grid-template-columns: 1fr auto;
  }

  .desk-copy-label {
    grid-column: 1 / -1;
  }
}
