/* Life Church website identity, adapted to the Hub's existing screens. */
@font-face {
  font-family: "Hub Open Sans";
  src: url("/static/fonts/open-sans.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Hub Poppins";
  src: url("/static/fonts/poppins-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Hub Poppins";
  src: url("/static/fonts/poppins-bold.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}
:root {
  --bg: #faf9f5;
  --surface: #fff;
  --surface-strong: #edf3e9;
  --ink: #17211f;
  --muted: #5f6f64;
  --line: #dce5dc;
  --green: #0f9b49;
  --green-deep: #153f2c;
  --gold: #f3c86f;
  --shadow: 0 3px 12px #153f2c05;
  --hub-heading: "Hub Poppins", Arial, sans-serif;
  --hub-body: "Hub Open Sans", Arial, sans-serif;
}
body {
  font-family: var(--hub-body);
  font-size: 15px;
  line-height: 1.55;
  background: var(--bg);
}
* { letter-spacing: 0; }
h1, h2, h3, h4 { font-family: var(--hub-heading); font-weight: 600; line-height: 1.3; }
h1 { font-size: 28px; }
h2 { font-size: 20px; }
h3 { font-size: 17px; }
h4 { font-size: 16px; }
button, input, select, textarea { font-family: var(--hub-body); }
button, .primary-button, .secondary-button, .danger-button {
  font-weight: 600;
  border-radius: 6px;
  min-height: 46px;
  line-height: 1.4;
  text-align: center;
}
.primary-button:hover { background: #236343; }
.secondary-button { border: 1px solid #153f2c26; background: transparent; }
.secondary-button:hover { background: #edf3e9; }
label { color: #42544b; font-size: 14px; font-weight: 600; }
input, select, textarea { font-weight: 400; border-color: #cbd7cd; border-radius: 6px; min-width: 0; max-width: 100%; }
input:focus, select:focus, textarea:focus { border-color: #236343; }
:focus-visible { outline: 3px solid #d88a3d; outline-offset: 3px; }
input[type=checkbox], input[type=radio] { accent-color: #153f2c; }
.app-header { min-height: 78px; padding: 10px 20px; background: #faf7f0f5; border-color: #dce5dc; }
.brand-logo { width: 108px; height: 56px; }
.menu-drawer > summary { background: #153f2c; font-family: var(--hub-heading); font-weight: 600; border-radius: 6px; }
.side-nav { box-shadow: 0 14px 30px #17211f14; padding: 8px; }
.side-nav a { font-family: var(--hub-heading); font-size: 13px; font-weight: 600; min-height: 46px; }
.side-nav a[aria-current=page] { background: #153f2c; color: white; }
.side-nav .menu-sign-out { border-top: 1px solid var(--line); margin-top: 6px; }
.page { width: min(100%, 1160px); padding: 24px 18px 96px; }
.page-heading { margin-bottom: 24px; align-items: flex-start; flex-wrap: wrap; }
.page-heading > div { min-width: 0; }
.page-heading h1 { overflow-wrap: anywhere; }
.eyebrow, .section-kicker { font-family: var(--hub-heading); font-size: 11px; font-weight: 600; color: #236343; }
.back-link { font-size: 13px; font-weight: 600; }
.section-title { align-items: baseline; flex-wrap: wrap; }
.section-title h2 { margin-bottom: 0; }
.section-title > span { font-size: 12px; font-weight: 500; }
.dashboard-hero {
  padding: 28px 22px;
  margin-bottom: 28px;
  border: 0;
  border-top: 4px solid #f3c86f;
  border-radius: 0;
  background: #153f2c;
  box-shadow: none;
  min-height: 210px;
}
.dashboard-hero h1 { font-family: var(--hub-heading); font-weight: 600; font-size: 34px; margin: 0; line-height: 1.2; }
.dashboard-kicker { color: #f3c86f; font-size: 10px; font-weight: 600; margin-bottom: 12px; }
.dashboard-today span { color: #d1e3ce; font-size: 11px; font-weight: 500; }
.dashboard-today strong { font-size: 14px; font-weight: 600; }
.dashboard-hero-side { gap: 16px; }
.assistant-cta { border-radius: 6px; background: #f3c86f; color: #17211f; font-family: var(--hub-heading); font-size: 13px; font-weight: 600; min-height: 48px; }
.assistant-cta-icon { background: #236343; }
.dashboard-section { margin-top: 28px; }
.sunday-command-center { border: 0; padding: 0 0 24px; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; }
.sunday-heading { align-items: flex-start; gap: 12px; }
.sunday-heading h2 { font-size: 20px; }
.sunday-heading .section-kicker { font-size: 10px; margin-bottom: 5px; }
.sunday-date span { font-weight: 500; font-size: 10px; }
.sunday-date strong { font-size: 13px; font-weight: 600; }
.dashboard-metrics { gap: 10px; }
.dashboard-metric { min-height: 116px; padding: 16px 14px; box-shadow: none; border-radius: 6px; border-top: 3px solid #e0ebdc; }
.dashboard-metric span { font-weight: 600; font-size: 12px; }
.dashboard-metric small { font-size: 11px; font-weight: 400; }
.dashboard-metric strong { font-family: var(--hub-heading); font-size: 26px; font-weight: 600; overflow-wrap: anywhere; }
.hub-action { box-shadow: none; border-radius: 6px; min-height: 100px; padding: 16px; gap: 12px; }
.hub-action-copy strong { font-family: var(--hub-heading); font-size: 15px; font-weight: 600; line-height: 1.4; }
.hub-action small { font-size: 12px; font-weight: 400; line-height: 1.5; }
.hub-action-accent { width: 4px; min-height: 44px; border-radius: 2px; }
.hub-action-arrow { color: #153f2c; }
.hub-action.projects { --tool-color: #9b702e; }
.hub-action:hover, .dashboard-metric:hover { transform: none; background: #f5f8f1; }
.dashboard-alert { border-radius: 0; border-width: 0 0 1px 3px; background: #fff; font-size: 14px; font-weight: 400; box-shadow: none; }
.dashboard-alerts { gap: 1px; }
.dashboard-all-clear { font-size: 14px; font-weight: 400; background: #edf3e9; }
.item-card, .order-card, .admin-item, .attendance-card, .giving-card, .project-task-card,
.project-summary-card, .my-task-card { box-shadow: none; border-radius: 6px; }
.item-card h3, .order-card h3 { font-size: 16px; }
.item-card p, .order-card p { font-size: 13px; font-weight: 400; }
.card-form, .quantity-panel { box-shadow: none; border-radius: 6px; }
.status-badge { font-weight: 650; }
.filter-bar, .attendance-lookup, .giving-lookup { box-shadow: none; }
.admin-disclosure > summary, .admin-add > summary, .project-add-task > summary,
.project-overview-editor > summary { font-family: var(--hub-heading); font-weight: 600; font-size: 15px; }
.admin-disclosure > summary small { font-family: var(--hub-body); font-size: 12px; font-weight: 400; }
.project-detail-heading h1 { font-size: 27px; }
.project-task-card h4 { font-family: var(--hub-heading); font-weight: 600; }
.project-summary-top > strong, .project-completion > strong { color: #153f2c; }
.project-summary-card { border-left-color: #236343; }
.project-task-edit summary, .task-responsibilities summary { font-weight: 600; }
.project-task-owner, .project-task-due { font-weight: 600; }
.project-task-status-form button, .my-task-status-form button { font-weight: 600; }
.project-completion span { font-size: 13px; font-weight: 400; }
.creative-request-card { padding: 18px; }
.creative-request-heading h4 { font-size: 17px; }
.creative-request-card h5 { font-family: var(--hub-body); font-size: 13px; font-weight: 600; }
.creative-request-facts dd { font-size: 14px; font-weight: 600; }
.creative-request-card .creative-request-instructions p { font-size: 14px; line-height: 1.65; }
.graphic-file-list a { color: #153f2c; font-weight: 600; }
.attendance-range-highlights article, .giving-average-summary article, .group-summary-grid article {
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.attendance-range-highlights strong, .giving-average-summary strong, .group-summary-grid strong {
  font-family: var(--hub-heading);
  font-weight: 600;
}
.attendance-range-highlights span, .attendance-range-breakdown span,
.giving-average-summary span, .giving-average-summary small, .group-summary-grid span {
  font-weight: 500;
}
.giving-summary-total { background: #153f2c; border: 0; border-top: 3px solid #f3c86f; border-radius: 6px; }
.giving-summary-total span { font-weight: 500; }
.giving-summary-total strong { font-family: var(--hub-heading); font-weight: 600; }
.seat-recommendation { background: #153f2c; border-radius: 6px; }
.giving-average-summary span { color: #236343; text-transform: none; }
.ai-insight-card, .local-insights-panel { box-shadow: none; border-radius: 6px; }
.ai-insight-card summary strong { font-family: var(--hub-heading); font-weight: 600; }
.ai-insight-card p, .voice-log-row span { font-size: 14px; font-weight: 400; line-height: 1.6; }
.voice-log-row strong { font-weight: 600; }
.login-panel { border-top: 4px solid #f3c86f; border-radius: 6px; box-shadow: 0 12px 32px #153f2c0a; }
.login-panel h1 { font-size: 26px; }
.floating-assistant {
  top: 17px;
  right: 118px;
  bottom: auto;
  width: 68px;
  height: 44px;
  min-height: 44px;
  padding: 7px;
  gap: 5px;
  background: #153f2c;
  border-radius: 6px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
}
.floating-assistant .assistant-cta-icon { width: 28px; height: 28px; }
.notice { border-radius: 6px; font-weight: 500; }
svg text { font-family: var(--hub-body); }
@media (max-width: 420px) {
  .hub-action-grid { grid-template-columns: minmax(0, 1fr); }
  .hub-action { grid-template-columns: 4px minmax(0, 1fr) auto; min-height: 82px; padding: 14px 16px; }
  .hub-action-arrow { display: block; }
  .hub-action-accent { min-height: 40px; }
  .sunday-heading h2 { font-size: 18px; }
  .sunday-date { max-width: 96px; }
  .sunday-date strong { text-align: right; }
}
@media (min-width: 700px) {
  .app-header { padding-inline: max(24px, calc((100% - 1120px) / 2)); }
  .page { padding-top: 32px; }
  h1 { font-size: 32px; }
  .dashboard-hero { padding: 36px; min-height: 220px; }
  .dashboard-hero h1 { font-size: 42px; }
  .dashboard-hero-side { min-width: 235px; }
  .dashboard-metric strong { font-size: 30px; }
  .project-detail-heading h1 { font-size: 32px; }
  .floating-assistant { right: calc(max(24px, (100vw - 1120px) / 2) + 104px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; transition: none; }
}

.consent-record { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; border-bottom: 1px solid #d6e1d8; }
.consent-record > div { min-width: 0; flex: 1 1 220px; }
.consent-record h2 { font-size: 19px; margin: 0 0 6px; overflow-wrap: anywhere; }
.consent-record p { margin: 0; overflow-wrap: anywhere; }
.consent-record .status-badge { max-width: 100%; white-space: normal; padding: 6px 10px; border-radius: 4px; font-size: 14px; }
.consent-thumbnail { display: block; width: 160px; max-width: 100%; height: 180px; object-fit: contain; border: 1px solid #d6e1d8; margin-bottom: 8px; }
.consent-files { padding-left: 0; list-style: none; }
.consent-files li { margin: 16px 0; overflow-wrap: anywhere; }
.consent-page { max-width: 780px; }
.consent-page .stack-form { margin: 24px 0; }
.consent-page label, .consent-page input, .consent-page select { min-width: 0; max-width: 100%; }
.consent-page summary { padding: 14px 0; cursor: pointer; font-weight: 600; }
.consent-scan-child { display: grid; gap: 14px; padding: 18px; border: 1px solid #d6e1d8; border-radius: 6px; min-width: 0; margin: 0; }
.consent-scan-child legend { font-weight: 600; padding: 0 6px; }
.consent-page .consent-confirm { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; line-height: 1.6; }
.consent-page .consent-confirm input { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 2px; }
.consent-original { display: block; width: 100%; max-height: 650px; object-fit: contain; border: 1px solid #d6e1d8; }
.consent-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.consent-filters a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #d6e1d8; border-radius: 6px; text-decoration: none; }
.consent-filters a[aria-current="page"] { background: #153f2c; color: #fff; border-color: #153f2c; }
.consent-filters a[href*="view=declined"][aria-current="page"] { background: #9f2821; border-color: #9f2821; }
.consent-filters span { font-weight: 700; }
.consent-search-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
