:root {
  --navy: #071b33;
  --navy-2: #0d2d55;
  --blue: #0f4f9c;
  --paper: #fbfaf7;
  --ivory: #f7f3e8;
  --teal: #158b8c;
  --gold: #c8a45d;
  --line: rgba(7, 27, 51, 0.12);
  --muted: #64748b;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background:
    radial-gradient(circle at 85% 5%, rgba(15, 79, 156, 0.1), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.member-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.member-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  align-items: stretch;
  justify-content: flex-start;
  width: 292px;
  margin: 0;
  flex-direction: column;
  gap: 18px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(21, 139, 140, 0.08), transparent 18rem),
    rgba(255, 255, 255, 0.92);
  box-shadow: 18px 0 44px rgba(7, 27, 51, 0.06);
  backdrop-filter: blur(18px);
  overflow-y: auto;
}

.member-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.member-sidebar .member-brand {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: white;
  box-shadow: 0 18px 44px rgba(7, 27, 51, 0.08);
}

.brand-mark img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.member-brand strong,
.member-brand small {
  display: block;
}

.member-brand strong {
  overflow-wrap: anywhere;
  font-size: 0.96rem;
  line-height: 1.2;
}

.member-brand small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 600;
}

.member-nav-stack {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 0;
}

.member-sidebar .member-nav-stack {
  justify-items: stretch;
  gap: 14px;
  width: 100%;
}

.member-header nav {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 4px;
  max-width: 100%;
  border: 1px solid rgba(7, 27, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 5px;
  box-shadow: 0 18px 44px rgba(7, 27, 51, 0.08);
}

.member-sidebar nav {
  display: grid;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.member-header .member-utility-nav {
  width: fit-content;
  border-color: rgba(7, 27, 51, 0.06);
  background: rgba(255, 255, 255, 0.58);
  padding: 4px;
  box-shadow: 0 10px 26px rgba(7, 27, 51, 0.06);
}

.member-sidebar .member-utility-nav {
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.member-header nav form {
  display: contents;
  margin: 0;
}

.member-header nav a,
.member-header nav button {
  position: relative;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  padding: 8px 10px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.member-sidebar nav a,
.member-sidebar nav button {
  min-height: 42px;
  width: 100%;
  border-color: rgba(7, 27, 51, 0.08);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
  white-space: normal;
}

.member-header nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.member-sidebar nav a {
  justify-content: space-between;
}

.member-header nav a:hover,
.member-header nav button:hover {
  border-color: var(--line);
  background: rgba(15, 79, 156, 0.06);
}

.member-header nav a.is-active {
  border-color: rgba(17, 128, 110, 0.36);
  background: rgba(17, 128, 110, 0.1);
  color: #0d6f61;
  box-shadow: inset 0 0 0 1px rgba(17, 128, 110, 0.04);
}

.member-header nav a.is-active:hover {
  border-color: rgba(17, 128, 110, 0.5);
  background: rgba(17, 128, 110, 0.14);
}

.member-header .member-utility-nav a,
.member-header .member-utility-nav button {
  min-height: 30px;
  padding: 7px 11px;
  font-size: 0.68rem;
}

.member-sidebar .member-utility-nav a,
.member-sidebar .member-utility-nav button {
  min-height: 40px;
  padding: 10px 12px;
}

.member-header nav .hq-command-link {
  border-color: rgba(200, 164, 93, 0.58);
  background:
    linear-gradient(135deg, #06162b 0%, #0d2d55 58%, #123f70 100%);
  color: #ffffff;
  box-shadow:
    0 12px 26px rgba(7, 27, 51, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.member-header nav .hq-command-link.is-active {
  border-color: rgba(214, 182, 109, 0.9);
  background:
    linear-gradient(135deg, #0d6f61 0%, #11806e 58%, #0d2d55 100%);
  color: #ffffff;
}

.nav-badge {
  display: inline-flex;
  min-width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: #0f4f9c;
  color: #ffffff;
  padding: 0 5px;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(15, 79, 156, 0.22);
}

.member-header nav a.is-active .nav-badge,
.member-header nav .hq-command-link .nav-badge {
  background: #d9b35f;
  color: var(--navy);
}

.member-header nav .hq-command-link:hover {
  border-color: rgba(214, 182, 109, 0.78);
  background:
    linear-gradient(135deg, #071b33 0%, #123764 56%, #174b83 100%);
}

.member-top-actions {
  position: fixed;
  top: 22px;
  right: 28px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-top-actions .public-site-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 126, 126, 0.34);
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(7, 27, 51, 0.11);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  padding: 0 22px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.member-top-actions .notification-bell {
  position: relative;
  display: inline-flex;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-color: rgba(200, 164, 93, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(7, 27, 51, 0.11);
  padding: 0;
}

.member-top-actions .notification-bell:hover,
.member-top-actions .notification-bell:focus-visible,
.member-top-actions .public-site-button:hover,
.member-top-actions .public-site-button:focus-visible {
  border-color: rgba(20, 126, 126, 0.34);
  outline: none;
  transform: translateY(-1px);
}

.member-top-actions .notification-bell:hover,
.member-top-actions .notification-bell:focus-visible {
  background: #ffffff;
}

.member-top-actions .public-site-button:hover,
.member-top-actions .public-site-button:focus-visible {
  background: #0f7f72;
}

.bell-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bell-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  padding: 0 5px;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1;
}

.publication-channel-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
}

.publication-channel-grid .publication-choice-card {
  width: 100%;
  min-height: 220px;
  padding: clamp(26px, 3vw, 40px);
}

.publication-choice-card em {
  color: #526174;
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
}

.publication-choice-card.is-active {
  border-color: rgba(10, 93, 132, 0.7);
  background:
    linear-gradient(135deg, #06354d, #0d6f8f 54%, #129294);
  box-shadow: 0 30px 86px rgba(7, 27, 51, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

.publication-choice-card.is-active::after {
  color: #ffffff;
}

.publication-choice-card.is-active strong,
.publication-choice-card.is-active small,
.publication-choice-card.is-active em {
  color: #ffffff;
}

.metrics-grid .publication-choice-card.is-active > span {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.publication-choice-card:not(.is-active) {
  opacity: 0.72;
}

.publication-form-card {
  position: relative;
  overflow: hidden;
  padding-top: clamp(28px, 4vw, 46px);
}

.publication-selected-panel {
  display: block;
  width: 100%;
  margin: 28px 0;
}

.publication-selected-panel .publication-form-card {
  width: 100%;
  max-width: none;
}

.publication-selected-panel .publication-form {
  width: 100%;
}

.publication-selected-panel .publication-form > label,
.publication-selected-panel .publication-form > div,
.publication-selected-panel .publication-form > fieldset,
.publication-selected-panel .publication-form > button,
.publication-selected-panel .publication-form > p {
  max-width: 860px;
}

.publication-form-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  height: auto;
}

.publication-form-card-future_of_care {
  background:
    radial-gradient(circle at 92% 10%, rgba(15, 79, 156, 0.16), transparent 16rem),
    linear-gradient(135deg, rgba(7, 27, 51, 0.08), transparent 48%),
    #ffffff;
  border-color: rgba(7, 27, 51, 0.22);
}

.publication-form-card-future_of_care::before {
  background: linear-gradient(180deg, var(--navy), var(--blue));
}

.publication-form-card-hcai_pulse {
  background:
    radial-gradient(circle at 88% 8%, rgba(200, 164, 93, 0.2), transparent 14rem),
    linear-gradient(135deg, rgba(21, 139, 140, 0.13), transparent 50%),
    #ffffff;
  border-color: rgba(21, 139, 140, 0.26);
}

.publication-form-card-hcai_pulse::before {
  background: linear-gradient(180deg, var(--teal), var(--gold));
}

.publication-card-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.publication-card-head h2 {
  margin-bottom: 0;
}

.publication-card-head p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.5;
}

.publication-cadence {
  color: #526174;
  font-size: 1rem;
  font-weight: 600;
}

.publication-commercial-options {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.publication-commercial-options legend {
  margin-bottom: 2px;
  color: var(--navy);
  font-weight: 600;
}

.publication-commercial-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 9px 14px;
}

.publication-commercial-options input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}

.publication-commercial-options span {
  line-height: 1.2;
}

.publication-upload-fields {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  border: 1px solid rgba(7, 27, 51, 0.14);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.82);
  padding: 18px;
}

.publication-upload-fields legend {
  padding: 0 6px;
  color: var(--navy);
  font-weight: 600;
}

.publication-upload-fields p {
  margin: 0;
  color: #526174;
  font-weight: 600;
  line-height: 1.45;
}

.publication-upload-note {
  color: #6b7788;
  display: grid;
  font-size: 0.86rem;
  font-style: italic;
  font-weight: 500;
  gap: 2px;
  line-height: 1.35;
}

.publication-image-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.publication-card {
  gap: 18px;
}

.publication-card-body {
  display: grid;
  gap: 12px;
}

.publication-review-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.publication-review-head h3 {
  margin-bottom: 4px;
}

.publication-review-head p {
  margin: 0;
}

.publication-status-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(21, 139, 140, 0.24);
  border-radius: 999px;
  background: rgba(21, 139, 140, 0.1);
  color: var(--teal);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 650;
  white-space: nowrap;
}

.publication-file-note {
  margin: 4px 0 0;
}

.publication-attachment-links {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.publication-attachment-links a,
.publication-attachment-links span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(21, 139, 140, 0.24);
  border-radius: 999px;
  background: rgba(21, 139, 140, 0.08);
  color: var(--teal);
  padding: 7px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.publication-discussion {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(21, 139, 140, 0.18);
  border-radius: 8px;
  background: rgba(21, 139, 140, 0.045);
  padding: 12px;
}

.publication-discussion > strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.publication-discussion p {
  display: grid;
  gap: 3px;
  margin: 0;
  border-top: 1px solid rgba(21, 139, 140, 0.12);
  padding-top: 8px;
}

.publication-discussion p:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.publication-discussion span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.publication-discussion p strong {
  color: #243348;
  font-size: 0.94rem;
}

.reviewer-workflow-note {
  display: grid;
  gap: 6px;
  margin: 16px 0 18px;
  border: 1px solid rgba(7, 27, 51, 0.12);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.9);
  padding: 14px 16px;
}

.reviewer-workflow-note strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.reviewer-workflow-note p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.45;
}

.reviewer-workflow-note b {
  color: var(--navy);
}

main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 76px) 0 80px;
}

.member-sidebar ~ main {
  width: auto;
  max-width: none;
  margin: 0 0 0 292px;
  padding: clamp(34px, 5vw, 76px) clamp(24px, 4vw, 56px) 80px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.welcome-title {
  max-width: 760px;
  font-size: clamp(1.9rem, 3.5vw, 3.35rem);
  line-height: 1.08;
}

.welcome-title span {
  display: block;
}

.welcome-title .welcome-kicker {
  color: var(--navy);
}

.welcome-title .welcome-name {
  color: var(--teal);
  overflow-wrap: anywhere;
}

.login-stage,
.pulse-hero,
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.member-sidebar ~ main .pulse-hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(22px, 3vw, 44px);
}

.login-copy p,
.pulse-hero p,
.section-heading p {
  max-width: 640px;
  color: #334155;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  color: var(--navy-2);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-card,
.narrow-panel,
.panel,
.identity-card,
.profile-pass,
.member-card,
.metric-card,
.metrics-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 70px rgba(7, 27, 51, 0.08);
}

.login-card,
.narrow-panel {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
}

.login-card label,
.stack-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
}

.login-card input,
.stack-form input,
.stack-form select,
.stack-form textarea,
.directory-filter input,
.directory-filter select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(7, 27, 51, 0.16);
  border-radius: 6px;
  background: white;
  color: var(--navy);
  padding: 12px 14px;
  font-weight: 500;
}

.stack-form .field-disabled {
  color: #94a3b8;
}

.stack-form .field-disabled select,
.stack-form select:disabled {
  cursor: not-allowed;
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(241, 245, 249, 0.82);
  color: #94a3b8;
}

.stack-form textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.45;
}

.login-card .remember-option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.login-card .remember-option input {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--navy);
}

.login-card button,
.stack-form button,
.directory-filter button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--ivory);
  padding: 12px 18px;
  font-weight: 650;
  cursor: pointer;
}

.password-field {
  position: relative;
  display: block;
}

.login-card .password-field input {
  padding-right: 58px;
}

.login-card .password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-grid;
  width: 38px;
  height: 38px;
  min-height: 38px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(17, 128, 110, 0.22);
  border-radius: 999px;
  background: rgba(17, 128, 110, 0.08);
  color: #0d6f61;
  padding: 0;
  box-shadow: none;
}

.login-card .password-toggle:hover {
  border-color: rgba(17, 128, 110, 0.44);
  background: rgba(17, 128, 110, 0.14);
}

.login-card .password-toggle:focus-visible {
  outline: 3px solid rgba(77, 144, 254, 0.35);
  outline-offset: 2px;
}

.password-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle .password-eye-closed {
  display: none;
}

.password-toggle.is-visible .password-eye-open {
  display: none;
}

.password-toggle.is-visible .password-eye-closed {
  display: block;
}

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

.security-note {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-left: 3px solid var(--teal);
  background: rgba(24, 136, 142, 0.07);
  color: var(--slate);
  line-height: 1.55;
}

.security-note p,
.credential-ack {
  margin: 0;
}

.credential-ack {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.form-error {
  margin: 0;
  color: #9f1239;
  font-weight: 600;
}

.narrow-panel {
  max-width: 620px;
}

.stack-form {
  display: grid;
  gap: 18px;
}

.pulse-hero {
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.welcome-hero {
  position: relative;
  overflow: hidden;
}

.welcome-hero::before {
  position: absolute;
  inset: -30% 45% auto auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 164, 93, 0.22), transparent 64%);
  content: "";
  animation: welcome-glow 4.8s ease-in-out infinite;
  pointer-events: none;
}

.confetti-burst {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.confetti-burst span {
  position: absolute;
  top: 18px;
  left: 58%;
  width: 9px;
  height: 18px;
  border-radius: 3px;
  background: var(--gold);
  opacity: 0;
  animation: confetti-pop 1200ms ease-out 220ms both;
}

.confetti-burst span:nth-child(2) {
  left: 63%;
  background: var(--teal);
  animation-delay: 320ms;
}

.confetti-burst span:nth-child(3) {
  left: 69%;
  background: var(--blue);
  animation-delay: 180ms;
}

.confetti-burst span:nth-child(4) {
  left: 74%;
  background: #d6b66d;
  animation-delay: 420ms;
}

.confetti-burst span:nth-child(5) {
  left: 79%;
  background: #0f766e;
  animation-delay: 280ms;
}

.confetti-burst span:nth-child(6) {
  left: 84%;
  background: var(--navy);
  animation-delay: 360ms;
}

.confetti-burst span:nth-child(7) {
  left: 20%;
  background: var(--gold);
  animation-delay: 120ms;
}

.confetti-burst span:nth-child(8) {
  left: 27%;
  background: var(--teal);
  animation-delay: 260ms;
}

.confetti-burst span:nth-child(9) {
  left: 36%;
  background: var(--blue);
  animation-delay: 380ms;
}

.confetti-burst span:nth-child(10) {
  left: 47%;
  background: #d6b66d;
  animation-delay: 160ms;
}

.confetti-burst span:nth-child(11) {
  left: 92%;
  background: var(--teal);
  animation-delay: 460ms;
}

.confetti-burst span:nth-child(12) {
  left: 12%;
  background: var(--navy);
  animation-delay: 340ms;
}

.welcome-actions,
.command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.welcome-actions a,
.command-actions a,
.text-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(200, 164, 93, 0.5);
  border-radius: 999px;
  background: var(--navy);
  color: var(--ivory);
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 650;
}

.command-actions a {
  min-width: 180px;
  background: white;
  color: var(--navy);
}

.command-actions .hq-command-quick {
  min-width: 240px;
  border-color: rgba(200, 164, 93, 0.72);
  background:
    linear-gradient(135deg, #06162b 0%, #0d2d55 58%, #123f70 100%);
  color: #ffffff;
  box-shadow:
    0 18px 38px rgba(7, 27, 51, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.command-actions .hq-command-quick:hover {
  border-color: rgba(214, 182, 109, 0.84);
  background:
    linear-gradient(135deg, #071b33 0%, #123764 56%, #174b83 100%);
}

.command-actions .inbox-quick-link.has-unread {
  border-color: rgba(17, 128, 110, 0.45);
  background: #11806e;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(17, 128, 110, 0.18);
}

.command-actions .inbox-quick-link.has-unread:hover {
  border-color: #0d6f61;
  background: #0d6f61;
}

.inbox-quick-count {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #11806e;
  padding: 0 7px;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1;
}

.mini-action {
  min-height: 32px;
  margin-top: 12px;
  padding: 7px 12px;
  font-size: 0.76rem;
}

.welcome-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  width: 100%;
  max-width: 380px;
  min-width: 0;
  justify-self: end;
  gap: 18px;
  align-items: center;
  animation: welcome-rise 720ms ease-out both;
}

.profile-photo-placeholder,
.profile-photo-image {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px dashed rgba(7, 27, 51, 0.26);
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(135deg, rgba(15, 79, 156, 0.12), rgba(200, 164, 93, 0.14));
  color: var(--navy);
  font-size: 1.65rem;
  font-weight: 650;
}

.profile-photo-image {
  border-style: solid;
  object-fit: cover;
  object-position: center top;
}

.profile-photo-action {
  display: inline-block;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: underline;
  cursor: not-allowed;
  opacity: 0.72;
}

.identity-card,
.profile-pass {
  padding: 28px;
  min-width: 0;
}

.avatar {
  display: grid;
  width: 82px;
  height: 82px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(200, 164, 93, 0.56);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.78), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--ivory);
  font-size: 1.4rem;
  font-weight: 650;
}

.member-avatar-photo {
  display: block;
  overflow: hidden;
  object-fit: cover;
  object-position: center top;
}

.avatar.member-avatar-photo {
  background: white;
}

.identity-card strong,
.identity-card span,
.identity-card small {
  display: block;
  overflow-wrap: anywhere;
}

.identity-card span,
.identity-card small {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.metrics-grid article,
.metric-card {
  padding: 24px;
}

.metric-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.metric-card:not(.metric-card-disabled):hover {
  border-color: rgba(16, 83, 166, 0.36);
  box-shadow: 0 28px 74px rgba(7, 27, 51, 0.12);
  transform: translateY(-1px);
}

.hq-shortcut-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  border-color: rgba(17, 128, 110, 0.2);
  background:
    linear-gradient(135deg, rgba(17, 128, 110, 0.11), rgba(255, 255, 255, 0.92) 54%),
    #fff;
}

.hq-shortcut-card::after {
  content: "→";
  position: absolute;
  right: 22px;
  top: 22px;
  color: rgba(17, 128, 110, 0.9);
  font-size: 1.35rem;
  font-weight: 650;
}

.hq-shortcut-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(17, 128, 110, 0.1);
  color: #0d6f61;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hq-shortcut-card strong {
  max-width: 320px;
  margin-top: 22px;
  font-size: 1.38rem;
  line-height: 1.08;
}

.hq-shortcut-card small {
  max-width: 270px;
  font-weight: 650;
  line-height: 1.35;
}

.hq-shortcut-card.message-shortcut {
  border-color: rgba(198, 161, 91, 0.34);
  background:
    linear-gradient(135deg, rgba(198, 161, 91, 0.13), rgba(255, 255, 255, 0.94) 56%),
    #fff;
}

.hq-shortcut-card.message-shortcut::after {
  color: rgba(151, 109, 31, 0.9);
}

.hq-shortcut-card.message-shortcut span {
  background: rgba(198, 161, 91, 0.14);
  color: #765617;
}

.metric-card-disabled {
  cursor: default;
  opacity: 0.48;
  background: rgba(241, 245, 249, 0.9);
  box-shadow: none;
}

.metric-card-disabled span {
  color: var(--muted);
}

.metrics-grid span {
  display: block;
  color: var(--blue);
  font-size: 2.35rem;
  font-weight: 650;
  line-height: 1;
}

.blank-metric {
  min-height: 2.35rem;
}

.metrics-grid strong,
.metrics-grid small {
  display: block;
  margin-top: 8px;
}

.metrics-grid small {
  color: var(--muted);
  font-weight: 600;
}

.metrics-grid .hq-shortcut-card > span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(17, 128, 110, 0.1);
  color: #0d6f61;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.metrics-grid .hq-shortcut-card.message-shortcut > span {
  background: rgba(198, 161, 91, 0.14);
  color: #765617;
}

.hq-admin-panel {
  margin-bottom: 24px;
  border-color: rgba(17, 128, 110, 0.18);
  background:
    linear-gradient(135deg, rgba(17, 128, 110, 0.07), rgba(255, 255, 255, 0.96) 36%),
    #fff;
}

.admin-panel-heading,
.admin-table-heading,
.mini-panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-panel-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.admin-panel-heading h2 {
  margin: 8px 0 8px;
  font-size: clamp(1.85rem, 3.6vw, 3.25rem);
  letter-spacing: 0;
}

.admin-panel-heading p:not(.eyebrow) {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 620;
  line-height: 1.45;
}

.admin-panel-badge,
.mini-panel-title span {
  flex: 0 0 auto;
  border: 1px solid rgba(17, 128, 110, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(17, 128, 110, 0.09);
  color: #0d6f61;
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.admin-stat-card {
  display: flex;
  min-height: 126px;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.92)),
    #fff;
  box-shadow: 0 22px 58px rgba(7, 27, 51, 0.06);
}

.admin-stat-card.success {
  border-color: rgba(17, 128, 110, 0.22);
}

.admin-stat-card.info {
  border-color: rgba(16, 83, 166, 0.18);
}

.admin-stat-card.needs-attention {
  border-color: rgba(198, 161, 91, 0.32);
  background:
    linear-gradient(140deg, rgba(255, 252, 245, 0.98), rgba(255, 255, 255, 0.96)),
    #fff;
}

.admin-stat-card span {
  min-width: 52px;
  color: var(--blue);
  font-size: clamp(2.2rem, 4vw, 3.15rem);
  font-weight: 650;
  line-height: 0.95;
}

.admin-stat-card strong,
.admin-stat-card small {
  display: block;
}

.admin-stat-card strong {
  margin-top: 3px;
  font-size: 1.02rem;
  line-height: 1.18;
}

.admin-stat-card small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.35;
}

.hq-access-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.admin-mini-panel {
  min-height: 230px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.admin-mini-panel h3,
.admin-table-heading h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: 0;
}

.mini-panel-title {
  align-items: center;
  margin-bottom: 14px;
}

.compact-activity-list {
  display: grid;
  gap: 0;
}

.compact-activity-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.compact-activity-list article:first-child {
  padding-top: 0;
}

.compact-activity-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.compact-activity-list strong {
  display: block;
  font-size: 0.95rem;
}

.compact-activity-list span,
.compact-activity-list small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.compact-activity-list small {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #0d6f61;
  text-align: right;
}

.muted-copy {
  color: var(--muted);
  font-weight: 650;
}

.reset-link-panel {
  display: grid;
  gap: 12px;
  margin: 18px 0 4px;
  padding: 18px;
  border: 1px solid rgba(198, 161, 91, 0.36);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 250, 239, 0.96), rgba(239, 250, 247, 0.92));
  box-shadow: 0 18px 48px rgba(7, 27, 51, 0.08);
}

.reset-link-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.05rem;
}

.reset-link-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.reset-link-panel input {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  color: #0d4f45;
  background: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-table-heading {
  align-items: flex-end;
  margin: 24px 0 12px;
}

.admin-table-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.access-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 62px rgba(7, 27, 51, 0.06);
}

.admin-access-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.admin-access-table th,
.admin-access-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
  vertical-align: middle;
}

.admin-access-table th {
  background: rgba(244, 248, 251, 0.82);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-access-table tbody tr:hover {
  background: rgba(17, 128, 110, 0.035);
}

.admin-access-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-access-table td:first-child {
  width: 46%;
}

.admin-access-table td small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.inline-admin-form {
  margin: 0;
}

.inline-admin-form button {
  border: 1px solid rgba(198, 161, 91, 0.7);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
}

.inline-admin-form button:hover {
  border-color: rgba(17, 128, 110, 0.55);
  color: #0d6f61;
  background: rgba(17, 128, 110, 0.06);
}

.access-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 6px 6px 0;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.access-pill-live,
.access-pill-ready {
  background: rgba(17, 128, 110, 0.11);
  color: #0d6f61;
}

.metrics-grid.publication-channel-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 36px);
}

.metrics-grid.publication-channel-grid .publication-choice-card {
  width: 100%;
  min-height: 240px;
  padding: clamp(30px, 3.4vw, 48px);
}

.publication-choice-hcai_pulse {
  border-color: rgba(21, 139, 140, 0.28);
  background:
    linear-gradient(135deg, rgba(21, 139, 140, 0.14), rgba(255, 255, 255, 0.96) 58%),
    #ffffff;
}

.publication-choice-hcai_pulse::after {
  color: rgba(21, 139, 140, 0.9);
}

.metrics-grid .publication-choice-hcai_pulse > span {
  background: rgba(21, 139, 140, 0.12);
  color: #0d6f61;
}

.publication-choice-future_of_care {
  border-color: rgba(7, 27, 51, 0.24);
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.1), rgba(255, 255, 255, 0.96) 58%),
    #ffffff;
}

.publication-choice-future_of_care::after {
  color: rgba(7, 27, 51, 0.86);
}

.metrics-grid .publication-choice-future_of_care > span {
  background: rgba(7, 27, 51, 0.1);
  color: var(--navy);
}

[data-publication-panel][hidden],
[data-article-fields][hidden],
[data-idea-fields][hidden] {
  display: none !important;
}

.access-pill-waiting,
.access-pill-pending {
  background: rgba(198, 161, 91, 0.16);
  color: #7a5a00;
}

.profile-meter {
  display: block;
  width: 128px;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.09);
}

.profile-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #11806e, #0f4f9c);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.panel {
  padding: clamp(22px, 3vw, 34px);
}

.home-section {
  position: relative;
  overflow: hidden;
  border-left: 5px solid transparent;
}

.home-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  opacity: 0.9;
}

.home-section .eyebrow {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
}

.home-section-activity {
  border-left-color: #11806e;
  background:
    linear-gradient(135deg, rgba(17, 128, 110, 0.065), rgba(255, 255, 255, 0.9) 42%),
    rgba(255, 255, 255, 0.84);
}

.home-section-activity::before {
  background: linear-gradient(90deg, #11806e, rgba(17, 128, 110, 0));
}

.home-section-activity .eyebrow {
  background: rgba(17, 128, 110, 0.1);
  color: #0d6f61;
}

.home-section-meetings {
  border-left-color: #0f4f9c;
  background:
    linear-gradient(135deg, rgba(15, 79, 156, 0.07), rgba(255, 255, 255, 0.9) 42%),
    rgba(255, 255, 255, 0.84);
}

.home-section-meetings::before {
  background: linear-gradient(90deg, #0f4f9c, rgba(15, 79, 156, 0));
}

.home-section-meetings .eyebrow {
  background: rgba(15, 79, 156, 0.1);
  color: #0f4f9c;
}

.home-section-announcements {
  border-left-color: #c7a458;
  background:
    linear-gradient(135deg, rgba(199, 164, 88, 0.11), rgba(255, 255, 255, 0.92) 42%),
    rgba(255, 255, 255, 0.84);
}

.home-section-announcements::before {
  background: linear-gradient(90deg, #c7a458, rgba(199, 164, 88, 0));
}

.home-section-announcements .eyebrow {
  background: rgba(199, 164, 88, 0.14);
  color: #85682c;
}

.primary-action-panel {
  border-color: rgba(200, 164, 93, 0.44);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
}

.primary-action-panel h2,
.primary-action-panel label {
  color: white;
}

.primary-action-panel .eyebrow {
  color: #5ee3df;
}

.primary-action-panel .credential-ack {
  color: rgba(255, 255, 255, 0.74);
}

.primary-action-panel button {
  background: var(--teal);
  color: white;
}

.primary-action-panel .text-action {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: #5ee3df;
}

.idea-guide {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  border: 1px solid rgba(94, 227, 223, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.idea-guide strong {
  color: #5ee3df;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.idea-guide p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
  line-height: 1.55;
}

.activity-item,
.group-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.time-picker {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.time-picker select {
  min-height: 48px;
  border: 1px solid rgba(7, 27, 51, 0.16);
  border-radius: 6px;
  background: white;
  color: var(--navy);
  padding: 12px 14px;
  font-weight: 600;
}

.compact-form {
  margin-top: 16px;
}

.panel-intro {
  max-width: 680px;
  color: #475569;
  line-height: 1.5;
}

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

.form-grid > * {
  min-width: 0;
}

.referral-type-guide {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(17, 128, 110, 0.18);
  border-left: 4px solid #11806e;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 128, 110, 0.08), rgba(200, 164, 93, 0.08));
  padding: 14px 16px;
}

.referral-type-guide strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.referral-type-guide p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.48;
}

.referral-type-guide.is-empty {
  border-left-color: rgba(200, 164, 93, 0.75);
  background: rgba(200, 164, 93, 0.08);
}

.inline-form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
}

.inline-form button,
.meeting-actions button {
  min-height: 38px;
  border: 1px solid rgba(7, 27, 51, 0.14);
  border-radius: 999px;
  background: white;
  color: var(--navy);
  padding: 8px 13px;
  font-weight: 650;
  cursor: pointer;
}

.next-meeting-card .text-action {
  color: var(--ivory);
  text-decoration: none;
}

.meeting-list {
  display: grid;
  gap: 14px;
  margin: 14px 0 28px;
}

.group-roster-panel {
  margin-bottom: 22px;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.roster-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(7, 27, 51, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
}

.roster-card .avatar,
.roster-card .roster-photo {
  width: 52px;
  height: 52px;
  margin: 0;
  font-size: 0.84rem;
}

.roster-card .roster-photo {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.roster-card h3 {
  margin: 8px 0 6px;
  color: var(--navy);
  font-size: 1.04rem;
  line-height: 1.18;
}

.role-name-group_lead {
  color: var(--teal);
  font-weight: 650;
}

.role-name-working_groups_chair,
.role-name-ex_officio {
  color: #334155;
  font-weight: 600;
}

.roster-card p,
.roster-card small {
  display: block;
  margin: 0 0 4px;
  color: #334155;
  line-height: 1.3;
}

.role-pill {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(17, 148, 150, 0.1);
  color: var(--teal);
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-group_lead {
  background: rgba(17, 148, 150, 0.16);
  color: var(--teal);
  box-shadow: inset 0 0 0 1px rgba(17, 148, 150, 0.16);
}

.role-working_groups_chair {
  background: rgba(217, 179, 95, 0.1);
  color: #7a632f;
}

.notification-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.notification-primary-filter {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(7, 27, 51, 0.08);
  border-radius: 8px;
  background: rgba(241, 245, 249, 0.74);
  padding: 6px;
}

.notification-filter a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 650;
}

.notification-filter a.active {
  border-color: rgba(17, 128, 110, 0.26);
  background: #11806e;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 128, 110, 0.16);
}

.notification-subfilter {
  gap: 8px;
  margin-top: -4px;
  padding-bottom: 4px;
}

.notification-subfilter a {
  min-height: 34px;
  border-color: rgba(7, 27, 51, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  padding: 7px 12px;
  font-size: 0.86rem;
}

.notification-subfilter a.active {
  border-color: rgba(200, 164, 93, 0.42);
  background: rgba(200, 164, 93, 0.14);
  color: #6f5726;
  box-shadow: none;
}

.notification-utility {
  margin-top: 4px;
}

.notification-utility button {
  min-height: 34px;
  border-style: dashed;
  background: transparent;
  color: #64748b;
  padding: 7px 12px;
  font-size: 0.86rem;
}

.social-compose {
  margin: 12px 0 22px;
  padding: 18px;
  border: 1px solid rgba(17, 128, 110, 0.16);
  border-radius: 8px;
  background: rgba(17, 128, 110, 0.045);
}

.social-compose h2 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.social-compose p {
  color: #475569;
}

.social-posts {
  display: grid;
  gap: 12px;
  margin: 14px 0 20px;
}

.social-post {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(7, 27, 51, 0.09);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.social-post h2 {
  font-size: 1.18rem;
}

.social-post p {
  color: #334155;
  line-height: 1.5;
}

.social-post small {
  color: #64748b;
  font-weight: 600;
}

.role-ex_officio {
  background: rgba(7, 27, 51, 0.045);
  color: #475569;
}

.meeting-card,
.notification-item {
  display: grid;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.meeting-card h3,
.notification-item h2 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.meeting-card p,
.notification-item p {
  color: #334155;
  line-height: 1.5;
}

.meeting-card small,
.notification-item small {
  color: var(--muted);
  font-weight: 600;
}

.meeting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.meeting-actions a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 164, 93, 0.52);
  border-radius: 999px;
  background: white;
  color: var(--navy);
  padding: 8px 13px;
  text-decoration: none;
  font-weight: 650;
}

.meeting-admin {
  border-left: 3px solid rgba(21, 139, 140, 0.28);
  padding-left: 14px;
}

.meeting-admin summary {
  color: var(--blue);
  font-weight: 650;
  cursor: pointer;
}

.document-card h3 {
  overflow-wrap: anywhere;
}

.document-viewer-panel {
  padding: 0;
  overflow: hidden;
}

.document-viewer {
  display: block;
  width: 100%;
  min-height: 78vh;
  border: 0;
  background: #f8fafc;
}

.meeting-cancelled {
  opacity: 0.72;
}

.status-pill,
.minutes-status {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(21, 139, 140, 0.08);
  color: var(--teal);
  padding: 7px 11px;
  font-size: 0.84rem;
  font-weight: 650;
}

.notification-list {
  display: grid;
  gap: 0;
}

.notification-item.unread {
  padding-left: 16px;
  border-left: 4px solid var(--teal);
}

.comment-thread {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.comment-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 79, 156, 0.04);
  padding: 12px 14px;
}

.comment-item p {
  margin-bottom: 6px;
}

.group-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.group-link span {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.group-link:hover strong {
  color: var(--blue);
}

@keyframes welcome-rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes welcome-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes confetti-pop {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg) scale(0.4);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(250px) rotate(260deg) scale(1);
  }
}

.activity-item span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.referral-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.activity-item .referral-type-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  letter-spacing: 0.08em;
}

.referral-type-pill.type-patient {
  background: rgba(17, 128, 110, 0.1);
  color: #0d6f61;
}

.referral-type-pill.type-provider {
  background: rgba(15, 79, 156, 0.1);
  color: #0f4f9c;
}

.referral-type-pill.type-partner {
  background: rgba(124, 58, 237, 0.1);
  color: #6d28d9;
}

.referral-type-pill.type-opportunity {
  background: rgba(200, 164, 93, 0.16);
  color: #956f1f;
}

.activity-item strong,
.group-item strong {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
}

.activity-item p,
.group-item p {
  margin: 8px 0 0;
  color: #475569;
  line-height: 1.48;
}

.referral-details {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.referral-details > div {
  display: grid;
  grid-template-columns: minmax(104px, 0.32fr) 1fr;
  gap: 10px;
}

.referral-details dt {
  color: var(--muted);
  font-weight: 600;
}

.referral-details dd {
  margin: 0;
  color: #0d6f61;
  font-weight: 620;
}

.inline-status-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.inline-status-form select {
  min-height: 40px;
  border: 1px solid rgba(7, 27, 51, 0.16);
  border-radius: 999px;
  background: white;
  color: var(--navy);
  padding: 8px 12px;
  font-weight: 600;
}

.inline-status-form button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  padding: 8px 16px;
  font-weight: 650;
  cursor: pointer;
}

.leader-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.leader-strip article {
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

.leader-strip span,
.leader-strip small {
  display: block;
  color: var(--muted);
  font-weight: 600;
}

.section-heading {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.section-heading h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.55;
}

.focus-leader {
  color: var(--teal);
  font-weight: 650;
}

.directory-filter {
  display: grid;
  grid-template-columns: 1fr 180px 140px;
  gap: 12px;
  margin: 24px 0;
}

.directory-filter-scoped {
  grid-template-columns: minmax(0, 1fr) 140px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.member-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  min-height: 166px;
}

.member-card .avatar {
  width: 62px;
  height: 62px;
  margin: 0;
  font-size: 0.98rem;
}

.member-card .member-avatar-photo {
  width: 62px;
  height: 62px;
  margin: 0;
}

.member-id,
.member-location {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.member-id {
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(15, 79, 156, 0.07);
  padding: 4px 9px;
  line-height: 1.2;
}

.member-card h2 {
  margin: 8px 0 9px;
  color: #061a33;
  font-size: 1.2rem;
  line-height: 1.15;
}

.member-card p {
  margin: 0 0 5px;
  color: #334155;
  line-height: 1.28;
}

.member-designation {
  font-weight: 600;
}

.member-organisation {
  color: #475569;
}

.member-organisation.pending {
  color: #7c6f57;
  font-style: italic;
}

.member-note {
  color: var(--navy-2);
  font-weight: 600;
}

.member-card-compact {
  gap: 14px;
  padding-top: 16px;
  padding-bottom: 14px;
}

.member-card-compact h2 {
  margin: 6px 0 7px;
}

.member-card-compact .member-designation {
  font-size: 0.96rem;
  line-height: 1.18;
}

.member-card-compact p {
  margin-bottom: 3px;
}

.member-card-compact .member-location {
  margin-top: 8px;
  padding-top: 8px;
}

.member-location {
  margin-top: 12px;
  border-top: 1px solid rgba(7, 27, 51, 0.09);
  padding-top: 10px;
  line-height: 1.3;
}

.member-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  margin-top: 12px;
  border: 1px solid rgba(17, 128, 110, 0.28);
  border-radius: 999px;
  background: rgba(17, 128, 110, 0.08);
  color: #0d6f61;
  padding: 7px 12px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 650;
}

.member-profile-link:hover {
  background: #11806e;
  color: #ffffff;
}

.back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 22px;
  color: var(--teal);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.back-link::before {
  content: "←";
  margin-right: 8px;
  letter-spacing: 0;
}

.member-profile-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.member-profile-identity {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 0;
  padding: 28px;
}

.member-profile-identity .profile-photo-placeholder,
.member-profile-identity .profile-photo-image {
  width: 128px;
  height: 128px;
  margin-bottom: 20px;
  border: 2px solid rgba(199, 164, 88, 0.48);
}

.member-profile-identity .member-id {
  margin-bottom: 14px;
}

.member-profile-identity h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.04;
}

.member-profile-role {
  margin: 14px 0 5px;
  color: #334155;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.member-profile-org {
  margin: 0;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.42;
}

.member-profile-place {
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #63748d;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.4;
}

.profile-connect-status {
  width: fit-content;
  margin-top: 16px;
}

.member-profile-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.member-profile-actions form {
  margin: 0;
}

.button,
.member-profile-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(199, 164, 88, 0.58);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  padding: 9px 16px;
  text-decoration: none;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
}

.button.primary {
  border-color: #11806e;
  background: #11806e;
  color: #ffffff;
  box-shadow: 0 15px 34px rgba(17, 128, 110, 0.18);
}

.member-profile-content {
  display: grid;
  gap: 18px;
}

.member-profile-bio,
.member-profile-info {
  padding: 32px;
}

.member-profile-bio h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
}

.member-profile-bio p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #334155;
  font-size: 1.12rem;
  line-height: 1.62;
  font-weight: 480;
}

.muted-copy {
  color: var(--muted) !important;
}

.member-profile-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
}

.member-profile-detail {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.member-profile-detail span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.member-profile-detail strong {
  display: block;
  color: #0d6f61;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.45;
}

.profile-pass {
  background: linear-gradient(145deg, var(--navy), #0e3a6d);
  color: var(--ivory);
}

.profile-pass .eyebrow {
  color: var(--gold);
}

.profile-pass h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.profile-pass strong,
.profile-pass span {
  display: block;
  margin-top: 14px;
}

.profile-details {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.profile-details div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.profile-details dt {
  color: var(--muted);
  font-weight: 600;
}

.profile-details dd {
  margin: 0;
  font-weight: 600;
}

.member-details {
  display: grid;
  gap: 12px;
}

.member-details > div {
  display: grid;
  grid-template-columns: minmax(130px, auto) 1fr;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.member-details dt {
  color: var(--muted);
  font-weight: 600;
}

.member-details dd {
  margin: 0;
  color: #0d6f61;
  font-weight: 650;
}

.activity-list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.profile-details-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 249, 250, 0.76)),
    radial-gradient(circle at 85% 10%, rgba(217, 179, 95, 0.16), transparent 32%);
  border-color: rgba(17, 148, 150, 0.18);
}

.profile-details-panel .eyebrow {
  color: var(--teal);
}

.profile-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.profile-panel-heading .eyebrow {
  margin-bottom: 12px;
}

.profile-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(17, 128, 110, 0.34);
  border-radius: 999px;
  background: rgba(17, 128, 110, 0.09);
  color: #0d6f61;
  padding: 9px 18px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  box-shadow: 0 12px 28px rgba(17, 128, 110, 0.09);
}

.profile-edit-button:hover {
  border-color: rgba(17, 128, 110, 0.54);
  background: #11806e;
  color: #ffffff;
}

.profile-details-panel h2 {
  color: var(--navy);
}

.profile-details-panel p {
  color: #334155;
}

.upload-placeholder {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 8px;
  border: 1px solid rgba(17, 148, 150, 0.24);
  border-radius: 999px;
  background: rgba(17, 148, 150, 0.08);
  color: var(--teal);
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 650;
}

.compact-heading {
  margin-bottom: 18px;
  padding: 0;
}

.compact-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1;
}

.profile-form {
  display: grid;
  gap: 18px;
}

.profile-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 600;
}

.profile-form textarea,
.profile-form input[type="text"],
.profile-form input[type="url"] {
  width: 100%;
}

.profile-toggle {
  display: flex !important;
  align-items: flex-start;
  gap: 12px !important;
}

.profile-toggle input {
  width: auto;
  margin-top: 4px;
}

.profile-toggle span {
  display: grid;
  gap: 3px;
}

.profile-toggle small {
  color: var(--muted);
  font-weight: 560;
  line-height: 1.45;
}

.primary-button {
  justify-self: start;
  min-height: 52px;
  border: 1px solid rgba(200, 164, 93, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(135deg, #06162b 0%, #0d2d55 58%, #123f70 100%);
  color: #ffffff;
  padding: 13px 24px;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0;
  box-shadow:
    0 18px 36px rgba(7, 27, 51, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.primary-button:hover {
  border-color: rgba(214, 182, 109, 0.86);
  background:
    linear-gradient(135deg, #071b33 0%, #123764 56%, #174b83 100%);
  transform: translateY(-1px);
}

.form-success {
  margin: 0;
  border: 1px solid rgba(17, 128, 110, 0.2);
  border-radius: 12px;
  background: rgba(17, 128, 110, 0.08);
  color: #0d6f61;
  padding: 10px 12px;
  font-weight: 600;
}

.nudge-feedback {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 600;
}

.member-connect {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.connect-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(17, 128, 110, 0.09);
  color: #0d6f61;
  font-size: 0.75rem;
  font-weight: 600;
}

.linkedin-button,
.nudge-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.nudge-button {
  cursor: pointer;
}

.member-nudge-actions {
  margin-top: 10px;
}

.member-nudge-actions form {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.birthday-zone {
  margin-top: 22px;
}

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

.birthday-card {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #ffffff;
  padding: 16px;
}

.birthday-card-today {
  border-color: rgba(20, 75, 135, 0.28);
  background: linear-gradient(135deg, rgba(236, 248, 255, 0.96), #ffffff);
  box-shadow: 0 18px 42px rgba(20, 75, 135, 0.12);
}

.birthday-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.08);
  color: #0d6f61;
  font-weight: 600;
}

.birthday-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.birthday-profile-link,
.birthday-name-link {
  color: inherit;
  text-decoration: none;
}

.birthday-profile-link:hover,
.birthday-profile-link:focus-visible {
  box-shadow: 0 0 0 4px rgba(20, 126, 126, 0.16);
  outline: none;
}

.birthday-name-link:hover,
.birthday-name-link:focus-visible {
  color: var(--teal);
  outline: none;
}

.birthday-info {
  display: grid;
  gap: 2px;
}

.birthday-info p {
  margin: 5px 0 0;
  color: #506174;
  font-size: 0.82rem;
  line-height: 1.45;
}

.birthday-date {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
}

.birthday-info small {
  color: var(--muted);
  font-weight: 620;
}

.birthday-profile-action {
  width: max-content;
  margin-top: 6px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .login-stage,
  .pulse-hero,
  .profile-layout,
  .member-profile-layout,
  .two-column,
  .directory-grid,
  .roster-grid,
  .form-grid,
  .admin-stat-grid,
  .hq-access-columns,
  .directory-filter {
    grid-template-columns: 1fr;
  }

  .member-header {
    position: static;
    width: min(100% - 26px, 520px);
    margin: 14px auto 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(7, 27, 51, 0.08);
  }

  .member-sidebar ~ main {
    width: min(100% - 26px, 520px);
    margin: 0 auto;
  }

  .member-header nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .member-header nav a,
  .member-header nav button {
    justify-content: center;
    min-height: 40px;
    white-space: normal;
    line-height: 1.12;
    text-align: center;
  }

  .member-top-actions {
    top: 14px;
    right: 14px;
  }

  .member-top-actions .public-site-button {
    font-size: 0.68rem;
    padding: 0 14px;
  }

  .member-header .member-utility-nav {
    grid-template-columns: 1fr;
  }

  .member-profile-identity {
    position: static;
  }

  .metrics-grid,
  .leader-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .member-sidebar ~ main .pulse-hero {
    grid-template-columns: 1fr;
  }

  .member-sidebar ~ main .welcome-card {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  main,
  .member-header,
  .member-sidebar ~ main {
    width: min(100% - 26px, 520px);
  }

  .member-header nav,
  .member-header .member-utility-nav {
    grid-template-columns: 1fr;
  }

  .metrics-grid,
  .admin-stat-grid,
  .leader-strip {
    grid-template-columns: 1fr;
  }

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

  .member-profile-info {
    grid-template-columns: 1fr;
  }

  .member-profile-bio,
  .member-profile-info,
  .member-profile-identity {
    padding: 22px;
  }
}
