/* Portal UI — registration, roster, login, staff, admin only. index.html is not linked. */
:root {
  --p-orange: #F4901C;
  --p-orange-hover: #E07D0E;
  --p-orange-ink: #13261F;
  --p-orange-deep: #9E4800;
  --p-amber: #f4b158;
  --p-canvas: #f6f8fa;
  --p-white: #ffffff;
  --p-ink: #1a1f24;
  --p-muted: #5b6570;
  --p-line: #e5e7eb;
  --p-line-soft: #e2e8f0;
  --p-evergreen: #1d3834;
  --p-sage: #edf6ef;
  --p-green: #2d8a4e;
  --p-peach: #fff3e3;
  --p-slate-pill: #f1f5f9;
  --p-blush: #fdf2f5;
  --p-blush-line: #f0dbe3;
  --p-pink: #b83260;
  --p-pink-pill: #fce4ec;
  --p-sky: #eff6fc;
  --p-sky-line: #d7e7f5;
  --p-blue: #1d6fa5;
  --p-blue-pill: #dbeeff;
  --p-pay: #eff4f8;
  --p-cream: #fdf3e4;
  --p-warn-bg: #fff4e5;
  --p-warn-line: #f7cf9b;
  --p-warn: #b15d12;
  --p-ratio-ok: #edf7ef;
  --p-ratio-ok-line: #cce8d2;
  --p-info: #f7f8fa;
  --p-r: 12px;
  --p-r-lg: 14px;
  --p-shadow: 0 8px 24px rgba(25, 32, 36, 0.06);
}

html:has(body.portal),
body.portal { overflow-x: clip; }
body.portal {
  background: var(--p-canvas);
  color: var(--p-ink);
  font-family: "Open Sans", system-ui, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.portal .skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
body.portal .skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: #fff;
  color: #111;
  padding: .5rem .8rem;
  border-radius: 8px;
}

.portal-wrap {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}
@media (min-width: 720px) {
  .portal-wrap { width: min(1280px, calc(100% - 48px)); }
}

/* —— Atmospheric banner —— */
.portal-banner {
  position: relative;
  min-height: 200px;
  color: #fff;
  isolation: isolate;
  overflow: visible;
}
.portal-banner-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background-image:
    linear-gradient(105deg, rgba(21,46,42,0.92) 0%, rgba(25,32,36,0.78) 55%, rgba(21,46,42,0.65) 100%),
    url("../assets/portal-banner.jpg");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}

.portal-nav {
  height: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(15, 28, 26, 0.18);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 20;
}
.portal-nav-inner {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.portal-logo {
  display: flex;
  align-items: center;
  flex: none;
  padding-right: 14px;
  margin-right: 2px;
  border-right: 1px solid rgba(255,255,255,0.22);
  height: 36px;
}
.portal-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.portal-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .15rem 1.15rem;
  flex: 1;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.portal-links a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  white-space: nowrap;
}
.portal-links a:hover { color: #fff; }
.portal-links .nav-extra-login { display: none; }

.portal-nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: none;
}

.portal-pill,
a.portal-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: 0 .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1;
}
.portal-pill:hover { background: rgba(255,255,255,0.2); }
.portal-pill.solid {
  background: var(--p-orange);
  border-color: var(--p-orange);
  color: var(--p-orange-ink);
  font-weight: 700;
}
.portal-pill.solid:hover { background: var(--p-orange-hover); border-color: var(--p-orange-hover); }
.portal-pill svg { width: 16px; height: 16px; flex: none; }

.church-menu { position: relative; }
.church-menu-btn {
  max-width: 340px;
}
.church-menu-btn .church-menu-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 230px;
}
.church-menu-btn[aria-expanded="true"] { background: rgba(255,255,255,0.22); }
.church-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: #fff;
  color: var(--p-ink);
  border: 1px solid var(--p-line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
  padding: .4rem;
  z-index: 40;
}
.church-dropdown[hidden] { display: none; }
.church-dropdown button,
.church-dropdown a {
  display: flex;
  width: 100%;
  align-items: center;
  gap: .55rem;
  padding: .65rem .7rem;
  border: 0;
  background: transparent;
  color: var(--p-ink);
  text-decoration: none;
  font: 500 14px/1.2 "Roboto", sans-serif;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
}
.church-dropdown button:hover,
.church-dropdown a:hover { background: var(--p-canvas); }
.church-dropdown svg { width: 16px; height: 16px; color: var(--p-muted); }

.portal-menu {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.portal-menu span,
.portal-menu span::before,
.portal-menu span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  position: relative;
  content: "";
}
.portal-menu span::before { position: absolute; top: -5px; }
.portal-menu span::after { position: absolute; top: 5px; }
.portal-menu[aria-expanded="true"] span { background: transparent; }
.portal-menu[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.portal-menu[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 1080px) {
  .portal-links { display: flex; }
  .portal-links .nav-extra-login { display: none !important; }
  .portal-menu { display: none; }
}
@media (max-width: 1079px) {
  .portal-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(16, 32, 29, 0.97);
    padding: .7rem 1rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .portal-links.is-open { display: flex; }
  .portal-links a {
    padding: .7rem .4rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .portal-links .nav-extra-login { display: block; }
}

.portal-hero {
  padding: 1.15rem 0 1.35rem;
}
.portal-eyebrow {
  margin: 0 0 .35rem;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f4b158;
}
.portal-hero h1 {
  margin: 0;
  font-family: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.7rem, 2.4vw, 2.55rem);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #fff;
}
.portal-sub {
  margin: .45rem 0 0;
  max-width: 40rem;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255,255,255,0.88);
}

/* —— Workspace sheet —— */
.portal-main {
  padding: 0 0 2.5rem;
  flex: 1 0 auto;
  min-width: 0;
  max-width: 100%;
}
.portal-sheet {
  width: min(1280px, calc(100% - 32px));
  margin: -8px auto 0;
  background: var(--p-white);
  border: 1px solid var(--p-line);
  border-radius: 16px 16px 16px 16px;
  box-shadow: var(--p-shadow);
  padding: 1.25rem 1rem 1.3rem;
}
@media (min-width: 720px) {
  .portal-sheet {
    width: min(1280px, calc(100% - 48px));
    padding: 1.5rem 1.5rem 1.4rem;
  }
}

/* —— Stepper —— */
.portal-steps {
  list-style: none;
  margin: 0 auto 1.35rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 760px;
}
.portal-steps .step { flex: 0 1 auto; }
.step-line {
  width: 90px;
  height: 2px;
  background: #d7dee6;
  margin: 0 .7rem;
  flex: none;
}
.step-pill {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .9rem .65rem .7rem;
  border-radius: 999px;
  background: var(--p-slate-pill);
  min-height: 58px;
}
.step.is-active .step-pill { background: var(--p-peach); }
.step.is-complete .step-pill { background: var(--p-sage); }
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: #64748b;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 13px;
}
.step.is-active .step-num { background: var(--p-orange); color: #fff; }
.step.is-complete .step-num { background: var(--p-green); }
.step-num svg { width: 14px; height: 14px; }
.step-copy { display: flex; flex-direction: column; gap: .1rem; }
.step-copy strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--p-ink);
  line-height: 1.2;
}
.step.is-active .step-copy strong { color: #8a4b00; }
.step-copy span {
  font-size: 12px;
  color: var(--p-muted);
  line-height: 1.25;
}
@media (max-width: 719px) {
  .step-line { width: 100%; height: 2px; margin: .45rem 20%; flex-basis: 100%; }
  .step-pill { min-height: 52px; }
}

/* —— Layout grids —— */
.portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) {
  .portal-grid.register-grid { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 24px; }
  .portal-aside { position: sticky; top: 20px; }
}
@media (min-width: 1200px) {
  .portal-grid.roster-grid { grid-template-columns: minmax(0, 1fr) 305px; gap: 20px; }
}

.card {
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-r-lg);
}
.card-pad { padding: 1rem 1.1rem 1.15rem; }

/* Church info bar */
.church-bar {
  background: var(--p-info);
  border: 1px solid var(--p-line);
  border-radius: var(--p-r);
  padding: .9rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.church-bar-left {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 240px;
}
.church-ico {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--p-evergreen);
  margin-top: 2px;
}
.church-bar h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
.church-meta {
  margin: .25rem 0 0;
  color: var(--p-muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .8rem;
  align-items: center;
}
.church-meta span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.church-meta svg { width: 13px; height: 13px; flex: none; }
.church-bar-right {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex: 1 1 220px;
  justify-content: flex-end;
  min-width: 0;
}
@media (min-width: 800px) {
  .church-bar-right {
    border-left: 1px solid var(--p-line);
    padding-left: 1.1rem;
    flex: 0 1 340px;
  }
}
.link-block { min-width: 0; flex: 1; }
.link-block strong {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: 14px;
}
.link-block strong svg { width: 15px; height: 15px; }
.link-block p {
  margin: .15rem 0 0;
  font-size: 12.5px;
  color: var(--p-muted);
  line-height: 1.35;
}
.btn-copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 36px;
  padding: 0 .85rem;
  border-radius: 999px;
  border: 1px solid #cfd6de;
  background: #fff;
  color: var(--p-ink);
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.btn-copy svg { width: 14px; height: 14px; }
.btn-copy.is-copied {
  border-color: var(--p-green);
  color: var(--p-green);
}

/* Roster header + actions */
.roster-head {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin: 1.2rem 0 .85rem;
}
.roster-head h2 {
  margin: 0;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.roster-head h2 svg { width: 22px; height: 22px; color: var(--p-evergreen); }
.roster-head .lede {
  margin: .3rem 0 0;
  color: var(--p-muted);
  font-size: 13.5px;
  max-width: 46rem;
}
.save-ind {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--p-muted);
  font-weight: 600;
  padding-top: .35rem;
  white-space: nowrap;
  max-width: none;
  flex: none;
}
.save-ind.is-saving { color: var(--p-orange-deep); }
.save-ind.is-saved { color: var(--p-green); }

.action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1rem;
}
.pbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1;
  background: #fff;
  color: var(--p-ink);
}
.pbtn svg { width: 15px; height: 15px; }
.pbtn:disabled { opacity: .65; cursor: not-allowed; }
.pbtn-primary {
  background: var(--p-orange);
  border-color: var(--p-orange);
  color: var(--p-orange-ink);
}
.pbtn-primary:hover { background: var(--p-orange-hover); border-color: var(--p-orange-hover); }
.pbtn-outline {
  background: #fff;
  border-color: #cfd6de;
  color: var(--p-ink);
}
.pbtn-outline:hover { border-color: #9aa3ad; }
.pbtn-ghost { background: transparent; border-color: #cfd6de; }

/* Female / Male cards */
.sex-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 980px) {
  .sex-grid { grid-template-columns: 1fr 1fr; }
}
.sex-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
}
.sex-card.female { border: 1px solid #f0dbe3; }
.sex-card.male { border: 1px solid #d7e7f5; }
.sex-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem .85rem;
}
.sex-card.female .sex-head { background: #fdf2f5; }
.sex-card.male .sex-head { background: #eff6fc; }
.sex-head h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  flex: 1;
}
.sex-head svg { width: 18px; height: 18px; }
.sex-card.female .sex-head svg { color: #b83260; }
.sex-card.male .sex-head svg { color: #1d6fa5; }
.badge {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: .22rem .6rem;
  font-family: "Roboto", sans-serif;
}
.badge-pink { background: #fce4ec; color: #b83260; }
.badge-blue { background: #dbeeff; color: #1d6fa5; }

.sheet-scroll { overflow-x: auto; }
.roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.roster-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--p-muted);
  font-weight: 700;
  padding: .35rem .55rem .4rem;
  border-bottom: 1px solid var(--p-line);
  white-space: nowrap;
}
.roster-table td {
  padding: .35rem .4rem;
  border-bottom: 1px solid #f1f4f7;
  vertical-align: middle;
}
.roster-table .col-num {
  width: 28px;
  color: var(--p-muted);
  font-variant-numeric: tabular-nums;
  text-align: center;
  padding-left: .55rem;
}
.roster-table .col-del { width: 36px; text-align: center; }
.roster-table input[type="text"],
.roster-table select {
  width: 100%;
  min-height: 34px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 .5rem;
  font: 500 13px/1.2 "Open Sans", sans-serif;
  background: #fff;
  color: var(--p-ink);
}
.roster-table input[type="text"]:focus,
.roster-table select:focus {
  outline: 2px solid rgba(244,144,28,.35);
  border-color: var(--p-orange);
}
.roster-table .col-group { width: 7.8rem; }
.roster-table .col-shirt { width: 5.2rem; }
.name-cell { display: flex; align-items: center; min-width: 7rem; }
.name-cell input { flex: 1; min-width: 0; }
.roster-table .col-group select {
  width: 100%;
  padding-right: 1.4rem;
}
.del-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #c4453b;
  border-radius: 8px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  position: relative;
}
.del-btn:hover { background: #fdecea; }
.del-btn svg { width: 15px; height: 15px; }

.add-row-btn {
  display: block;
  width: calc(100% - 1.2rem);
  margin: .55rem .6rem .7rem;
  min-height: 44px;
  border-radius: 10px;
  background: transparent;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.add-row-btn.female {
  border: 1.5px dashed #e3a4b8;
  color: #b83260;
  background: #fffafb;
}
.add-row-btn.male {
  border: 1.5px dashed #8ec0e0;
  color: #1d6fa5;
  background: #f7fbfe;
}
.add-row-btn.female:hover { background: #fdf0f4; border-color: #d47a99; }
.add-row-btn.male:hover { background: #eef6fc; border-color: #5ea3cc; }

/* Help cards */
.help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 800px) {
  .help-grid { grid-template-columns: repeat(3, 1fr); }
}
.help-card {
  background: var(--p-info);
  border: 1px solid var(--p-line);
  border-radius: 12px;
  padding: .8rem .85rem .9rem;
}
.help-card h3 {
  margin: 0 0 .35rem;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.help-card h3 svg { width: 16px; height: 16px; color: var(--p-evergreen); }
.help-card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--p-muted);
  line-height: 1.45;
}
.shirt-pills {
  margin-top: .45rem;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--p-ink);
}

/* Summary sidebar */
body.portal .summary-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: var(--p-shadow);
  overflow: hidden;
  background: #fff;
  padding: 0;
}
.summary-head {
  background: #1d3834;
  color: #fff;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 16px;
}
.summary-head svg { width: 18px; height: 18px; }
.summary-body { padding: .9rem 1rem 1.05rem; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: .9rem;
}
.stat {
  text-align: center;
  padding: .15rem .25rem .2rem;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #e5e7eb;
}
.stat svg { width: 16px; height: 16px; margin: 0 auto .15rem; display: block; }
.stat.total svg { color: #334155; }
.stat.female svg { color: #b83260; }
.stat.male svg { color: #1d6fa5; }
.stat.sponsors svg { color: #b45309; }
.stat b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.stat span {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--p-muted);
  margin-top: .15rem;
  letter-spacing: .01em;
}

.ratio-box {
  border-radius: 10px;
  padding: .7rem .8rem;
  margin: 0 0 .95rem;
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}
.ratio-box svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.ratio-box.ok { background: #edf7ef; border: 1px solid #cce8d2; color: #1e6b38; }
.ratio-box.warn { background: #fff4e5; border: 1px solid #f7cf9b; color: #9a4e0a; }
.ratio-box strong { display: block; font-size: 13.5px; line-height: 1.3; }
.ratio-box p { margin: .2rem 0 0; font-size: 12px; font-weight: 500; opacity: .9; }

.fees h3,
.paybox h3 {
  margin: 0 0 .55rem;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.fees h3 svg, .paybox h3 svg { width: 16px; height: 16px; }
.fee-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  font-size: 13.5px;
  padding: .28rem 0;
}
.fee-row span { color: var(--p-muted); }
.fee-row b { font-variant-numeric: tabular-nums; }
.fee-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--p-muted);
  margin-top: .1rem;
}
.balance-row {
  background: #fdf3e4;
  border-radius: 8px;
  padding: .55rem .7rem;
  margin-top: .45rem;
  font-size: 14.5px;
}
.paybox {
  background: #eff4f8;
  border-radius: 10px;
  padding: .8rem .85rem;
  margin-top: .9rem;
}
.paybox h3 {
  font-weight: 700;
}
.paybox p {
  margin: 0;
  font-size: 13.5px;
}
.paybox .pay-label {
  margin: .85rem 0 .25rem;
  color: #1a2a33;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  line-height: 1.5;
}
.paybox .pay-label:first-of-type { margin-top: .15rem; }
.paybox .pay-value {
  color: #5a6a75;
  font-weight: 500;
  line-height: 1.8;
}

/* Bottom action bar */
.workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
.workspace-actions .right {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-left: auto;
}

/* Register form */
.form-card { border: 1px solid var(--p-line); border-radius: 14px; overflow: hidden; }
.form-section {
  padding: 1.05rem 1.15rem 1.15rem;
  border-top: 1px solid var(--p-line);
}
.form-section:first-child { border-top: 0; }
.form-section h2 {
  margin: 0 0 .85rem;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.form-section h2 svg { width: 18px; height: 18px; color: var(--p-evergreen); }
.fields { display: grid; gap: .7rem; }
.fields-2 {
  display: grid;
  gap: .7rem;
}
@media (min-width: 640px) {
  .fields-2 { grid-template-columns: 1fr 1fr; }
}
.fields-3 {
  display: grid;
  gap: .7rem;
}
@media (min-width: 640px) {
  .fields-3 { grid-template-columns: 1.4fr .6fr .8fr; }
}
.field { display: flex; flex-direction: column; gap: .28rem; }
.field label {
  font-size: 13px;
  font-weight: 700;
}
.req { color: #c4453b; }
.field input, .field select, .field textarea,
.portal-card-form input, .portal-card-form select {
  min-height: 42px;
  border: 1px solid #d9dee5;
  border-radius: 10px;
  padding: 0 .7rem;
  font: 400 14.5px/1.3 "Open Sans", sans-serif;
  background: #fff;
  color: var(--p-ink);
}
.field input:focus, .field select:focus,
.portal-card-form input:focus {
  outline: 2px solid rgba(244,144,28,.35);
  border-color: var(--p-orange);
}
.field .hint {
  font-size: 12px;
  color: var(--p-muted);
  margin: 0;
}
.form-foot { padding: 0 1.15rem 1.2rem; }
.form-foot .pbtn { min-height: 46px; width: 100%; }
.form-footnote {
  margin: .8rem 0 0;
  font-size: 13.5px;
  color: var(--p-muted);
}
.form-footnote a { color: var(--p-orange-deep); font-weight: 600; }
.alert-error {
  background: #fdecea;
  color: #9b1c1c;
  border: 1px solid #f4c7c3;
  border-radius: 10px;
  padding: .65rem .8rem;
  font-size: 13.5px;
  margin: 0 0 .8rem;
}
.price-rows { margin: .3rem 0 .2rem; }
.price-rows .fee-row { font-size: 13.5px; }
.dates-strip {
  font-size: 13px;
  color: var(--p-muted);
  margin: 0 0 .8rem;
  line-height: 1.45;
}
.how-step p { margin: 0; font-size: 13px; color: var(--p-muted); line-height: 1.45; }

/* Confirm / login / staff cards */
.portal-simple {
  max-width: 640px;
  margin: 0 auto;
}
.portal-card-form {
  border: 1px solid var(--p-line);
  border-radius: 14px;
  padding: 1.2rem 1.2rem 1.3rem;
}
.link-box {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.link-box input {
  flex: 1 1 200px;
  min-height: 42px;
  border: 1px solid #d9dee5;
  border-radius: 10px;
  padding: 0 .7rem;
  font: 400 13px/1.3 "Roboto", ui-monospace, monospace;
  min-width: 0;
}
.copy-status { margin: .45rem 0 0; font-size: 13px; color: var(--p-green); font-weight: 600; }
.email-note, .org-meta { color: var(--p-muted); font-size: 14px; line-height: 1.45; }

/* Modals + toast */
.p-modal {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 22, 0.45);
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.p-modal[hidden] { display: none; }
.p-modal-card {
  background: #fff;
  border-radius: 16px;
  width: min(640px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
  padding: 1.15rem 1.2rem 1.25rem;
}
.p-modal-card.wide { width: min(820px, 100%); }
.p-modal-card h2 { margin: 0 0 .35rem; font-size: 1.25rem; }
.p-modal-card .lede { margin: 0 0 1rem; color: var(--p-muted); font-size: 14px; }
.p-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}
.dropzone {
  border: 1.5px dashed #c9d3dc;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  color: var(--p-muted);
  font-size: 13.5px;
  background: var(--p-canvas);
  cursor: pointer;
}
.dropzone.is-over { border-color: var(--p-orange); background: var(--p-peach); }
.paste-area {
  width: 100%;
  min-height: 90px;
  margin-top: .6rem;
  border: 1px solid #d9dee5;
  border-radius: 10px;
  padding: .6rem .7rem;
  font: 13px/1.4 ui-monospace, "Roboto Mono", monospace;
  resize: vertical;
}
.preview-table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: .8rem; }
.preview-table th, .preview-table td {
  border-bottom: 1px solid var(--p-line);
  padding: .4rem .45rem;
  text-align: left;
}
.preview-table .err { color: #9b1c1c; background: #fdecea; }
.preview-note { font-size: 12.5px; color: var(--p-muted); margin: .5rem 0 0; }

.review-grid {
  display: grid;
  gap: .8rem;
}
.review-block {
  background: var(--p-canvas);
  border-radius: 10px;
  padding: .75rem .85rem;
}
.review-block h3 { margin: 0 0 .35rem; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--p-muted); }
.review-block p { margin: 0; font-size: 14px; }

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  background: var(--p-evergreen);
  color: #fff;
  border-radius: 12px;
  padding: .8rem 1rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  max-width: min(360px, calc(100% - 24px));
  font-size: 14px;
}
.toast[hidden] { display: none; }
.toast button {
  margin-top: .45rem;
  display: inline-flex;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: .35rem .7rem;
  font-weight: 600;
  cursor: pointer;
}

/* Admin polish */
body.portal .admin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--p-line);
  border-radius: 12px;
  background: #fff;
  position: relative;
}
body.portal .admin-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
body.portal .admin-table th {
  background: #f4f6f8;
  color: #3d4852;
  text-align: left;
  font-size: 11px;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .55rem .5rem;
  border-bottom: 1px solid var(--p-line);
  white-space: nowrap;
}
body.portal .admin-table td {
  padding: .5rem;
  border-bottom: 1px solid #eef1f4;
  vertical-align: top;
}
body.portal .admin-table .num { text-align: right; font-variant-numeric: tabular-nums; }
body.portal .admin-table .row-warn { background: #fff7ed; }
body.portal .admin-table tfoot th,
body.portal .admin-table tfoot td { background: #f4f6f8; font-weight: 700; }
body.portal .counts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: .6rem;
}
body.portal .count {
  background: var(--p-canvas);
  border-radius: 10px;
  padding: .7rem .75rem;
}
body.portal .count b { display: block; font-size: 1.3rem; }
body.portal .count span { font-size: 12px; color: var(--p-muted); }
body.portal .toolbar { display: flex; gap: .5rem; flex-wrap: wrap; }
body.portal .pay-modal {
  position: fixed; inset: 0; background: rgba(16,24,22,.45);
  display: grid; place-items: center; z-index: 60; padding: 1rem;
}
body.portal .pay-modal[hidden] { display: none; }
body.portal .pay-modal-card {
  background: #fff; border-radius: 16px; width: min(640px, 100%);
  padding: 1.2rem; box-shadow: 0 24px 60px rgba(0,0,0,.2);
}
body.portal .linkish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff8f0;
  border: 1px solid #f0dcc4;
  color: var(--p-orange-deep);
  cursor: pointer;
  font-weight: 600;
  padding: 0 .75rem;
  min-height: 36px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12.5px;
  font-family: "Roboto", sans-serif;
  line-height: 1.2;
  white-space: nowrap;
}
body.portal .linkish:hover { background: #ffefd9; }
body.portal .church-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .45rem;
}
body.portal .admin-kpis { display: grid; gap: 16px; margin-bottom: 1rem; }
@media (min-width: 900px) {
  body.portal .admin-kpis { grid-template-columns: 1.4fr 1fr; }
}

/* Footer */
.portal-footer {
  flex: none;
  background: #152e2a;
  color: rgba(255,255,255,.86);
  padding: 1.6rem 0 1.1rem;
  margin-top: 0;
}
.portal-footer .fgrid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .portal-footer .fgrid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.portal-footer h4 { margin: 0 0 .45rem; color: #fff; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.portal-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.portal-footer a:hover { color: #fff; }
.portal-footer p { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.75); }
.portal-footer .bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
}
.portal-footer .staff-link { color: #8fa89f !important; font-size: 12px; }
.portal-footer .staff-link:hover { color: #d5e4df !important; }

@media print {
  .portal-banner, .portal-footer, .action-bar, .workspace-actions, .portal-nav, .p-modal { display: none !important; }
  body.portal { background: #fff; }
  .portal-sheet { box-shadow: none; border: 0; width: 100%; margin: 0; }
}


/* —— Portal polish: nav crowding + readable roster tables —— */
.portal-nav-right { min-width: 0; }
.portal-menu { flex: none; }
.church-menu { min-width: 0; }
@media (max-width: 1079px) {
  .portal-nav-right > a.portal-pill[href="login.html"] { display: none; }
  .portal-logo { padding-right: 10px; height: 36px; }
  .portal-logo img { height: 34px; }
  .church-menu-btn { max-width: 220px; padding: 0 .7rem; }
  .church-menu-btn .church-menu-name { max-width: 148px; }
  .portal-pill { min-height: 44px; }
  .portal-nav-right .portal-pill.solid { padding: 0 .7rem; }
}

/* Give the roster tables more room; keep the summary compact */
.sex-card { display: flex; flex-direction: column; }
.sex-card .sheet-scroll { flex: 1; }
.add-row-btn { margin-top: auto; }

/* Default: stacked 2-line camper rows on small screens (<980px) */
.roster-table { table-layout: auto; min-width: 0; }
.roster-table thead { display: none; }
.roster-table tbody tr {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr) 5.6rem;
  grid-template-areas:
    "num name del"
    "num group shirt";
  column-gap: .45rem;
  row-gap: .35rem;
  padding: .5rem .65rem .55rem;
  border-bottom: 1px solid #f1f4f7;
  align-items: center;
}
.roster-table td {
  border: 0;
  padding: 0;
  width: auto;
}
.roster-table .col-num { grid-area: num; width: auto; padding: 0; color: var(--p-muted); font-variant-numeric: tabular-nums; text-align: center; }
.roster-table td:nth-child(2) { grid-area: name; }
.roster-table .col-group { grid-area: group; width: auto; min-width: 7.6rem; }
.roster-table .col-shirt { grid-area: shirt; width: auto; }
.roster-table .col-del { grid-area: del; width: auto; justify-self: end; }
.roster-table input[type="text"],
.roster-table select {
  min-height: 34px;
  padding: 0 .45rem;
  font-size: 13px;
}
.name-cell input { min-height: 34px; font-size: 13px; }

/* Desktop: single-line rows + muted column headers */
@media (min-width: 980px) {
  .roster-table thead { display: block; }
  .roster-table thead tr,
  .roster-table tbody tr {
    display: grid;
    grid-template-columns: 20px minmax(100px, 1fr) 7.8rem 56px 36px;
    grid-template-areas: none;
    gap: 6px;
    column-gap: 6px;
    row-gap: 0;
    align-items: center;
    padding: 6px 8px;
    font-size: 13px;
  }
  .roster-table thead tr {
    padding: 6px 8px 5px;
    border-bottom: 1px solid var(--p-line);
  }
  .roster-table thead th {
    padding: 0;
    border: 0;
    font-size: 10.5px;
    letter-spacing: .05em;
  }
  .roster-table .col-num,
  .roster-table td:nth-child(2),
  .roster-table .col-group,
  .roster-table .col-shirt,
  .roster-table .col-del {
    grid-area: auto;
    width: auto;
    justify-self: stretch;
  }
  .roster-table .col-num { text-align: center; }
  .roster-table .col-del { justify-self: center; }
  .roster-table .col-group select {
    font-size: 12.5px;
    padding: 0 1.4rem 0 .4rem;
  }
  .roster-table .col-shirt select {
    font-size: 12.5px;
    padding: 0 .2rem;
  }
  .name-cell { min-width: 0; }
  .name-cell input { min-height: 32px; font-size: 13px; }
}

.save-ind { text-align: right; }
@media (max-width: 699px) {
  .save-ind { text-align: left; margin-left: 0; }
}

/* Dark-banner / footer logo: keep full-size wordmark crisp */
.portal-footer img { height: 40px; width: auto; }

/* Split estimate counts (Step 1) — always side-by-side, including mobile */
.est-counts {
  margin-top: .7rem;
  grid-template-columns: 1fr 1fr;
}
.est-total {
  margin: .65rem 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--p-evergreen);
  min-height: 1.3em;
}
.est-total.is-empty { font-weight: 500; color: var(--p-muted); }
.estimate-note {
  margin: .45rem 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--p-evergreen);
}

/* Blank starter rows */
.starter-note {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .8rem;
  align-items: center;
  justify-content: space-between;
  margin: -.35rem 0 1rem;
  padding: .65rem .8rem;
  background: #f4f8f6;
  border: 1px solid #d7e6dc;
  border-radius: 12px;
  color: #2a4a3c;
  font-size: 13px;
}
.starter-note[hidden] { display: none; }
.starter-note p { margin: 0; flex: 1 1 16rem; line-height: 1.4; }
.starter-note .pbtn { min-height: 34px; font-size: 13px; }
.roster-table tr.is-draft input[data-field="name"] { background: #fafbfc; }


/* —— 2027 polish: loading skeletons, compact summary, admin scroll, login hub —— */
.portal-sheet { max-width: 100%; min-width: 0; box-sizing: border-box; }

.pbtn:disabled,
.add-row-btn:disabled,
.btn-copy:disabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
  filter: none;
}

/* Roster loading */
body.is-roster-loading #form-title,
body.is-roster-loading #org-meta,
body.is-roster-loading .church-bar-right,
body.is-roster-loading #female-count,
body.is-roster-loading #male-count,
body.is-roster-loading #shirt-pills,
body.is-roster-loading .roster-table,
body.is-roster-loading #summary-panel,
body.is-roster-loading #ratio-warning,
body.is-roster-loading #invoice-panel,
body.is-roster-loading .church-contact-note,
body.is-roster-loading .summary-strip {
  display: none !important;
}
body:not(.is-roster-loading) .sk,
body:not(.is-roster-loading) .sk-stack { display: none !important; }

.sk-stack { display: flex; flex-direction: column; gap: .45rem; min-width: 12rem; }
.sk-line,
.sk-row {
  display: block;
  height: 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, #e8edf1 0%, #f7f9fb 45%, #e8edf1 100%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.15s ease-in-out infinite;
}
.sk-row { height: 36px; margin: .45rem .65rem; border-radius: 8px; }
.sk-w-55 { width: 55%; }
.sk-w-40 { width: 40%; }
.sk-w-70 { width: 70%; }
.sk-tile-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; padding: .75rem .8rem 0; }
.sk-tile { height: 58px; border-radius: 10px; background: linear-gradient(90deg, #e8edf1 0%, #f7f9fb 45%, #e8edf1 100%); background-size: 200% 100%; animation: sk-shimmer 1.15s ease-in-out infinite; }
.sk-fee { height: 14px; margin: .55rem .85rem; border-radius: 8px; background: linear-gradient(90deg, #e8edf1 0%, #f7f9fb 45%, #e8edf1 100%); background-size: 200% 100%; animation: sk-shimmer 1.15s ease-in-out infinite; }
@keyframes sk-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sk-line, .sk-row, .sk-tile, .sk-fee { animation: none; }
}
.save-ind.is-loading {
  color: var(--p-evergreen);
  font-weight: 600;
  font-size: 13px;
  background: #eef4f1;
  border: 1px solid #d4e3db;
  border-radius: 999px;
  padding: .28rem .7rem;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

/* Compact summary strip — visible below the 1200px sidebar breakpoint */
.summary-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .85rem;
  margin: 0 0 1rem;
  padding: .7rem .85rem;
  background: #f4f8f6;
  border: 1px solid #d7e6dc;
  border-radius: 12px;
}
.summary-strip[hidden] { display: none !important; }
.summary-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  width: 100%;
}
.ss-stat { display: flex; align-items: baseline; gap: .3rem; font-family: "Roboto", sans-serif; }
.ss-stat b { font-size: 1.15rem; color: var(--p-ink); }
.ss-stat span { font-size: 12px; color: var(--p-muted); font-weight: 600; }
.ss-badge {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: .28rem .65rem;
}
.ss-badge.ok { background: #edf7ef; color: #216b38; }
.ss-badge.warn { background: #fff4e5; color: #9a4a0a; }
.ss-balance {
  margin-left: auto;
  font-size: 13px;
  color: var(--p-muted);
  font-weight: 600;
  background: #fdf3e4;
  border-radius: 999px;
  padding: .35rem .75rem;
}
.ss-balance b { color: var(--p-ink); margin-left: .25rem; }
@media (min-width: 1200px) {
  .summary-strip { display: none !important; }
}

.church-contact-note {
  margin: .55rem 0 0;
  font-size: 13px;
  color: var(--p-muted);
}
.church-contact-note a { color: var(--p-orange-deep); font-weight: 600; text-decoration: none; }
.church-contact-note a:hover { text-decoration: underline; }

.portal-steps .step.is-complete,
.portal-steps .step.is-status {
  cursor: default;
  pointer-events: none;
}

/* Login hub */
.portal-hub {
  display: grid;
  gap: 1.1rem;
  width: min(920px, 100%);
  margin: 0 auto;
}
@media (min-width: 800px) {
  .portal-hub { grid-template-columns: 1.15fr .95fr; align-items: stretch; }
}
.hub-card h2 {
  margin: 0 0 .35rem;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--p-ink);
}
.hub-card .hub-lead {
  margin: 0 0 .9rem;
  color: var(--p-muted);
  font-size: 14.5px;
  line-height: 1.45;
}
.hub-new {
  background: #f7faf8;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.hub-new .pbtn { min-height: 46px; width: 100%; justify-content: center; }
.form-footnote.lost-link { line-height: 1.55; }
.form-footnote.lost-link a { white-space: nowrap; }

/* Field validation */
.field-error {
  margin: .3rem 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #9b1c1c;
}
.field-error[hidden] { display: none; }
.field input.is-invalid,
.field select.is-invalid {
  border-color: #d9544a;
  box-shadow: 0 0 0 3px rgba(217, 84, 74, 0.15);
}

/* Confirm mobile alignment */
.confirm-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.confirm-actions .pbtn { justify-content: center; }
@media (max-width: 639px) {
  .link-box { flex-direction: column; }
  .link-box input {
    flex: none;
    width: 100%;
    min-height: 44px;
    height: 44px;
    box-sizing: border-box;
  }
  .link-box .pbtn,
  .confirm-actions .pbtn { width: 100%; min-height: 44px; }
}

/* Admin sticky church column + scroll cue */
.admin-scroll-cue {
  margin: 0 0 .45rem;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--p-muted);
}
.admin-scroll-cue[hidden] { display: none; }
body.portal .admin-table .church-col,
body.portal .admin-table th:first-child,
body.portal .admin-table tfoot th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  min-width: 196px;
  max-width: 240px;
  box-shadow: 4px 0 8px -6px rgba(0,0,0,0);
}
body.portal .admin-table thead th:first-child,
body.portal .admin-table tfoot th:first-child { background: #f4f6f8; z-index: 3; }
body.portal .admin-table .row-warn .church-col { background: #fff7ed; }
body.portal .admin-table-wrap.is-scrolled .church-col,
body.portal .admin-table-wrap.is-scrolled th:first-child,
body.portal .admin-table-wrap.is-scrolled tfoot th:first-child {
  box-shadow: 6px 0 10px -4px rgba(20, 28, 32, 0.18);
}
body.portal .admin-table-wrap.has-more {
  background:
    linear-gradient(90deg, #fff 80%, rgba(255,255,255,0)) padding-box,
    linear-gradient(270deg, rgba(22,36,34,.12), transparent 48px) border-box;
}
body.portal .admin-table-wrap.has-more::after {
  content: "";
  position: sticky;
  right: 0;
  top: 0;
  display: block;
  width: 0;
  height: 0;
  pointer-events: none;
}

@media (max-width: 979px) {
  body.portal .linkish { min-height: 44px; }
  .del-btn { width: 44px; height: 44px; }
  .add-row-btn { min-height: 44px; }
}
@media (max-width: 639px) {
  .portal-nav-right > a.portal-pill[href="index.html"] { display: none; }
  .church-menu-btn { max-width: 148px; }
  .church-menu-btn .church-menu-name { max-width: 88px; }
}

body.portal .portal-sheet,
body.portal .admin-kpis,
body.portal .admin-table-wrap { max-width: 100%; }
