/* The charity's account pages (CHA-141): account setup (/workshop/join), sign-in
   (/workshop/signin) and the account home (/workshop/home). On top of charity.css: the
   milestone guide's shell (.msq-*) and the onboarding prototype's form pieces (.onb-*). */
body { margin: 0; background: #F7F8FB; }
.pw-mark { width: 24px; height: 24px; flex: none; background: #C9963A; -webkit-mask: url('/assets/img/charitableos-mark.svg') no-repeat center / contain; mask: url('/assets/img/charitableos-mark.svg') no-repeat center / contain; }
.msq-title { padding-left: 0; border-left: 0; }
.msq-progress { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 18px 56px 0; }
.ac-stage { flex: 1; display: flex; justify-content: center; padding: clamp(28px, 7vh, 72px) 56px 140px; }
.ac-q { width: 100%; max-width: 760px; }
.msq-q { font-size: clamp(34px, 2.6vw + 14px, 56px); margin-bottom: 14px; }
.ac-lede { font-size: clamp(16px, .5vw + 12px, 19px); line-height: 1.55; color: #5A6A7A; margin: 0 0 30px; }
.msq-foot-in { max-width: none; padding: 14px 56px; }
.ac-issue { font-size: 14px; color: #A23B3B; margin-right: auto; padding-left: 16px; }
.ac-empty { display: grid; place-items: center; min-height: 100vh; color: #5A6A7A; font-size: 17px; text-align: center; padding: 24px; }
.ac-toast { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); background: #0D1B40; color: #fff; padding: 10px 16px; border-radius: 9px; font-size: 14px; z-index: 30; opacity: 0; transition: opacity .2s; pointer-events: none; }
.ac-toast.on { opacity: 1; }

/* The beta agreement, shown in full under its checkbox. */
.ac-agreement { margin: 14px 0 0; border: 1.5px solid #E0E8F0; border-radius: 12px; background: #fff; }
.ac-agreement summary { cursor: pointer; padding: 14px 20px; font-size: 14px; font-weight: 600; color: #2A6A50; }
.ac-agreement ol { margin: 0; padding: 0 22px 18px 40px; display: grid; gap: 8px; font-size: 15px; line-height: 1.55; color: #3A4A5A; }

/* The welcome video (CHA-155). */
.ac-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0D1B40; border-radius: 14px; }
.ac-video-panel { margin: -2px 0 12px; }
.ac-watched { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: #2A6A50; }

/* Sign-in: one card in the middle of the page. */
.ac-card-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.ac-card { width: 100%; max-width: 440px; background: #fff; border: 1.5px solid #E0E8F0; border-radius: 16px; padding: 34px 32px 30px; }
.ac-card .ac-lockup { display: block; height: 25px; width: auto; margin-bottom: 26px; } /* Figma lockup, node 38:2 (CHA-154) */
.ac-card h1 { font-family: 'Lora', serif; font-weight: 500; font-size: 30px; line-height: 1.2; margin: 0 0 22px; color: #1A1A2E; }
.ac-card .field-input { width: 100%; box-sizing: border-box; font-size: 16px; padding: 13px 14px; border-radius: 10px; }
.ac-card .btn-primary { width: 100%; justify-content: center; margin-top: 14px; }
.ac-card p { font-size: 15px; line-height: 1.55; color: #5A6A7A; margin: 0 0 12px; }
.ac-note { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #FBF5E8; color: #6B5320; font-size: 14px; line-height: 1.5; word-break: break-all; }
.ac-note a { color: #6B5320; font-weight: 600; }

/* The account home. */
.ac-home { max-width: 980px; margin: 0 auto; padding: 32px 40px 80px; }
.ac-top { display: flex; align-items: center; gap: 12px; padding: 16px 40px; background: #fff; border-bottom: 1px solid #E0E8F0; }
.ac-top b { font-size: 15px; color: #1A1A2E; }
.ac-top .ac-who { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 14px; color: #5A6A7A; }
.ac-top button { border: 0; background: none; font: inherit; font-weight: 600; color: #2A6A50; cursor: pointer; padding: 0; }
.ac-h1 { font-family: 'Lora', serif; font-weight: 500; font-size: clamp(32px, 2vw + 16px, 44px); line-height: 1.15; color: #1A1A2E; margin: 8px 0 26px; }
.ac-steps { display: grid; gap: 12px; margin-bottom: 34px; }
.ac-step { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 22px; border: 1.5px solid #E0E8F0; border-radius: 14px; background: #fff; }
.ac-step.is-done { background: #FAFCFB; }
.ac-ring { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #C8D4E0; display: grid; place-items: center; color: #fff; }
.ac-step.is-done .ac-ring { background: #2A6A50; border-color: #2A6A50; }
.ac-step.is-now .ac-ring { border-color: #C9963A; }
.ac-step-t { font-size: 17px; font-weight: 600; color: #1A1A2E; }
.ac-step-s { font-size: 14px; color: #5A6A7A; margin-top: 2px; }
.ac-step a.btn-primary, .ac-step a.btn-ghost { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ac-sec { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A9AAA; margin: 0 0 12px; }
.ac-team { border: 1.5px solid #E0E8F0; border-radius: 14px; background: #fff; overflow: hidden; }
.ac-person { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 15px 22px; border-top: 1px solid #EEF1F6; font-size: 15px; }
.ac-person:first-child { border-top: 0; }
.ac-person b { color: #1A1A2E; display: block; }
.ac-person span { color: #5A6A7A; font-size: 14px; }
.ac-pill { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: #EEF1F6; color: #5A6A7A; white-space: nowrap; }
.ac-pill.is-in { background: #E6F2EC; color: #2A6A50; }
.ac-pill.is-going { background: #FBF5E8; color: #8A6420; }
.ac-add { margin-top: 12px; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 14px; font-weight: 600; color: #2A6A50; }

@media (max-width: 760px) {
  .ac-stage { padding: 26px 18px 130px; } .msq-progress { padding: 14px 18px 0; } .msq-foot-in { padding: 12px 18px; }
  .ac-home { padding: 24px 18px 60px; } .ac-top { padding: 14px 18px; }
  .ac-step { grid-template-columns: 30px minmax(0, 1fr); } .ac-step > :last-child { grid-column: 2; justify-self: start; }
  .ac-person { grid-template-columns: 1fr; gap: 6px; }
  .onb-form { grid-template-columns: 1fr 1fr; } .onb-form .field-group, .onb-form .field-group.is-wide { grid-column: span 2; } .onb-form .field-group.is-half { grid-column: span 1; }
}
