:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #0b1b2d;
  --muted: #3f5875;
  --accent: #007fc4;
  --accent-dark: #007fc4;
  --sage: rgba(0, 127, 196, 0.35);
  --sand: rgba(0, 127, 196, 0.2);
  --card: #ffffff;
  --shadow: rgba(11, 27, 45, 0.14);
  --radius: 28px;
  --dashboard-square-size: 220px;
  --dashboard-topbar-square-size: 176px;
  --dashboard-status-ring-size: 8px;
  --dashboard-stage-inner-height: 520px;
  --dashboard-stage-outer-height: 560px;
  --site-brand-logo: url("assets/site-logo.png");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Century Gothic", "CenturyGothic", "Futura", "Trebuchet MS", sans-serif;
  background: #ffffff;
  color: var(--ink);
}

body.index-page {
  background: #ffffff;
}

.dev-reset-site-button {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1200;
  width: auto;
  padding: 8px 12px;
  font-size: 13px;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.page.minimal {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.minimal-nav {
  justify-content: center;
  width: 100%;
  text-align: center;
}

.minimal-nav .brand {
  text-align: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 0;
  gap: 0;
}

.minimal-nav .brand-mark {
  margin: 0 auto;
}

.minimal-nav .brand > div {
  display: block;
}

.site-brand-logo {
  display: block;
  width: auto;
  max-width: min(360px, 88vw);
  height: auto;
  margin: 0 auto;
}

.site-brand-logo-index {
  width: min(288px, 70.4vw);
}

.video-hero {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 24px;
  padding: 32px 0 64px;
}

.page-cta-button {
  margin-top: 8px;
}

.next-page .button {
  font-size: 16px;
  padding: 12px 18px;
  width: auto;
  justify-self: center;
}

.back-home {
  margin-top: 28px;
  font-size: 16px;
  padding: 12px 18px;
}

.video-shell {
  width: min(420px, 100%);
  background: var(--card);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

body.index-page .video-shell {
  width: min(336px, 80%);
}

.video-shell video {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  display: block;
  background: transparent;
}

.index-video-play {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  min-width: 112px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0b1b2d;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.index-video-play.hidden {
  display: none;
}

.next-page {
  padding: 48px 32px;
  text-align: center;
  display: grid;
  gap: 16px;
}

.next-page h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 400;
}

.next-page p {
  color: var(--muted);
}

.setup-page {
  justify-items: center;
  align-items: center;
  text-align: center;
}

.setup-page h2 {
  text-align: center;
}

.setup-page p {
  max-width: 38ch;
  text-align: center;
}

.setup-page .setup-intro {
  margin-bottom: 18px;
}

.setup-page .setup-indicate {
  margin-top: 18px;
}

.setup-page .status-toggle {
  width: min(360px, 100%);
  justify-self: center;
  grid-template-columns: 1fr auto;
  text-align: center;
  white-space: normal;
}

.setup-page .status-toggle .terms-text {
  text-align: center;
}

.setup-page .setup-status-row {
  width: 100%;
  min-height: 44px;
  padding: 4px 8px;
  justify-self: center;
  grid-template-columns: 1fr auto;
  text-align: left;
  column-gap: 12px;
}

.setup-page .setup-status-row .terms-text {
  text-align: left;
}

.setup-page .setup-status-row .toggle {
  justify-self: end;
}

.setup-page .dashboard-card {
  width: min(420px, 100%);
}

.setup-shell {
  width: min(640px, 100%);
}

.dashboard-setup-discyple-page .video-hero {
  padding-top: 10px;
  gap: 12px;
}

.dashboard-setup-discyple-page .setup-page {
  padding-top: 24px;
}

.twelve-shell {
  width: min(760px, 100%);
}

.twelve-page {
  justify-items: center;
  text-align: center;
}

.twelve-page h2 {
  text-align: center;
}

.twelve-page p {
  max-width: 48ch;
  text-align: center;
}

.setup-page .next-steps-card {
  width: min(500px, 100%);
}

.setup-page .status-card {
  width: min(500px, 100%);
  gap: 6px;
}

.setup-page .next-steps-card h3 {
  text-align: center;
  margin-bottom: 6px;
}

.setup-page .status-card h3 {
  text-align: center;
  margin-bottom: 6px;
}

.setup-page .status-card .status-phrase {
  margin-left: 0;
}

.setup-page .status-card .terms-text {
  display: grid;
  grid-template-columns: 170px 1fr;
  column-gap: 10px;
  align-items: center;
}

.setup-page .status-card .status-prefix {
  white-space: nowrap;
}

.setup-page .next-steps-card .steps-toggle-list {
  justify-items: stretch;
  width: 100%;
  gap: 6px;
}

.setup-page .next-steps-card .status-toggle {
  width: 100%;
  justify-self: stretch;
  grid-template-columns: 1fr auto;
  text-align: left;
  min-height: 44px;
  padding: 4px 8px;
  column-gap: 12px;
  align-items: center;
  white-space: normal;
}

.setup-page .next-steps-card .status-toggle .terms-text {
  order: 1;
  text-align: left;
  justify-self: start;
}

.setup-page .next-steps-card .status-toggle .toggle {
  order: 2;
  justify-self: end;
}

/* Shared setup card system: keeps Status Indicators and Next Steps visually identical */
.setup-page .setup-uniform-card {
  width: min(500px, 100%);
  padding: 18px;
  display: grid;
  gap: 6px;
}

.setup-page .setup-uniform-card h3 {
  margin: 0 0 6px;
  text-align: center;
}

.setup-page .setup-uniform-card .steps-toggle-list {
  width: 100%;
  display: grid;
  gap: 6px;
}

.setup-page .setup-uniform-card .status-toggle {
  width: 100%;
  min-height: 44px;
  padding: 4px 8px;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  align-items: center;
  text-align: left;
  white-space: normal;
}

.setup-page .setup-uniform-card .status-toggle .terms-text {
  order: 1;
  text-align: left;
  justify-self: start;
}

.setup-page .setup-uniform-card .status-toggle .toggle {
  order: 2;
  justify-self: end;
}

.final-setup-profile-card {
  width: min(520px, 100%);
  text-align: left;
  justify-items: stretch;
}

.final-setup-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.final-setup-profile-header h3 {
  margin: 0;
}

.final-setup-edit-button {
  width: auto;
  padding: 8px 12px;
  font-size: 13px;
}

.final-setup-profile-form {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.final-setup-profile-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #213752;
}

.final-setup-profile-form input[type="text"],
.final-setup-profile-form input[type="email"],
.final-setup-profile-form input[type="tel"],
.final-setup-profile-form input[type="date"],
.final-setup-profile-form select {
  border: 1px solid rgba(11, 27, 45, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15px;
  height: 44px;
  line-height: 1.2;
  width: 100%;
}

.final-setup-profile-form select {
  appearance: none;
  background-color: #ffffff;
}

.final-setup-profile-form input:disabled,
.final-setup-profile-form select:disabled {
  background: #f6f8fb;
  color: #4b647f;
}

.final-setup-profile-message {
  margin-top: 4px;
  color: #2a4e73;
  min-height: 18px;
}

.js-final-setup-avatar-controls {
  justify-self: center;
}

.setup-page .next-steps-card .button.primary {
  margin-top: 18px;
}

.covering-shell {
  width: min(760px, 100%);
}

.covering-page {
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding-top: 24px;
}

.covering-page h2 {
  text-align: center;
}

.covering-page .covering-intro {
  text-align: left;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.55;
}

.covering-page .covering-card {
  width: min(680px, 100%);
  text-align: left;
}

.covering-page .covering-card h3 {
  text-align: center;
  margin-bottom: 6px;
}

.covering-selected-preview {
  margin: 12px auto 2px;
  margin-left: auto;
  margin-right: auto;
  justify-self: center;
  text-align: center;
  align-items: center;
  justify-items: center;
  gap: 10px;
  cursor: default;
}

.covering-selected-preview .spiritual-covering-logo {
  margin: 0 auto;
}

.covering-selected-preview .spiritual-covering-name {
  text-align: center;
  margin: 0;
}

.covering-search-form,
.covering-register-form {
  display: grid;
  gap: 10px;
}

.covering-search-form label,
.covering-register-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.covering-search-form input[type="text"],
.covering-register-form input[type="text"],
.covering-register-form input[type="email"],
.covering-register-form input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 45, 0.18);
  font-family: inherit;
  font-size: 15px;
  height: 44px;
  line-height: 1.2;
}

.covering-register-form .covering-logo-upload {
  justify-items: center;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 10px;
}

.covering-register-form .covering-logo-box {
  width: 180px;
  height: 180px;
}

.covering-register-form .covering-logo-controls {
  justify-self: center;
  margin-bottom: 12px;
}

.covering-search-form .button,
.covering-register-form .button {
  justify-self: center;
}

.covering-results {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.covering-results .dashboard-muted {
  text-align: center;
}

.covering-result {
  border: 1px solid rgba(11, 27, 45, 0.12);
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  gap: 8px;
}

.covering-result-main {
  display: grid;
  gap: 4px;
}

.covering-result-name {
  font-weight: 600;
}

.covering-result-meta {
  color: var(--muted);
  font-size: 14px;
}

.covering-result .button {
  justify-self: start;
}

.covering-message {
  min-height: 18px;
  color: var(--muted);
  text-align: center;
}

.subscription-link {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.subscription-link:hover {
  text-decoration: underline;
}

.profile-form {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.profile-form button {
  margin-top: 20px;
}

.return-banner {
  width: min(360px, 100%);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(106, 168, 255, 0.14);
  border: 1px solid var(--accent);
  color: #0b1b2d;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
}

.profile-form .terms {
  margin-top: 10px;
}

.profile-form label {
  display: grid;
  gap: 6px;
  width: min(360px, 100%);
  text-align: left;
  font-size: 14px;
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="tel"] {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 45, 0.18);
  font-family: inherit;
  font-size: 15px;
  height: 44px;
  line-height: 1.2;
  width: 100%;
}

.profile-form input[type="date"],
.profile-form select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 45, 0.18);
  font-family: inherit;
  font-size: 15px;
  background: #ffffff;
  width: 100%;
  height: 44px;
  line-height: 1.2;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #0b1b2d 50%),
    linear-gradient(135deg, #0b1b2d 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position: calc(100% - 18px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px),
    100% 0;
  background-size: 6px 6px, 6px 6px, 2.5em 2.5em;
  background-repeat: no-repeat;
  padding-right: 36px;
  transform: translateY(0);
}

@supports (-webkit-touch-callout: none) {
  .profile-form select {
    height: 44px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

.profile-form input[type="password"] {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 45, 0.18);
  font-family: inherit;
  font-size: 15px;
  height: 44px;
  line-height: 1.2;
  width: 100%;
}

.profile-summary {
  align-items: center;
}

.profile-avatar {
  width: 180px;
  height: 180px;
  border-radius: 36px;
  border: 1px solid rgba(11, 27, 45, 0.12);
  display: grid;
  place-items: center;
  justify-self: center;
  color: var(--muted);
  background: rgba(11, 27, 45, 0.04);
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 24px rgba(11, 27, 45, 0.18);
}

.profile-avatar.has-image {
  color: transparent;
}

.profile-avatar.status-online {
  box-shadow:
    inset 0 0 0 var(--dashboard-status-ring-size) #6aa8ff,
    0 12px 24px rgba(11, 27, 45, 0.18);
}

.profile-avatar.status-dnd {
  box-shadow:
    inset 0 0 0 var(--dashboard-status-ring-size) #b9c2cf,
    0 12px 24px rgba(11, 27, 45, 0.18);
}

.profile-avatar.status-offline {
  box-shadow:
    inset 0 0 0 var(--dashboard-status-ring-size) #0b1b2d,
    0 12px 24px rgba(11, 27, 45, 0.18);
}

.profile-details {
  display: grid;
  gap: 6px;
  text-align: center;
}

.profile-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.dashboard {
  text-align: left;
  align-items: stretch;
  gap: 24px;
}

.dashboard-header h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 400;
  margin-bottom: 8px;
}

.profile-summary.dashboard .dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.spiritual-covering-card {
  width: min(220px, 100%);
  justify-items: center;
  text-align: center;
  gap: 10px;
  margin-left: auto;
  cursor: pointer;
}

.spiritual-covering-logo {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  border: 1px solid rgba(11, 27, 45, 0.12);
  background: rgba(11, 27, 45, 0.04);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.spiritual-covering-logo.has-image {
  color: transparent;
}

.spiritual-covering-name {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
}

.covering-modal-card {
  width: min(560px, 100%);
}

.covering-modal-form {
  display: grid;
  gap: 10px;
}

.covering-modal-form label {
  display: grid;
  gap: 6px;
  text-align: left;
  font-size: 14px;
}

.covering-modal-form input[type="text"],
.covering-modal-form input[type="email"],
.covering-modal-form input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 45, 0.18);
  font-family: inherit;
  font-size: 15px;
  height: 44px;
  line-height: 1.2;
}

.covering-modal-logo-upload {
  justify-items: center;
  margin-top: 4px;
}

.covering-modal-logo-box {
  width: 160px;
  height: 160px;
}

.covering-modal-logo-controls {
  justify-self: center;
}

.covering-modal-message {
  min-height: 18px;
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
}

@media (max-width: 700px) {
  .profile-summary.dashboard .dashboard-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .spiritual-covering-card {
    margin-left: 0;
    width: min(280px, 100%);
  }
}

.dashboard-subtitle {
  color: var(--muted);
}

.dashboard-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dashboard-card {
  border: 1px solid rgba(11, 27, 45, 0.12);
  border-radius: 20px;
  padding: 18px;
  display: grid;
  gap: 12px;
  background: #ffffff;
}

.profile-card {
  justify-items: center;
  text-align: center;
  gap: 16px;
}

.dashboard-card h3 {
  font-size: 18px;
  font-weight: 500;
}

.dashboard-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.dashboard-list li::before {
  content: "•";
  margin-right: 8px;
  color: var(--accent-dark);
}

.steps-toggle-list {
  display: grid;
  gap: 10px;
}

.twelve-grid {
  display: grid;
  grid-template-columns: repeat(3, var(--dashboard-square-size));
  gap: 12px;
  margin: 8px 0 16px;
  width: fit-content;
  max-width: 100%;
  justify-self: center;
  justify-content: center;
}

.twelve-card {
  width: var(--dashboard-square-size);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  border: 1px dashed rgba(11, 27, 45, 0.3);
  background: #ffffff;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  min-height: var(--dashboard-square-size);
  white-space: pre-line;
}

.twelve-card.filled {
  border-style: solid;
  color: var(--ink);
  font-size: 13px;
  padding: 12px;
  text-align: center;
  line-height: 1.25;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.twelve-card.pending {
  border-style: solid;
  border-color: var(--accent);
  background: rgba(106, 168, 255, 0.14);
}

.twelve-card.accepted {
  border-style: solid;
  border-color: var(--accent);
  background-size: cover;
  background-position: center;
  color: transparent;
}

.twelve-card.invite-status-online {
  border-color: #6aa8ff;
  box-shadow: inset 0 0 0 var(--dashboard-status-ring-size) #6aa8ff;
}

.twelve-card.invite-status-dnd {
  border-color: #9aa2ad;
  box-shadow: inset 0 0 0 var(--dashboard-status-ring-size) #9aa2ad;
}

.twelve-card.invite-status-offline {
  border-color: #0b1b2d;
  box-shadow: inset 0 0 0 var(--dashboard-status-ring-size) #0b1b2d;
  filter: grayscale(1) brightness(0.78);
}

.twelve-card.accepted.invite-status-offline {
  background-color: #d8dde4;
  background-blend-mode: luminosity;
}

.invite-list {
  display: grid;
  gap: 10px;
  text-align: left;
}

.invite-item {
  padding: 12px;
  border: 1px solid rgba(11, 27, 45, 0.12);
  border-radius: 16px;
  display: grid;
  gap: 6px;
}

.invite-item .button {
  justify-self: start;
}

.find-discyple-results {
  display: grid;
  gap: 8px;
  text-align: center;
  justify-items: center;
}

.find-discyple-result {
  border: 1px solid rgba(11, 27, 45, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 8px;
  text-align: center;
  justify-items: center;
  width: 100%;
}

.find-discyple-avatar {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(11, 27, 45, 0.12);
  background: rgba(11, 27, 45, 0.04);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.find-discyple-avatar.has-image {
  color: transparent;
}

#find-discyple-modal .modal-card {
  text-align: center;
}

#find-discyple-modal label {
  text-align: center;
  justify-items: center;
}

#find-discyple-modal input {
  text-align: center;
}

.invite-email-modal-card {
  width: min(760px, 100%);
  position: relative;
}

.invite-modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid #d7dde5;
  border-radius: 999px;
  background: #ffffff;
  color: #16324f;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.invite-modal-x:hover {
  background: #f5f7fb;
}

.invite-modal-x:focus-visible {
  outline: 2px solid #6aa8ff;
  outline-offset: 2px;
}

.invite-email-preview {
  border: 1px solid rgba(11, 27, 45, 0.12);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 14px;
  text-align: left;
}

.invite-email-brand {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  text-align: center;
}

.invite-email-brand .brand-mark {
  margin: 0 auto;
  justify-self: center;
}

.invite-email-body {
  color: var(--ink);
  line-height: 1.55;
  max-width: 64ch;
  justify-self: center;
}

.invite-email-signoff {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.invite-email-footer {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  align-items: flex-end;
  text-align: right;
}

.invite-preview-avatar {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(11, 27, 45, 0.12);
  background: rgba(11, 27, 45, 0.04);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.invite-preview-avatar.has-image {
  color: transparent;
}

.invite-preview-sender {
  font-weight: 600;
  margin: 0;
}

.invite-email-action {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
}

.invite-guard-message {
  min-height: 18px;
  color: #b62323;
  text-align: center;
}

.modal-card label {
  display: grid;
  gap: 6px;
  text-align: left;
  font-size: 14px;
}

.modal-card input {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 45, 0.18);
  font-family: inherit;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-muted {
  color: var(--muted);
}

.dashboard-footer {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.dashboard-footer .dashboard-update-link {
  flex: 0 0 auto;
  width: auto;
  display: inline-flex;
  margin: 0;
}

.status-block {
  display: grid;
  gap: 12px;
  width: 100%;
}

.text-link {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

.profile-summary .button {
  margin-top: 16px;
}

.modal {
  position: fixed;
  inset: 0;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 1000;
  pointer-events: none;
}

.modal.hidden {
  display: none;
}

.modal .modal-card {
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  width: min(360px, 100%);
  text-align: center;
  box-shadow: 0 18px 36px rgba(11, 27, 45, 0.2);
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-card.invite-email-modal-card {
  width: min(980px, calc(100vw - 24px));
  max-width: 980px;
  padding: 20px;
}

.modal-card h2 {
  font-size: 20px;
  font-weight: 400;
}

.modal-card p {
  color: var(--muted);
}

.balloon-popup {
  background: #ffffff;
  border-radius: 32px;
  padding: 32px 28px;
  box-shadow: 0 24px 50px rgba(11, 27, 45, 0.18);
  display: grid;
  gap: 16px;
  text-align: center;
  position: relative;
  max-width: 420px;
  width: min(420px, 100%);
}

.balloon-decor {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.balloon-decor span {
  width: 16px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.85;
  position: relative;
}

.balloon-decor span::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 12px;
  background: rgba(11, 27, 45, 0.2);
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
  border-radius: 999px;
}

.balloon-decor span:nth-child(2) {
  background: var(--accent);
  height: 26px;
}

.balloon-decor span:nth-child(3) {
  background: var(--accent);
  height: 20px;
}

.bubble-heading {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(106, 168, 255, 0.18);
  color: #0b1b2d;
  font-size: 20px;
  font-weight: 400;
  box-shadow: inset 0 0 0 1px rgba(11, 27, 45, 0.08);
}

.avatar-upload {
  justify-items: center;
  text-align: center;
}

.avatar-upload input[type="file"] {
  display: none;
}

.avatar-box {
  width: 180px;
  height: 180px;
  border-radius: 36px;
  border: 1px dashed rgba(11, 27, 45, 0.35);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 24px rgba(11, 27, 45, 0.18);
  touch-action: none;
}

.avatar-box.has-image {
  color: transparent;
  border-style: solid;
  border-color: rgba(11, 27, 45, 0.12);
}

.zoom-control input[type="range"] {
  width: min(360px, 100%);
}

.avatar-controls {
  display: grid;
  gap: 10px;
  justify-items: center;
  width: min(360px, 100%);
}

.avatar-controls.hidden {
  display: none;
}

.reset-button {
  font-size: 14px;
  padding: 8px 16px;
}

.terms {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 18px;
  text-align: left;
  white-space: nowrap;
}

.platform-toggle {
  grid-template-columns: 1fr auto;
  white-space: normal;
}

.toggle {
  align-self: center;
}

.terms-text {
  display: block;
  order: 1;
  justify-self: start;
  align-self: center;
  line-height: 1.4;
}

.bottom-page-toggle {
  width: auto;
  grid-template-columns: auto auto;
  justify-content: center;
  column-gap: 10px;
  justify-self: center;
  margin-inline: auto;
}

.bottom-page-toggle .terms-text {
  text-align: left;
}

.toggle {
  order: 2;
  justify-self: end;
  position: relative;
  width: 44px;
  height: 26px;
  display: inline-flex;
  align-items: center;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  width: 44px;
  height: 26px;
  background: #d1d9e6;
  border-radius: 999px;
  position: relative;
  transition: background 0.2s ease;
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(11, 27, 45, 0.25);
  transition: transform 0.2s ease;
}

.toggle input:checked + .toggle-track {
  background: var(--accent);
}

.toggle input:checked + .toggle-track::after {
  transform: translateX(18px);
}

.video-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.choice-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.page.fade-out {
  animation: page-fade 0.8s ease forwards;
}

.button.fly-up {
  animation: button-fly 0.8s ease forwards;
  position: relative;
  z-index: 2;
}

.page-cta-button.fly-in {
  animation: button-arrive 0.9s ease forwards;
}

.brand-name.heading-fade {
  animation: heading-fade 0.6s ease forwards;
}

@keyframes page-fade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes button-fly {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-140px);
  }
}

@keyframes button-arrive {
  from {
    opacity: 0;
    transform: translateY(120px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heading-fade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff7ef;
  font-weight: 700;
}

.brand-name {
  font-family: "Century Gothic", "CenturyGothic", "Futura", "Trebuchet MS", sans-serif;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.05;
  margin-bottom: 10px;
  font-weight: 400;
}

.brand-tag {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: var(--ink);
  color: #fff7ef;
  border-color: var(--ink);
}

body.index-page .button.primary {
  background: var(--accent);
  border-color: var(--accent);
}

.button.ghost {
  border-color: transparent;
  background: rgba(28, 27, 26, 0.05);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px var(--shadow);
}

.button.disabled,
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.configure-dashboard-page {
  max-width: 1860px;
}

.profile-discypler-page {
  max-width: 1860px;
}

.profile-discypler-shell {
  width: min(1860px, 100%);
}

.profile-discypler-page .video-hero {
  width: min(1860px, 100%);
  padding: 14px 0 48px;
  gap: 10px;
}

.profile-discypler-page .profile-summary.dashboard {
  width: min(1860px, 100%);
  margin: 0 auto;
  padding: 0;
}

.profile-discypler-page .profile-discypler-nav {
  width: 100%;
  max-width: min(1860px, 100%);
  margin: 0 auto;
}

.profile-discypler-header-grid {
  width: min(1860px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 20px;
}

.profile-discypler-page .profile-discypler-nav .brand {
  text-align: center;
  justify-self: center;
  align-self: center;
  align-items: center;
  width: auto;
}

.profile-discypler-page .site-brand-logo {
  max-width: min(340px, 24vw);
}

.profile-discypler-topcopy {
  display: grid;
  gap: 0;
  justify-items: start;
  text-align: left;
  width: min(860px, 100%);
  margin: 0;
  justify-self: start;
  align-content: start;
}

.profile-discypler-topcopy h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  margin: 0 0 14px;
}

.profile-discypler-topcopy .dashboard-subtitle {
  margin: 0 0 14px;
  line-height: 1.2;
}

.profile-discypler-topcopy .dashboard-card {
  margin: 0;
}

.profile-discypler-topcopy .profile-discypler-profile-card {
  margin-top: 0;
}

.profile-discypler-side-stack {
  display: grid;
  gap: 14px;
  align-content: start;
  width: min(320px, 100%);
  justify-self: end;
}

.profile-discypler-side-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  align-items: stretch;
}

.profile-discypler-side-top-row > .dashboard-card {
  height: 100%;
}

.profile-discypler-side-stack .spiritual-covering-card {
  width: 100%;
  margin: 0;
  justify-items: center;
  align-content: start;
}

.profile-discypler-inviter-card {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  text-align: center;
  gap: 8px;
  align-content: start;
}

.profile-discypler-inviter-card h3 {
  margin: 0;
}

.profile-discypler-inviter-card .inviter-side-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  font-size: 11px;
  box-shadow: 0 6px 16px rgba(11, 27, 45, 0.14);
}

.profile-discypler-inviter-card .inviter-side-name {
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
}

.profile-discypler-side-top-row .spiritual-covering-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 10px;
  gap: 8px;
  justify-items: center;
  text-align: center;
  align-content: start;
}

.profile-discypler-side-top-row .spiritual-covering-card h3 {
  margin: 0;
}

.profile-discypler-side-top-row .spiritual-covering-card .spiritual-covering-logo {
  width: 64px;
  height: 64px;
}

.profile-discypler-side-top-row .spiritual-covering-card .spiritual-covering-name {
  font-size: 13px;
  line-height: 1.25;
  margin: 0;
  max-width: 100%;
}

.profile-discypler-profile-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: start;
  gap: 22px;
  justify-items: start;
  text-align: left;
  position: relative;
  padding-bottom: 54px;
}

.profile-discypler-profile-card .profile-avatar {
  width: 160px;
  height: 160px;
  border-radius: 30px;
  justify-self: center;
  background-image: url("assets/test-profile-avatar.svg");
  background-size: cover;
  background-position: center;
}

.profile-discypler-profile-card .profile-details {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(130px, auto) 1fr;
  column-gap: 14px;
  row-gap: 6px;
  text-align: left;
  padding-left: 8px;
}

.profile-discypler-profile-card .profile-details > p {
  margin: 0;
}

.profile-discypler-profile-card .profile-label {
  align-self: center;
}

.profile-card-edit {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: auto;
  padding: 8px 12px;
  font-size: 13px;
}

.profile-discypler-status-card {
  gap: 8px;
  align-content: start;
}

.profile-discypler-status-card h3 {
  margin: 0 0 2px;
  text-align: center;
}

.profile-discypler-status-card .status-toggle {
  width: 100%;
  min-height: 40px;
  padding: 4px 8px;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 10px;
}

.profile-discypler-status-card .status-toggle .terms-text {
  text-align: left;
}

@media (max-width: 1360px) {
  .profile-discypler-header-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
  }

  .profile-discypler-topcopy {
    width: min(720px, 100%);
  }

  .profile-discypler-side-stack {
    width: min(280px, 100%);
  }
}

@media (max-width: 1180px) {
  .profile-discypler-header-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .profile-discypler-page .profile-discypler-nav .brand {
    order: 1;
  }

  .profile-discypler-topcopy {
    order: 2;
    width: min(900px, 100%);
    margin: 12px auto 0;
    justify-items: center;
    text-align: center;
  }

  .profile-discypler-side-stack {
    order: 3;
    width: min(420px, 100%);
    justify-self: center;
  }

  .profile-discypler-side-stack .spiritual-covering-card,
  .profile-discypler-profile-card {
    justify-items: center;
    text-align: center;
  }

  .profile-discypler-profile-card {
    grid-template-columns: 1fr;
  }

  .profile-discypler-profile-card .profile-details {
    grid-template-columns: 1fr;
    text-align: center;
    row-gap: 2px;
  }
}

.profile-discypler-summary-header {
  display: flex;
  justify-content: flex-start;
}

.profile-discypler-summary-header .spiritual-covering-card {
  margin-left: 0;
}

.confdash-main {
  display: grid;
  gap: 18px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.confdash-intro {
  text-align: center;
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.confdash-intro p {
  max-width: 72ch;
  margin: 0 auto;
  line-height: 1.35;
}

.confdash-mode-switch {
  display: grid;
  gap: 8px;
  width: min(980px, 100%);
  margin: 2px auto 0;
}

.confdash-mode-option {
  width: 100%;
  margin: 0;
  padding: 8px 12px;
}

.confdash-mode-option .terms-text {
  text-align: left;
  font-size: 14px;
}

.confdash-builder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.confdash-palette,
.confdash-layout {
  border: 1px solid rgba(11, 27, 45, 0.18);
  border-radius: 18px;
  background: #ffffff;
}

.confdash-palette {
  padding: 14px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.confdash-palette h3 {
  text-align: center;
}

.confdash-palette-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.confdash-palette-item {
  border: 1px solid rgba(11, 27, 45, 0.2);
  border-radius: 12px;
  background: #f6f9ff;
  padding: 10px 12px;
  text-align: center;
  font-weight: 600;
  cursor: grab;
  min-width: 170px;
}

.confdash-palette-item:active {
  cursor: grabbing;
}

.confdash-layout {
  min-height: 480px;
  padding: 14px;
  display: grid;
  gap: 12px;
  align-content: start;
  background:
    radial-gradient(circle at 100% 0%, rgba(106, 168, 255, 0.14), transparent 42%),
    #ffffff;
}

.confdash-layout.drag-over {
  outline: 2px dashed rgba(106, 168, 255, 0.9);
  outline-offset: -8px;
}

.confdash-empty {
  color: var(--muted);
  text-align: center;
  margin: auto 0;
}

.confdash-widget {
  border: 1px solid rgba(11, 27, 45, 0.18);
  border-radius: 14px;
  padding: 12px;
  background: #ffffff;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  gap: 10px;
  cursor: grab;
}

.confdash-widget:active {
  cursor: grabbing;
}

.confdash-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.confdash-widget-actions {
  display: flex;
  gap: 8px;
}

.confdash-widget-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(106, 168, 255, 0.16);
  font-size: 14px;
}

.confdash-widget-title {
  font-weight: 700;
}

.confdash-widget-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.confdash-widget button.widget-remove {
  border: 1px solid rgba(11, 27, 45, 0.2);
  border-radius: 999px;
  background: #ffffff;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.confdash-chat-list {
  display: grid;
  gap: 8px;
}

.confdash-chat-item {
  padding: 8px 10px;
  border-radius: 10px;
  background: #eef4ff;
  color: #233d57;
}

.confdash-chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.confdash-chat-compose input {
  border: 1px solid rgba(11, 27, 45, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
}

.confdash-facetime-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(106, 168, 255, 0.35), rgba(11, 27, 45, 0.78)),
    #10243c;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 700;
}

.confdash-twelve-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(56px, 1fr));
  gap: 10px;
}

.confdash-twelve-cell {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 14px;
  border: 1px solid rgba(11, 27, 45, 0.2);
  display: grid;
  place-items: center;
  background: #f7f9fc;
  font-size: 12px;
  text-align: center;
}

.confdash-twelve-cell.online {
  border-color: #6aa8ff;
  box-shadow: inset 0 0 0 2px rgba(106, 168, 255, 0.55);
}

.confdash-twelve-cell.dnd {
  border-color: #818793;
  box-shadow: inset 0 0 0 2px rgba(129, 135, 147, 0.45);
}

.confdash-twelve-cell.offline {
  border-color: #2c3645;
  box-shadow: inset 0 0 0 2px rgba(44, 54, 69, 0.4);
}

.confdash-twelve-cell[draggable="true"] {
  cursor: grab;
}

.confdash-upload-box {
  display: grid;
  gap: 10px;
}

.confdash-upload-box input[type="file"] {
  border: 1px dashed rgba(11, 27, 45, 0.35);
  border-radius: 12px;
  padding: 10px;
}

.confdash-upload-list {
  display: grid;
  gap: 6px;
  color: #20364e;
  font-size: 14px;
}

.confdash-actions {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.confdash-status {
  color: #2a4e73;
  min-height: 22px;
}

.confdash-live-section {
  margin-top: 14px;
}

.confdash-layout.readonly {
  min-height: 140px;
}

.confdash-layout.readonly .confdash-widget {
  cursor: default;
}

.confdash-layout.readonly .confdash-widget:active {
  cursor: default;
}

.confdash-layout.readonly .widget-remove {
  display: none;
}

@media (max-width: 860px) {
  .confdash-builder {
    grid-template-columns: 1fr;
  }
}

/* Dashboard builder v2 */
.confdash-main {
  width: min(1860px, 100%);
}

.confdash-builder {
  grid-template-columns: 1fr;
  align-items: start;
}

.confdash-palette {
  position: static;
}

.confdash-layout {
  position: relative;
  min-height: 1420px;
  padding: 0;
  overflow: auto;
  background:
    linear-gradient(transparent 39px, rgba(11, 27, 45, 0.045) 40px),
    linear-gradient(90deg, transparent 39px, rgba(11, 27, 45, 0.045) 40px);
  background-size: 40px 40px;
  background-color: #fdfefe;
}

.confdash-layout.readonly {
  min-height: 1180px;
}

.confdash-empty {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 14px;
  border-radius: 10px;
}

.confdash-widget {
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(11, 27, 45, 0.14);
}

.confdash-widget.dragging {
  opacity: 0.9;
}

.confdash-widget-header {
  cursor: grab;
}

.confdash-layout.readonly .confdash-widget-header {
  cursor: default;
}

.confdash-widget-body {
  min-height: calc(100% - 46px);
  height: calc(100% - 46px);
  overflow: auto;
}

.confdash-messenger {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.confdash-msg-sidebar {
  border-right: 1px solid rgba(11, 27, 45, 0.14);
  padding-right: 8px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
}

.confdash-msg-sidebar.drag-over {
  background: rgba(106, 168, 255, 0.1);
  border-radius: 10px;
}

.confdash-msg-side-title {
  font-size: 12px;
  color: var(--muted);
}

.confdash-msg-contacts {
  display: grid;
  gap: 6px;
  align-content: start;
  overflow: auto;
  max-height: 100%;
}

.confdash-msg-side-empty {
  font-size: 12px;
  text-align: center;
  padding: 8px 6px;
}

.confdash-msg-contact {
  display: grid;
  justify-items: center;
  gap: 4px;
  border: 1px solid rgba(11, 27, 45, 0.15);
  border-radius: 10px;
  background: #ffffff;
  padding: 6px 4px;
  cursor: pointer;
}

.confdash-msg-contact.active {
  border-color: rgba(106, 168, 255, 0.95);
  background: rgba(106, 168, 255, 0.12);
}

.confdash-msg-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #20364f;
  border: 2px solid #c8d6ea;
  background: #edf2fa;
  background-size: cover;
  background-position: center;
}

.confdash-msg-avatar.online {
  border-color: #6aa8ff;
}

.confdash-msg-avatar.dnd {
  border-color: #7f8590;
}

.confdash-msg-avatar.offline {
  border-color: #2b3644;
}

.confdash-msg-contact-name {
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  max-width: 90px;
  overflow-wrap: anywhere;
}

.confdash-msg-thread {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  min-height: 0;
}

.confdash-msg-header {
  font-size: 13px;
  font-weight: 700;
}

.confdash-msg-list {
  border: 1px solid rgba(11, 27, 45, 0.12);
  border-radius: 12px;
  padding: 8px;
  overflow: auto;
  min-height: 0;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f8ff 100%);
  display: grid;
  gap: 6px;
  align-content: start;
}

.confdash-msg-item {
  display: grid;
  gap: 6px;
}

.confdash-msg-item.mine {
  justify-items: end;
}

.confdash-msg-item.theirs {
  justify-items: start;
}

.confdash-msg-bubble {
  max-width: 82%;
  border-radius: 18px;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.35;
  white-space: pre-wrap;
  box-shadow: 0 8px 18px rgba(17, 40, 69, 0.08);
}

.confdash-msg-item.mine .confdash-msg-bubble {
  background: linear-gradient(135deg, #4f8dff 0%, #2f6dff 100%);
  color: #ffffff;
  border-bottom-right-radius: 6px;
}

.confdash-msg-item.theirs .confdash-msg-bubble {
  background: linear-gradient(135deg, #7edb9d 0%, #44c46e 100%);
  color: #08371a;
  border-bottom-left-radius: 6px;
}

.confdash-msg-image {
  max-width: 180px;
  border-radius: 10px;
  border: 1px solid rgba(11, 27, 45, 0.15);
}

.confdash-msg-file-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.confdash-msg-file-badge,
.confdash-msg-inline-file-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #20364e;
  background: #e6eefb;
  border: 1px solid rgba(11, 27, 45, 0.14);
}

.confdash-msg-file-badge {
  width: 96px;
  height: 96px;
  padding: 8px;
  font-size: 13px;
  line-height: 1.1;
}

.confdash-msg-inline-file-badge {
  width: 100%;
  height: 100%;
  padding: 2px;
  font-size: 5px;
  line-height: 1.05;
  border-radius: 6px;
}

.confdash-msg-file-badge[data-file-kind="pages"],
.confdash-msg-inline-file-badge[data-file-kind="pages"] {
  background: #ffe7c7;
}

.confdash-msg-file-badge[data-file-kind="doc"],
.confdash-msg-inline-file-badge[data-file-kind="doc"] {
  background: #dce9ff;
}

.confdash-msg-file-badge[data-file-kind="sheet"],
.confdash-msg-inline-file-badge[data-file-kind="sheet"] {
  background: #dff4e5;
}

.confdash-msg-file-badge[data-file-kind="slides"],
.confdash-msg-inline-file-badge[data-file-kind="slides"] {
  background: #ffe8d6;
}

.confdash-msg-file-badge[data-file-kind="text"],
.confdash-msg-inline-file-badge[data-file-kind="text"] {
  background: #f0eefc;
}

.confdash-msg-file-badge[data-file-kind="archive"],
.confdash-msg-inline-file-badge[data-file-kind="archive"] {
  background: #eceef2;
}

.confdash-msg-file-badge[data-file-kind="audio"],
.confdash-msg-inline-file-badge[data-file-kind="audio"] {
  background: #fbe4ef;
}

.confdash-msg-file-badge[data-file-kind="video"],
.confdash-msg-inline-file-badge[data-file-kind="video"] {
  background: #e6f7f6;
}

.confdash-msg-compose {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 6px;
  align-items: center;
  position: relative;
}

.confdash-msg-emoji,
.confdash-msg-photo {
  border: 1px solid rgba(11, 27, 45, 0.2);
  border-radius: 10px;
  background: #ffffff;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 14px;
}

.confdash-msg-photo input {
  display: none;
}

.confdash-msg-input {
  border: 1px solid rgba(11, 27, 45, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  min-height: 38px;
  max-height: 94px;
  overflow-y: auto;
  line-height: 1.4;
  background: #ffffff;
  white-space: pre-wrap;
  word-break: break-word;
}

.confdash-msg-input[contenteditable="true"]:empty::before {
  content: attr(data-placeholder);
  color: #7a8ba0;
}

.confdash-msg-input:focus {
  outline: 2px solid rgba(106, 168, 255, 0.18);
  outline-offset: 0;
}

.confdash-msg-inline-attachment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: min(220px, 100%);
  margin: 0 4px;
  padding: 3px 6px;
  border: 1px solid rgba(11, 27, 45, 0.14);
  border-radius: 999px;
  background: #f6f8fc;
  vertical-align: middle;
}

.confdash-msg-inline-preview {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #dfe8f7;
  color: #20364e;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.confdash-msg-inline-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.confdash-msg-inline-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.confdash-msg-inline-remove {
  border: 0;
  background: transparent;
  color: #5c6f86;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.confdash-context-menu {
  position: fixed;
  z-index: 2000;
  min-width: 170px;
  padding: 6px;
  border: 1px solid rgba(11, 27, 45, 0.16);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(11, 27, 45, 0.18);
}

.confdash-context-menu-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #20364e;
  text-align: left;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
}

.confdash-context-menu-item:hover {
  background: #eef4ff;
}

.confdash-context-menu-item.danger {
  color: #b42318;
}

.confdash-upload-meter {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2200;
}

.confdash-upload-meter-card {
  width: min(280px, calc(100vw - 36px));
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 27, 45, 0.12);
  box-shadow: 0 18px 40px rgba(11, 27, 45, 0.16);
  backdrop-filter: blur(10px);
}

.confdash-upload-meter-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #10253b;
}

.confdash-upload-meter-detail,
.confdash-upload-meter-percent {
  margin: 0;
  font-size: 12px;
  color: #58708b;
}

.confdash-upload-meter-track {
  margin: 10px 0 8px;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eef7;
}

.confdash-upload-meter-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #4f8dff 0%, #44c46e 100%);
  transition: width 140ms ease;
}

.confdash-emoji-picker {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 4;
  width: min(280px, 92vw);
  max-height: 180px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid rgba(11, 27, 45, 0.18);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(11, 27, 45, 0.14);
}

.confdash-emoji-option {
  border: 1px solid transparent;
  background: #ffffff;
  border-radius: 8px;
  height: 30px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.confdash-emoji-option:hover {
  background: rgba(106, 168, 255, 0.14);
  border-color: rgba(106, 168, 255, 0.35);
}

.confdash-widget[data-widget="text"] {
  padding: 0;
  gap: 0;
}

.confdash-widget[data-widget="text"] .confdash-widget-header {
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 14px;
  height: 14px;
  margin: 0;
  line-height: 1;
}

.confdash-widget[data-widget="text"] .confdash-widget-actions {
  position: absolute;
  right: 1px;
  top: 50%;
  transform: translateY(-50%);
}

.confdash-widget[data-widget="text"] .widget-remove {
  width: 18px;
  height: 18px;
  line-height: 1;
  padding: 0;
}

.confdash-widget[data-widget="text"] .confdash-widget-title-wrap {
  gap: 5px;
  align-items: center;
}

.confdash-widget[data-widget="text"] .confdash-widget-title {
  font-size: 12px;
  line-height: 1;
}

.confdash-widget[data-widget="text"] .confdash-widget-icon {
  width: 16px;
  height: 16px;
  font-size: 9px;
}

.confdash-widget[data-widget="text"] .confdash-widget-body {
  min-height: calc(100% - 14px);
  height: calc(100% - 14px);
  padding: 0 14px 0;
  overflow: auto;
}

.confdash-widget[data-widget="text"] .confdash-messenger {
  gap: 10px;
  align-items: stretch;
}

.confdash-widget[data-widget="text"] .confdash-msg-thread {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 0;
  min-height: 0;
  height: 100%;
}

.confdash-widget[data-widget="text"] .confdash-msg-list {
  min-height: 0;
}

.confdash-widget[data-widget="text"] .confdash-msg-list.is-empty {
  min-height: 140px;
}

.confdash-widget[data-widget="text"] .confdash-msg-compose {
  margin: 12px 0 0;
}

.confdash-widget[data-widget="text"] .confdash-msg-helper {
  margin: 0;
  line-height: 1.2;
}

.confdash-widget[data-widget="text"] .confdash-msg-helper:empty {
  display: none;
}

.confdash-widget[data-widget="text"] .confdash-msg-header {
  margin-top: 0;
  margin-bottom: 0;
}

.confdash-call-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 22%, rgba(106, 168, 255, 0.28), transparent 24%),
    linear-gradient(180deg, #22354f 0%, #102338 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 40px rgba(11, 27, 45, 0.22);
}

.confdash-call-remote {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(15, 31, 49, 0.82);
}

.confdash-call-local {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 26%;
  max-width: 156px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  object-fit: cover;
  background: rgba(12, 25, 40, 0.95);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.confdash-call-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
  margin-bottom: 0;
}

.confdash-call-controls .button {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(11, 27, 45, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: #0b1b2d;
  box-shadow: 0 8px 18px rgba(11, 27, 45, 0.08);
}

.confdash-call-controls .button.primary {
  background: #0b1b2d;
  color: #fff;
  border-color: #0b1b2d;
}

.confdash-call-controls .confdash-call-end,
.confdash-call-controls .confdash-call-decline {
  background: #f45252;
  color: #fff;
  border-color: #f45252;
}

.confdash-call-controls .button:disabled {
  opacity: 0.45;
  box-shadow: none;
}

.confdash-call-status {
  font-size: 13px;
  line-height: 1.45;
}

.confdash-call-history {
  border-top: 1px solid rgba(11, 27, 45, 0.12);
  padding-top: 12px;
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #30465f;
  max-height: 110px;
  overflow: auto;
}

.confdash-call-history.hidden {
  display: none;
}

.confdash-call-history-item {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(11, 27, 45, 0.08);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.82);
}

.confdash-call-history-item span {
  color: #57708d;
}

.confdash-widget[data-widget="facetime"] {
  padding: 0;
  gap: 0;
}

.confdash-widget[data-widget="facetime"] .confdash-widget-header {
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 18px;
  height: 18px;
  margin: 0;
  line-height: 1;
  cursor: default;
  user-select: none;
}

.confdash-widget[data-widget="facetime"] .confdash-widget-actions {
  position: absolute;
  right: 1px;
  top: 50%;
  transform: translateY(-50%);
}

.confdash-widget[data-widget="facetime"] .widget-remove {
  width: 18px;
  height: 18px;
  line-height: 1;
  padding: 0;
}

.confdash-widget[data-widget="facetime"] .confdash-widget-title-wrap {
  gap: 5px;
  align-items: center;
}

.confdash-widget[data-widget="facetime"] .confdash-call-shell {
  margin-bottom: 8px;
}

.confdash-widget[data-widget="facetime"] .confdash-call-controls {
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 6px;
}

.confdash-widget[data-widget="facetime"] .confdash-call-status {
  text-align: center;
  margin-top: auto;
  margin-bottom: 0;
  line-height: 1.2;
}

.confdash-widget[data-widget="facetime"] .confdash-call-history {
  text-align: center;
  padding-top: 8px;
  margin-top: 0;
}

.confdash-widget[data-widget="facetime"] .confdash-widget-title {
  line-height: 1;
  white-space: nowrap;
  font-size: 12px;
}

.confdash-widget[data-widget="facetime"] .confdash-widget-icon {
  width: 16px;
  height: 16px;
  font-size: 9px;
}

.confdash-widget[data-widget="facetime"] .confdash-widget-body {
  min-height: calc(100% - 18px);
  height: calc(100% - 18px);
  padding: 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden auto;
}

.confdash-widget[data-widget="twelve"] {
  padding: 0;
  gap: 0;
}

.confdash-widget[data-widget="twelve"] .confdash-widget-header {
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 18px;
  height: 18px;
  margin: 0;
  line-height: 1;
}

.confdash-widget[data-widget="twelve"] .confdash-widget-actions {
  position: absolute;
  right: 1px;
  top: 50%;
  transform: translateY(-50%);
}

.confdash-widget[data-widget="twelve"] .widget-remove {
  width: 18px;
  height: 18px;
  line-height: 1;
  padding: 0;
}

.confdash-widget[data-widget="twelve"] .confdash-widget-title-wrap {
  gap: 5px;
  align-items: center;
}

.confdash-widget[data-widget="twelve"] .confdash-widget-title {
  font-size: 12px;
  line-height: 1;
}

.confdash-widget[data-widget="twelve"] .confdash-widget-icon {
  width: 16px;
  height: 16px;
  font-size: 9px;
}

.confdash-widget[data-widget="twelve"] .confdash-widget-body {
  min-height: calc(100% - 18px);
  height: calc(100% - 18px);
  padding: 0 14px 0;
  overflow: auto;
}

.confdash-simple-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.confdash-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.confdash-inline-input {
  flex: 1;
  min-width: 150px;
  border: 1px solid rgba(11, 27, 45, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
}

.confdash-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.confdash-textarea {
  width: 100%;
  min-height: 140px;
  border: 1px solid rgba(11, 27, 45, 0.2);
  border-radius: 12px;
  padding: 10px;
  resize: vertical;
}

.confdash-store {
  display: grid;
  gap: 8px;
}

.confdash-store-item {
  border: 1px solid rgba(11, 27, 45, 0.14);
  border-radius: 10px;
  padding: 8px;
  display: grid;
  gap: 8px;
}

.confdash-progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e9edf5;
  overflow: hidden;
}

.confdash-progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6aa8ff, #2d6db7);
}

.confdash-feed-item {
  border: 1px solid rgba(11, 27, 45, 0.14);
  border-radius: 8px;
  padding: 8px;
  background: #f8fbff;
}

.confdash-twelve-grid.clickable .confdash-twelve-cell {
  cursor: pointer;
}

.confdash-twelve-cell.active {
  outline: 2px solid rgba(106, 168, 255, 0.95);
}

.confdash-twelve-cell.has-image {
  background-size: cover;
  background-position: center;
}

@media (max-width: 860px) {
  .confdash-layout {
    min-height: 940px;
  }
  .confdash-layout.readonly {
    min-height: 840px;
  }
  .confdash-widget {
    width: min(96vw, 460px) !important;
    left: 8px !important;
  }
  .confdash-messenger {
    grid-template-columns: 1fr;
  }
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  margin: 16px 0;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  color: var(--accent-dark);
  font-weight: 600;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.meta-number {
  font-size: 22px;
  font-weight: 700;
}

.meta-label {
  font-size: 13px;
  color: var(--muted);
}

.hero-card {
  display: grid;
  gap: 20px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 20px 40px var(--shadow);
}

.card-title {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.card-value {
  font-family: "Fraunces", serif;
  font-size: 28px;
  margin-bottom: 12px;
}

.card-body {
  color: var(--muted);
}

.card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.card li::before {
  content: "•";
  margin-right: 8px;
  color: var(--accent-dark);
}

.strip {
  margin: 48px 0 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--muted);
}

.strip span {
  width: 6px;
  height: 6px;
  background: var(--accent-dark);
  border-radius: 50%;
}

.approach {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 32px;
}

.approach h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 16px;
}

.approach p {
  color: var(--muted);
  line-height: 1.6;
}

.approach-grid {
  display: grid;
  gap: 16px;
}

.approach-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.approach-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.programs,
.stories {
  margin-top: 56px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 24px;
}

.section-head h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 4vw, 42px);
}

.section-head p {
  color: var(--muted);
  max-width: 420px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.program-card {
  background: var(--card);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(28, 27, 26, 0.1);
  display: grid;
  gap: 16px;
}

.program-card.highlight {
  background: #1c1b1a;
  color: #fff7ef;
}

.program-card .price {
  font-weight: 700;
}

.program-card ul {
  list-style: none;
  color: inherit;
  display: grid;
  gap: 8px;
}

.program-card li::before {
  content: "→";
  margin-right: 8px;
}

.program-card.highlight .button {
  background: #fff7ef;
  color: #1c1b1a;
  border-color: transparent;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.stories article {
  background: var(--card);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(28, 27, 26, 0.12);
}

.quote {
  font-family: "Fraunces", serif;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.who {
  color: var(--muted);
}

.cta {
  margin-top: 64px;
  background: linear-gradient(135deg, #1c1b1a 0%, #3b332c 100%);
  color: #fff7ef;
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.cta h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.cta-form {
  display: grid;
  gap: 16px;
}

.cta-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 247, 239, 0.8);
}

.cta-form input,
.cta-form textarea {
  padding: 12px 14px;
  border-radius: 16px;
  border: none;
  font-family: inherit;
  font-size: 15px;
}

.cta-form button {
  border: none;
  cursor: pointer;
}

.footer {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(28, 27, 26, 0.1);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer a {
  text-decoration: none;
  color: var(--ink);
}

.footer-text {
  color: var(--muted);
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero-meta {
    gap: 16px;
  }

  .cta {
    padding: 28px;
  }
}

/* Apple-like dashboard shell (web + responsive mobile) */
.appledash-page {
  background: #f3f4f6;
}

.appledash-shell {
  min-height: 100vh;
  padding: 20px;
}

.appledash-topbar {
  max-width: 1400px;
  margin: 0 auto 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 27, 45, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.discypler-dashboard-page .appledash-topbar,
.discyple-dashboard-page .appledash-topbar {
  max-width: 1560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.discypler-dashboard-page .appledash-brand,
.discyple-dashboard-page .appledash-brand {
  flex-direction: column;
  align-items: center;
  gap: 6px;
  justify-self: start;
}

.discypler-header-brand-mark,
.discypler-top-profile .profile-avatar,
.discypler-top-covering .spiritual-covering-logo {
  width: var(--dashboard-topbar-square-size);
  height: var(--dashboard-topbar-square-size);
  flex: 0 0 var(--dashboard-topbar-square-size);
  border-radius: 28px;
}

.discypler-header-brand-mark {
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(11, 27, 45, 0.08);
  overflow: hidden;
}

.discypler-dashboard-page .appledash-brand .site-brand-logo,
.discyple-dashboard-page .appledash-brand .site-brand-logo {
  width: 137px;
  max-width: 137px;
  height: 137px;
  object-fit: contain;
}

.discypler-dashboard-page .appledash-brand .brand-tag,
.discyple-dashboard-page .appledash-brand .brand-tag {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

.discyple-top-profiles {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
}

.discypler-top-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 620px;
  padding: 16px 22px;
  background: #fff;
  border: 1px solid rgba(11, 27, 45, 0.08);
  border-radius: 18px;
  justify-self: center;
}

.discyple-dashboard-page .discypler-top-profile {
  min-width: 0;
  width: 470px;
}

.discypler-top-profile .profile-avatar {
  justify-self: center;
  align-self: center;
}

.discypler-top-profile-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  align-content: center;
}

.discypler-top-profile-copy.is-empty {
  display: none;
}

.discypler-top-profile-role,
.discypler-top-profile-name,
.discyple-top-inviter-name,
.discypler-top-profile-meta,
.discyple-top-inviter-meta,
.discypler-top-profile-phone,
.discyple-top-inviter-phone,
.discypler-top-covering-name {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.discypler-top-profile-role {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 12px;
}

.discypler-top-profile-name,
.discyple-top-inviter-name {
  font-weight: 700;
  color: var(--ink);
}

.discypler-top-profile-meta,
.discyple-top-inviter-meta {
  color: var(--muted);
  word-break: break-word;
}

.discypler-top-profile-phone,
.discyple-top-inviter-phone {
  color: var(--muted);
}

.discypler-dashboard-page .discypler-top-profile-copy,
.discyple-dashboard-page .discypler-top-profile-copy,
.discypler-dashboard-page .discypler-top-covering,
.discyple-dashboard-page .discypler-top-covering,
.discypler-dashboard-page .discypler-twelve-stage-head,
.discyple-dashboard-page .discypler-twelve-stage-head,
.discypler-dashboard-page .appledash-card,
.discyple-dashboard-page .appledash-card {
  font-family: "Century Gothic", "CenturyGothic", "Futura", "Trebuchet MS", sans-serif;
}

.discyple-top-inviter-profile {
  justify-content: flex-start;
}

.discypler-top-covering {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  justify-self: end;
  text-align: center;
  min-width: 320px;
}

.discypler-top-covering .spiritual-covering-logo {
  display: grid;
  place-items: center;
  margin: 0;
  background-color: #fff;
  border: 1px solid rgba(11, 27, 45, 0.08);
  background-size: cover;
  background-position: center;
}

.discypler-top-covering-name {
  color: var(--ink);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.35;
}

.appledash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.appledash-brand .site-brand-logo {
  width: 140px;
  max-width: 35vw;
  margin: 0;
}

.appledash-top-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.appledash-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 280px;
  gap: 14px;
  align-items: start;
}

.discypler-dashboard-page .appledash-layout,
.discyple-dashboard-page .appledash-layout {
  max-width: 1560px;
  grid-template-columns: 240px minmax(0, 1fr) 320px;
}

.appledash-sidebar {
  background: #fff;
  border: 1px solid rgba(11, 27, 45, 0.08);
  border-radius: 18px;
  padding: 10px;
  display: grid;
  gap: 6px;
  position: sticky;
  top: 16px;
}

.appledash-nav-item {
  text-decoration: none;
  color: #0b1b2d;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 12px;
}

.appledash-nav-item.is-active,
.appledash-nav-item:hover {
  background: rgba(106, 168, 255, 0.16);
}

.appledash-main {
  display: grid;
  gap: 14px;
}

.appledash-center-stage {
  min-height: 560px;
  background: #fff;
  border: 1px solid rgba(11, 27, 45, 0.08);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(11, 27, 45, 0.08);
}

.discypler-twelve-stage {
  padding: 20px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.discypler-twelve-stage-head {
  display: grid;
  gap: 4px;
}

.discypler-twelve-stage-head h2,
.discypler-twelve-stage-head p {
  margin: 0;
}

.discypler-twelve-stage-head p {
  color: #3f5875;
}

.discypler-dashboard-twelve-grid {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  grid-template-columns: repeat(4, var(--dashboard-square-size));
  justify-content: center;
}

.hidden {
  display: none !important;
}

.dashboard-profile-panel {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  justify-content: start;
  padding: 0;
  width: 100%;
  min-height: var(--dashboard-stage-inner-height);
  height: var(--dashboard-stage-inner-height);
}

.dashboard-profile-panel-main,
.dashboard-profile-graph,
.dashboard-video-contact,
.dashboard-video-widget,
.dashboard-text-contact,
.dashboard-text-widget {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(11, 27, 45, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.92));
  box-shadow: 0 14px 34px rgba(11, 27, 45, 0.06);
  min-height: var(--dashboard-stage-inner-height);
  height: var(--dashboard-stage-inner-height);
  box-sizing: border-box;
  overflow: hidden;
}

.dashboard-profile-panel-main,
.dashboard-profile-graph,
.dashboard-video-contact,
.dashboard-text-contact {
  align-content: start;
}

.dashboard-video-widget,
.dashboard-text-widget {
  align-content: start;
}

.dashboard-profile-panel-avatar {
  width: var(--dashboard-square-size);
  height: var(--dashboard-square-size);
  border-radius: 28px;
  justify-self: start;
}

.dashboard-profile-panel-copy {
  display: grid;
  gap: 6px;
  text-align: left;
  align-content: start;
}

.dashboard-profile-panel-role {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.dashboard-profile-panel-name {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
}

.dashboard-profile-panel-meta,
.dashboard-profile-panel-status {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}

.dashboard-profile-panel-status {
  color: var(--ink);
  font-weight: 600;
}

.dashboard-profile-graph-head {
  display: grid;
  gap: 4px;
}

.dashboard-profile-graph-head h3,
.dashboard-profile-graph-head p {
  margin: 0;
}

.dashboard-profile-graph-head h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.dashboard-profile-graph-head p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

.dashboard-profile-graph-chart {
  min-height: 320px;
  width: 100%;
}

.dashboard-video-panel,
.dashboard-text-panel,
.dashboard-profile-stage {
  min-height: var(--dashboard-stage-outer-height);
  height: var(--dashboard-stage-outer-height);
  padding: 20px;
  display: grid;
  align-content: stretch;
  box-sizing: border-box;
}

.dashboard-video-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  width: 100%;
  min-height: var(--dashboard-stage-inner-height);
  height: var(--dashboard-stage-inner-height);
}

.dashboard-video-contact-avatar {
  width: var(--dashboard-square-size);
  height: var(--dashboard-square-size);
  border-radius: 28px;
  justify-self: start;
}

.dashboard-video-contact-copy {
  display: grid;
  gap: 6px;
  text-align: left;
  padding-right: 0;
}

.dashboard-video-widget {
  grid-template-rows: auto auto auto 1fr;
}

.dashboard-text-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  width: 100%;
  min-height: var(--dashboard-stage-inner-height);
  height: var(--dashboard-stage-inner-height);
}

.dashboard-text-contact-avatar {
  width: var(--dashboard-square-size);
  height: var(--dashboard-square-size);
  border-radius: 28px;
  justify-self: start;
}

.dashboard-text-contact-copy {
  display: grid;
  gap: 6px;
  text-align: left;
  padding-right: 0;
  align-content: start;
}

.dashboard-text-widget .confdash-messenger {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.dashboard-text-widget .confdash-msg-thread {
  gap: 10px;
  min-height: 0;
}

.dashboard-text-widget .confdash-msg-list {
  min-height: 260px;
  overflow: auto;
}

.dashboard-text-actions {
  display: flex;
  justify-content: flex-end;
}

.dashboard-text-invite {
  min-width: 220px;
}

.dashboard-video-panel .confdash-call-shell {
  min-height: 300px;
}

.dashboard-video-widget .confdash-call-status,
.dashboard-video-widget .confdash-call-history {
  margin: 0;
}

.dashboard-video-panel .confdash-widget,
.dashboard-video-panel .dashboard-video-widget {
  width: 100%;
  min-height: var(--dashboard-stage-inner-height);
}

.dashboard-text-panel .dashboard-text-widget,
.dashboard-text-panel .dashboard-text-contact {
  width: 100%;
  min-height: var(--dashboard-stage-inner-height);
}

.dashboard-chat-picker-card {
  width: min(640px, calc(100vw - 24px));
  max-width: 640px;
  text-align: left;
}

.dashboard-chat-picker-title,
.dashboard-chat-picker-copy {
  margin: 0;
}

.dashboard-chat-picker-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.dashboard-chat-picker-person {
  border: 1px solid rgba(11, 27, 45, 0.12);
  border-radius: 18px;
  background: #ffffff;
  padding: 12px 10px;
  display: grid;
  justify-items: center;
  gap: 8px;
  cursor: pointer;
  text-align: center;
}

.dashboard-chat-picker-person:hover {
  border-color: rgba(106, 168, 255, 0.85);
  background: rgba(106, 168, 255, 0.08);
}

.dashboard-chat-picker-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid #c8d6ea;
  background: #edf2fa;
  background-size: cover;
  background-position: center;
  font-size: 14px;
  font-weight: 700;
  color: #20364f;
}

.dashboard-chat-picker-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.dashboard-chat-picker-meta {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.dashboard-chat-picker-empty {
  margin: 0;
  color: var(--muted);
}

.dashboard-hours-chart {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.dashboard-hours-chart-y {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  font-size: 12px;
  color: var(--muted);
  align-items: stretch;
}

.dashboard-hours-chart-y span {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.dashboard-hours-chart-plot {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
}

.dashboard-hours-chart-bars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--chart-days, 31), minmax(0, 1fr));
  gap: 6px;
  align-items: end;
  min-height: 250px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  background:
    linear-gradient(to top, rgba(11, 27, 45, 0.08) 1px, transparent 1px) 0 0 / 100% 25%,
    #fff;
  border: 1px solid rgba(11, 27, 45, 0.08);
}

.dashboard-hours-chart-bar {
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, rgba(0, 127, 196, 0.88), rgba(0, 127, 196, 0.4));
  min-height: 4px;
  opacity: 0.95;
}

.dashboard-hours-chart-bar.is-empty {
  background: rgba(11, 27, 45, 0.12);
}

.dashboard-hours-chart-x {
  display: grid;
  grid-template-columns: repeat(var(--chart-days, 31), minmax(0, 1fr));
  gap: 6px;
  padding: 0 14px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.appledash-card,
.appledash-hero-card {
  background: #fff;
  border: 1px solid rgba(11, 27, 45, 0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(11, 27, 45, 0.08);
}

.appledash-hero-card h1 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 4px;
}

.appledash-hero-card p {
  color: #3f5875;
}

.appledash-status-row {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.appledash-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.appledash-profile-card {
  grid-column: span 4;
}

.appledash-people-card {
  grid-column: span 3;
}

.appledash-live-card {
  grid-column: span 5;
}

.appledash-profile-body {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
}

.appledash-profile-card .profile-avatar {
  width: 96px;
  height: 96px;
}

.appledash-profile-card .profile-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 2px;
}

.appledash-context {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 16px;
}

.appledash-context ul {
  margin: 0;
  padding-left: 20px;
  color: #3f5875;
  display: grid;
  gap: 8px;
}

.discypler-dashboard-summary-card h3 {
  margin-bottom: 4px;
}

.discypler-dashboard-summary-card p {
  margin-top: 0;
  color: #3f5875;
}

.appledash-footer {
  background: #fff;
  border: 1px solid rgba(11, 27, 45, 0.08);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.appledash-live-card .confdash-layout {
  min-height: 420px;
  border-radius: 14px;
  border: 1px dashed rgba(11, 27, 45, 0.2);
  background: rgba(106, 168, 255, 0.04);
}

.confdash-shell-page .appledash-shell {
  padding-bottom: 40px;
}

.confdash-shell-page .appledash-topbar {
  align-items: center;
  justify-content: space-between;
}

.confdash-shell-page .appledash-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 0 0 auto;
}

.confdash-shell-page .appledash-brand .site-brand-logo {
  width: 164px;
  max-width: none;
}

.confdash-shell-page .appledash-brand .brand-tag {
  margin: 0;
  color: var(--muted);
}

.confdash-top-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid rgba(11, 27, 45, 0.08);
  border-radius: 16px;
  margin-left: auto;
  flex: 0 0 auto;
}

.confdash-top-profile .profile-avatar {
  width: 52px;
  height: 52px;
  font-size: 18px;
}

.confdash-top-profile-copy {
  display: grid;
  gap: 2px;
}

.confdash-top-profile-name {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.confdash-top-profile-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.confdash-apple-layout {
  grid-template-columns: 240px minmax(0, 1fr) 320px;
}

.confdash-apple-sidebar,
.confdash-apple-context {
  gap: 14px;
}

.confdash-palette-shell {
  border: 0;
  padding: 0;
  background: transparent;
}

.confdash-palette-shell .confdash-palette-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.confdash-palette-shell .confdash-palette-item {
  min-width: 0;
  width: 100%;
}

.confdash-apple-main {
  gap: 16px;
}

.confdash-layout-card {
  padding: 14px;
}

.confdash-apple-main .confdash-layout {
  min-height: 980px;
  border-radius: 14px;
}

.confdash-apple-context .appledash-card h3 {
  margin-bottom: 12px;
}

.confdash-apple-context .confdash-actions {
  justify-items: stretch;
}

.confdash-apple-context .confdash-status {
  text-align: center;
}

@media (max-width: 1120px) {
  .appledash-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .appledash-context {
    display: none;
  }

  .appledash-profile-card {
    grid-column: span 5;
  }

  .appledash-people-card {
    grid-column: span 3;
  }

  .discypler-dashboard-page .appledash-topbar,
  .discyple-dashboard-page .appledash-topbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .discypler-dashboard-page .appledash-brand,
  .discyple-dashboard-page .appledash-brand,
  .discypler-top-profile,
  .discypler-top-covering {
    justify-self: center;
  }

  .discypler-top-profile {
    min-width: 0;
  }

  .confdash-apple-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .confdash-apple-context {
    display: none;
  }

  .confdash-top-profile {
    display: none;
  }

  .appledash-live-card {
    grid-column: span 4;
  }
}

@media (max-width: 860px) {
  .appledash-shell {
    padding: 10px;
  }

  .appledash-layout {
    grid-template-columns: 1fr;
  }

  .appledash-sidebar {
    order: 3;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 8px;
    top: auto;
    z-index: 40;
    padding: 6px;
  }

  .appledash-nav-item {
    font-size: 12px;
    text-align: center;
    padding: 8px 6px;
  }

  .appledash-main {
    padding-bottom: 90px;
  }

  .appledash-grid {
    grid-template-columns: 1fr;
  }

  .appledash-profile-card,
  .appledash-people-card,
  .appledash-live-card {
    grid-column: span 1;
  }

  .appledash-profile-card .profile-details {
    grid-template-columns: 1fr;
  }

  .appledash-live-card .confdash-layout {
    min-height: 320px;
  }
}
