/* ============================================================
   ORDA — app views part 1: shell extras, auth, onboarding,
   dashboard, people, profile
   ============================================================ */

/* --------------------------------------------------------- shell extras */

.topbar__left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.topbar__menu {
  display: none;
}
.topbar__mobile-brand {
  display: none;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
}
.crumb-sep {
  color: var(--faint);
}
.notif-wrap,
.account-wrap {
  position: relative;
}
.sidebar-mini-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sidebar-mini-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
}
.sidebar-mini-links a:hover {
  background: #f1ede2;
  color: var(--ink);
}
.sidebar-mini-links a.is-active {
  color: var(--brand);
  font-weight: 600;
  background: var(--brand-tint);
}
.sidebar__note {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px 2px;
  font-size: 10px;
  color: var(--faint);
  letter-spacing: 0.02em;
}
.sidebar__credit {
  padding: 3px 11px 2px;
  font-size: 9px;
  line-height: 1.4;
  color: var(--faint);
}
.sidebar__credit a {
  color: var(--gold-strong);
  font-weight: 600;
  text-decoration: none;
}
.sidebar__credit a:hover {
  text-decoration: underline;
}
.drawer__credit {
  margin: 12px 2px 0;
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--faint);
}
.drawer__credit a {
  color: var(--gold-strong);
  font-weight: 600;
  text-decoration: none;
}
.guest-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(170deg, #fffdf8, #f8f3e8);
}
.guest-card__title {
  font-size: 13.5px;
  font-weight: 650;
}
.guest-card__text {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 4px;
}
.guest-card .btn {
  margin-top: 2px;
}
.account-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 8px;
}
.account-head__body {
  min-width: 0;
  flex: 1;
}
.account-head__name {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-head__meta {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer__me {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  margin: 6px 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.drawer__me > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.drawer__me-name {
  font-size: 13.5px;
  font-weight: 650;
}
.drawer__me-meta {
  font-size: 11px;
  color: var(--muted);
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--brand);
  padding: 2px;
  border-radius: 5px;
}
.text-btn:hover {
  color: var(--brand-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}
.ghost-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 500;
  color: inherit;
  opacity: 0.9;
}
.card:not(.card--dark) .ghost-tag {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--muted);
}
.not-found {
  max-width: 480px;
  margin: 8vh auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.not-found h1 {
  font-size: 2rem;
}
.confirm {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 4px 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
.confirm__icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold-strong);
}
.select--sm {
  min-height: 34px;
  padding: 5px 30px 5px 10px;
  font-size: 12.5px;
  border-radius: 8px;
  width: auto;
}
.tag--button {
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}
.tag--button:hover {
  filter: brightness(0.96);
  box-shadow: inset 0 0 0 1px currentColor;
}
.tag--button.is-active {
  box-shadow: inset 0 0 0 1.5px currentColor;
}

/* ------------------------------------------------------------------ auth */

.auth-modal .modal__panel {
  width: min(520px, 100%);
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 14px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 12px;
  color: var(--faint);
  font-size: 11px;
  text-align: center;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.demo-accounts {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.demo-account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.demo-account:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}
.demo-account__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.demo-account__name {
  font-size: 13px;
  font-weight: 650;
}
.demo-account__meta {
  font-size: 11.5px;
  color: var(--muted);
}
.demo-account .icon {
  color: var(--faint);
}
.auth-note {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--faint);
  line-height: 1.5;
}
.auth-switch {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);}

/* -------------------------------------------------------------- onboarding */

.wizard .modal__panel {
  width: min(980px, 100%);
  max-height: min(92vh, 980px);
}
.wizard .modal__body {
  padding: 16px 30px 24px;
}
.wizard .modal__header {
  padding: 22px 30px 0;
}
.wizard .modal__footer {
  padding: 14px 26px;
  background: var(--surface-2);
}
.wizard-steps {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 18px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.wizard-steps::-webkit-scrollbar {
  display: none;
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 96px;
  font-size: 11px;
  color: var(--faint);
  font-weight: 600;
}
.wizard-step__dot {
  width: 21px;
  height: 21px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 10px;
  font-weight: 700;
}
.wizard-step.is-active {
  color: var(--brand);
}
.wizard-step.is-active .wizard-step__dot {
  background: var(--brand);
  border-color: var(--brand);
  color: #f8f3e7;
}
.wizard-step.is-done .wizard-step__dot {
  background: var(--brand-soft);
  border-color: #cfdcd3;
  color: var(--brand);
}
.wizard-step.is-done .wizard-step__label {
  color: var(--ink-2);
}
.wizard-step__label {
  white-space: nowrap;
}
.wizard-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--danger-soft);
  border: 1px solid #ecc8c2;
  color: #7c2f27;
  font-size: 12.5px;
  line-height: 1.45;
}
.wizard-intro-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--brand-tint);
  border: 1px solid #dae6dd;
  font-size: 12.5px;
  color: var(--brand);
  line-height: 1.5;
}
.wizard-intro-note__icon {
  margin-top: 1px;
}
.wizard-block {
  margin-top: 20px;
}
.wizard-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.chip-grid .chip {
  font-size: 12.5px;
  padding: 6px 11px;
}
.custom-tag {
  display: flex;
  gap: 8px;
  margin-top: 9px;
  max-width: 460px;
}
.custom-tag .input {
  min-height: 38px;
  font-size: 13px;
}
.option-grid {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}
.option-grid--2 {
  grid-template-columns: 1fr 1fr;
}
.option-card__check {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: transparent;
  margin-top: 1px;
}
.option-card.is-selected .option-card__check {
  background: var(--brand);
  border-color: var(--brand);
  color: #f8f3e7;
}
.avatar-editor {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 210px;
  gap: 18px;
  align-items: start;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}
.avatar-editor__preview {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--surface), 0 6px 18px -12px rgba(24, 20, 14, 0.4);
}
.avatar-editor__preview .avatar {
  width: 104px;
  height: 104px;
}
.avatar-editor__controls {
  padding-top: 4px;
}
.hue-picker {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.hue-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: hsl(var(--h) 40% 78%);
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px hsl(var(--h) 30% 60% / 0.5);
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.hue-dot:hover {
  transform: scale(1.12);
}
.hue-dot.is-active {
  border-color: var(--brand);
  transform: scale(1.1);
}
.photo-ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ok);
}
.avatar-editor__crop {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
}
.avatar-editor__crop[hidden] {
  display: none;
}
.crop-stage {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-3);
  cursor: grab;
  touch-action: none;
  position: relative;
}
.crop-stage.is-dragging {
  cursor: grabbing;
}
.crop-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  user-select: none;
}
.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}
.wizard-footer__step {
  font-size: 11px;
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.06em;
}
.wizard-success {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--brand-tint), #f7f4ea);
  border: 1px solid #d9e4dc;
}
.wizard-success__icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #f5efdf;
  box-shadow: 0 8px 18px -12px rgba(22, 58, 50, 0.7);
}
.wizard-success h3 {
  font-size: 18px;
}
.wizard-success p {
  margin-top: 3px;
  font-size: 12.8px;
  color: var(--muted);
  line-height: 1.5;
}
.profile-preview {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 18px;
}
.profile-preview__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.profile-preview__ident {
  flex: 1;
  min-width: 0;
}
.profile-preview__ident h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.profile-preview__ident p {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.profile-preview__score {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 650;
  color: var(--brand);
  text-align: right;
  white-space: nowrap;
}
.profile-preview__score small {
  display: block;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.04em;
}
.profile-preview__meter {
  margin-top: 16px;
  padding: 12px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.profile-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.preview-section__label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 7px;
}
.dot-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.dot-list li {
  position: relative;
  padding-left: 12px;
  line-height: 1.45;
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.mini-suggest {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #6d5417;
  font-size: 10.5px;
  font-weight: 600;
}
.intro-studio {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.intro-studio__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.intro-tones {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.intro-tones .chip {
  font-size: 12px;
  padding: 5px 10px;
}
.intro-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--faint);
  white-space: nowrap;
}
.intro-textarea {
  min-height: 210px;
  font-size: 14.5px;
  line-height: 1.7;
  background: #fffef9;
}
.intro-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 4px 0 6px;
}
.wa-preview {
  margin-top: 10px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ece5d8;
}
.wa-preview__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4f6b57;
  background: #e3efe4;
  border-bottom: 1px solid #d2e3d5;
}
.wa-bubble {
  margin: 12px;
  padding: 12px 14px;
  max-width: 92%;
  border-radius: 4px 14px 14px 14px;
  background: #fffdf7;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(24, 20, 14, 0.08);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.wa-bubble--compact {
  margin: 0;
  max-width: 100%;
  background: #fffdf7;
  border: 1px solid var(--line);
}
.wa-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px 0;
}
.wa-step__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e3f0e4;
  color: #2f7a52;
  margin-bottom: 4px;
}
.wa-step h3 {
  font-size: 20px;
}
.wa-step__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 12px 0 18px;
}
.wa-guide {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 14px;
}
.wa-guide li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.wa-guide li > span {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #f7f2e5;
  font-size: 11px;
  font-weight: 700;
}
.wa-guide strong {
  font-size: 13px;
}
.wa-guide p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}
.wizard-final {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0 2px;
}
.wizard-final__mark {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #f5efdf;
  box-shadow: 0 16px 30px -18px rgba(22, 58, 50, 0.8);
  margin-bottom: 14px;
}
.wizard-final h3 {
  font-size: 24px;
}
.wizard-final > p {
  margin-top: 5px;
  max-width: 52ch;
}
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 620px;
  margin: 18px 0 6px;
  text-align: left;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 12.5px;
  color: var(--ink-2);
}
.checklist__mark {
  width: 19px;
  height: 19px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ok-soft);
  color: var(--ok);
}
.checklist li:not(.is-done) .checklist__mark {
  background: var(--surface-3);
  color: var(--faint);
}
.recommendations {
  width: 100%;
  max-width: 680px;
  margin-top: 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: var(--surface);
}
.recommendations__head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 9px;
}
.recommend-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: 10px;
  transition: background 0.14s ease;
}
.recommend-card:hover {
  background: var(--surface-2);
}
.recommend-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.recommend-card__name {
  font-size: 13px;
  font-weight: 650;
}
.recommend-card__meta {
  font-size: 11px;
  color: var(--muted);
}
.recommend-card__reason {
  font-size: 11.5px;
  color: var(--gold-strong);
  margin-top: 2px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4;
}
.wizard-final__cta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.wizard .profile-preview {
  box-shadow: none;
}

/* ------------------------------------------------------------------ home */

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 24px;
  align-items: start;
}
.home-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 84px;
}

.next-meeting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 196px;
  gap: 22px;
  padding: 26px;
  border-radius: 22px;
  background:
    radial-gradient(700px 300px at 100% -10%, rgba(201, 162, 39, 0.16), transparent 55%),
    linear-gradient(152deg, #173b32 0%, #0f2620 100%);
  color: #f2ecdd;
  box-shadow: 0 24px 50px -34px rgba(15, 38, 32, 0.7);
  position: relative;
  overflow: hidden;
}
.next-meeting::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(242, 236, 221, 0.1);
  box-shadow: 0 0 0 34px rgba(242, 236, 221, 0.035), 0 0 0 68px rgba(242, 236, 221, 0.02);
  pointer-events: none;
}
.next-meeting__main {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.next-meeting__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #cbbf9e;
}
.next-meeting__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8bd77;
  box-shadow: 0 0 0 4px rgba(216, 189, 119, 0.16);
}
.next-meeting__countdown {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(242, 236, 221, 0.1);
  border: 1px solid rgba(242, 236, 221, 0.14);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #efe6cc;
}
.next-meeting__title {
  margin-top: 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #fdf9ef;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.next-meeting__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-size: 12px;
  color: #c2cdc3;
}
.next-meeting__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.next-meeting__meta .icon {
  color: #b7a577;
}
.next-meeting__desc {
  margin-top: 14px;
  font-size: 13.3px;
  line-height: 1.6;
  color: #cbd5cc;
  max-width: 60ch;
}
.next-meeting__speaker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(242, 236, 221, 0.13);
  flex-wrap: wrap;
}
.next-meeting__speaker-label {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fb0a3;
}
.next-meeting__speaker-name {
  font-size: 13.5px;
  font-weight: 650;
  color: #f7f2e6;
}
.next-meeting__speaker-role {
  font-size: 11.5px;
  color: #a9b8ab;
}
.next-meeting__tags {
  display: flex;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
}
.next-meeting__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.next-meeting__more {
  color: #e7dfc9;
}
.next-meeting__more:hover {
  background: rgba(242, 236, 221, 0.12);
}
.next-meeting__side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid rgba(242, 236, 221, 0.13);
}
.next-meeting__date {
  width: 92px;
  padding: 10px 0;
  border-radius: 14px;
  background: rgba(242, 236, 221, 0.08);
  border: 1px solid rgba(242, 236, 221, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.next-meeting__day {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 650;
  line-height: 1;
  color: #fbf7ec;
}
.next-meeting__month {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d3c294;
}
.next-meeting__attendees {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.next-meeting__attendees-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fb0a3;
}
.next-meeting__progress {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.next-meeting__progress .progress {
  width: 100%;
  background: rgba(242, 236, 221, 0.16);
}
.next-meeting__side .muted {
  color: #aebcb0 !important;
}

.stat-link {
  display: block;
  border-radius: var(--r-md);
}
.stat-link .stat-tile {
  height: 100%;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.stat-link:hover .stat-tile {
  border-color: #cdc3b0;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.feed {
  padding: 6px;
}
.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 11px;
  transition: background 0.14s ease;
}
.feed-item:hover {
  background: var(--surface-2);
}
.feed-item__avatar {
  flex: none;
}
.feed-item__body {
  flex: 1;
  min-width: 0;
}
.feed-item__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}
.feed-item__text strong {
  color: var(--ink);
  font-weight: 650;
}
.feed-item__text em {
  font-style: normal;
  color: var(--brand);
}
.feed-item__time {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--faint);
}
.feed-item__icon {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--muted);
}
.home-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 30px;
}
.home-col {
  min-width: 0;
}
.mini-idea {
  display: block;
  padding: 14px 15px;
}
.mini-idea__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.mini-idea__status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-strong);
}
.mini-idea__reactions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: var(--faint);
}
.mini-idea__title {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.mini-idea__meta {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted);
}
.mini-knowledge {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
}
.mini-knowledge__icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
}
.mini-knowledge__body {
  flex: 1;
  min-width: 0;
}
.mini-knowledge__title {
  display: block;
  font-size: 13.3px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-knowledge__meta {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}
.mini-knowledge > .icon {
  color: var(--faint);
}
.project-spotlight {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
}
.project-spotlight__main {
  flex: 1;
  min-width: 0;
}
.project-spotlight__stage {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.project-spotlight__title {
  margin-top: 9px;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.project-spotlight__text {
  margin-top: 5px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 62ch;
}
.project-spotlight__team {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.project-spotlight__side {
  width: 130px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  text-align: right;
}
.project-spotlight__percent {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 650;
  color: var(--brand);
  letter-spacing: -0.03em;
}
.project-spotlight__side .progress {
  width: 100%;
}

/* home side cards */

.home-side .match-card {
  padding: 20px;
  border-radius: 18px;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(201, 162, 39, 0.14), transparent 60%),
    linear-gradient(160deg, #1a4238 0%, #112a24 100%);
  color: #f2ecdd;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 44px -34px rgba(15, 38, 32, 0.8);
}
.match-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.match-card__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(242, 236, 221, 0.1);
  color: #ddc58c;
}
.match-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #c7b98f;
}
.match-card__title {
  margin-top: 12px;
  font-size: 18px;
  color: #fbf7ec;
  letter-spacing: -0.02em;
}
.match-card__text {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #bec9c0;
}
.match-card__input {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 10px 11px;
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--muted);
  font-size: 11.5px;
  text-align: left;
}
.match-card__input span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-card__input:hover {
  background: #fffdf8;
}
.match-card__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.match-card__actions .btn--ghost {
  color: #d9d2bf;
}
.match-card__actions .btn--ghost:hover {
  background: rgba(242, 236, 221, 0.1);
}

.side-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.side-card--quiet {
  background: var(--surface-2);
}
.side-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
}
.side-card__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.side-card__title .icon {
  color: var(--muted);
}
.side-card__lead {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}
.side-card__sub {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 14px 0 6px;
}
.side-card .btn {
  margin-top: 10px;
}
.challenge-mini__stage {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-strong);
}
.challenge-mini__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.challenge-mini__stages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.challenge-mini__stage-pill {
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--faint);
  font-size: 9.5px;
  font-weight: 500;
}
.challenge-mini__stage-pill.is-done {
  background: var(--brand-tint);
  color: var(--brand);
}
.new-members {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.new-member {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border-radius: 9px;
}
.new-member:hover {
  background: var(--surface-2);
}
.new-member__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.new-member__name {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.new-member__meta {
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.new-member__date {
  font-size: 10px;
  color: var(--faint);
  flex: none;
}
.my-plan {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.my-plan:first-of-type {
  border-top: 0;
}
.my-plan__date {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-strong);
}
.my-plan__title {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--ink-2);
  line-height: 1.4;
}

/* ---------------------------------------------------------------- people */

.people-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.people-search {
  max-width: 460px;
}
.people-search .input {
  min-height: 44px;
}
.people-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
}
.people-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.people-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.people-cell__hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-end;
  font-size: 10px;
  color: var(--faint);
}
.member-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px;
  min-height: 252px;
  overflow: hidden;
}
.member-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.member-card__ident {
  min-width: 0;
  flex: 1;
}
.member-card__name {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.member-card__profession {
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.35;
}
.member-card__company {
  margin-top: 1px;
  font-size: 11px;
  color: var(--muted);
}
.member-card__arrow {
  color: var(--faint);
  flex: none;
  transition: transform 0.16s ease, color 0.16s ease;
}
.member-card:hover .member-card__arrow {
  color: var(--brand);
  transform: translate(2px, -2px);
}
.member-card__tags {
  position: relative;
  z-index: 2;
}
.member-card__bio {
  font-size: 12.2px;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.member-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.member-card__teach {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.member-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 650;
  color: var(--brand);
}
.member-card__categories {
  display: none;
}
.people-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 24px;
  padding: 22px 24px;
  background: linear-gradient(155deg, #fbf8f0, #f3eddf);
  border-color: #e3dac7;
  flex-wrap: wrap;
}
.people-cta__title {
  margin-top: 5px;
  font-size: 18px;
}

/* ---------------------------------------------------------------- profile */

.profile-hero {
  position: relative;
  margin-top: 4px;
  padding: 30px;
  border-radius: 24px;
  background:
    radial-gradient(600px 320px at 92% -10%, rgba(201, 162, 39, 0.2), transparent 60%),
    linear-gradient(150deg, #173b32 0%, #0f2620 100%);
  color: #f2ecdd;
  overflow: hidden;
  box-shadow: 0 26px 60px -40px rgba(15, 38, 32, 0.8);
}
.profile-hero__pattern {
  position: absolute;
  right: -30px;
  top: 8px;
  color: rgba(242, 236, 221, 0.055);
  transform: rotate(8deg);
  pointer-events: none;
}
.profile-hero__main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.profile-hero__ident {
  min-width: 0;
  flex: 1;
}
.profile-hero__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c7b98f;
}
.profile-hero__name {
  margin-top: 5px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #fbf7ec;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.profile-hero__role {
  margin-top: 5px;
  font-size: 13.5px;
  color: #c4cfc6;
}
.profile-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-size: 11.5px;
  color: #aab9ad;
}
.profile-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.profile-hero__meta .icon {
  color: #b7a577;
}
.profile-hero .tag {
  --soft: rgba(242, 236, 221, 0.11) !important;
  --tone: #e3d7b8 !important;
}
.profile-hero__actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.btn--on-dark {
  --btn-bg: rgba(242, 236, 221, 0.08);
  --btn-fg: #f2ecdd;
  --btn-border: rgba(242, 236, 221, 0.2);
  backdrop-filter: blur(4px);
}
.btn--on-dark:hover {
  --btn-bg: rgba(242, 236, 221, 0.15);
}
.profile-hero__quote {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 236, 221, 0.14);
  font-size: 13.5px;
  line-height: 1.55;
  color: #ddd5c2;
  font-style: italic;
  max-width: 72ch;
}
.profile-hero__quote .icon {
  color: #b7a577;
  flex: none;
  margin-top: 2px;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}
.profile-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.profile-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 84px;
  min-width: 0;
}
.profile-section {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.profile-section__title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 12px;
}
.profile-section__title .icon {
  color: var(--gold-strong);
}
.profile-bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.profile-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.profile-two-col .profile-section {
  height: 100%;
}
.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.expertise-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.expertise-row:last-child {
  border-bottom: 0;
}
.expertise-row__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tone);
  flex: none;
}
.expertise-row__name {
  color: var(--ink);
  font-weight: 550;
}
.expertise-row__category {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--faint);
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}
.check-list__mark {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-top: 1px;
}
.profile-current {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.profile-current__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
}
.profile-current__item:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}
.profile-current__icon {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
}
.profile-current__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.profile-current__title {
  font-size: 12.8px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.profile-current__meta {
  font-size: 10.5px;
  color: var(--muted);
}
.profile-current__item > .icon {
  color: var(--faint);
}
.contribution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.contribution-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 13px 6px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  text-align: center;
}
.contribution-tile__icon {
  color: var(--gold-strong);
  margin-bottom: 2px;
}
.contribution-tile__value {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 650;
  line-height: 1;
  color: var(--ink);
}
.contribution-tile__label {
  font-size: 10px;
  color: var(--muted);
}
.contribution-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--faint);
  line-height: 1.45;
}
.badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.badge-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  opacity: 0.62;
}
.badge-item.is-unlocked {
  opacity: 1;
  background: linear-gradient(155deg, #fbf6e9, #f6eed8);
  border-color: #e6d8b6;
}
.badge-item__icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--muted);
}
.badge-item.is-unlocked .badge-item__icon {
  background: #fffdf8;
  color: var(--gold-strong);
  box-shadow: 0 2px 5px rgba(181, 138, 52, 0.16);
}
.badge-item__title {
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
  color: var(--ink-2);
}
.badge-item__progress {
  margin-top: 1px;
}
.badge-item__progress .progress {
  height: 3px;
}
.side-list-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.side-list-item:first-of-type {
  border-top: 0;
}
.side-list-item:hover .side-list-item__title {
  color: var(--brand);
}
.side-list-item__date {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gold-strong);
}
.side-list-item__title {
  font-size: 12.3px;
  line-height: 1.4;
  color: var(--ink-2);
}
.side-person {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border-radius: 9px;
}
.side-person:hover {
  background: var(--surface-2);
}
.side-person__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.side-person__name {
  font-size: 12.3px;
  font-weight: 600;
}
.side-person__reason {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.35;
}
.completeness {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.completeness--compact {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.completeness__value {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
}
.completeness__missing {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 9px;
}
.completeness__missing li {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}
.completeness__missing .icon {
  color: var(--clay);
  margin-top: 1px;
  flex: none;
}

/* ---------------------------------------------------------- auth accounts */

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.auth-tab {
  padding: 7px 10px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.auth-tab:hover {
  color: var(--ink);
}
.auth-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 7px -4px rgba(24, 20, 14, 0.35);
}
.auth-google {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.btn--google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid #d8d3c7;
  background: #fff;
  color: #2b2b28;
  font-weight: 600;
  box-shadow: 0 3px 10px -8px rgba(24, 20, 14, 0.35);
}
.btn--google:hover:not(:disabled) {
  border-color: #bfc5d4;
  background: #fbfbfc;
  box-shadow: 0 7px 16px -12px rgba(24, 20, 14, 0.45);
}
.btn--google:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.google-mark {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex: none;
}
.auth-google__note {
  text-align: center;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--faint);
}
.auth-form.is-hidden {
  display: none;
}
.auth-forgot {
  align-self: center;
  margin-top: -3px;
  font-size: 10.5px;
  color: var(--faint);
}
.auth-admin-hint {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: -3px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--gold-soft);
  border: 1px solid #e8d9b7;
  color: #6d5417;
  font-size: 10.5px;
  line-height: 1.45;
}
.auth-admin-hint .icon {
  flex: none;
  margin-top: 1px;
}
.auth-global-error {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f9ebe6;
  border: 1px solid #e7c3b7;
}
.auth-demo {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.auth-demo summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  list-style: none;
}
.auth-demo summary::-webkit-details-marker {
  display: none;
}
.auth-demo summary::after {
  content: "+";
  float: right;
  color: var(--faint);
}
.auth-demo[open] summary::after {
  content: "−";
}
.auth-demo .demo-accounts {
  margin-top: 9px;
}
.auth-modal--accounts .modal__panel {
  width: min(540px, 100%);
}
@media (max-width: 760px) {
  .auth-modal--accounts .modal__panel {
    width: 100%;
  }
  .auth-tabs {
    margin-bottom: 12px;
  }
}
