:root {
  --bg-1: #eef3f8;
  --bg-2: #f8fafc;
  --ink: #0f172a;
  --muted: #5b6473;
  --card: rgba(255, 255, 255, 0.84);
  --line: rgba(16, 24, 40, 0.08);
  --app-font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --theme-font-body: var(--app-font-family);
  --theme-font-display: var(--app-font-family);
  --theme-display-spacing: -0.03em;
  --theme-shell-border: rgba(24, 39, 70, 0.1);
  --theme-shell-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 253, 0.78));
  --theme-shell-shadow:
    0 24px 58px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  --theme-topbar-bg: rgba(255, 255, 255, 0.66);
  --theme-topbar-border: rgba(24, 39, 70, 0.08);
  --theme-topbar-chip-bg: rgba(255, 255, 255, 0.78);
  --theme-topbar-chip-ink: #45617f;
  --theme-panel-bg:
    linear-gradient(180deg, color-mix(in srgb, var(--card) 94%, white 6%), color-mix(in srgb, var(--card) 84%, white 16%));
  --theme-panel-border: color-mix(in srgb, var(--line) 92%, white 8%);
  --theme-panel-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  --theme-control-bg: rgba(255, 255, 255, 0.74);
  --theme-control-border: rgba(24, 39, 70, 0.12);
  --theme-control-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
  --theme-nav-bg: rgba(255, 255, 255, 0.74);
  --theme-nav-border: rgba(24, 39, 70, 0.1);
  --theme-nav-active-bg:
    linear-gradient(180deg, color-mix(in srgb, var(--home-tone) 15%, white 85%), color-mix(in srgb, var(--home-tone) 30%, white 70%));
  --theme-nav-active-ink: var(--ink);
  --theme-nav-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  --ring-size: 220px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --app-viewport-height: 100dvh;
  --app-keyboard-inset: 0px;
  --screen-top-blocker: max(var(--safe-top), 26px);
  --app-bottom-nav-reserve: calc(86px + var(--safe-bottom));
  --home-tone: #4b5563;
  --home-soft: #edf2f7;
  --prayer-tone: #f28c28;
  --prayer-soft: #fff2e5;
  --mission-tone: #1fa764;
  --mission-soft: #e8f8ef;
  --service-tone: #7c56e8;
  --service-soft: #f0ebff;
  --service-strong: #6842d4;
  --evangelism-tone: #2f80ed;
  --evangelism-soft: #e8f2ff;
}

body.theme-business {
  --bg-1: #ebf3f4;
  --bg-2: #dbe8eb;
  --ink: #122736;
  --muted: #587080;
  --card: rgba(255, 255, 255, 0.9);
  --line: rgba(18, 39, 54, 0.1);
  --theme-font-body: var(--app-font-family);
  --theme-font-display: var(--app-font-family);
  --theme-display-spacing: -0.015em;
  --theme-shell-border: rgba(16, 66, 83, 0.14);
  --theme-shell-bg:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(232, 243, 245, 0.82));
  --theme-shell-shadow:
    0 30px 62px rgba(11, 42, 55, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --theme-topbar-bg: rgba(245, 251, 251, 0.76);
  --theme-topbar-border: rgba(20, 73, 91, 0.12);
  --theme-topbar-chip-bg: rgba(15, 118, 110, 0.12);
  --theme-topbar-chip-ink: #0d5e63;
  --theme-panel-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 245, 247, 0.88));
  --theme-panel-border: rgba(17, 77, 87, 0.1);
  --theme-panel-shadow: 0 18px 38px rgba(17, 67, 81, 0.11);
  --theme-control-bg: rgba(255, 255, 255, 0.78);
  --theme-control-border: rgba(20, 73, 91, 0.12);
  --theme-nav-bg: rgba(255, 255, 255, 0.8);
  --theme-nav-active-bg:
    linear-gradient(180deg, rgba(15, 118, 110, 0.16), rgba(15, 118, 110, 0.24));
  --theme-nav-active-ink: #114253;
  --home-tone: #365e7a;
  --home-soft: #e8f0f6;
  --prayer-tone: #c67a28;
  --prayer-soft: #fff1df;
  --mission-tone: #16816f;
  --mission-soft: #e6f7f3;
  --service-tone: #4f6fd5;
  --service-soft: #ebf0ff;
  --service-strong: #3955b4;
  --evangelism-tone: #0d8db0;
  --evangelism-soft: #e5f8fc;
  --business-strong: #103041;
  --business-secondary: #2e5e7a;
  --business-paper: rgba(246, 250, 250, 0.96);
  --business-board-line: rgba(17, 77, 87, 0.08);
  --theme-control-shadow: 0 12px 24px rgba(10, 40, 52, 0.08);
  --theme-nav-border: rgba(16, 66, 83, 0.12);
  --theme-nav-shadow: 0 12px 24px rgba(10, 40, 52, 0.08);
  background:
    radial-gradient(circle at 12% 12%, rgba(15, 118, 110, 0.15) 0%, transparent 23%),
    radial-gradient(circle at 88% 10%, rgba(54, 94, 122, 0.14) 0%, transparent 22%),
    linear-gradient(180deg, #f3f8fa 0%, #dfe8ec 100%);
}

body.theme-elegant {
  --bg-1: #fbf4fb;
  --bg-2: #f3ebf7;
  --ink: #2c1833;
  --muted: #7e647d;
  --card: rgba(255, 250, 255, 0.9);
  --line: rgba(106, 72, 113, 0.12);
  --theme-font-body: var(--app-font-family);
  --theme-font-display: var(--app-font-family);
  --theme-display-spacing: -0.02em;
  --theme-shell-border: rgba(120, 79, 118, 0.14);
  --theme-shell-bg:
    linear-gradient(160deg, rgba(255, 251, 254, 0.92), rgba(246, 238, 247, 0.84));
  --theme-shell-shadow:
    0 28px 64px rgba(90, 53, 98, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  --theme-topbar-bg: rgba(255, 250, 253, 0.76);
  --theme-topbar-border: rgba(124, 63, 140, 0.14);
  --theme-topbar-chip-bg: rgba(124, 63, 140, 0.12);
  --theme-topbar-chip-ink: #7a4c74;
  --theme-panel-bg:
    linear-gradient(180deg, rgba(255, 252, 255, 0.94), rgba(248, 239, 249, 0.88));
  --theme-panel-border: rgba(126, 90, 122, 0.12);
  --theme-panel-shadow: 0 18px 38px rgba(120, 79, 118, 0.1);
  --theme-control-bg: rgba(255, 252, 255, 0.78);
  --theme-control-border: rgba(126, 90, 122, 0.12);
  --theme-nav-bg: rgba(255, 252, 255, 0.8);
  --theme-nav-active-bg:
    linear-gradient(180deg, rgba(124, 63, 140, 0.14), rgba(212, 165, 116, 0.24));
  --theme-nav-active-ink: #4d2748;
  --home-tone: #8c587c;
  --home-soft: #f8ebf5;
  --prayer-tone: #d3874d;
  --prayer-soft: #fff0e0;
  --mission-tone: #5b8a7c;
  --mission-soft: #eaf7f2;
  --service-tone: #8660c1;
  --service-soft: #f0ebfb;
  --service-strong: #7048b1;
  --evangelism-tone: #aa5d8f;
  --evangelism-soft: #faedf5;
  background:
    radial-gradient(circle at 18% 16%, rgba(124, 63, 140, 0.16) 0%, transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(212, 165, 116, 0.18) 0%, transparent 20%),
    linear-gradient(180deg, #fffafc 0%, #f2ebf7 100%);
}

body.theme-classic {
  --bg-1: #f4f5f8;
  --bg-2: #e7ebf3;
  --ink: #1c2c4e;
  --muted: #64738f;
  --card: rgba(255, 255, 255, 0.9);
  --line: rgba(41, 68, 112, 0.12);
  --theme-font-body: var(--app-font-family);
  --theme-font-display: var(--app-font-family);
  --theme-display-spacing: -0.025em;
  --theme-shell-border: rgba(53, 92, 155, 0.13);
  --theme-shell-bg:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(237, 241, 249, 0.84));
  --theme-shell-shadow:
    0 30px 62px rgba(30, 52, 92, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --theme-topbar-bg: rgba(248, 250, 255, 0.74);
  --theme-topbar-border: rgba(61, 91, 136, 0.12);
  --theme-topbar-chip-bg: rgba(53, 92, 155, 0.11);
  --theme-topbar-chip-ink: #48607f;
  --theme-panel-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 243, 250, 0.9));
  --theme-panel-border: rgba(73, 101, 148, 0.11);
  --theme-panel-shadow: 0 18px 38px rgba(43, 66, 110, 0.1);
  --theme-control-bg: rgba(250, 251, 255, 0.8);
  --theme-control-border: rgba(73, 101, 148, 0.12);
  --theme-nav-bg: rgba(250, 251, 255, 0.82);
  --theme-nav-active-bg:
    linear-gradient(180deg, rgba(53, 92, 155, 0.12), rgba(53, 92, 155, 0.24));
  --theme-nav-active-ink: #223857;
  --home-tone: #4f6789;
  --home-soft: #e9eef5;
  --prayer-tone: #be7a34;
  --prayer-soft: #fff0de;
  --mission-tone: #4a7f6f;
  --mission-soft: #e7f5ef;
  --service-tone: #576fbe;
  --service-soft: #e9eeff;
  --service-strong: #4157a0;
  --evangelism-tone: #517bb8;
  --evangelism-soft: #e8f0ff;
  background:
    radial-gradient(circle at 10% 10%, rgba(53, 92, 155, 0.16) 0%, transparent 24%),
    linear-gradient(180deg, #f7f8fb 0%, #e7edf5 100%);
}

body.theme-vintage {
  --bg-1: #f8efe4;
  --bg-2: #eadfcf;
  --ink: #433226;
  --muted: #7d6758;
  --card: rgba(255, 250, 242, 0.9);
  --line: rgba(98, 76, 56, 0.12);
  --theme-font-body: var(--app-font-family);
  --theme-font-display: var(--app-font-family);
  --theme-display-spacing: -0.015em;
  --theme-shell-border: rgba(121, 86, 56, 0.14);
  --theme-shell-bg:
    linear-gradient(160deg, rgba(255, 248, 239, 0.93), rgba(239, 227, 209, 0.88));
  --theme-shell-shadow:
    0 28px 56px rgba(88, 63, 42, 0.14),
    inset 0 1px 0 rgba(255, 248, 240, 0.72);
  --theme-topbar-bg: rgba(255, 248, 240, 0.72);
  --theme-topbar-border: rgba(138, 90, 59, 0.14);
  --theme-topbar-chip-bg: rgba(138, 90, 59, 0.12);
  --theme-topbar-chip-ink: #7b553c;
  --theme-panel-bg:
    linear-gradient(180deg, rgba(255, 251, 244, 0.94), rgba(244, 232, 216, 0.9));
  --theme-panel-border: rgba(134, 101, 69, 0.12);
  --theme-panel-shadow: 0 18px 38px rgba(99, 73, 48, 0.1);
  --theme-control-bg: rgba(255, 249, 242, 0.8);
  --theme-control-border: rgba(134, 101, 69, 0.13);
  --theme-nav-bg: rgba(255, 249, 242, 0.82);
  --theme-nav-active-bg:
    linear-gradient(180deg, rgba(138, 90, 59, 0.13), rgba(185, 125, 51, 0.24));
  --theme-nav-active-ink: #5c3d28;
  --home-tone: #8a5a3b;
  --home-soft: #f5e7da;
  --prayer-tone: #b97d33;
  --prayer-soft: #fff0dd;
  --mission-tone: #6f7a43;
  --mission-soft: #eef2df;
  --service-tone: #7a658f;
  --service-soft: #efe8f6;
  --service-strong: #67517c;
  --evangelism-tone: #9a6c4b;
  --evangelism-soft: #f8eadd;
  background:
    radial-gradient(circle at 14% 14%, rgba(138, 90, 59, 0.16) 0%, transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(111, 122, 67, 0.14) 0%, transparent 20%),
    linear-gradient(180deg, #fbf3ea 0%, #eadfcf 100%);
}

body.theme-simple {
  --bg-1: #f6f8fa;
  --bg-2: #edf1f4;
  --ink: #1f2937;
  --muted: #6b7280;
  --card: rgba(255, 255, 255, 0.96);
  --line: rgba(31, 41, 55, 0.08);
  --theme-font-body: var(--app-font-family);
  --theme-font-display: var(--app-font-family);
  --theme-display-spacing: -0.04em;
  --theme-shell-border: rgba(71, 85, 105, 0.1);
  --theme-shell-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 246, 248, 0.88));
  --theme-shell-shadow:
    0 22px 48px rgba(24, 33, 45, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --theme-topbar-bg: rgba(255, 255, 255, 0.76);
  --theme-topbar-border: rgba(71, 85, 105, 0.08);
  --theme-topbar-chip-bg: rgba(71, 85, 105, 0.08);
  --theme-topbar-chip-ink: #586372;
  --theme-panel-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 249, 0.92));
  --theme-panel-border: rgba(100, 116, 139, 0.1);
  --theme-panel-shadow: 0 14px 28px rgba(24, 33, 45, 0.06);
  --theme-control-bg: rgba(255, 255, 255, 0.82);
  --theme-control-border: rgba(100, 116, 139, 0.1);
  --theme-nav-bg: rgba(255, 255, 255, 0.84);
  --theme-nav-active-bg:
    linear-gradient(180deg, rgba(71, 85, 105, 0.1), rgba(71, 85, 105, 0.18));
  --theme-nav-active-ink: #263242;
  --home-tone: #475569;
  --home-soft: #eef2f7;
  --prayer-tone: #64748b;
  --prayer-soft: #eff3f7;
  --mission-tone: #556b74;
  --mission-soft: #edf4f5;
  --service-tone: #6b7280;
  --service-soft: #eff2f5;
  --service-strong: #4b5563;
  --evangelism-tone: #7c8594;
  --evangelism-soft: #eef2f7;
  background: linear-gradient(180deg, #f8fafb 0%, #eef2f5 100%);
}

body.theme-light {
  --theme-font-body: var(--app-font-family);
  --theme-font-display: var(--app-font-family);
  --theme-display-spacing: -0.04em;
  --theme-shell-border: rgba(79, 126, 208, 0.1);
  --theme-shell-bg:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(243, 247, 255, 0.84));
  --theme-shell-shadow:
    0 24px 54px rgba(52, 86, 148, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --theme-topbar-bg: rgba(251, 253, 255, 0.74);
  --theme-topbar-border: rgba(79, 126, 208, 0.1);
  --theme-topbar-chip-bg: rgba(79, 126, 208, 0.1);
  --theme-topbar-chip-ink: #4c6e99;
  --theme-panel-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 255, 0.9));
  --theme-panel-border: rgba(79, 126, 208, 0.09);
  --theme-panel-shadow: 0 16px 34px rgba(52, 86, 148, 0.08);
  --theme-control-bg: rgba(255, 255, 255, 0.8);
  --theme-control-border: rgba(79, 126, 208, 0.1);
  --theme-nav-bg: rgba(255, 255, 255, 0.84);
  --theme-nav-active-bg:
    linear-gradient(180deg, rgba(79, 126, 208, 0.12), rgba(79, 126, 208, 0.22));
  --theme-nav-active-ink: #274872;
  background: linear-gradient(170deg, #eef3f8, #f8fafc);
}

body.theme-dark {
  --bg-1: #0d1525;
  --bg-2: #121f34;
  --ink: #e6edf9;
  --muted: #adbbd4;
  --card: rgba(20, 31, 52, 0.88);
  --line: rgba(150, 167, 194, 0.22);
  --theme-font-body: var(--app-font-family);
  --theme-font-display: var(--app-font-family);
  --theme-display-spacing: -0.04em;
  --theme-shell-border: rgba(133, 151, 183, 0.24);
  --theme-shell-bg:
    linear-gradient(160deg, rgba(15, 24, 40, 0.92), rgba(15, 24, 40, 0.8));
  --theme-shell-shadow:
    0 22px 48px rgba(2, 7, 15, 0.56),
    inset 0 1px 0 rgba(171, 190, 219, 0.12);
  --theme-topbar-bg: rgba(16, 27, 45, 0.74);
  --theme-topbar-border: rgba(133, 151, 183, 0.18);
  --theme-topbar-chip-bg: rgba(76, 120, 190, 0.18);
  --theme-topbar-chip-ink: #bfd5f8;
  --theme-panel-bg:
    linear-gradient(180deg, rgba(19, 31, 52, 0.94), rgba(16, 27, 45, 0.9));
  --theme-panel-border: rgba(133, 151, 183, 0.2);
  --theme-panel-shadow: 0 18px 40px rgba(2, 7, 15, 0.38);
  --theme-control-bg: rgba(24, 40, 67, 0.9);
  --theme-control-border: rgba(132, 151, 184, 0.28);
  --theme-nav-bg: rgba(17, 29, 49, 0.9);
  --theme-nav-active-bg:
    linear-gradient(180deg, rgba(47, 128, 237, 0.22), rgba(47, 128, 237, 0.32));
  --theme-nav-active-ink: #eff6ff;
  background:
    radial-gradient(circle at 10% 8%, rgba(237, 141, 55, 0.2) 0%, transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(57, 201, 127, 0.2) 0%, transparent 26%),
    radial-gradient(circle at 88% 85%, rgba(75, 143, 236, 0.22) 0%, transparent 24%),
    linear-gradient(165deg, #0a111e 0%, #131e33 62%);
}

body.theme-kids {
  --bg-1: #fff4ca;
  --bg-2: #dff8ff;
  --ink: #24375a;
  --muted: #687c98;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(56, 79, 116, 0.14);
  --theme-font-body: var(--app-font-family);
  --theme-font-display: var(--app-font-family);
  --theme-display-spacing: -0.03em;
  --theme-shell-border: rgba(255, 255, 255, 0.84);
  --theme-shell-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 226, 0.8));
  --theme-shell-shadow:
    0 24px 58px rgba(52, 82, 116, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  --theme-topbar-bg: rgba(255, 255, 255, 0.72);
  --theme-topbar-border: rgba(255, 255, 255, 0.76);
  --theme-topbar-chip-bg: rgba(255, 214, 106, 0.34);
  --theme-topbar-chip-ink: #7a5a20;
  --theme-panel-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 231, 0.82));
  --theme-panel-border: rgba(255, 255, 255, 0.84);
  --theme-panel-shadow: 0 16px 32px rgba(58, 87, 119, 0.12);
  --theme-control-bg: rgba(255, 255, 255, 0.82);
  --theme-control-border: rgba(255, 255, 255, 0.84);
  --theme-nav-bg: rgba(255, 255, 255, 0.84);
  --theme-nav-active-bg:
    linear-gradient(180deg, rgba(255, 154, 114, 0.3), rgba(255, 214, 106, 0.34));
  --theme-nav-active-ink: #954d30;
  --home-tone: #f1785d;
  --home-soft: #ffe7df;
  --prayer-tone: #f59a23;
  --prayer-soft: #fff0cd;
  --mission-tone: #40bc92;
  --mission-soft: #e4faf1;
  --service-tone: #9f84ff;
  --service-soft: #f0ebff;
  --service-strong: #8568ff;
  --evangelism-tone: #5caef4;
  --evangelism-soft: #e7f4ff;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 9%, rgba(255, 216, 106, 0.98) 0%, rgba(255, 216, 106, 0.42) 8%, transparent 19%),
    radial-gradient(circle at 86% 14%, rgba(109, 186, 246, 0.24) 0%, rgba(109, 186, 246, 0.16) 13%, transparent 24%),
    linear-gradient(180deg, #dff8ff 0%, #fff5d8 58%, #f3ffef 100%);
}

body.theme-kids::before,
body.theme-kids::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    74px -16px 0 8px rgba(255, 255, 255, 0.7),
    128px 6px 0 3px rgba(255, 255, 255, 0.62);
  opacity: 0.72;
  pointer-events: none;
  z-index: 0;
}

body.theme-kids::before {
  top: 34px;
  left: 26px;
  width: 156px;
  height: 42px;
}

body.theme-kids::after {
  top: 86px;
  right: 42px;
  width: 178px;
  height: 48px;
}

body.theme-youth {
  --bg-1: #ecfbff;
  --bg-2: #eaf2ff;
  --ink: #163457;
  --muted: #56708f;
  --card: rgba(255, 255, 255, 0.9);
  --line: rgba(22, 52, 87, 0.1);
  --theme-font-body: var(--app-font-family);
  --theme-font-display: var(--app-font-family);
  --theme-display-spacing: -0.04em;
  --theme-shell-border: rgba(14, 165, 233, 0.14);
  --theme-shell-bg:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(237, 246, 255, 0.84));
  --theme-shell-shadow:
    0 26px 56px rgba(14, 89, 147, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --theme-topbar-bg: rgba(244, 252, 255, 0.74);
  --theme-topbar-border: rgba(14, 165, 233, 0.14);
  --theme-topbar-chip-bg: rgba(14, 165, 233, 0.12);
  --theme-topbar-chip-ink: #1173a7;
  --theme-panel-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 255, 0.88));
  --theme-panel-border: rgba(14, 165, 233, 0.1);
  --theme-panel-shadow: 0 18px 38px rgba(14, 89, 147, 0.1);
  --theme-control-bg: rgba(255, 255, 255, 0.8);
  --theme-control-border: rgba(14, 165, 233, 0.12);
  --theme-nav-bg: rgba(255, 255, 255, 0.82);
  --theme-nav-active-bg:
    linear-gradient(180deg, rgba(14, 165, 233, 0.14), rgba(124, 92, 255, 0.2));
  --theme-nav-active-ink: #174a70;
  --home-tone: #0ea5e9;
  --home-soft: #e7f8ff;
  --prayer-tone: #fb7185;
  --prayer-soft: #ffe8ec;
  --mission-tone: #10b981;
  --mission-soft: #e8fbf3;
  --service-tone: #7c5cff;
  --service-soft: #efebff;
  --service-strong: #684de8;
  --evangelism-tone: #06b6d4;
  --evangelism-soft: #e6fbff;
  background:
    radial-gradient(circle at 10% 8%, rgba(14, 165, 233, 0.18) 0%, transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(251, 113, 133, 0.18) 0%, transparent 22%),
    linear-gradient(180deg, #effcff 0%, #eaf1ff 100%);
}

body.theme-teen {
  --bg-1: #121325;
  --bg-2: #1c1f39;
  --ink: #f2f2ff;
  --muted: #b4b2d9;
  --card: rgba(29, 31, 57, 0.88);
  --line: rgba(176, 170, 222, 0.18);
  --theme-font-body: var(--app-font-family);
  --theme-font-display: var(--app-font-family);
  --theme-display-spacing: -0.03em;
  --theme-shell-border: rgba(176, 170, 222, 0.18);
  --theme-shell-bg:
    linear-gradient(160deg, rgba(27, 29, 53, 0.92), rgba(18, 20, 38, 0.88));
  --theme-shell-shadow:
    0 24px 52px rgba(8, 8, 18, 0.48),
    inset 0 1px 0 rgba(209, 201, 255, 0.08);
  --theme-topbar-bg: rgba(33, 35, 62, 0.76);
  --theme-topbar-border: rgba(176, 170, 222, 0.16);
  --theme-topbar-chip-bg: rgba(236, 72, 153, 0.18);
  --theme-topbar-chip-ink: #ffd2ea;
  --theme-panel-bg:
    linear-gradient(180deg, rgba(33, 35, 62, 0.94), rgba(24, 26, 47, 0.9));
  --theme-panel-border: rgba(176, 170, 222, 0.16);
  --theme-panel-shadow: 0 20px 44px rgba(10, 10, 23, 0.34);
  --theme-control-bg: rgba(33, 35, 62, 0.86);
  --theme-control-border: rgba(176, 170, 222, 0.18);
  --theme-nav-bg: rgba(27, 29, 53, 0.88);
  --theme-nav-active-bg:
    linear-gradient(180deg, rgba(139, 92, 246, 0.28), rgba(236, 72, 153, 0.24));
  --theme-nav-active-ink: #fff1fb;
  --home-tone: #a78bfa;
  --home-soft: rgba(167, 139, 250, 0.16);
  --prayer-tone: #f472b6;
  --prayer-soft: rgba(244, 114, 182, 0.16);
  --mission-tone: #34d399;
  --mission-soft: rgba(52, 211, 153, 0.14);
  --service-tone: #8b5cf6;
  --service-soft: rgba(139, 92, 246, 0.18);
  --service-strong: #7c3aed;
  --evangelism-tone: #60a5fa;
  --evangelism-soft: rgba(96, 165, 250, 0.16);
  background:
    radial-gradient(circle at 10% 10%, rgba(236, 72, 153, 0.16) 0%, transparent 24%),
    radial-gradient(circle at 86% 14%, rgba(96, 165, 250, 0.16) 0%, transparent 22%),
    linear-gradient(180deg, #131428 0%, #1d203b 100%);
}

body[data-theme] {
  --theme-font-body: var(--app-font-family);
  --theme-font-display: var(--app-font-family);
  color: var(--ink);
  font-family: var(--theme-font-body);
}

body[data-theme] .topbar h1,
body[data-theme] .page-title,
body[data-theme] h3,
body[data-theme] h4,
body[data-theme] .settings-topbar h1,
body[data-theme] .settings-card h2,
body[data-theme] .admin-topbar h1 {
  font-family: var(--theme-font-display);
  letter-spacing: var(--theme-display-spacing);
}

body[data-theme] .app-shell {
  border-color: var(--theme-shell-border);
  background: var(--theme-shell-bg);
  box-shadow: var(--theme-shell-shadow);
  backdrop-filter: blur(18px) saturate(1.08);
}

body[data-theme] .topbar,
body[data-theme] .settings-topbar,
body[data-theme] .admin-topbar {
  border-color: var(--theme-topbar-border);
  background: var(--theme-topbar-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px) saturate(1.05);
}

body[data-theme] .topbar .eyebrow {
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--theme-topbar-chip-bg);
  color: var(--theme-topbar-chip-ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-theme] .font-scale-controls,
body[data-theme] .settings-btn,
body[data-theme] .topbar-link,
body[data-theme] .settings-menu {
  border-color: var(--theme-control-border);
  background: var(--theme-control-bg);
  box-shadow: var(--theme-control-shadow);
}

body[data-theme] .font-scale-menu-toggle {
  border-color: var(--theme-control-border);
  background: var(--theme-control-bg);
  box-shadow: var(--theme-control-shadow);
}

body[data-theme] .feature-card,
body[data-theme] .progress-card,
body[data-theme] .metrics-card,
body[data-theme] .our-life-card,
body[data-theme] .worship-program-card,
body[data-theme] .home-calendar-card,
body[data-theme] .home-calendar-month,
body[data-theme] .mission-calendar-card,
body[data-theme] .mission-sermons-card,
body[data-theme] .mission-inventory-card,
body[data-theme] .service-overview-card,
body[data-theme] .service-list-card,
body[data-theme] .evangelism-overview-card,
body[data-theme] .ev-list-card,
body[data-theme] .mini-metric,
body[data-theme] .service-ring-box,
body[data-theme] .evangelism-ring-box,
body[data-theme] .mission-calendar-progress,
body[data-theme] .mission-shift-item,
body[data-theme] .mission-book-item,
body[data-theme] .service-event-item,
body[data-theme] .ev-event-item,
body[data-theme] .stats-item,
body[data-theme] .stats-dialog,
body[data-theme] .form-dialog,
body[data-theme] .settings-card,
body[data-theme] .admin-status-card,
body[data-theme] .admin-panel,
body[data-theme] .admin-user-row,
body[data-theme] .admin-fold,
body[data-theme] .module-control-item,
body[data-theme] .automation-task-card {
  border-color: var(--theme-panel-border);
  background: var(--theme-panel-bg);
  box-shadow: var(--theme-panel-shadow);
}

body[data-theme] .nav-item {
  border-color: var(--theme-nav-border);
  background: var(--theme-nav-bg);
  box-shadow: var(--theme-nav-shadow);
}

body[data-theme] .nav-item.is-active {
  border-color: color-mix(in srgb, var(--theme-nav-active-ink) 18%, transparent 82%);
  background: var(--theme-nav-active-bg);
  color: var(--theme-nav-active-ink);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--home-tone) 18%, transparent 82%);
}

/* Theme extraction: styles.css */
body.theme-dark .auth-gate {
  background: rgba(3, 8, 16, 0.68);
}

body.theme-dark .auth-card {
  border-color: rgba(140, 157, 183, 0.3);
  background: linear-gradient(165deg, rgba(16, 26, 45, 0.95), rgba(21, 34, 57, 0.92));
  box-shadow: 0 22px 48px rgba(1, 5, 12, 0.6);
}

body.theme-dark .auth-card h2,
body.theme-dark .auth-help,
body.theme-dark .auth-form label,
body.theme-dark .auth-message {
  color: #c9d7ee;
}

body.theme-dark .auth-language-first {
  border-color: rgba(131, 149, 180, 0.28);
  background: rgba(20, 33, 56, 0.9);
}

body.theme-dark .auth-language-first label {
  color: #c9d7ee;
}

body.theme-dark .auth-language-first select {
  border-color: rgba(131, 149, 180, 0.34);
  background: rgba(18, 31, 53, 0.96);
  color: #e8eef9;
}

body.theme-dark .auth-form input {
  border-color: rgba(131, 149, 180, 0.34);
  background: rgba(18, 31, 53, 0.96);
  color: #e8eef9;
}

body.theme-dark .auth-form select {
  border-color: rgba(131, 149, 180, 0.34);
  background: rgba(18, 31, 53, 0.96);
  color: #e8eef9;
}

body.theme-dark .auth-form textarea {
  border-color: rgba(131, 149, 180, 0.34);
  background: rgba(18, 31, 53, 0.96);
  color: #e8eef9;
}

body.theme-dark .auth-age-block {
  border-color: rgba(131, 149, 180, 0.28);
  background: rgba(20, 33, 56, 0.9);
}

body.theme-dark .auth-age-head,
body.theme-dark .auth-age-hint {
  color: #c1d4f1;
}

body.theme-dark .auth-age-head strong {
  color: #f3f7ff;
}

body.theme-dark .auth-age-block input[type="range"] {
  accent-color: #62a7ff;
}

body.theme-dark .auth-tab {
  border-color: rgba(131, 149, 180, 0.32);
  background: rgba(22, 36, 61, 0.92);
  color: #bdd0ee;
}

body.theme-dark .auth-tab.is-active {
  border-color: rgba(98, 167, 255, 0.56);
  background: rgba(47, 128, 237, 0.3);
  color: #f0f6ff;
}

body.theme-dark .auth-avatar-block {
  border-color: rgba(131, 149, 180, 0.28);
  background: rgba(20, 33, 56, 0.9);
}

body.theme-dark .auth-avatar-label,
body.theme-dark .auth-avatar-group-title,
body.theme-dark .auth-avatar-hint {
  color: #c1d4f1;
}

body.theme-dark .auth-avatar-auto-btn,
body.theme-dark .auth-avatar-option {
  border-color: rgba(131, 149, 180, 0.32);
  background: rgba(18, 31, 53, 0.96);
  color: #c3d8f7;
}

body.theme-dark .auth-avatar-auto-btn.is-selected,
body.theme-dark .auth-avatar-option.is-selected {
  border-color: rgba(98, 167, 255, 0.56);
  box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.24);
}

body.theme-kids .auth-gate {
  background: rgba(110, 147, 185, 0.22);
}

body.theme-kids .auth-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 216, 106, 0.42) 0%, transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 231, 0.9));
  box-shadow: 0 24px 56px rgba(51, 81, 118, 0.2);
  padding-top: 136px;
}

body.theme-kids .auth-card > * {
  position: relative;
  z-index: 1;
}

body.theme-kids .auth-card::before {
  content: "Kids mode";
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #456382;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-kids .auth-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  width: min(78%, 224px);
  height: 108px;
  transform: translateX(-50%);
  background: url("kids-auth-hero.svg") no-repeat center / contain;
  pointer-events: none;
}

body.theme-kids .auth-card h2 {
  color: #273a5d;
  font-size: 1.56rem;
}

body.theme-kids .auth-help,
body.theme-kids .auth-form label,
body.theme-kids .auth-message {
  color: #5c7191;
}

body.theme-kids .auth-language-first,
body.theme-kids .auth-age-block,
body.theme-kids .auth-avatar-block {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.66);
}

body.theme-kids .auth-language-first label,
body.theme-kids .auth-age-head,
body.theme-kids .auth-age-hint,
body.theme-kids .auth-avatar-label,
body.theme-kids .auth-avatar-group-title,
body.theme-kids .auth-avatar-hint {
  color: #4c6586;
}

body.theme-kids .auth-age-head strong {
  color: #2a4064;
}

body.theme-kids .auth-language-first select,
body.theme-kids .auth-form input,
body.theme-kids .auth-form select {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.9);
  color: #2a4064;
}

body.theme-kids .auth-form textarea {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.9);
  color: #2a4064;
}

body.theme-kids .auth-tab {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.72);
  color: #517094;
  font-weight: 680;
}

body.theme-kids .auth-tab.is-active {
  border-color: rgba(255, 164, 99, 0.42);
  background: linear-gradient(160deg, rgba(255, 155, 118, 0.34), rgba(255, 214, 106, 0.36));
  color: #ad5c38;
}

body.theme-kids .auth-avatar-auto-btn,
body.theme-kids .auth-avatar-option {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.88);
  color: #486789;
}

body.theme-kids .auth-avatar-auto-btn.is-selected,
body.theme-kids .auth-avatar-option.is-selected {
  border-color: rgba(255, 164, 99, 0.44);
  box-shadow: 0 0 0 3px rgba(255, 164, 99, 0.18);
}

body.theme-dark .app-shell {
  border-color: rgba(133, 151, 183, 0.24);
  background: linear-gradient(160deg, rgba(15, 24, 40, 0.9), rgba(15, 24, 40, 0.78));
  box-shadow:
    0 20px 44px rgba(2, 7, 15, 0.55),
    inset 0 1px 0 rgba(171, 190, 219, 0.12);
}

body.theme-dark .app-shell::before {
  background: radial-gradient(circle, rgba(93, 121, 167, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
}

body.theme-dark.home-sabbath-module-active:not(.native-app):not(.compact-layout) .app-shell,
body.theme-dark.home-topic-request-active:not(.native-app):not(.compact-layout) .app-shell {
  border-color: rgba(133, 151, 183, 0.24);
  box-shadow:
    0 20px 44px rgba(2, 7, 15, 0.55),
    inset 0 1px 0 rgba(171, 190, 219, 0.12);
}

body.theme-kids.home-sabbath-module-active:not(.native-app):not(.compact-layout) .app-shell,
body.theme-kids.home-topic-request-active:not(.native-app):not(.compact-layout) .app-shell {
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 24px 58px rgba(52, 82, 116, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body.theme-dark.native-app .app-shell,
body.theme-dark.compact-layout .app-shell {
  background: linear-gradient(160deg, rgba(15, 24, 40, 0.94), rgba(15, 24, 40, 0.9));
}

body.theme-kids .app-shell {
  border-color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.56) 0%, transparent 18%),
    radial-gradient(circle at 90% 13%, rgba(255, 216, 106, 0.22) 0%, transparent 14%),
    linear-gradient(180deg, rgba(223, 248, 255, 0.9), rgba(255, 246, 217, 0.76) 58%, rgba(244, 255, 241, 0.9));
  box-shadow:
    0 24px 58px rgba(52, 82, 116, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body.theme-kids.native-app .app-shell,
body.theme-kids.compact-layout .app-shell {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.56) 0%, transparent 18%),
    linear-gradient(180deg, rgba(223, 248, 255, 0.94), rgba(255, 246, 217, 0.86) 58%, rgba(244, 255, 241, 0.96));
}

body.theme-business .app-shell {
  border-color: rgba(16, 66, 83, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(252, 254, 254, 0.98), rgba(238, 245, 246, 0.95)),
    linear-gradient(90deg, var(--business-board-line) 1px, transparent 1px),
    linear-gradient(0deg, var(--business-board-line) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  box-shadow:
    0 26px 58px rgba(9, 35, 46, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body.theme-business .app-shell::before {
  inset: auto -8% 44% 42%;
  height: 240px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.14) 0%, rgba(15, 118, 110, 0) 70%);
}

body.theme-business .topbar {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
  border-radius: 24px;
  padding: 14px 16px 16px;
}

body.theme-business .topbar::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.46), rgba(46, 94, 122, 0.14));
}

body.theme-business .topbar .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0d5e63;
  font-size: 0.69rem;
  font-weight: 760;
  letter-spacing: 0.18em;
}

body.theme-business .topbar .eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(180deg, #0f766e, #1a8c83);
  box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.12);
}

body.theme-business .topbar h1 {
  max-width: 6ch;
  font-size: 2.26rem;
  line-height: 0.94;
  color: var(--business-strong);
}

body.theme-business .topbar-session {
  align-items: flex-start;
  gap: 8px;
}

body.theme-business .font-scale-controls,
body.theme-business .settings-btn,
body.theme-business .topbar-link,
body.theme-business .settings-menu {
  border-color: rgba(16, 66, 83, 0.16);
  background: rgba(247, 251, 251, 0.86);
  box-shadow: 0 12px 24px rgba(10, 40, 52, 0.08);
}

body.theme-business .font-scale-controls {
  padding: 4px;
  border-radius: 18px;
}

body.theme-business .font-scale-btn,
body.theme-business .settings-btn,
body.theme-business .settings-menu-link {
  border-radius: 12px;
}

body.theme-business .settings-btn {
  min-width: 40px;
  min-height: 40px;
}

body.theme-business .font-scale-value,
body.theme-business .settings-menu-title {
  color: var(--business-strong);
}

body.theme-business .settings-menu-link {
  border-color: rgba(16, 66, 83, 0.12);
  background: rgba(252, 254, 254, 0.94);
  color: #184050;
}

body.theme-business .bottom-nav {
  border-color: rgba(16, 66, 83, 0.14);
  background: rgba(246, 250, 250, 0.92);
  backdrop-filter: blur(16px) saturate(1.12);
  box-shadow: 0 -10px 28px rgba(10, 40, 52, 0.08);
}

body.theme-business .nav-item {
  border-radius: 14px;
  padding: 6px 5px;
  color: #506a78;
  opacity: 0.8;
}

body.theme-business .nav-item.is-active {
  opacity: 1;
  color: var(--business-strong);
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.16), rgba(46, 94, 122, 0.12));
}

body.theme-business .primary-btn,
body.theme-business .metric-btn,
body.theme-business .mission-action-btn:not(.ghost) {
  border-color: rgba(16, 66, 83, 0.2);
  background: linear-gradient(145deg, #103041, #0f766e);
  color: #f4fbfb;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
}

body.theme-business .ghost-btn,
body.theme-business .mission-action-btn.ghost {
  border-color: rgba(16, 66, 83, 0.14);
  background: rgba(250, 252, 252, 0.84);
  color: #184050;
}

body.theme-business input,
body.theme-business textarea,
body.theme-business select {
  border-color: rgba(16, 66, 83, 0.18);
  background: rgba(252, 254, 254, 0.96);
  color: #15303f;
}

body.theme-dark .settings-btn,
body.theme-dark .topbar-link {
  border-color: rgba(133, 151, 183, 0.36);
  background: rgba(23, 36, 61, 0.9);
  color: #c4d6f3;
}

body.theme-dark .font-scale-controls {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(23, 36, 61, 0.86);
}

body.theme-dark .font-scale-btn {
  border-color: rgba(133, 151, 183, 0.32);
  background: rgba(27, 44, 74, 0.9);
  color: #cde0ff;
}

body.theme-dark .font-scale-value {
  color: #d4e2f8;
}

body.theme-dark .settings-menu {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(15, 26, 44, 0.96);
  box-shadow: 0 14px 28px rgba(1, 4, 12, 0.56);
}

body.theme-dark .settings-menu-title {
  color: #c5d5ed;
}

body.theme-dark .settings-menu-link {
  border-color: rgba(133, 151, 183, 0.28);
  background: rgba(26, 42, 71, 0.84);
  color: #cde0ff;
}

body.theme-dark .settings-menu-link.is-danger {
  border-color: rgba(214, 116, 116, 0.34);
  background: rgba(83, 35, 41, 0.86);
  color: #ffd3d3;
}

body.theme-kids .topbar .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5a7090;
  font-weight: 760;
  letter-spacing: 0.18em;
}

body.theme-kids .topbar .eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9a72, #ff7b63);
  box-shadow: 0 0 0 5px rgba(255, 154, 114, 0.18);
}

body.theme-kids .topbar h1 {
  font-size: 2.25rem;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #24375a;
}

body.theme-kids .font-scale-controls,
body.theme-kids .settings-btn,
body.theme-kids .topbar-link,
body.theme-kids .settings-menu {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(61, 91, 126, 0.1);
}

body.theme-kids .font-scale-btn {
  border-color: rgba(255, 210, 116, 0.42);
  background: linear-gradient(180deg, rgba(255, 250, 230, 0.98), rgba(255, 236, 184, 0.94));
  color: #875f14;
  border-radius: 12px;
  font-weight: 760;
}

body.theme-kids .font-scale-value {
  color: #4f6888;
  font-weight: 760;
}

body.theme-kids .settings-btn {
  color: #e27f5f;
  border-radius: 14px;
}

body.theme-kids .settings-menu-title {
  background: rgba(255, 236, 184, 0.68);
  color: #6d5720;
}

body.theme-kids .settings-menu-link {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.76);
  color: #476587;
}

body.theme-kids .settings-menu-link.is-danger {
  border-color: rgba(255, 181, 181, 0.42);
  background: rgba(255, 241, 241, 0.9);
  color: #aa4848;
}


body.theme-dark section[data-page="home"] > [data-home-layout-item-id]:focus-visible {
  outline-color: rgba(122, 176, 233, 0.44);
}

body.theme-dark .home-layout-placeholder {
  border-color: rgba(129, 163, 207, 0.34);
  background: linear-gradient(135deg, rgba(16, 33, 56, 0.82), rgba(21, 42, 70, 0.74));
}

body.theme-kids section[data-page="home"] > [data-home-layout-item-id]:focus-visible {
  outline-color: rgba(255, 164, 99, 0.42);
}

}

body.theme-dark .mission-network-canvas,
body.theme-dark .mission-network-canvas-group,
body.theme-dark .mission-network-canvas-member {
  background: rgba(28, 44, 73, 0.9);
  border-color: rgba(129, 151, 189, 0.34);
}

body.theme-dark .mission-network-readiness-card,
body.theme-dark .mission-network-program-item {
  background: rgba(28, 44, 73, 0.9);
  border-color: rgba(129, 151, 189, 0.34);
}

body.theme-dark .mission-network-canvas-church {
  background: rgba(40, 61, 98, 0.92);
  border-color: rgba(136, 166, 208, 0.34);
  color: #dce9ff;
}

body.theme-dark .mission-network-canvas-group-title,
body.theme-dark .mission-network-canvas-member-name {
  color: #e4eeff;
}

body.theme-dark .mission-network-canvas-group-meta,
body.theme-dark .mission-network-canvas-member-meta {
  color: #aebfdd;
}

body.theme-dark .mission-network-readiness-title {
  color: #e4eeff;
}

body.theme-dark .mission-network-readiness-status,
body.theme-dark .mission-network-readiness-next,
body.theme-dark .mission-network-readiness-meta,
body.theme-dark .mission-network-readiness-item.is-pending {
  color: #aebfdd;
}

body.theme-dark .mission-network-readiness-item.is-done {
  color: #7ed3a8;
}

body.theme-dark .mission-network-canvas-member-role {
  border-color: rgba(136, 166, 208, 0.32);
  background: rgba(34, 56, 89, 0.94);
  color: #cfe1ff;
}

body.theme-dark .feature-card,
body.theme-dark .progress-card,
body.theme-dark .metrics-card,
body.theme-dark .our-life-card,
body.theme-dark .worship-program-card,
body.theme-dark .home-calendar-card,
body.theme-dark .home-calendar-month,
body.theme-dark .mission-calendar-card,
body.theme-dark .mission-sermons-card,
body.theme-dark .mission-inventory-card,
body.theme-dark .service-overview-card,
body.theme-dark .service-list-card,
body.theme-dark .evangelism-overview-card,
body.theme-dark .ev-list-card,
body.theme-dark .mini-metric,
body.theme-dark .service-ring-box,
body.theme-dark .evangelism-ring-box,
body.theme-dark .mission-calendar-progress,
body.theme-dark .mission-shift-item,
body.theme-dark .mission-book-item,
body.theme-dark .service-event-item,
body.theme-dark .ev-event-item,
body.theme-dark .stats-item,
body.theme-dark .stats-dialog,
body.theme-dark .form-dialog {
  background: rgba(21, 34, 58, 0.92);
  border-color: rgba(133, 151, 183, 0.24);
  color: #deebff;
}

body.theme-dark .home-talk-library-card {
  border-color: rgba(183, 151, 87, 0.22);
  background:
    radial-gradient(circle at top right, rgba(164, 133, 72, 0.22), transparent 36%),
    linear-gradient(160deg, rgba(27, 39, 61, 0.98), rgba(19, 32, 52, 0.96));
}

body.theme-dark .home-talk-library-eyebrow {
  color: #e6c983;
}

body.theme-dark .home-talk-library-title,
body.theme-dark .home-talk-library-category-title,
body.theme-dark .sermon-library-topic-title,
body.theme-dark .sermon-library-detail-title,
body.theme-dark .sermon-library-detail-thought,
body.theme-dark .sermon-library-detail-verse-ref,
body.theme-dark .sermon-library-point-title {
  color: #eef4ff;
}

body.theme-dark .home-talk-library-help,
body.theme-dark .home-talk-library-category-help,
body.theme-dark .sermon-library-dialog-meta,
body.theme-dark .sermon-library-topic-hook,
body.theme-dark .sermon-library-detail-hook,
body.theme-dark .sermon-library-detail-verse-text,
body.theme-dark .sermon-library-detail-copy,
body.theme-dark .sermon-library-point-body,
body.theme-dark .sermon-library-empty {
  color: #b9c8df;
}

body.theme-dark .home-talk-library-category-btn,
body.theme-dark .sermon-library-topic-btn,
body.theme-dark .sermon-library-detail-panel,
body.theme-dark .sermon-library-point-card,
body.theme-dark .sermon-library-back-btn.ghost-btn {
  border-color: rgba(133, 151, 183, 0.22);
  background: rgba(19, 32, 52, 0.86);
  box-shadow: none;
}

body.theme-dark .sermon-library-dialog {
  background:
    radial-gradient(circle at top right, rgba(164, 133, 72, 0.22), transparent 36%),
    linear-gradient(165deg, rgba(18, 31, 54, 0.99), rgba(12, 22, 39, 0.98));
}

body.theme-dark .sermon-library-detail-hero {
  border-color: rgba(183, 151, 87, 0.18);
  background:
    radial-gradient(circle at top right, rgba(164, 133, 72, 0.18), transparent 36%),
    linear-gradient(160deg, rgba(22, 35, 56, 0.98), rgba(15, 28, 46, 0.96));
}

body.theme-dark .home-talk-library-category-badge,
body.theme-dark .sermon-library-topic-verse,
body.theme-dark .sermon-library-topic-duration,
body.theme-dark .sermon-library-detail-chip {
  background: rgba(37, 53, 79, 0.92);
  color: #d7e2f5;
}

body.theme-dark .home-talk-library-category-icon,
body.theme-dark .sermon-library-point-index {
  background: rgba(37, 53, 79, 0.92);
  color: #f0d38f;
}

body.theme-dark .home-talk-library-category-arrow {
  border-right-color: rgba(238, 244, 255, 0.8);
  border-bottom-color: rgba(238, 244, 255, 0.8);
}

body.theme-dark .home-talk-library-category-eyebrow,
body.theme-dark .sermon-library-dialog-eyebrow,
body.theme-dark .sermon-library-detail-eyebrow,
body.theme-dark .sermon-library-detail-panel-label {
  color: #e0c07a;
}

body.theme-dark .sermon-library-detail-panel-meta {
  color: #e6c983;
}

body.theme-dark .page-title,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark .counter,
body.theme-dark .counter-sm {
  color: #edf4ff;
}

body.theme-dark .subtext,
body.theme-dark .service-help,
body.theme-dark .ev-help,
body.theme-dark .worship-program-help,
body.theme-dark .worship-program-meta,
body.theme-dark .worship-program-panel-help,
body.theme-dark .worship-program-stat-meta,
body.theme-dark .worship-program-offer-time,
body.theme-dark .worship-program-offer-note,
body.theme-dark .worship-program-offer-list-head p,
body.theme-dark .worship-program-empty,
body.theme-dark .home-calendar-help,
body.theme-dark .home-calendar-event-meta,
body.theme-dark .mission-calendar-meta,
body.theme-dark .mission-calendar-day-status,
body.theme-dark .mission-calendar-weekdays span,
body.theme-dark .mission-sermons-meta,
body.theme-dark .mission-sermons-goal,
body.theme-dark .mission-sermons-source,
body.theme-dark .mission-sermons-plan-hint,
body.theme-dark .mission-sermons-plan-help,
body.theme-dark .mission-sermons-plan-members-help,
body.theme-dark .mission-sermons-speaker-meta,
body.theme-dark .mission-sermons-selected-cell,
body.theme-dark .mission-shift-state,
body.theme-dark .mission-book-info p,
body.theme-dark .service-note,
body.theme-dark .ev-note,
body.theme-dark .stats-item span,
body.theme-dark .survey-note,
body.theme-dark .survey-public-link-hint,
body.theme-dark .survey-owner-meta,
body.theme-dark .survey-owner-list li {
  color: #aebfdd;
}

body.theme-dark .survey-feedback {
  border-color: rgba(122, 165, 240, 0.24);
  background: rgba(31, 50, 86, 0.72);
  color: #d4e4ff;
}

body.theme-dark .survey-feedback.is-error {
  border-color: rgba(235, 126, 110, 0.26);
  background: rgba(82, 28, 27, 0.78);
  color: #ffd8d3;
}

body.theme-dark .worship-program-card {
  border-color: rgba(76, 179, 146, 0.26);
  background:
    radial-gradient(circle at top right, rgba(63, 143, 118, 0.24), transparent 36%),
    radial-gradient(circle at bottom left, rgba(180, 112, 48, 0.16), transparent 30%),
    linear-gradient(165deg, rgba(17, 34, 33, 0.96), rgba(12, 25, 31, 0.94));
}

body.theme-dark .worship-program-card::before {
  background-image: linear-gradient(rgba(121, 198, 172, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 198, 172, 0.05) 1px, transparent 1px);
}

body.theme-dark .worship-program-toggle-icon {
  border-color: rgba(86, 171, 145, 0.24);
  background:
    radial-gradient(circle at top right, rgba(63, 143, 118, 0.28), transparent 42%),
    linear-gradient(160deg, rgba(19, 47, 45, 0.92), rgba(12, 34, 40, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(170, 231, 208, 0.08),
    0 12px 24px rgba(4, 14, 18, 0.34);
}

body.theme-dark .worship-program-toggle-icon-rail {
  background: linear-gradient(180deg, rgba(47, 199, 151, 0.24), rgba(77, 139, 232, 0.24), rgba(240, 162, 68, 0.34));
}

body.theme-dark .worship-program-toggle-icon-node {
  background: rgba(12, 39, 40, 0.96);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

body.theme-dark .worship-program-toggle-icon-node.is-opening {
  border-color: rgba(54, 194, 146, 0.28);
}

body.theme-dark .worship-program-toggle-icon-node.is-word {
  border-color: rgba(88, 145, 234, 0.28);
}

body.theme-dark .worship-program-toggle-icon-node.is-sermon {
  border-color: rgba(240, 162, 68, 0.3);
}

body.theme-dark .worship-program-toggle-chip,
body.theme-dark .worship-program-stat,
body.theme-dark .worship-program-panel,
body.theme-dark .worship-program-offer-item,
body.theme-dark .worship-program-step-card,
body.theme-dark .worship-program-empty {
  border-color: rgba(86, 171, 145, 0.22);
  background: rgba(14, 42, 39, 0.76);
}

body.theme-dark .worship-program-eyebrow,
body.theme-dark .worship-program-date,
body.theme-dark .worship-program-panel-eyebrow {
  color: #8fdcc2;
}

body.theme-dark .worship-program-title,
body.theme-dark .worship-program-module-title,
body.theme-dark .worship-program-stat-value,
body.theme-dark .worship-program-panel-head h4,
body.theme-dark .worship-program-step-title,
body.theme-dark .worship-program-offer-name,
body.theme-dark .worship-program-offer-list-head h5,
body.theme-dark .worship-program-field > span {
  color: #ecfbf5;
}

body.theme-dark .worship-program-stat-label,
body.theme-dark .worship-program-offer-line,
body.theme-dark .worship-program-step-value {
  color: #bfded2;
}

body.theme-dark .worship-program-step-participant,
body.theme-dark .worship-program-step-editor-help,
body.theme-dark .worship-program-step-state.is-completed {
  color: #b0cbc2;
}

body.theme-dark .worship-program-toggle-chip,
body.theme-dark .worship-program-step-badge,
body.theme-dark .worship-program-step-drag-hint {
  color: #9adbc5;
}

body.theme-dark .worship-program-step-editor-field span,
body.theme-dark .worship-program-step-state.is-current {
  color: #c3f4e2;
}

body.theme-dark .worship-program-toggle .home-calendar-chevron {
  border-right-color: #a5d7c5;
  border-bottom-color: #a5d7c5;
}

body.theme-dark .worship-program-field input,
body.theme-dark .worship-program-field textarea,
body.theme-dark .worship-program-step-editor-field input,
body.theme-dark .worship-program-step-editor-field select {
  border-color: rgba(86, 171, 145, 0.22);
  background: rgba(8, 28, 26, 0.92);
  color: #ecfbf5;
}

body.theme-dark .worship-program-offer-item.is-current-user {
  border-color: rgba(108, 202, 171, 0.34);
  background: linear-gradient(160deg, rgba(17, 53, 47, 0.96), rgba(12, 43, 39, 0.92));
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.24);
}

body.theme-dark .worship-program-step-dot {
  box-shadow: 0 0 0 6px rgba(8, 20, 27, 0.92);
}

body.theme-dark .worship-program-step.is-current .worship-program-step-dot {
  box-shadow: 0 0 0 6px rgba(8, 20, 27, 0.92), 0 14px 24px rgba(0, 0, 0, 0.34);
}

body.theme-dark .worship-program-step-editor {
  border-top-color: rgba(86, 171, 145, 0.18);
}

body.theme-dark .worship-program-songbook-panel,
body.theme-dark .worship-program-bible-panel {
  border-color: rgba(86, 171, 145, 0.22);
  background: rgba(10, 31, 29, 0.88);
}

body.theme-dark .worship-program-songbook-status {
  color: #b7d6cb;
}

body.theme-dark .worship-program-songbook-banner {
  background: rgba(92, 58, 10, 0.7);
  color: #ffd99a;
}

body.theme-dark .worship-program-bible-preview {
  border-color: rgba(112, 140, 215, 0.24);
  background: rgba(21, 35, 61, 0.86);
}

body.theme-dark .worship-program-bible-preview-meta {
  color: #95abe0;
}

body.theme-dark .worship-program-bible-preview-reference {
  color: #e2e9ff;
}

body.theme-dark .worship-program-bible-preview-text {
  color: #bcc9e1;
}

body.theme-dark.worship-program-presentation-active::after {
  background: linear-gradient(180deg, #0e1f22, #13292a);
}

body.theme-dark.worship-program-song-active #worshipProgramSongDialogHost {
  background: linear-gradient(180deg, #1f1a0f, #2a2212);
}

body.theme-dark .worship-program-card.is-presentation {
  background: linear-gradient(180deg, rgba(14, 37, 35, 0.98), rgba(11, 28, 29, 0.98));
}

body.theme-dark .worship-program-card.is-presentation .worship-program-step-card,
body.theme-dark .worship-program-card.is-presentation .worship-program-stat {
  background: rgba(10, 31, 29, 0.96);
}

body.theme-dark .worship-program-step-placeholder {
  border-color: rgba(86, 171, 145, 0.22);
  background: rgba(10, 34, 31, 0.88);
}

body.theme-dark .mission-inventory-kpi,
body.theme-dark .mission-inventory-recommendations,
body.theme-dark .mission-inventory-recommendation-item {
  background: rgba(24, 39, 66, 0.88);
  border-color: rgba(133, 151, 183, 0.26);
}

body.theme-dark .mission-inventory-kpi .label,
body.theme-dark .mission-inventory-recommendation-meta,
body.theme-dark .mission-book-planning-meta,
body.theme-dark .mission-inventory-recommendation-empty {
  color: #aebfdd;
}

body.theme-dark .mission-inventory-kpi .value,
body.theme-dark .mission-inventory-recommendations h4,
body.theme-dark .mission-inventory-recommendation-title {
  color: #e7f0ff;
}

body.theme-dark .mission-inventory-recommendation-item[data-inventory-risk="critical"] {
  border-color: rgba(214, 106, 92, 0.45);
  background: rgba(84, 42, 44, 0.78);
}

body.theme-dark .mission-inventory-recommendation-item[data-inventory-risk="warning"] {
  border-color: rgba(242, 166, 54, 0.4);
  background: rgba(84, 67, 33, 0.82);
}

body.theme-dark .mission-inventory-recommendation-qty {
  background: rgba(89, 188, 132, 0.2);
  color: #d8ffea;
}

body.theme-dark .mission-book-health--critical {
  color: #ffb7ac;
  background: rgba(207, 75, 54, 0.24);
}

body.theme-dark .mission-book-health--warning {
  color: #ffe2a8;
  background: rgba(242, 166, 54, 0.24);
}

body.theme-dark .mission-book-health--healthy {
  color: #d8ffea;
  background: rgba(89, 188, 132, 0.22);
}

body.theme-dark .survey-public-link {
  background: rgba(28, 49, 82, 0.86);
  border-color: rgba(111, 148, 204, 0.34);
}

body.theme-dark .survey-owner-panel {
  background: rgba(26, 43, 72, 0.88);
  border-color: rgba(111, 148, 204, 0.34);
}

body.theme-dark .survey-public-link-label {
  color: #d4e5ff;
}

body.theme-dark .survey-owner-head h4,
body.theme-dark .survey-owner-list-title {
  color: #deebff;
}

body.theme-dark .survey-owner-list li {
  background: rgba(21, 35, 59, 0.94);
  border-color: rgba(111, 148, 204, 0.3);
}

body.theme-dark .survey-owner-list li.pending {
  background: rgba(72, 58, 26, 0.75);
  border-color: rgba(196, 153, 62, 0.42);
}

body.theme-dark .survey-owner-list li.cancelled {
  background: rgba(80, 33, 44, 0.75);
  border-color: rgba(203, 96, 109, 0.42);
}

body.theme-dark .app-action-dialog-message {
  color: #b8c9e5;
}

body.theme-dark .app-action-dialog {
  border-color: rgba(121, 145, 186, 0.34);
  background:
    radial-gradient(circle at top right, rgba(89, 123, 185, 0.24), transparent 36%),
    linear-gradient(165deg, rgba(18, 31, 54, 0.98), rgba(12, 22, 39, 0.98));
}

body.theme-dark .app-action-dialog .dialog-head h3 {
  color: #eef5ff;
}

body.theme-dark .app-action-dialog-confirm {
  border-color: rgba(111, 148, 204, 0.38);
  background: linear-gradient(160deg, #416db0, #28497a);
  box-shadow: 0 14px 28px rgba(7, 14, 28, 0.34);
}

body.theme-dark .app-action-dialog-confirm.is-danger {
  border-color: rgba(214, 104, 117, 0.42);
  background: linear-gradient(160deg, #a94456, #7a2638);
}

body.theme-dark .metric-btn,
body.theme-dark .ghost-btn {
  background: rgba(32, 49, 80, 0.84);
  border-color: rgba(133, 151, 183, 0.3);
  color: #dce8ff;
}


body.theme-dark .mission-calendar-month-btn {
  border-color: rgba(88, 189, 132, 0.4);
  background: rgba(40, 114, 76, 0.3);
  color: #d8ffea;
}

body.theme-dark .mission-calendar-month-label {
  color: #d8ffea;
}

body.theme-dark .mission-calendar-day {
  border-color: rgba(133, 151, 183, 0.26);
  background: rgba(21, 34, 58, 0.9);
  color: #dce9ff;
}

body.theme-dark .mission-calendar-day.is-weekend {
  border-color: rgba(242, 184, 63, 0.45);
}

body.theme-dark .mission-calendar-day.is-saturday .mission-calendar-day-number {
  color: #ffdcb9;
}

body.theme-dark .mission-calendar-day.is-sunday .mission-calendar-day-number {
  color: #bcdfff;
}

body.theme-dark .mission-calendar-day.is-half {
  border-color: rgba(242, 184, 63, 0.42);
  background: rgba(73, 52, 28, 0.8);
  box-shadow:
    0 0 0 2px rgba(242, 184, 63, 0.18),
    0 14px 24px rgba(0, 0, 0, 0.34);
}

body.theme-dark .mission-calendar-day.is-full {
  border-color: #2dbb78;
  background: linear-gradient(180deg, #2dbb78, #1f9e63);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3);
}

body.theme-dark .mission-calendar-day-fill {
  background: rgba(111, 148, 204, 0.2);
  color: #c7d8f2;
}

body.theme-dark .mission-calendar-day.is-half .mission-calendar-day-fill {
  background: rgba(242, 184, 63, 0.24);
  color: #ffdba1;
  box-shadow: 0 0 0 1px rgba(242, 184, 63, 0.16);
}

body.theme-dark .mission-calendar-day.is-full .mission-calendar-day-fill {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

body.theme-dark .mission-calendar-day.is-half::after {
  background: rgba(242, 184, 63, 0.24);
  color: #ffdba1;
}

body.theme-dark .mission-calendar-day.is-half::before {
  border-color: rgba(255, 210, 142, 0.84);
  box-shadow: 0 0 0 4px rgba(242, 184, 63, 0.14);
}

body.theme-dark .mission-calendar-day.is-full::after {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

body.theme-dark .mission-calendar-day-status {
  border-color: rgba(133, 151, 183, 0.24);
  background: rgba(21, 34, 58, 0.82);
}

body.theme-dark .mission-calendar-day-dialog-meta {
  border-color: rgba(133, 151, 183, 0.24);
  background: rgba(21, 34, 58, 0.82);
  color: #bcd1f0;
}

body.theme-dark .mission-calendar-day-dialog {
  border-color: rgba(88, 189, 132, 0.34);
  background:
    radial-gradient(circle at top right, rgba(61, 161, 109, 0.22), transparent 36%),
    linear-gradient(165deg, rgba(18, 31, 54, 0.98), rgba(12, 27, 37, 0.98));
  box-shadow:
    0 26px 58px rgba(3, 8, 18, 0.56),
    0 10px 24px rgba(3, 8, 18, 0.34);
}

body.theme-dark .mission-calendar-day-dialog .dialog-head h3 {
  color: #eef6ff;
}

body.theme-dark .mission-calendar-day-dialog .close-btn {
  background: rgba(25, 39, 55, 0.96);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-calendar-day-dialog .close-btn span {
  background: #d8e5f7;
}

body.theme-dark .home-mission-calendar-dialog {
  border-color: rgba(88, 189, 132, 0.36);
  background:
    radial-gradient(circle at top right, rgba(61, 161, 109, 0.24), transparent 36%),
    linear-gradient(165deg, rgba(18, 31, 54, 0.98), rgba(12, 27, 37, 0.98));
  box-shadow:
    0 26px 58px rgba(3, 8, 18, 0.56),
    0 10px 24px rgba(3, 8, 18, 0.34);
}

body.theme-dark .mission-calendar-day-form label {
  color: #c8d6ee;
}

body.theme-dark .mission-calendar-day-form select {
  background: rgba(22, 36, 61, 0.92);
  border-color: rgba(133, 151, 183, 0.32);
  color: #e5efff;
}

body.theme-dark .mission-calendar-day-actions .primary-btn {
  border-color: rgba(88, 189, 132, 0.36);
  background: linear-gradient(160deg, #2c8f63, #1f714e);
  box-shadow: 0 14px 28px rgba(15, 74, 49, 0.34);
}

body.theme-dark .mission-calendar-day-actions .ghost-btn {
  border-color: rgba(133, 151, 183, 0.24);
  background: rgba(22, 36, 61, 0.88);
  color: #d8e5f7;
}

body.theme-dark #missionSermonsCoverageBadge {
  border-color: rgba(88, 189, 132, 0.46);
  background: rgba(40, 114, 76, 0.34);
  color: #d8ffea;
}

body.theme-dark .mission-sermons-source a {
  color: #c9f8df;
}

body.theme-dark .mission-sermons-theme-stats {
  background: rgba(21, 34, 58, 0.88);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-sermons-theme-stats-head h4,
body.theme-dark .mission-sermons-theme-row-name {
  color: #dff9eb;
}

body.theme-dark .mission-sermons-theme-stats-meta,
body.theme-dark .mission-sermons-theme-row-count,
body.theme-dark .mission-sermons-theme-row-meta {
  color: #b4c8e6;
}

body.theme-dark .mission-sermons-theme-row {
  background: rgba(24, 43, 69, 0.9);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-sermons-theme-row.is-doctrine {
  border-color: rgba(89, 160, 239, 0.24);
  background: rgba(22, 42, 73, 0.92);
}

body.theme-dark .mission-sermons-theme-row.is-spiritual {
  border-color: rgba(176, 140, 244, 0.24);
  background: rgba(41, 31, 67, 0.92);
}

body.theme-dark .mission-sermons-theme-bar {
  background: rgba(133, 151, 183, 0.26);
}

body.theme-dark .mission-sermons-demand-stats {
  background: rgba(21, 34, 58, 0.88);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-sermons-demand-stats h4,
body.theme-dark .mission-sermons-demand-topic {
  color: #dff9eb;
}

body.theme-dark .mission-sermons-demand-help,
body.theme-dark .mission-sermons-demand-count {
  color: #b4c8e6;
}

body.theme-dark .mission-sermons-demand-row {
  background: rgba(24, 43, 69, 0.9);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-sermons-demand-bar {
  background: rgba(133, 151, 183, 0.26);
}

body.theme-dark .mission-sermons-demand-empty {
  color: #b4c8e6;
  border-color: rgba(133, 151, 183, 0.3);
}

body.theme-dark .mission-sermons-speaker-stats {
  background: rgba(21, 34, 58, 0.88);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-sermons-speaker-stats h4,
body.theme-dark .mission-sermons-speaker-name {
  color: #dff9eb;
}

body.theme-dark .mission-sermons-speaker-row {
  background: rgba(24, 43, 69, 0.9);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-sermons-speaker-row.is-underrepresented {
  border-color: rgba(242, 163, 89, 0.45);
}

body.theme-dark .mission-sermons-speaker-row.is-overrepresented {
  border-color: rgba(109, 164, 235, 0.42);
}

body.theme-dark .mission-sermons-speaker-flag {
  border-color: rgba(242, 163, 89, 0.5);
  background: rgba(242, 140, 40, 0.24);
  color: #ffdcb9;
}

body.theme-dark .mission-sermons-speaker-flag.is-overrepresented {
  border-color: rgba(109, 164, 235, 0.46);
  background: rgba(56, 111, 191, 0.24);
  color: #d8e9ff;
}

body.theme-dark .mission-sermons-speaker-empty {
  color: #b4c8e6;
  border-color: rgba(133, 151, 183, 0.3);
}

body.theme-dark .mission-sermons-plan-preview {
  background: rgba(21, 34, 58, 0.88);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-sermons-plan-preview h4 {
  color: #dff9eb;
}

body.theme-dark .mission-sermons-plan-preview-meta,
body.theme-dark .mission-sermons-plan-preview-empty {
  color: #b4c8e6;
}

body.theme-dark .mission-sermons-plan-preview-row {
  background: rgba(24, 43, 69, 0.9);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-sermons-plan-preview-row.is-no-service {
  background: rgba(77, 33, 41, 0.66);
  border-color: rgba(225, 113, 113, 0.36);
}

body.theme-dark .mission-sermons-plan-preview-date {
  border-color: rgba(133, 151, 183, 0.28);
  background: rgba(29, 49, 77, 0.92);
  color: #dff9eb;
}

body.theme-dark .mission-sermons-plan-preview-input {
  background: rgba(22, 36, 61, 0.92);
  border-color: rgba(133, 151, 183, 0.32);
  color: #e5efff;
}

body.theme-dark .mission-sermons-plan-preview-guest-btn {
  border-color: rgba(142, 176, 238, 0.45);
  background: rgba(71, 106, 168, 0.36);
  color: #d5e7ff;
}

body.theme-dark .mission-sermons-plan-preview-status {
  color: #b4c8e6;
}

body.theme-dark .mission-sermons-plan-preview-row.is-no-service .mission-sermons-plan-preview-status {
  color: #ffbbbb;
}

body.theme-dark .mission-topic-request-card,
body.theme-dark .mission-study-groups-card {
  background: rgba(21, 34, 58, 0.88);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-topic-request-card h4,
body.theme-dark .mission-study-groups-card h4,
body.theme-dark .mission-topic-request-title,
body.theme-dark .mission-study-group-topic {
  color: #dff9eb;
}

body.theme-dark .mission-topic-request-help,
body.theme-dark .mission-topic-request-requesters,
body.theme-dark .mission-topic-request-notes,
body.theme-dark .mission-study-group-meta,
body.theme-dark .mission-study-group-members {
  color: #b4c8e6;
}

body.theme-dark .mission-topic-request-item,
body.theme-dark .mission-study-group-item {
  background: rgba(24, 43, 69, 0.9);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-topic-request-count,
body.theme-dark .mission-study-group-mode {
  color: #d8ffea;
  background: rgba(40, 114, 76, 0.34);
  border: 1px solid rgba(88, 189, 132, 0.34);
}

body.theme-dark .mission-topic-request-ready {
  border-color: rgba(242, 163, 89, 0.5);
  background: rgba(242, 140, 40, 0.24);
  color: #ffdcb9;
}

body.theme-dark .mission-topic-request-empty {
  color: #b4c8e6;
  border-color: rgba(133, 151, 183, 0.3);
}

body.theme-dark .home-topic-request-card {
  background: linear-gradient(155deg, rgba(17, 33, 57, 0.94), rgba(19, 52, 67, 0.9));
  border-color: rgba(133, 151, 183, 0.34);
  box-shadow: 0 16px 30px rgba(6, 13, 25, 0.42);
}

body.theme-dark.home-topic-request-active #homeTopicRequestCard {
  background:
    radial-gradient(circle at top right, rgba(81, 143, 178, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(12, 23, 40, 0.995), rgba(16, 37, 49, 0.99));
}

body.theme-dark .home-topic-request-toggle {
  color: #ecf5ff;
}

body.theme-dark .home-topic-request-eyebrow {
  color: #95d6b5;
}

body.theme-dark .home-topic-request-title {
  color: #eef6ff;
}

body.theme-dark .home-topic-request-toggle-help {
  color: #b4c8e6;
}

body.theme-dark .home-topic-request-head-icon {
  background: rgba(75, 131, 204, 0.24);
  border-color: rgba(145, 182, 233, 0.4);
}

body.theme-dark .home-topic-request-flow-item {
  background: rgba(24, 43, 69, 0.9);
  border-color: rgba(133, 151, 183, 0.28);
}

body.theme-dark .home-topic-request-flow-label {
  color: #9bb3d8;
}

body.theme-dark .home-topic-request-flow-value,
body.theme-dark .home-topic-request-inbox-head h4 {
  color: #eef6ff;
}

body.theme-dark .home-topic-request-group {
  border-color: rgba(133, 151, 183, 0.2);
  background: rgba(14, 27, 44, 0.56);
}

body.theme-dark .home-topic-request-group-title {
  color: #eef6ff;
}

body.theme-dark .home-topic-request-group-meta {
  color: #b4c8e6;
}

body.theme-dark .home-topic-request-group-chevron,
body.theme-dark .home-topic-request-thread-chevron {
  border-right-color: #b8cbe8;
  border-bottom-color: #b8cbe8;
}

body.theme-dark .home-topic-request-thread-preview {
  color: #bfd3ef;
}

body.theme-dark .home-topic-request-thread-preview.is-response,
body.theme-dark .home-topic-request-thread-preview-label {
  color: #e6f2ff;
}

body.theme-dark .home-topic-request-thread-toggle {
  border-color: rgba(133, 151, 183, 0.28);
  background: rgba(24, 43, 69, 0.9);
  color: #eef6ff;
}

body.theme-dark .home-topic-favorites-title {
  color: #b4c8e6;
}

body.theme-dark .home-topic-favorites-empty {
  color: #9bb3d8;
}

body.theme-dark .home-topic-favorite-chip {
  background: rgba(27, 52, 78, 0.9);
  border-color: rgba(133, 151, 183, 0.35);
  color: #dff9eb;
}

body.theme-dark .home-topic-favorite-count {
  color: #d8ffea;
  background: rgba(53, 148, 98, 0.38);
}

body.theme-dark .home-topic-favorite-chip.is-active {
  border-color: rgba(122, 194, 154, 0.72);
  background: rgba(40, 114, 76, 0.34);
  box-shadow: 0 0 0 1px rgba(122, 194, 154, 0.28) inset;
}

body.theme-dark .home-topic-request-card .mission-topic-request-form label,
body.theme-dark .home-topic-request-card .mission-topic-request-anonymous {
  color: #c8ddfb;
}

body.theme-dark .home-topic-request-type-fieldset legend {
  color: #c8ddfb;
}

body.theme-dark .home-topic-request-type-card {
  background: rgba(24, 43, 69, 0.9);
  border-color: rgba(133, 151, 183, 0.28);
}

body.theme-dark .home-topic-request-type-option input:checked + .home-topic-request-type-card {
  border-color: rgba(122, 194, 154, 0.72);
  background: rgba(40, 114, 76, 0.3);
  box-shadow: 0 0 0 1px rgba(122, 194, 154, 0.24) inset;
}

body.theme-dark .home-topic-request-type-title {
  color: #e9f6ff;
}

body.theme-dark .home-topic-request-type-description {
  color: #b4c8e6;
}

body.theme-dark .home-topic-request-card .mission-topic-request-form input:not([type="checkbox"]),
body.theme-dark .home-topic-request-card .mission-topic-request-form select,
body.theme-dark .home-topic-request-card .mission-topic-request-form textarea {
  background: rgba(20, 39, 64, 0.94);
  border-color: rgba(133, 151, 183, 0.42);
  color: #e8f1ff;
}

body.theme-dark .home-topic-request-card .mission-topic-request-form input:not([type="checkbox"]):focus,
body.theme-dark .home-topic-request-card .mission-topic-request-form select:focus,
body.theme-dark .home-topic-request-card .mission-topic-request-form textarea:focus {
  border-color: rgba(122, 194, 154, 0.88);
  box-shadow: 0 0 0 3px rgba(53, 148, 98, 0.28);
}

body.theme-dark .home-topic-request-private-note {
  background: rgba(20, 39, 64, 0.9);
  border-color: rgba(133, 151, 183, 0.28);
}

body.theme-dark .home-topic-request-private-badge {
  background: rgba(36, 63, 101, 0.92);
  border-color: rgba(133, 151, 183, 0.34);
  color: #e8f2ff;
}

body.theme-dark .home-topic-request-private-help {
  color: #b4c8e6;
}

body.theme-dark .home-topic-request-select-help,
body.theme-dark .mission-topic-request-meta,
body.theme-dark .mission-topic-request-response-meta {
  color: #9bb3d8;
}

body.theme-dark .mission-topic-request-type-badge {
  color: #dbe9ff;
  background: rgba(72, 110, 182, 0.26);
  border-color: rgba(133, 151, 183, 0.34);
}

body.theme-dark .mission-topic-request-type-badge.is-secondary {
  color: #d8ffea;
  background: rgba(40, 114, 76, 0.32);
  border-color: rgba(122, 194, 154, 0.24);
}

body.theme-dark .mission-topic-request-type-badge.is-private {
  color: #dbe9ff;
  background: rgba(58, 91, 156, 0.34);
  border-color: rgba(124, 157, 220, 0.28);
}

body.theme-dark .mission-topic-request-type-badge.is-answered {
  color: #d8ffea;
  background: rgba(40, 114, 76, 0.34);
  border-color: rgba(122, 194, 154, 0.28);
}

body.theme-dark .mission-topic-request-type-badge.is-waiting {
  color: #ffdcb9;
  background: rgba(242, 140, 40, 0.24);
  border-color: rgba(242, 163, 89, 0.34);
}

body.theme-dark .mission-topic-request-message,
body.theme-dark .mission-topic-request-response-title,
body.theme-dark .mission-topic-request-response-body {
  color: #e9f6ff;
}

body.theme-dark .mission-topic-request-response {
  background: rgba(20, 39, 64, 0.94);
  border-color: rgba(133, 151, 183, 0.3);
}

body.theme-dark .mission-topic-request-response-editor label {
  color: #c8ddfb;
}

body.theme-dark .mission-topic-request-response-editor textarea {
  background: rgba(20, 39, 64, 0.94);
  border-color: rgba(133, 151, 183, 0.42);
  color: #e8f1ff;
}

body.theme-dark .mission-topic-request-response-editor textarea:focus {
  border-color: rgba(122, 194, 154, 0.88);
  box-shadow: 0 0 0 3px rgba(53, 148, 98, 0.28);
}

body.theme-dark .mission-sermons-table-wrap {
  background: rgba(21, 34, 58, 0.84);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-sermons-table th,
body.theme-dark .mission-sermons-table td {
  border-bottom-color: rgba(133, 151, 183, 0.2);
}

body.theme-dark .mission-sermons-table thead th,
body.theme-dark .mission-sermons-topic-cell {
  color: #e3eeff;
}

body.theme-dark .mission-sermons-selected-count {
  color: #9ee7bf;
}

body.theme-dark .mission-sermons-row.is-covered {
  background: rgba(40, 114, 76, 0.2);
}

body.theme-dark .mission-sermons-row.is-selected-by-user {
  background: rgba(53, 148, 98, 0.34);
}

body.theme-dark .mission-sermons-request-badge {
  background: #ff7a8f;
  color: #2a0d14;
  box-shadow: none;
}

body.theme-dark .our-life-eyebrow,
body.theme-dark .our-life-inline-meta,
body.theme-dark .our-life-range,
body.theme-dark .our-life-module-val {
  color: #aebfdd;
}

body.theme-dark .our-life-summary-head h3,
body.theme-dark .our-life-index,
body.theme-dark .our-life-module-name {
  color: #edf4ff;
}

body.theme-dark .our-life-summary-chevron {
  border-color: #b8caf0;
}

body.theme-dark .our-life-period,
body.theme-dark .our-life-module-item {
  border-color: rgba(133, 151, 183, 0.24);
  background: rgba(21, 34, 58, 0.84);
}

body.theme-dark .our-life-period-btn {
  color: #b8caf0;
}

body.theme-dark .our-life-module-track {
  background: rgba(133, 151, 183, 0.2);
}

body.theme-dark .our-life-trend-card {
  border-color: rgba(88, 189, 132, 0.42);
}

body.theme-dark .our-life-trend-card .our-life-tower.is-selected {
  box-shadow: inset 0 0 0 2px rgba(167, 193, 233, 0.34), 0 6px 14px rgba(4, 10, 22, 0.34);
}

body.theme-dark .our-life-plan-stroke {
  background: linear-gradient(180deg, var(--tower-plan-stroke), var(--tower-fill-from));
}

body.theme-dark .our-life-completed-stroke {
  background: linear-gradient(180deg, var(--tower-completed-stroke), var(--tower-fill-to));
}

body.theme-dark .mission-calendar-ring-btn:focus-visible {
  outline-color: rgba(88, 189, 132, 0.66);
}

body.theme-dark .mission-activity-badge--stand {
  color: #d8ffea;
  background: rgba(60, 164, 112, 0.34);
}

body.theme-dark .mission-activity-badge--fair {
  color: #d5f4ff;
  background: rgba(62, 145, 182, 0.34);
}

body.theme-dark .mission-activity-badge--concert {
  color: #fff1c6;
  background: rgba(164, 131, 54, 0.34);
}

body.theme-dark .mission-activity-badge--youthProgram {
  color: #ece0ff;
  background: rgba(107, 79, 171, 0.35);
}

body.theme-dark .mission-activity-badge--trip {
  color: #ffe3cb;
  background: rgba(166, 95, 45, 0.34);
}

body.theme-dark .mission-analytics-kpi,
body.theme-dark .mission-trend-card,
body.theme-dark .mission-analytics-meta,
body.theme-dark .mission-top-card,
body.theme-dark .mission-top-item {
  background: rgba(21, 34, 58, 0.92);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .mission-kpi-label,
body.theme-dark .mission-trend-head h3,
body.theme-dark .mission-trend-value,
body.theme-dark .mission-trend-date,
body.theme-dark .mission-trend-empty,
body.theme-dark .mission-analytics-meta p,
body.theme-dark .mission-top-card h3,
body.theme-dark .mission-top-item,
body.theme-dark .mission-top-empty {
  color: #aebfdd;
}

body.theme-dark .mission-kpi-value {
  color: #d8ffea;
}

body.theme-dark .mission-momentum {
  color: #d8ffea;
  background: rgba(31, 167, 100, 0.24);
}

body.theme-dark .mission-momentum[data-level="medium"] {
  color: #ffe0be;
  background: rgba(242, 140, 40, 0.28);
}

body.theme-dark .mission-momentum[data-level="high"] {
  color: #d8ffea;
  background: rgba(31, 167, 100, 0.32);
}

body.theme-dark .mission-trend-bar {
  background: linear-gradient(180deg, #56c08a, #2c9b67);
}

body.theme-dark .mission-trend-item.is-current {
  border-color: rgba(88, 189, 132, 0.46);
  background: rgba(40, 114, 76, 0.3);
}

body.theme-dark .mission-trend-item.is-current .mission-trend-bar {
  background: linear-gradient(180deg, #69d19d, #2b8f61);
}

body.theme-dark .mission-trend-item.is-inactive {
  border-color: rgba(210, 158, 86, 0.32);
  background: rgba(114, 80, 33, 0.36);
}

body.theme-dark .mission-trend-item.is-empty {
  border-color: rgba(133, 151, 183, 0.28);
  background: rgba(48, 67, 98, 0.34);
}

body.theme-dark .mission-trend-bar.is-inactive {
  background: linear-gradient(180deg, #efbe7a, #ba7f28);
}

body.theme-dark .mission-trend-bar.is-empty {
  background: linear-gradient(180deg, #8da5c2, #5e7896);
}

body.theme-dark .mission-trend-item.is-current .mission-trend-bar.is-inactive {
  background: linear-gradient(180deg, #f8cb8d, #c78627);
}

body.theme-dark .mission-trend-item.is-current .mission-trend-bar.is-empty {
  background: linear-gradient(180deg, #9cb3cf, #6f89a6);
}

body.theme-dark .mission-trend-value.is-inactive,
body.theme-dark .mission-trend-item.is-inactive .mission-trend-date {
  color: #ffd9aa;
}

body.theme-dark .mission-trend-value.is-empty,
body.theme-dark .mission-trend-item.is-empty .mission-trend-date {
  color: #b8cae7;
}

body.theme-dark .mission-top-empty {
  border-color: rgba(133, 151, 183, 0.34);
}


body.theme-dark .home-calendar-head h3,
body.theme-dark .home-calendar-main-title,
body.theme-dark .home-calendar-month-label,
body.theme-dark .home-calendar-event-line {
  color: #e3e8ef;
}

body.theme-dark .home-mission-weekend-banner-card {
  border-color: rgba(79, 182, 123, 0.34);
  background:
    radial-gradient(circle at top right, rgba(79, 182, 123, 0.2), transparent 34%),
    linear-gradient(160deg, rgba(20, 39, 32, 0.98), rgba(14, 30, 25, 0.96));
  box-shadow: 0 18px 34px rgba(6, 14, 10, 0.28);
}

body.theme-dark .home-mission-weekend-banner-btn:focus-visible {
  outline-color: rgba(127, 231, 170, 0.32);
}

body.theme-dark .home-mission-weekend-banner-eyebrow,
body.theme-dark .home-mission-weekend-banner-coverage,
body.theme-dark .home-mission-weekend-banner-cta,
body.theme-dark .home-mission-weekend-banner-chevron {
  color: #95efb8;
}

body.theme-dark .home-mission-weekend-banner-title {
  color: #e5f7ec;
}

body.theme-dark .home-mission-weekend-banner-summary,
body.theme-dark .home-mission-weekend-banner-meta,
body.theme-dark .home-mission-weekend-banner-day-status {
  color: #b9d5c5;
}

body.theme-dark .home-mission-weekend-banner-coverage {
  border-color: rgba(127, 231, 170, 0.26);
  background: rgba(26, 55, 41, 0.78);
}

body.theme-dark .home-mission-weekend-banner-day {
  border-color: rgba(79, 182, 123, 0.2);
  background: rgba(18, 33, 27, 0.9);
}

body.theme-dark .home-mission-weekend-banner-day.is-empty {
  border-color: rgba(79, 182, 123, 0.24);
  background: rgba(22, 38, 31, 0.92);
}

body.theme-dark .home-mission-weekend-banner-day.is-half {
  border-color: rgba(79, 182, 123, 0.28);
  background: rgba(19, 43, 33, 0.92);
}

body.theme-dark .home-mission-weekend-banner-day.is-full {
  border-color: rgba(127, 231, 170, 0.34);
  background: rgba(17, 52, 36, 0.94);
}

body.theme-dark .home-mission-weekend-banner-day-label {
  color: #e5f7ec;
}

body.theme-dark .home-mission-weekend-banner-day-badge {
  background: rgba(79, 182, 123, 0.18);
  color: #aef1ca;
}

body.theme-dark .home-mission-weekend-banner-day.is-empty .home-mission-weekend-banner-day-badge {
  background: rgba(79, 182, 123, 0.14);
  color: #9ce9bf;
}

body.theme-dark .home-mission-weekend-banner-day.is-half .home-mission-weekend-banner-day-badge {
  background: rgba(79, 182, 123, 0.2);
  color: #b6f3d0;
}

body.theme-dark .home-mission-weekend-banner-day.is-full .home-mission-weekend-banner-day-badge {
  background: rgba(127, 231, 170, 0.22);
  color: #d4ffe4;
}

body.theme-dark .home-mission-weekend-banner-chevron {
  border-top-color: #95efb8;
  border-right-color: #95efb8;
}

body.theme-dark .home-calendar-event-banner {
  border-color: rgba(79, 182, 123, 0.34);
  background: linear-gradient(160deg, rgba(22, 63, 42, 0.94), rgba(18, 48, 34, 0.96));
  box-shadow: 0 12px 24px rgba(7, 18, 12, 0.26);
}

body.theme-dark .home-calendar-event-banner-title {
  color: #dffbe8;
}

body.theme-dark .home-calendar-event-banner-chevron {
  border-top-color: rgba(170, 244, 196, 0.84);
  border-right-color: rgba(170, 244, 196, 0.84);
}

body.theme-dark .home-calendar-month-meta {
  color: #bec8d6;
}

body.theme-dark .home-calendar-main-help {
  color: #bec8d6;
}

body.theme-dark .home-calendar-chevron {
  border-color: #b8c2cf;
}

body.theme-dark .home-calendar-range {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(45, 53, 64, 0.86);
  color: #d8dee8;
}

body.theme-dark .home-calendar-date {
  border-color: rgba(145, 154, 168, 0.32);
  background: rgba(34, 42, 53, 0.92);
  color: #d0d8e4;
}

body.theme-dark .home-calendar-timeline-icon {
  border-color: rgba(145, 154, 168, 0.28);
  background: rgba(36, 44, 55, 0.9);
}

body.theme-dark .home-calendar-main-toggle {
  border-color: rgba(145, 154, 168, 0.32);
  background: rgba(30, 38, 49, 0.9);
}

body.theme-dark .home-calendar-edit-btn {
  border-color: rgba(145, 154, 168, 0.4);
  background: rgba(61, 70, 82, 0.76);
  color: #d9e0ea;
}

body.theme-dark .home-calendar-event-menu-btn {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(30, 39, 50, 0.9);
  color: #d9e0ea;
}

body.theme-dark .home-calendar-event-menu {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(27, 35, 45, 0.98);
  box-shadow: 0 12px 24px rgba(7, 14, 25, 0.45);
}

body.theme-dark .home-calendar-event-menu button {
  border-color: rgba(145, 154, 168, 0.28);
  background: rgba(44, 54, 66, 0.92);
  color: #d9e0ea;
}

body.theme-dark .home-calendar-reaction-summary-btn {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(40, 50, 62, 0.94);
  color: #d9e0ea;
}

body.theme-dark .home-calendar-reaction-menu-btn {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(30, 39, 50, 0.9);
  color: #d9e0ea;
}

body.theme-dark .home-calendar-reaction-menu-btn.is-active {
  border-color: rgba(165, 174, 188, 0.66);
  background: rgba(69, 79, 92, 0.9);
  color: #f0f4fa;
}

body.theme-dark .home-calendar-event-menu-divider {
  background: rgba(145, 154, 168, 0.3);
}

body.theme-dark .home-reaction-dialog-meta,
body.theme-dark .home-reaction-dialog-empty {
  color: #c0c9d6;
}

body.theme-dark .home-reaction-dialog-item {
  border-color: rgba(145, 154, 168, 0.28);
  background: rgba(37, 46, 57, 0.92);
  color: #dde4ef;
}

body.theme-dark .home-reaction-dialog-empty {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(40, 49, 60, 0.86);
}

body.theme-dark .task-board-main-title,
body.theme-dark .task-topic-title,
body.theme-dark .task-msg-text {
  color: #e3e8ef;
}

body.theme-dark .task-board-main-help,
body.theme-dark .task-topic-preview,
body.theme-dark .task-topic-time,
body.theme-dark .task-topic-dialog-meta,
body.theme-dark .task-msg-time,
body.theme-dark .task-msg-empty {
  color: #bec8d6;
}

body.theme-dark .task-board-main-toggle {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(34, 42, 54, 0.9);
}

body.theme-dark .task-board-chevron {
  border-color: #b8c2cf;
}

body.theme-dark .task-board-main-icon {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(56, 66, 79, 0.9);
  color: #e1e7f0;
}

body.theme-dark .task-create-topic-btn {
  border-color: rgba(145, 154, 168, 0.4);
  background: rgba(61, 70, 82, 0.76);
  color: #d9e0ea;
}

body.theme-dark .task-board-card .task-create-topic-btn {
  border-color: rgba(145, 154, 168, 0.44);
  background: rgba(64, 74, 86, 0.78);
  color: #e3e9f2;
}

body.theme-dark .goals-card .task-create-topic-btn {
  border-color: rgba(145, 154, 168, 0.46);
  background: rgba(58, 68, 80, 0.8);
  color: #dce3ed;
}

body.theme-dark .goals-status-btn {
  border-color: rgba(145, 154, 168, 0.46);
  background: rgba(58, 68, 80, 0.8);
  color: #dce3ed;
}

body.theme-dark .goals-status-icon-btn {
  border-color: rgba(145, 154, 168, 0.42);
  background: rgba(56, 66, 79, 0.9);
  color: #dde4ee;
}

body.theme-dark .goals-main-title,
body.theme-dark .goals-treasurer-card h4,
body.theme-dark .goal-card-title {
  color: #e4e9f0;
}

body.theme-dark .goals-main-help,
body.theme-dark .goals-treasurer-help,
body.theme-dark .goal-card-meta,
body.theme-dark .goals-treasurer-note,
body.theme-dark .goals-treasurer-time {
  color: #bec8d6;
}

body.theme-dark .goals-main-toggle {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(33, 41, 52, 0.9);
}

body.theme-dark .goals-chevron {
  border-color: #b8c2cf;
}

body.theme-dark .goals-main-icon {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(54, 64, 77, 0.9);
  color: #e1e7f0;
}

body.theme-dark .goal-card {
  border-color: rgba(145, 154, 168, 0.28);
  background: rgba(35, 44, 55, 0.9);
}

body.theme-dark .goal-card-open-btn {
  background: rgba(28, 36, 46, 0.9);
}

body.theme-dark .goal-card-badge {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(49, 59, 72, 0.9);
  color: #d8e0eb;
}

body.theme-dark .goal-card-badge.is-urgent {
  border-color: rgba(237, 167, 96, 0.56);
  background: rgba(108, 71, 28, 0.82);
  color: #ffe0be;
}

body.theme-dark .goal-card-badge.is-inactive {
  border-color: rgba(145, 164, 197, 0.42);
  background: rgba(52, 72, 104, 0.84);
  color: #d5e5ff;
}

body.theme-dark .goal-card-badge.is-realized {
  border-color: rgba(97, 201, 146, 0.44);
  background: rgba(47, 104, 74, 0.84);
  color: #d8ffea;
}

body.theme-dark .goal-card-track {
  background: rgba(145, 154, 168, 0.32);
}

body.theme-dark .goal-card-track span {
  background: linear-gradient(90deg, #63d895, #33a56c);
}

body.theme-dark .goal-card-funding-btn,
body.theme-dark .goal-card-manage-btn {
  border-color: rgba(145, 154, 168, 0.42);
  background: rgba(59, 69, 82, 0.78);
  color: #dbe2ec;
}

body.theme-dark .goal-card-funding-btn {
  border-color: rgba(97, 201, 146, 0.64);
  background: linear-gradient(160deg, #43b677, #2f8f5e);
  color: #ecfff4;
  box-shadow: 0 6px 14px rgba(28, 104, 69, 0.46);
}

body.theme-dark .goal-card-funding-btn:disabled {
  border-color: rgba(139, 150, 165, 0.42);
  background: rgba(67, 77, 90, 0.86);
  color: #aeb8c7;
  box-shadow: none;
}

body.theme-dark .goals-treasurer-card {
  border-top-color: rgba(145, 154, 168, 0.34);
}

body.theme-dark .goals-treasurer-item {
  border-color: rgba(145, 154, 168, 0.28);
  background: rgba(35, 44, 55, 0.9);
}

body.theme-dark .goals-treasurer-empty {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(39, 48, 60, 0.86);
  color: #bec8d6;
}

body.theme-dark .goal-funding-goal-meta,
body.theme-dark .goal-funding-coverage-meta {
  color: #d2dbe7;
}

body.theme-dark .goal-funding-frequency-group button {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(34, 43, 54, 0.92);
  color: #dbe2ec;
}

body.theme-dark .goal-funding-frequency-group button.is-active {
  border-color: rgba(183, 203, 231, 0.86);
  background: linear-gradient(165deg, rgba(67, 87, 116, 0.96), rgba(54, 74, 101, 0.96));
  color: #f0f4fa;
  box-shadow: 0 0 0 2px rgba(130, 165, 215, 0.24), 0 8px 14px rgba(7, 15, 31, 0.32);
}

body.theme-dark .goals-status-table th,
body.theme-dark .goals-status-table td {
  border-bottom-color: rgba(145, 154, 168, 0.28);
}

body.theme-dark .goals-status-table th {
  color: #afbbc9;
}

body.theme-dark .goals-status-goal {
  color: #e2e8f0;
}

body.theme-dark .goals-status-sub {
  color: #bac5d3;
}

body.theme-dark .goals-status-chip {
  border-color: rgba(145, 154, 168, 0.32);
  background: rgba(57, 66, 78, 0.9);
  color: #d2dbe7;
}

body.theme-dark .goals-status-chip.is-yes {
  border-color: rgba(97, 201, 146, 0.52);
  background: rgba(46, 100, 72, 0.86);
  color: #dbffec;
}

body.theme-dark .goals-status-chip.is-no {
  border-color: rgba(145, 154, 168, 0.36);
  background: rgba(64, 74, 87, 0.9);
  color: #cdd6e2;
}

body.theme-dark .goals-status-empty {
  border-color: rgba(145, 154, 168, 0.34);
  background: rgba(39, 48, 60, 0.86);
  color: #bec8d6;
}

body.theme-dark .goal-funding-thanks {
  border-color: rgba(97, 186, 136, 0.4);
  background: rgba(36, 108, 72, 0.64);
  color: #e6ffef;
}

body.theme-dark .task-topic-item {
  border-color: rgba(133, 151, 183, 0.26);
  background: rgba(24, 40, 64, 0.9);
}

body.theme-dark .task-archive-admin-card {
  border-top-color: rgba(133, 151, 183, 0.34);
}

body.theme-dark .task-archive-toggle-btn {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(21, 36, 60, 0.9);
  color: #d4e3ff;
}

body.theme-dark .task-archive-item {
  border-color: rgba(133, 151, 183, 0.26);
  background: rgba(24, 40, 64, 0.9);
}

body.theme-dark .task-archive-open-title {
  color: #edf4ff;
}

body.theme-dark .task-archive-open-meta {
  color: #b9cbe8;
}

body.theme-dark .task-archive-empty {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(26, 42, 68, 0.86);
  color: #b9cbe8;
}

body.theme-dark .task-archive-restore-btn {
  border-color: rgba(122, 170, 235, 0.5);
  background: rgba(63, 96, 145, 0.88);
  color: #f2f7ff;
}

body.theme-dark .task-topic-count {
  border-color: rgba(133, 151, 183, 0.36);
  background: rgba(53, 90, 146, 0.38);
  color: #d5e5ff;
}

body.theme-dark .task-topic-inline-urgent,
body.theme-dark .task-topic-urgent-badge {
  border-color: rgba(255, 138, 129, 0.52);
  background: rgba(132, 42, 34, 0.86);
  color: #ffe6e4;
}

body.theme-dark .task-msg {
  border-color: rgba(133, 151, 183, 0.24);
  background: rgba(26, 42, 68, 0.9);
}

body.theme-dark .task-msg.is-own {
  border-color: rgba(113, 156, 221, 0.52);
  background: rgba(51, 80, 122, 0.92);
}

body.theme-dark .task-msg-reaction-chip {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(26, 42, 68, 0.92);
  color: #d4e3ff;
}

body.theme-dark .task-msg-reaction-chip.is-active {
  border-color: rgba(122, 170, 235, 0.68);
  background: rgba(63, 96, 145, 0.88);
  color: #f2f7ff;
}

body.theme-dark .task-msg-reaction-picker {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(23, 38, 62, 0.97);
  box-shadow: 0 8px 18px rgba(7, 14, 25, 0.45);
}

body.theme-dark .task-msg-reaction-btn {
  background: rgba(39, 61, 96, 0.92);
}

body.theme-dark .task-msg-author,
body.theme-dark .task-topic-emoji-label {
  color: #cde1ff;
}

body.theme-dark .task-msg--poll .task-msg-author {
  color: #d5e7ff;
}

body.theme-dark .task-topic-archived-info {
  color: #b9cbe8;
}

body.theme-dark .task-archive-topic-btn {
  border-color: rgba(229, 134, 112, 0.46);
  background: rgba(117, 55, 47, 0.84);
  color: #ffd9d1;
}

body.theme-dark .task-urgent-toggle-btn {
  border-color: rgba(239, 155, 145, 0.52);
  background: rgba(124, 58, 50, 0.84);
  color: #ffe2de;
}

body.theme-dark .task-topic-empty,
body.theme-dark .task-msg-empty {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(26, 42, 68, 0.86);
}

body.theme-dark .task-topic-emoji-btn {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(23, 38, 62, 0.92);
}

body.theme-dark .task-reply-banner {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(23, 38, 62, 0.92);
}

body.theme-dark .task-reply-banner-meta {
  color: #d0e2ff;
}

body.theme-dark .task-reply-cancel-btn {
  border-color: rgba(133, 151, 183, 0.36);
  background: rgba(31, 49, 79, 0.92);
  color: #d6e8ff;
}

body.theme-dark .task-msg-star {
  color: #ffd77a;
}

body.theme-dark .task-composer-plus-btn {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(35, 56, 89, 0.9);
  color: #d5e6ff;
}

body.theme-dark .task-composer-menu {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(23, 38, 62, 0.97);
  box-shadow: 0 10px 20px rgba(7, 14, 25, 0.48);
}

body.theme-dark .task-composer-menu-item {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(31, 49, 79, 0.94);
  color: #d4e3ff;
}

body.theme-dark .task-poll-help,
body.theme-dark .task-poll-multi-row {
  color: #bfd4ec;
}

body.theme-dark .task-poll-option-input {
  border-color: rgba(133, 151, 183, 0.36);
  background: rgba(20, 34, 57, 0.94);
  color: #e5efff;
}

body.theme-dark .task-poll-add-option-btn {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(30, 49, 79, 0.9);
  color: #d7e8ff;
}

body.theme-dark .task-poll-preview-section {
  border-color: rgba(133, 151, 183, 0.32);
  background: rgba(21, 36, 60, 0.92);
}

body.theme-dark .task-poll-preview-title {
  color: #cde1ff;
}

body.theme-dark .task-poll-total {
  color: #b9cbe8;
}

body.theme-dark .task-poll-view-votes-btn {
  border-color: rgba(98, 157, 228, 0.56);
  background: rgba(69, 114, 176, 0.5);
  color: #eaf3ff;
}

body.theme-dark .task-poll-card {
  border-color: rgba(98, 157, 228, 0.52);
  background: linear-gradient(165deg, rgba(26, 45, 73, 0.96), rgba(20, 35, 58, 0.98));
}

body.theme-dark .task-poll-question {
  color: #e6f0ff;
}

body.theme-dark .task-poll-mode {
  color: #bfd4ec;
}

body.theme-dark .task-poll-mode::before {
  background: rgba(98, 157, 228, 0.24);
  box-shadow: inset 0 0 0 1px rgba(120, 176, 241, 0.44);
  color: #cfe5ff;
}

body.theme-dark .task-poll-option {
  border-color: rgba(133, 151, 183, 0.3);
  background: rgba(21, 37, 61, 0.88);
}

body.theme-dark .task-poll-option-fill {
  background: linear-gradient(90deg, rgba(104, 173, 245, 0.9), rgba(67, 139, 228, 0.9));
}

body.theme-dark .task-poll-option-label,
body.theme-dark .task-poll-option-meta {
  color: #e7f1ff;
}

body.theme-dark .task-poll-option-indicator {
  border-color: rgba(133, 172, 225, 0.76);
}

body.theme-dark .task-poll-option.is-selected {
  border-color: rgba(112, 181, 255, 0.78);
  background: rgba(45, 79, 128, 0.9);
}

body.theme-dark .task-poll-option.is-selected .task-poll-option-indicator {
  border-color: rgba(183, 216, 255, 0.95);
  background: rgba(91, 161, 240, 0.96);
  box-shadow: inset 0 0 0 3px rgba(22, 45, 78, 0.96);
}

body.theme-dark .task-poll-results-dialog {
  border-color: rgba(133, 151, 183, 0.34);
  background: linear-gradient(165deg, rgba(18, 31, 52, 0.97), rgba(15, 26, 44, 0.96));
  color: #dce9ff;
}

body.theme-dark .task-poll-results-dialog .dialog-head {
  border-bottom-color: rgba(133, 151, 183, 0.26);
}

body.theme-dark .task-poll-results-dialog .dialog-head h3 {
  color: #e5f0ff;
}

body.theme-dark .task-poll-results-dialog .close-btn {
  border-color: rgba(133, 151, 183, 0.34);
  background: rgba(31, 49, 79, 0.92);
}

body.theme-dark .task-poll-results-dialog .close-btn span {
  background: #d1e3ff;
}

body.theme-dark .task-poll-results-question {
  border-color: rgba(133, 151, 183, 0.3);
  background: rgba(30, 49, 79, 0.9);
  color: #e5f0ff;
}

body.theme-dark .task-poll-results-option {
  border-color: rgba(133, 151, 183, 0.28);
  background: rgba(25, 42, 68, 0.9);
}

body.theme-dark .task-poll-results-option-title {
  color: #e8f2ff;
}

body.theme-dark .task-poll-results-option-meta {
  color: #bfd4ec;
}

body.theme-dark .task-poll-results-voter {
  border-top-color: rgba(133, 151, 183, 0.2);
}

body.theme-dark .task-poll-results-voter.is-empty {
  border-top-color: rgba(133, 151, 183, 0.28);
  color: #b9cbe8;
}

body.theme-dark .task-poll-results-avatar {
  background: rgba(72, 123, 188, 0.9);
  color: #edf5ff;
}

body.theme-dark .task-poll-results-voter-name {
  color: #e4efff;
}

body.theme-dark .task-poll-results-empty {
  border-color: rgba(133, 151, 183, 0.32);
  background: rgba(30, 49, 79, 0.74);
  color: #bfd4ec;
}

body.theme-dark .task-attachment-file-card {
  border-color: rgba(133, 151, 183, 0.3);
  background: rgba(28, 44, 69, 0.92);
}

body.theme-dark .task-attachment-file-name,
body.theme-dark .task-attachment-link {
  color: #deebff;
}

body.theme-dark .task-attachment-file-meta {
  color: #b8cde9;
}

body.theme-dark .task-attachment-photo {
  border-color: rgba(133, 151, 183, 0.3);
  background: rgba(23, 38, 62, 0.92);
}

body.theme-dark .custom-date-picker-month {
  color: #e8f1ff;
}

body.theme-dark .custom-date-picker-weekdays span {
  color: #b9cbe8;
}

body.theme-dark .custom-date-picker-day {
  border-color: rgba(133, 151, 183, 0.24);
  background: rgba(27, 44, 70, 0.9);
  color: #d7e7ff;
}

body.theme-dark .custom-date-picker-day.is-selected {
  border-color: rgba(110, 161, 241, 0.52);
  background: rgba(68, 120, 201, 0.4);
  color: #ffffff;
}

body.theme-dark .home-calendar-editor-help,
body.theme-dark .home-calendar-editor-date,
body.theme-dark .home-calendar-editor-assignee,
body.theme-dark .home-calendar-editor-empty {
  color: #aebfdd;
}

body.theme-dark .home-calendar-event-meta.is-no-service,
body.theme-dark .home-calendar-editor-assignee.is-no-service {
  color: #ffb4b4;
}

body.theme-dark .home-calendar-event-meta-critical {
  color: #ffd39b;
}

body.theme-dark .home-calendar-tag.is-no-service {
  border-color: rgba(225, 113, 113, 0.4);
  background: rgba(167, 53, 53, 0.3);
  color: #ffd2d2;
}

body.theme-dark .home-calendar-timeline-icon.is-no-service {
  border-color: rgba(225, 113, 113, 0.34);
  background: rgba(167, 53, 53, 0.28);
}

body.theme-dark .home-calendar-editor-item {
  background: rgba(21, 34, 58, 0.92);
  border-color: rgba(133, 151, 183, 0.24);
}

body.theme-dark .home-calendar-editor-type {
  color: #deebff;
}

body.theme-dark .home-calendar-editor-empty {
  border-color: rgba(133, 151, 183, 0.32);
}

body.theme-dark .bottom-nav {
  background: rgba(18, 30, 51, 0.94);
  border-color: rgba(133, 151, 183, 0.3);
}

body.theme-dark .nav-item {
  color: #bbcae2;
}

body.theme-dark .stats-dialog::backdrop,
body.theme-dark .form-dialog::backdrop {
  background: rgba(3, 8, 18, 0.6);
}

body.theme-dark.native-app .form-dialog,
body.theme-dark.native-app .stats-dialog,
body.theme-dark.compact-layout .form-dialog,
body.theme-dark.compact-layout .stats-dialog {
  background: rgba(13, 24, 41, 0.98);
}

body.theme-dark.native-app .app-action-dialog,
body.theme-dark.compact-layout .app-action-dialog {
  background:
    radial-gradient(circle at top right, rgba(89, 123, 185, 0.24), transparent 36%),
    linear-gradient(165deg, rgba(18, 31, 54, 0.98), rgba(12, 22, 39, 0.98));
  box-shadow:
    0 26px 58px rgba(3, 8, 18, 0.56),
    0 10px 24px rgba(3, 8, 18, 0.34);
}

body.theme-dark.native-app .home-mission-calendar-dialog,
body.theme-dark.compact-layout .home-mission-calendar-dialog {
  background:
    radial-gradient(circle at top right, rgba(61, 161, 109, 0.24), transparent 36%),
    linear-gradient(165deg, rgba(18, 31, 54, 0.98), rgba(12, 27, 37, 0.98));
  box-shadow:
    0 26px 58px rgba(3, 8, 18, 0.56),
    0 10px 24px rgba(3, 8, 18, 0.34);
}

body.theme-dark.native-app #taskTopicDialog .task-topic-form,
body.theme-dark.compact-layout #taskTopicDialog .task-topic-form {
  border-top-color: rgba(133, 151, 183, 0.28);
  background: rgba(14, 25, 43, 0.98);
}

body.theme-dark input,
body.theme-dark textarea,
body.theme-dark select {
  background: rgba(22, 36, 61, 0.92);
  border-color: rgba(133, 151, 183, 0.32);
  color: #e5efff;
}

body.theme-business .page[data-page="home"].is-active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  padding-top: 16px;
}

body.theme-business .page[data-page="home"].is-active > * {
  min-width: 0;
  margin-top: 0;
  grid-column: 1 / -1;
}

body.theme-business section[data-page="home"] > [data-home-layout-item-id] {
  margin-top: 0;
}

body.theme-business .simple-card,
body.theme-business .progress-card,
body.theme-business .metrics-card,
body.theme-business .stats-dialog,
body.theme-business .form-dialog,
body.theme-business .mission-network-canvas,
body.theme-business .mission-network-canvas-group,
body.theme-business .mission-network-canvas-member,
body.theme-business .mission-network-readiness-card,
body.theme-business .mission-network-program-item {
  border-color: rgba(16, 66, 83, 0.12);
  background: linear-gradient(180deg, rgba(250, 252, 252, 0.98), rgba(240, 246, 247, 0.94));
  box-shadow:
    inset 0 3px 0 rgba(15, 118, 110, 0.74),
    0 18px 34px rgba(11, 41, 52, 0.08);
}

body.theme-business .simple-card,
body.theme-business .our-life-card,
body.theme-business .worship-program-card,
body.theme-business .home-calendar-card,
body.theme-business .task-board-card,
body.theme-business .inspiration-launch-card,
body.theme-business .home-talk-library-card,
body.theme-business .home-mission-weekend-banner-card,
body.theme-business .home-topic-request-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

body.theme-business #homePriorityGrid {
  margin-top: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 14px;
}

body.theme-business .home-priority-grid > .simple-card {
  margin-top: 0;
}

body.theme-business #homeInspirationCard,
body.theme-business #worshipProgramCard,
body.theme-business .home-calendar-card {
  grid-column: span 1;
}

body.theme-business #homeMissionWeekendBannerCard,
body.theme-business #homeTalkLibraryCard,
body.theme-business #taskBoardCard,
body.theme-business #homeTopicRequestCard,
body.theme-business #vcsCodexCard {
  grid-column: 1 / -1;
}

body.theme-business .our-life-card {
  border-color: rgba(134, 192, 199, 0.24);
  background: linear-gradient(160deg, rgba(16, 48, 65, 0.98), rgba(17, 59, 72, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 26px 44px rgba(9, 26, 35, 0.22);
}

body.theme-business .our-life-summary-btn {
  gap: 14px;
}

body.theme-business .our-life-summary-head,
body.theme-business .our-life-summary-footer {
  align-items: flex-start;
}

body.theme-business .our-life-summary-head h3,
body.theme-business .our-life-eyebrow,
body.theme-business .our-life-inline-meta,
body.theme-business .our-life-index,
body.theme-business .our-life-summary-cta,
body.theme-business .our-life-range,
body.theme-business .our-life-steps-toggle-label,
body.theme-business .our-life-steps-toggle-count {
  color: #eef7f8;
}

body.theme-business .our-life-summary-chevron,
body.theme-business .our-life-steps-toggle-chevron {
  border-color: #9fd6da;
}

body.theme-business .our-life-summary-overlay {
  border-top: 1px solid rgba(177, 217, 221, 0.16);
  padding-top: 14px;
}

body.theme-business .our-life-steps-toggle {
  border-color: rgba(177, 217, 221, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

body.theme-business .our-life-summary-cta,
body.theme-business .our-life-inline-meta {
  color: #b8d6d8;
}

body.theme-business .inspiration-launch-btn,
body.theme-business .task-board-main-toggle,
body.theme-business .home-calendar-main-toggle {
  border-radius: 18px;
  border-color: rgba(16, 66, 83, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 248, 249, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

body.theme-business .inspiration-launch-hero-icon {
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(250, 253, 253, 0.98), rgba(223, 237, 237, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 16px 28px rgba(12, 44, 55, 0.12);
}

body.theme-business .inspiration-launch-title,
body.theme-business .home-talk-library-title,
body.theme-business .worship-program-title,
body.theme-business .home-calendar-main-title,
body.theme-business .task-board-main-title {
  overflow-wrap: anywhere;
  hyphens: auto;
}

body.theme-business .inspiration-launch-help,
body.theme-business .home-talk-library-help,
body.theme-business .worship-program-help,
body.theme-business .home-calendar-main-help,
body.theme-business .task-board-main-help,
body.theme-business .home-calendar-help {
  color: #5a7481;
}

body.theme-business .inspiration-launch-btn {
  padding: 16px;
}

body.theme-business .inspiration-launch-hero-icon {
  justify-self: start;
  align-self: center;
}

body.theme-business .inspiration-launch-btn {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
}

body.theme-business .inspiration-launch-hero-icon {
  width: 48px;
  height: 48px;
  min-height: 48px;
  grid-column: 1;
  grid-row: 1 / span 2;
  font-size: 1.35rem;
}

body.theme-business .inspiration-launch-badge {
  align-self: start;
}

body.theme-business .home-quick-access-grid .inspiration-launch-btn {
  min-height: 164px;
  padding: 18px 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

body.theme-business .home-quick-access-grid .inspiration-launch-copy {
  gap: 0;
}

body.theme-business .home-quick-access-grid .inspiration-launch-hero-icon {
  width: 76px;
  height: 76px;
  min-height: 76px;
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
}

body.theme-business .home-quick-access-grid .home-calendar-chevron {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

body.theme-business .home-talk-library-card {
  background:
    linear-gradient(180deg, rgba(250, 252, 252, 0.98), rgba(239, 246, 247, 0.94));
}

body.theme-business .home-talk-library-shell {
  gap: 18px;
}

body.theme-business .home-talk-library-categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.theme-business .home-talk-library-category-btn {
  border-radius: 18px;
  border-color: rgba(16, 66, 83, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 246, 247, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body.theme-business .worship-program-card {
  background:
    linear-gradient(180deg, rgba(249, 253, 252, 0.98), rgba(239, 247, 244, 0.94));
}

body.theme-business .worship-program-card::before {
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}

body.theme-business .worship-program-toggle,
body.theme-business .task-board-main-toggle,
body.theme-business .home-calendar-main-toggle {
  padding: 16px;
}

body.theme-business .worship-program-toggle-icon,
body.theme-business .task-board-main-icon {
  border-radius: 16px;
  border-color: rgba(16, 66, 83, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 241, 243, 0.94));
}

body.theme-business .home-calendar-card {
  background: linear-gradient(180deg, rgba(248, 251, 252, 0.98), rgba(239, 243, 246, 0.94));
}

body.theme-business .home-calendar-main-toggle {
  gap: 8px 12px;
}

body.theme-business .task-board-card {
  background:
    linear-gradient(180deg, rgba(248, 251, 252, 0.98), rgba(239, 243, 246, 0.94));
}

body.theme-business .home-topic-request-card {
  background:
    linear-gradient(180deg, rgba(250, 252, 252, 0.98), rgba(239, 246, 247, 0.94));
}

@media (max-width: 620px){
  body.theme-business .page[data-page="home"].is-active {
    grid-template-columns: minmax(0, 1fr);
  }

  body.theme-business .page[data-page="home"].is-active > * {
    grid-column: 1;
  }

  body.theme-business #homePriorityGrid,
  body.theme-business .home-talk-library-categories {
    grid-template-columns: minmax(0, 1fr);
  }
}

body.theme-kids .progress-card,
body.theme-kids .simple-card,
body.theme-kids .metrics-card,
body.theme-kids .stats-dialog,
body.theme-kids .form-dialog,
body.theme-kids .mission-network-canvas,
body.theme-kids .mission-network-canvas-group,
body.theme-kids .mission-network-canvas-member,
body.theme-kids .mission-network-readiness-card,
body.theme-kids .mission-network-program-item {
  border-color: rgba(255, 255, 255, 0.84);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74));
  box-shadow: 0 16px 30px rgba(62, 87, 120, 0.1);
}

body.theme-kids .simple-card,
body.theme-kids .our-life-card,
body.theme-kids .worship-program-card,
body.theme-kids .home-calendar-card,
body.theme-kids .task-board-card,
body.theme-kids .mission-network-card,
body.theme-kids .goals-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

body.theme-kids .home-calendar-card > *,
body.theme-kids .task-board-card > *,
body.theme-kids .mission-network-card > *,
body.theme-kids .goals-card > * {
  position: relative;
  z-index: 1;
}

body.theme-kids .simple-card h3,
body.theme-kids .simple-card h4,
body.theme-kids .page-title,
body.theme-kids .counter,
body.theme-kids .counter-sm {
  color: #24375a;
}

body.theme-kids .subtext,
body.theme-kids .service-help,
body.theme-kids .ev-help,
body.theme-kids .home-calendar-help,
body.theme-kids .home-calendar-main-help,
body.theme-kids .task-board-main-help,
body.theme-kids .goals-main-help,
body.theme-kids .mission-network-kpi-label,
body.theme-kids .mission-network-canvas-group-meta,
body.theme-kids .mission-network-canvas-member-meta,
body.theme-kids .mission-network-readiness-status,
body.theme-kids .mission-network-readiness-next,
body.theme-kids .mission-network-readiness-meta,
body.theme-kids .mission-network-program-meta {
  color: #6a7d98;
}

body.theme-kids .primary-btn,
body.theme-kids .metric-btn {
  border-color: rgba(255, 189, 126, 0.28);
  background: linear-gradient(160deg, #ff9a72, #ffd36e);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 154, 114, 0.22);
  font-weight: 680;
}

body.theme-kids .ghost-btn {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.82);
  color: #4d6888;
}


body.theme-kids .page[data-tone="mission"] .simple-card,
body.theme-kids .page[data-tone="mission"] .progress-card,
body.theme-kids .page[data-tone="mission"] .metrics-card,
body.theme-kids .page[data-tone="mission"] .mission-fold-card,
body.theme-kids .mission-calendar-card,
body.theme-kids .mission-sermons-card,
body.theme-kids .mission-inventory-card,
body.theme-kids .mission-topic-request-card,
body.theme-kids .mission-study-groups-card,
body.theme-kids .mission-network-canvas,
body.theme-kids .mission-network-readiness-card,
body.theme-kids .mission-network-program-item {
  border-color: rgba(64, 188, 146, 0.18);
  background: linear-gradient(160deg, rgba(245, 255, 250, 0.96), rgba(228, 250, 241, 0.9));
}

body.theme-kids .page[data-tone="service"] .simple-card,
body.theme-kids .page[data-tone="service"] .progress-card,
body.theme-kids .page[data-tone="service"] .metrics-card,
body.theme-kids .page[data-tone="service"] .mission-fold-card,
body.theme-kids .service-overview-card,
body.theme-kids .service-list-card {
  border-color: rgba(159, 132, 255, 0.18);
  background: linear-gradient(160deg, rgba(250, 247, 255, 0.96), rgba(240, 235, 255, 0.9));
}

body.theme-kids .page[data-tone="evangelism"] .simple-card,
body.theme-kids .page[data-tone="evangelism"] .progress-card,
body.theme-kids .page[data-tone="evangelism"] .metrics-card,
body.theme-kids .page[data-tone="evangelism"] .mission-fold-card,
body.theme-kids .evangelism-overview-card,
body.theme-kids .ev-list-card {
  border-color: rgba(92, 174, 244, 0.18);
  background: linear-gradient(160deg, rgba(248, 252, 255, 0.96), rgba(231, 244, 255, 0.9));
}

body.theme-kids .our-life-card {
  border-color: rgba(241, 120, 93, 0.18);
  background: linear-gradient(160deg, rgba(255, 247, 243, 0.96), rgba(255, 233, 224, 0.9));
}

body.theme-kids .home-calendar-card {
  border-color: rgba(245, 154, 35, 0.18);
  background: linear-gradient(160deg, rgba(255, 250, 241, 0.96), rgba(255, 240, 205, 0.9));
}

body.theme-kids .worship-program-card {
  border-color: rgba(64, 188, 146, 0.22);
  background:
    radial-gradient(circle at top right, rgba(64, 188, 146, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 189, 126, 0.18), transparent 28%),
    linear-gradient(160deg, rgba(245, 255, 250, 0.98), rgba(230, 250, 241, 0.92));
}

body.theme-kids .worship-program-toggle-icon {
  border-color: rgba(64, 188, 146, 0.24);
  background:
    radial-gradient(circle at top right, rgba(64, 188, 146, 0.22), transparent 42%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(240, 251, 246, 0.94));
}

body.theme-kids .worship-program-toggle-icon-rail {
  background: linear-gradient(180deg, rgba(42, 175, 129, 0.24), rgba(71, 142, 242, 0.24), rgba(255, 166, 88, 0.3));
}

body.theme-kids .worship-program-toggle-icon-node {
  background: rgba(255, 255, 255, 0.96);
}

body.theme-kids .worship-program-toggle-chip,
body.theme-kids .worship-program-stat,
body.theme-kids .worship-program-panel,
body.theme-kids .worship-program-offer-item,
body.theme-kids .worship-program-step-card,
body.theme-kids .worship-program-empty {
  border-color: rgba(64, 188, 146, 0.22);
  background: rgba(255, 255, 255, 0.92);
}

body.theme-kids .worship-program-eyebrow,
body.theme-kids .worship-program-date,
body.theme-kids .worship-program-panel-eyebrow {
  color: #2e8b63;
}

body.theme-kids .worship-program-title,
body.theme-kids .worship-program-module-title,
body.theme-kids .worship-program-stat-value,
body.theme-kids .worship-program-panel-head h4,
body.theme-kids .worship-program-step-title,
body.theme-kids .worship-program-offer-name,
body.theme-kids .worship-program-offer-list-head h5,
body.theme-kids .worship-program-field > span {
  color: #235c48;
}

body.theme-kids .worship-program-help,
body.theme-kids .worship-program-meta,
body.theme-kids .worship-program-panel-help,
body.theme-kids .worship-program-stat-meta,
body.theme-kids .worship-program-offer-time,
body.theme-kids .worship-program-offer-note,
body.theme-kids .worship-program-offer-list-head p,
body.theme-kids .worship-program-empty,
body.theme-kids .worship-program-step-editor-help,
body.theme-kids .worship-program-step-state.is-completed {
  color: #5f7e73;
}

body.theme-kids .worship-program-offer-line,
body.theme-kids .worship-program-step-value,
body.theme-kids .worship-program-stat-label,
body.theme-kids .worship-program-step-participant {
  color: #5b746a;
}

body.theme-kids .worship-program-field input,
body.theme-kids .worship-program-field textarea,
body.theme-kids .worship-program-step-editor-field input,
body.theme-kids .worship-program-step-editor-field select {
  border-color: rgba(64, 188, 146, 0.22);
}

body.theme-kids .worship-program-step-placeholder {
  border-color: rgba(64, 188, 146, 0.22);
  background: rgba(255, 255, 255, 0.94);
  color: #2d7f5d;
}

body.theme-kids .worship-program-step-editor-field span,
body.theme-kids .worship-program-step-state.is-current {
  color: #2d7f5d;
}

body.theme-kids .worship-program-songbook-panel,
body.theme-kids .worship-program-bible-panel {
  border-color: rgba(64, 188, 146, 0.18);
  background: rgba(255, 255, 255, 0.94);
}

body.theme-kids .worship-program-songbook-status {
  color: #5f7e73;
}

body.theme-kids .worship-program-songbook-banner {
  background: rgba(255, 241, 215, 0.92);
  color: #9a631d;
}

body.theme-kids .worship-program-bible-preview {
  border-color: rgba(116, 101, 194, 0.18);
  background: rgba(247, 244, 255, 0.96);
}

body.theme-kids .task-board-card {
  border-color: rgba(159, 132, 255, 0.18);
  background: linear-gradient(160deg, rgba(250, 247, 255, 0.96), rgba(240, 235, 255, 0.9));
}

body.theme-kids .home-topic-request-card {
  border-color: rgba(64, 188, 146, 0.22);
  background: linear-gradient(160deg, rgba(245, 255, 250, 0.98), rgba(228, 250, 241, 0.94));
}

body.theme-kids .home-topic-request-toggle {
  color: #275f47;
}

body.theme-kids .home-topic-request-eyebrow {
  color: #2b8a61;
}

body.theme-kids .home-topic-request-title {
  color: #265d45;
}

body.theme-kids .home-topic-request-toggle-help {
  color: #557967;
}

body.theme-kids .home-topic-request-head-icon {
  background: rgba(64, 188, 146, 0.18);
  border-color: rgba(64, 188, 146, 0.3);
}

body.theme-kids .home-topic-request-flow-item {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(64, 188, 146, 0.24);
}

body.theme-kids .home-topic-request-flow-label,
body.theme-kids .home-topic-request-select-help,
body.theme-kids .mission-topic-request-meta,
body.theme-kids .mission-topic-request-response-meta {
  color: #587866;
}

body.theme-kids .home-topic-request-flow-value,
body.theme-kids .home-topic-request-inbox-head h4,
body.theme-kids .mission-topic-request-message,
body.theme-kids .mission-topic-request-response-title,
body.theme-kids .mission-topic-request-response-body {
  color: #2c6048;
}

body.theme-kids .home-topic-favorite-chip {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(64, 188, 146, 0.28);
  color: #2c5f49;
}

body.theme-kids .home-topic-favorite-count {
  background: rgba(64, 188, 146, 0.16);
  color: #2a7a56;
}

body.theme-kids .home-topic-request-card .mission-topic-request-form label {
  color: #3a6b56;
}

body.theme-kids .home-topic-request-type-fieldset legend {
  color: #3a6b56;
}

body.theme-kids .home-topic-request-type-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(64, 188, 146, 0.24);
}

body.theme-kids .home-topic-request-type-option input:checked + .home-topic-request-type-card {
  background: rgba(224, 248, 238, 0.96);
  border-color: rgba(42, 138, 97, 0.52);
}

body.theme-kids .home-topic-request-type-title {
  color: #2c6048;
}

body.theme-kids .home-topic-request-type-description {
  color: #587866;
}

body.theme-kids .home-topic-request-card .mission-topic-request-form input:not([type="checkbox"]),
body.theme-kids .home-topic-request-card .mission-topic-request-form textarea {
  border-color: rgba(64, 188, 146, 0.24);
}

body.theme-kids .home-topic-request-private-note {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(64, 188, 146, 0.24);
}

body.theme-kids .home-topic-request-private-badge {
  background: rgba(224, 248, 238, 0.96);
  border-color: rgba(42, 138, 97, 0.28);
  color: #2b6a50;
}

body.theme-kids .home-topic-request-private-help {
  color: #587866;
}

body.theme-kids .mission-topic-request-response {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(64, 188, 146, 0.24);
}

body.theme-kids .mission-topic-request-type-badge.is-answered {
  background: rgba(64, 188, 146, 0.16);
  border-color: rgba(42, 138, 97, 0.24);
  color: #2a7a56;
}

body.theme-kids .mission-topic-request-type-badge.is-waiting {
  background: rgba(255, 205, 132, 0.2);
  border-color: rgba(237, 163, 74, 0.28);
  color: #9b6923;
}

body.theme-kids .mission-topic-request-response-editor label {
  color: #3a6b56;
}

body.theme-kids .mission-topic-request-response-editor textarea {
  border-color: rgba(64, 188, 146, 0.24);
}

body.theme-kids .mission-sermons-request-badge {
  background: #ff6478;
  color: #fff;
  box-shadow: none;
}

body.theme-kids .mission-network-card {
  border-color: rgba(64, 188, 146, 0.18);
  background: linear-gradient(160deg, rgba(245, 255, 250, 0.96), rgba(228, 250, 241, 0.9));
}

body.theme-kids .goals-card {
  border-color: rgba(92, 174, 244, 0.18);
  background: linear-gradient(160deg, rgba(248, 252, 255, 0.96), rgba(231, 244, 255, 0.9));
}

body.theme-kids .our-life-card::after,
body.theme-kids .home-calendar-card::after,
body.theme-kids .task-board-card::after,
body.theme-kids .mission-network-card::after,
body.theme-kids .goals-card::after {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 92px;
  height: 72px;
  border-radius: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: none;
  pointer-events: none;
}

body.theme-kids .our-life-card::after {
  content: "★";
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 18px rgba(68, 89, 121, 0.08);
  background: rgba(255, 233, 224, 0.94);
  color: #ec7957;
}

body.theme-kids .home-calendar-card::after {
  content: "";
  background-image: url("kids-calendar.svg");
}

body.theme-kids .task-board-card::after {
  content: "";
  background-image: url("kids-chat.svg");
}

body.theme-kids .mission-network-card::after {
  content: "";
  background-image: url("kids-mission.svg");
}

body.theme-kids .goals-card::after {
  content: "";
  background-image: url("kids-goal.svg");
}

body.theme-kids .home-calendar-main-toggle,
body.theme-kids .task-board-main-toggle,
body.theme-kids .goals-main-toggle {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 20px;
  grid-template-columns: minmax(0, 1fr) 92px;
  min-height: 108px;
  gap: 8px 14px;
  padding: 14px 16px;
}

body.theme-kids .home-calendar-main-title,
body.theme-kids .task-board-main-title,
body.theme-kids .goals-main-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #2a4064;
}

body.theme-kids .task-board-main-icon,
body.theme-kids .goals-main-icon {
  display: none;
}

body.theme-kids .home-calendar-main-icons {
  font-size: 1.08rem;
  letter-spacing: 0.08em;
}

body.theme-kids .task-board-main-unread-badge,
body.theme-kids .nav-badge,
body.theme-kids .goals-main-count {
  background: linear-gradient(160deg, #ff8d69, #ff6f61);
  box-shadow: 0 6px 14px rgba(255, 111, 97, 0.26);
}

body.theme-kids .our-life-summary-head h3,
body.theme-kids .our-life-index,
body.theme-kids .our-life-module-name,
body.theme-kids .mission-network-canvas-group-title,
body.theme-kids .mission-network-canvas-member-name,
body.theme-kids .mission-network-readiness-title {
  color: #273a5d;
}

body.theme-kids .our-life-eyebrow,
body.theme-kids .our-life-inline-meta,
body.theme-kids .our-life-range,
body.theme-kids .our-life-module-val {
  color: #677b97;
}

body.theme-kids .our-life-summary-chevron,
body.theme-kids .home-calendar-chevron,
body.theme-kids .task-board-chevron,
body.theme-kids .goals-chevron {
  border-color: #7c90aa;
}

body.theme-kids .task-create-topic-btn,
body.theme-kids .goals-card .task-create-topic-btn,
body.theme-kids .mission-network-action-btn,
body.theme-kids .mission-network-program-toggle,
body.theme-kids .mission-network-canvas-church,
body.theme-kids .mission-network-canvas-member-role,
body.theme-kids .mission-network-session-status {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.74);
  color: #4a6787;
}

}

body.theme-kids .bottom-nav {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 34px rgba(57, 86, 118, 0.16);
  border-radius: 28px;
  padding: 10px 8px;
}

body.theme-kids .nav-item {
  opacity: 0.94;
  gap: 6px;
  padding: 8px 5px;
  border-radius: 18px;
  font-size: 0.68rem;
  font-weight: 700;
}

body.theme-kids .nav-item svg {
  width: 22px;
  height: 22px;
  padding: 10px;
  border-radius: 16px;
  background: var(--tone-soft);
  box-sizing: content-box;
}

body.theme-kids .nav-item.is-active {
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-2px);
}

body.theme-kids .nav-item.is-active svg {
  box-shadow: 0 10px 18px rgba(85, 113, 147, 0.12);
}

body.theme-kids input,
body.theme-kids textarea,
body.theme-kids select {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.86);
  color: #294063;
}


body.theme-kids .auth-message.is-success {
  min-height: 66px;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 106, 0.42);
  background:
    url("kids-mascot.svg") no-repeat 14px center / 50px auto,
    rgba(255, 252, 240, 0.92);
  box-shadow: 0 10px 22px rgba(88, 116, 150, 0.12);
  color: #486789;
  padding: 14px 16px 14px 74px;
}

body.theme-kids .task-topic-empty,
body.theme-kids .task-archive-empty,
body.theme-kids .task-msg-empty,
body.theme-kids .goals-status-empty,
body.theme-kids .goals-treasurer-empty,
body.theme-kids .home-calendar-editor-empty,
body.theme-kids .home-reaction-dialog-empty,
body.theme-kids .stats-empty,
body.theme-kids .mission-trend-empty,
body.theme-kids .mission-top-empty,
body.theme-kids .mission-calendar-empty,
body.theme-kids .mission-sermons-speaker-empty,
body.theme-kids .mission-sermons-plan-preview-empty,
body.theme-kids .mission-topic-request-empty,
body.theme-kids .service-empty,
body.theme-kids .ev-empty {
  display: block;
  border-radius: 18px;
  border: 1px dashed rgba(113, 141, 176, 0.26);
  background:
    url("kids-mascot.svg") no-repeat center 12px / 68px auto,
    rgba(255, 255, 255, 0.76);
  padding: 88px 14px 14px;
  text-align: center;
  color: #5e7292;
}

body.theme-dark .our-life-card,
body.theme-dark .home-topic-request-card {
  border-color: rgba(169, 146, 98, 0.24);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

body.theme-dark .our-life-summary-btn {
  background:
    linear-gradient(135deg, rgba(20, 22, 32, 0.42) 0%, rgba(16, 20, 29, 0.22) 36%, rgba(12, 17, 27, 0.82) 62%, rgba(10, 15, 24, 0.94) 100%),
    url("home-focus.webp");
  background-size: cover;
  background-position: 8% 60%;
}

body.theme-dark .our-life-summary-head h3,
body.theme-dark .our-life-progress-label,
body.theme-dark .our-life-index,
body.theme-dark .our-life-module-name,
body.theme-dark .our-life-module-val {
  color: #f7edd7;
}

body.theme-dark .our-life-eyebrow,
body.theme-dark .our-life-progress-value,
body.theme-dark .our-life-summary-cta,
body.theme-dark .our-life-range,
body.theme-dark .our-life-inline-meta {
  color: #ddcba7;
}

body.theme-dark .our-life-summary-head h3 {
  text-shadow:
    0 0 32px rgba(7, 10, 17, 0.9),
    0 0 16px rgba(7, 10, 17, 0.74),
    0 3px 10px rgba(7, 10, 17, 0.58);
}

body.theme-dark .our-life-eyebrow {
  text-shadow:
    0 0 20px rgba(7, 10, 17, 0.84),
    0 0 10px rgba(7, 10, 17, 0.66),
    0 2px 7px rgba(7, 10, 17, 0.5);
}

body.theme-dark .our-life-summary-chevron {
  border-right-color: #dbc59c;
  border-bottom-color: #dbc59c;
}

body.theme-dark .our-life-summary-overlay,
body.theme-dark .our-life-module-item {
  background: rgba(14, 19, 31, 0.8);
  border-color: rgba(177, 155, 110, 0.18);
}

body.theme-dark .our-life-steps-toggle {
  color: #f7edd7;
}

body.theme-dark .our-life-steps-toggle-count {
  background: rgba(219, 197, 156, 0.14);
  color: #f1e1bf;
}

body.theme-dark .our-life-steps-toggle-chevron {
  border-right-color: #dbc59c;
  border-bottom-color: #dbc59c;
}

body.theme-dark .home-topic-request-toggle {
  background:
    linear-gradient(90deg, rgba(13, 18, 27, 0.92) 0%, rgba(13, 18, 27, 0.8) 44%, rgba(13, 18, 27, 0.26) 100%),
    url("home-soul-guide.webp");
  background-size: cover;
  background-position: center;
}

body.theme-dark .home-topic-request-title,
body.theme-dark .home-topic-request-card .mission-topic-request-form label,
body.theme-dark .home-topic-request-flow-value,
body.theme-dark .home-topic-request-inbox-head h4 {
  color: #f2e7d0;
}

body.theme-dark .home-topic-request-eyebrow {
  color: #ddcba7;
}

body.theme-dark .home-topic-request-hero-lead,
body.theme-dark .home-topic-request-card .mission-topic-request-help,
body.theme-dark .home-topic-request-flow-label,
body.theme-dark .home-topic-request-select-help,
body.theme-dark .home-topic-request-private-help {
  color: #d5c5a1;
}

body.theme-dark .home-topic-request-hero-cta,
body.theme-dark .home-topic-request-flow-item,
body.theme-dark .home-topic-request-private-note {
  background: rgba(15, 22, 34, 0.76);
  border-color: rgba(177, 155, 110, 0.18);
  color: #e7d9b9;
}

body.theme-kids .our-life-card::after {
  content: none;
}

body.theme-kids .our-life-card,
body.theme-kids .our-life-card::after {
  content: none;
}

body.theme-kids .our-life-card,
body.theme-kids .home-topic-request-card {
  border-radius: 30px;
  overflow: hidden;
}

/* Theme extraction: settings.css */
.theme-design-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}

.theme-design-btn {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 92px;
  border-radius: 22px;
  border: 1px solid rgba(45, 82, 142, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92)),
    rgba(255, 255, 255, 0.95);
  color: #30568f;
  font: inherit;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 37, 70, 0.08);
}

.theme-design-btn-preview {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--theme-preview-surface) 88%, white 12%),
      color-mix(in srgb, var(--theme-preview-surface) 68%, var(--theme-preview-accent) 32%)
    );
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 12px 20px color-mix(in srgb, var(--theme-preview-accent) 18%, transparent 82%);
}

.theme-design-btn-preview-hero,
.theme-design-btn-preview-chip {
  position: absolute;
  border-radius: 999px;
}

.theme-design-btn-preview-hero {
  inset: 13px;
  background: color-mix(in srgb, var(--theme-preview-accent) 72%, white 28%);
  box-shadow: 0 10px 16px color-mix(in srgb, var(--theme-preview-accent) 26%, transparent 74%);
}

.theme-design-btn-preview-chip {
  right: 8px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  background: color-mix(in srgb, var(--theme-preview-surface) 26%, var(--theme-preview-accent) 74%);
  border: 2px solid rgba(255, 255, 255, 0.82);
}

.theme-design-btn.is-business .theme-design-btn-preview {
  background:
    linear-gradient(135deg, #f2fbfb 0%, #dbefea 48%, #bde2df 100%);
}

.theme-design-btn.is-business .theme-design-btn-preview::before,
.theme-design-btn.is-business .theme-design-btn-preview::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.theme-design-btn.is-business .theme-design-btn-preview::before {
  inset: 8px auto 8px 8px;
  width: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0f766e, #103041);
  box-shadow: 20px 0 0 rgba(255, 255, 255, 0.44);
}

.theme-design-btn.is-business .theme-design-btn-preview::after {
  inset: 13px 10px 11px 30px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(222, 237, 237, 0.92));
  box-shadow: inset 0 0 0 1px rgba(16, 66, 83, 0.1);
}

.theme-design-btn.is-business .theme-design-btn-preview-hero {
  left: 37px;
  right: auto;
  top: auto;
  bottom: 12px;
  width: 8px;
  height: 24px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #0f766e, #2e5e7a);
  box-shadow:
    15px -7px 0 0 #1b8895,
    30px -13px 0 0 #7ac4bf;
}

.theme-design-btn.is-business .theme-design-btn-preview-chip {
  top: 15px;
  right: 13px;
  bottom: auto;
  width: 18px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: #0f766e;
  box-shadow:
    -20px 0 0 rgba(16, 66, 83, 0.24),
    -40px 0 0 rgba(16, 66, 83, 0.12);
}

.theme-design-btn.is-elegant .theme-design-btn-preview {
  background:
    linear-gradient(135deg, #fffafc 0%, #f5e8f5 52%, #f1d9e5 100%);
}

.theme-design-btn.is-elegant .theme-design-btn-preview-hero {
  inset: 11px;
  border-radius: 22px;
  background: linear-gradient(145deg, #7c3f8c, #d4a574);
}

.theme-design-btn.is-classic .theme-design-btn-preview {
  background:
    linear-gradient(135deg, #f7f9fc 0%, #e8eef8 55%, #dce5f3 100%);
}

.theme-design-btn.is-classic .theme-design-btn-preview-hero {
  inset: 10px 10px 18px;
  border-radius: 12px;
  background: linear-gradient(145deg, #355c9b, #6d83b8);
}

.theme-design-btn.is-vintage .theme-design-btn-preview {
  background:
    linear-gradient(135deg, #fbf2e8 0%, #eadbc7 55%, #d8c2a9 100%);
}

.theme-design-btn.is-vintage .theme-design-btn-preview-hero {
  inset: 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, #8a5a3b, #8f7c48);
}

.theme-design-btn.is-simple .theme-design-btn-preview {
  background:
    linear-gradient(135deg, #ffffff 0%, #f2f5f8 54%, #e6ebef 100%);
}

.theme-design-btn.is-simple .theme-design-btn-preview-hero {
  inset: 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, #7b8794, #c2cad3);
}

.theme-design-btn.is-light .theme-design-btn-preview {
  background:
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 52%, #dbe8ff 100%);
}

.theme-design-btn.is-light .theme-design-btn-preview-hero {
  inset: 11px;
  border-radius: 18px;
  background: linear-gradient(145deg, #4f7ed0, #90b3ff);
}

.theme-design-btn.is-dark .theme-design-btn-preview {
  background:
    linear-gradient(135deg, #0d1525 0%, #162338 58%, #243756 100%);
}

.theme-design-btn.is-dark .theme-design-btn-preview-hero {
  inset: 12px;
  border-radius: 18px;
  background: linear-gradient(145deg, #6ea6ff, #ed8d37);
}

.theme-design-btn.is-dark .theme-design-btn-preview-chip {
  border-color: rgba(17, 24, 39, 0.84);
}

.theme-design-btn.is-kids .theme-design-btn-preview {
  background:
    linear-gradient(135deg, #fff7cb 0%, #dff8ff 54%, #f0ffe0 100%);
}

.theme-design-btn.is-kids .theme-design-btn-preview-hero {
  inset: 10px;
  border-radius: 24px;
  background: linear-gradient(145deg, #ff9a72, #ffd66a);
}

.theme-design-btn.is-youth .theme-design-btn-preview {
  background:
    linear-gradient(135deg, #eefcff 0%, #eaf0ff 50%, #dcf1ff 100%);
}

.theme-design-btn.is-youth .theme-design-btn-preview-hero {
  inset: 10px 10px 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, #0ea5e9, #7c5cff);
}

.theme-design-btn.is-teen .theme-design-btn-preview {
  background:
    linear-gradient(135deg, #14162a 0%, #242546 55%, #2d2253 100%);
}

.theme-design-btn.is-teen .theme-design-btn-preview-hero {
  inset: 11px;
  border-radius: 18px;
  background: linear-gradient(145deg, #8b5cf6, #ec4899);
}

.theme-design-btn.is-teen .theme-design-btn-preview-chip {
  border-color: rgba(29, 31, 57, 0.84);
}

.theme-design-btn-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.theme-design-btn-title {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.15;
}

.theme-design-btn-meta {
  display: block;
  font-size: 0.76rem;
  line-height: 1.35;
  color: #58708e;
}

.theme-design-btn.is-active {
  border-color: color-mix(in srgb, var(--theme-preview-accent) 44%, white 56%);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--theme-preview-surface) 86%, white 14%),
      color-mix(in srgb, var(--theme-preview-surface) 68%, var(--theme-preview-accent) 32%)
    ),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--theme-preview-accent) 20%, transparent 80%);
}

.theme-design-btn.is-active .theme-design-btn-title {
  color: color-mix(in srgb, var(--theme-preview-accent) 74%, #173054 26%);
}

:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
).settings-page-body {
  background: linear-gradient(170deg, color-mix(in srgb, var(--bg-1) 82%, white 18%), var(--bg-2));
  color: var(--ink);
}

:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .settings-topbar,
:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .settings-card {
  border-color: color-mix(in srgb, var(--line) 88%, transparent 12%);
  background: color-mix(in srgb, var(--card) 92%, white 8%);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--home-tone) 10%, transparent 90%);
}

:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .settings-help,
:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .settings-form label,
:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .settings-language-wrap label {
  color: var(--muted);
}

:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
).admin-page-body:not(.native-app):not(.compact-layout) {
  background: linear-gradient(170deg, color-mix(in srgb, var(--bg-1) 82%, white 18%), var(--bg-2));
  color: var(--ink);
}

:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .admin-topbar,
:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .admin-status-card,
:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .admin-panel,
:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .admin-user-row,
:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .admin-fold,
:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .module-control-item,
:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .servant-item,
:where(
  body.theme-business,
  body.theme-elegant,
  body.theme-classic,
  body.theme-vintage,
  body.theme-simple,
  body.theme-light,
  body.theme-youth,
  body.theme-teen
) .automation-task-card {
  border-color: color-mix(in srgb, var(--line) 88%, transparent 12%);
  background: color-mix(in srgb, var(--card) 92%, white 8%);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--home-tone) 10%, transparent 90%);
}

body.theme-business.settings-page-body {
  background:
    linear-gradient(180deg, rgba(247, 251, 252, 0.96), rgba(235, 243, 245, 0.98)),
    linear-gradient(90deg, rgba(16, 66, 83, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 66, 83, 0.05) 1px, transparent 1px);
  background-size: auto, 84px 84px, 84px 84px;
  color: var(--business-strong);
}

body.theme-business .settings-shell {
  gap: 14px;
}

body.theme-business .settings-topbar,
body.theme-business .settings-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border-color: rgba(16, 66, 83, 0.12);
  background: linear-gradient(180deg, rgba(250, 252, 252, 0.98), rgba(240, 246, 247, 0.94));
  box-shadow:
    inset 0 3px 0 rgba(15, 118, 110, 0.74),
    0 18px 34px rgba(10, 40, 52, 0.08);
}

body.theme-business .settings-topbar {
  padding: 18px;
}

body.theme-business .settings-topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(16, 66, 83, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 66, 83, 0.04) 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px;
  pointer-events: none;
}

body.theme-business .settings-topbar h1,
body.theme-business .settings-card h2 {
  color: var(--business-strong);
}

body.theme-business .settings-topbar h1 {
  font-size: 2.28rem;
  line-height: 0.94;
}

body.theme-business .settings-role-badge {
  color: #0d5e63;
  background: rgba(15, 118, 110, 0.12);
}

body.theme-business .settings-help,
body.theme-business .settings-form label,
body.theme-business .settings-language-wrap label,
body.theme-business .settings-avatar-label,
body.theme-business .settings-avatar-group-title,
body.theme-business .settings-avatar-library-warning {
  color: #5b7481;
}

body.theme-business .settings-form input,
body.theme-business .settings-form textarea,
body.theme-business .settings-language-wrap select,
body.theme-business .settings-avatar-option,
body.theme-business .settings-avatar-custom-preview {
  border-color: rgba(16, 66, 83, 0.14);
  border-radius: 14px;
  background: rgba(252, 254, 254, 0.96);
  color: #15303f;
}

body.theme-business .settings-avatar-block,
body.theme-business .settings-module-status-panel,
body.theme-business .settings-module-status-item,
body.theme-business .settings-check-block,
body.theme-business .settings-sabbath-summary-card,
body.theme-business .settings-sabbath-language-card,
body.theme-business .settings-sabbath-run-card,
body.theme-business .settings-sabbath-report,
body.theme-business .settings-sabbath-history {
  border-color: rgba(16, 66, 83, 0.12);
  border-radius: 18px;
  background: rgba(244, 249, 249, 0.84);
}

body.theme-business .settings-avatar-upload-btn,
body.theme-business .settings-avatar-remove-btn,
body.theme-business .settings-avatar-auto-btn,
body.theme-business .theme-design-btn {
  border-color: rgba(16, 66, 83, 0.14);
  background: rgba(250, 252, 252, 0.9);
  color: #184050;
}

body.theme-business .settings-avatar-option.is-selected,
body.theme-business .settings-avatar-auto-btn.is-selected {
  border-color: rgba(15, 118, 110, 0.46);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

body.theme-business #settingsAppearanceCard {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
}

body.theme-business #settingsAppearanceCard::before,
body.theme-business #settingsAppearanceCard::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

body.theme-business #settingsAppearanceCard::before {
  top: 18px;
  right: 18px;
  width: 128px;
  height: 128px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(15, 118, 110, 0.18), rgba(46, 94, 122, 0.14));
  box-shadow: inset 0 0 0 1px rgba(16, 66, 83, 0.08);
}

body.theme-business #settingsAppearanceCard::after {
  top: 34px;
  right: 34px;
  width: 92px;
  height: 72px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(225, 237, 238, 0.94)),
    linear-gradient(90deg, rgba(16, 66, 83, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 66, 83, 0.06) 1px, transparent 1px);
  background-size: auto, 18px 18px, 18px 18px;
  box-shadow: 0 14px 26px rgba(12, 41, 52, 0.12);
}

body.theme-business #settingsAppearanceCard > * {
  position: relative;
  z-index: 1;
}

body.theme-business #settingsAppearanceCard h2,
body.theme-business #settingsAppearanceCard .settings-help {
  max-width: calc(100% - 148px);
}

body.theme-business .theme-design-switch {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}

body.theme-business .theme-design-btn {
  grid-template-columns: 78px minmax(0, 1fr);
  min-height: 104px;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(10, 40, 52, 0.08);
}

body.theme-business .theme-design-btn-title,
body.theme-business #settingsAppearanceCard h2,
body.theme-business .settings-topbar h1,
body.theme-business .settings-card h2,
body.theme-business .topbar h1 {
  font-variation-settings: "SOFT" 40;
}

body.theme-business .theme-design-btn .theme-design-btn-meta {
  color: #5f7683;
}

body.theme-business .theme-design-btn[data-theme-value="business"] {
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(46, 94, 122, 0.08)),
    rgba(250, 252, 252, 0.94);
}

body.theme-business .theme-design-btn.is-active {
  border-color: rgba(15, 118, 110, 0.36);
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.14), rgba(46, 94, 122, 0.12)),
    rgba(252, 254, 254, 0.98);
  box-shadow: 0 18px 34px rgba(10, 40, 52, 0.1);
}

body.theme-business #saveThemeBtn,
body.theme-business #saveLanguageBtn {
  width: fit-content;
  min-width: 150px;
}

body.theme-business .settings-choice-btn.is-active {
  border-color: rgba(15, 118, 110, 0.36);
  background: linear-gradient(145deg, #103041, #0f766e);
  color: #f4fbfb;
}

body.theme-business .settings-danger-card {
  border-color: rgba(177, 90, 90, 0.24);
  background: linear-gradient(180deg, rgba(255, 250, 250, 0.98), rgba(251, 240, 240, 0.94));
  box-shadow:
    inset 0 3px 0 rgba(190, 74, 74, 0.52),
    0 18px 34px rgba(78, 36, 36, 0.08);
}

body.theme-business .danger-btn {
  border-color: rgba(177, 90, 90, 0.24);
  background: rgba(190, 74, 74, 0.1);
  color: #8d2f2f;
}

body.theme-business .settings-module-status-panel-head h3,
body.theme-business .settings-module-status-item-title,
body.theme-business .settings-sabbath-summary-value,
body.theme-business .settings-sabbath-language-title,
body.theme-business .settings-sabbath-run-title,
body.theme-business .settings-sabbath-report-head h3,
body.theme-business .settings-sabbath-history h3 {
  color: var(--business-strong);
}

body.theme-business .settings-module-status-item-meta,
body.theme-business .settings-module-status-empty,
body.theme-business .settings-sabbath-summary-label,
body.theme-business .settings-sabbath-summary-meta,
body.theme-business .settings-sabbath-language-meta,
body.theme-business .settings-sabbath-run-meta,
body.theme-business .settings-sabbath-empty,
body.theme-business .settings-message {
  color: #5b7481;
}

@media (min-width: 920px){
  body.theme-business .settings-shell {
    width: min(100%, 1080px);
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 16px;
  }

  body.theme-business .settings-topbar {
    grid-column: 1 / -1;
  }

  body.theme-business #settingsAppearanceCard {
    grid-column: 2;
    grid-row: 2 / span 3;
    position: sticky;
    top: 18px;
    align-self: start;
  }
}

@media (max-width: 560px){
  body.theme-business #settingsAppearanceCard h2,
  body.theme-business #settingsAppearanceCard .settings-help {
    max-width: none;
  }

  body.theme-business #settingsAppearanceCard::before,
  body.theme-business #settingsAppearanceCard::after {
    content: none;
  }
}

body.settings-page-body .theme-design-switch {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(420px, 100%);
}

body.settings-page-body .theme-design-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px 10px 28px;
  border-radius: 999px;
  border-color: color-mix(in srgb, var(--theme-preview-accent) 24%, rgba(45, 82, 142, 0.2) 76%);
  background: color-mix(in srgb, var(--theme-preview-surface) 80%, white 20%);
  box-shadow: none;
}

body.settings-page-body .theme-design-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--theme-preview-accent);
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-preview-accent) 16%, transparent 84%);
}

body.settings-page-body .theme-design-btn-preview,
body.settings-page-body .theme-design-btn-meta {
  display: none;
}

body.settings-page-body .theme-design-btn-copy {
  display: block;
  width: 100%;
}

body.settings-page-body .theme-design-btn-title {
  font-size: 0.84rem;
  font-weight: 590;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

body.settings-page-body .theme-design-btn.is-active {
  border-color: color-mix(in srgb, var(--theme-preview-accent) 48%, white 52%);
  background: color-mix(in srgb, var(--theme-preview-accent) 14%, white 86%);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--theme-preview-accent) 16%, transparent 84%);
}

body.settings-page-body .theme-design-btn.is-active .theme-design-btn-title {
  color: color-mix(in srgb, var(--theme-preview-accent) 78%, #173054 22%);
}

@media (max-width: 360px){
  body.settings-page-body .theme-design-switch {
    grid-template-columns: minmax(0, 1fr);
  }
}

body.theme-dark.settings-page-body {
  background: linear-gradient(170deg, #0f1728, #0b1220);
  color: #e8edf9;
}

body.theme-dark .settings-topbar,
body.theme-dark .settings-card {
  border-color: rgba(142, 159, 188, 0.24);
  background: rgba(18, 28, 48, 0.94);
  box-shadow: 0 14px 30px rgba(2, 6, 14, 0.42);
}

body.theme-dark .settings-help,
body.theme-dark .settings-form label,
body.theme-dark .settings-language-wrap label {
  color: #b8c8e3;
}

body.theme-dark .settings-help.is-error {
  color: #ffb7b7;
}

body.theme-dark .settings-module-status-panel {
  border-color: rgba(132, 151, 184, 0.24);
  background: rgba(18, 33, 54, 0.86);
}

body.theme-dark .settings-module-status-panel-head h3,
body.theme-dark .settings-module-status-item-title {
  color: #edf5ff;
}

body.theme-dark .settings-module-status-item {
  border-color: rgba(132, 151, 184, 0.2);
  background: rgba(16, 29, 48, 0.92);
}

body.theme-dark .settings-module-status-item-meta,
body.theme-dark .settings-module-status-empty {
  color: #b8c8e3;
}

body.theme-dark .settings-module-status-badge.is-healthy {
  color: #b8f4d6;
  background: rgba(59, 176, 119, 0.2);
}

body.theme-dark .settings-module-status-badge.is-degraded {
  color: #ffd89f;
  background: rgba(232, 159, 52, 0.22);
}

body.theme-dark .settings-module-status-badge.is-faulted {
  color: #ffc4c8;
  background: rgba(214, 87, 100, 0.22);
}

body.theme-dark .settings-avatar-block {
  border-color: rgba(132, 151, 184, 0.24);
  background: rgba(21, 34, 58, 0.75);
}

body.theme-dark .settings-avatar-label,
body.theme-dark .settings-avatar-group-title {
  color: #b8c8e3;
}

body.theme-dark .settings-avatar-upload-btn,
body.theme-dark .settings-avatar-remove-btn {
  border-color: rgba(132, 151, 184, 0.34);
  background: rgba(26, 43, 72, 0.9);
  color: #d5e2f5;
}

body.theme-dark .settings-avatar-remove-btn {
  border-color: rgba(213, 105, 105, 0.38);
  background: rgba(118, 42, 42, 0.24);
  color: #ffd9d9;
}

body.theme-dark .settings-avatar-custom-preview {
  border-color: rgba(132, 151, 184, 0.32);
  background: rgba(18, 28, 48, 0.96);
}

body.theme-dark .settings-avatar-auto-btn {
  border-color: rgba(132, 151, 184, 0.3);
  background: rgba(28, 46, 76, 0.8);
  color: #d3e0f4;
}

body.theme-dark .settings-avatar-auto-btn.is-selected {
  border-color: rgba(86, 157, 255, 0.6);
  background: rgba(47, 128, 237, 0.28);
  color: #edf5ff;
}

body.theme-dark .settings-form input {
  border-color: rgba(132, 151, 184, 0.34);
  background: rgba(20, 34, 58, 0.98);
  color: #e8edf9;
}

body.theme-dark .settings-form textarea {
  border-color: rgba(132, 151, 184, 0.34);
  background: rgba(20, 34, 58, 0.98);
  color: #e8edf9;
}

body.theme-dark .settings-language-wrap select {
  border-color: rgba(132, 151, 184, 0.34);
  background: rgba(20, 34, 58, 0.98);
  color: #e8edf9;
}

body.theme-dark .settings-avatar-option {
  border-color: rgba(132, 151, 184, 0.34);
  background: rgba(20, 34, 58, 0.98);
}

body.theme-dark .settings-avatar-option.is-selected {
  border-color: rgba(86, 157, 255, 0.62);
  box-shadow: 0 0 0 2px rgba(86, 157, 255, 0.22);
}

body.theme-dark .settings-avatar-library-warning {
  color: #e7bb92;
}

body.theme-dark .theme-design-btn {
  border-color: rgba(132, 151, 184, 0.34);
  background: rgba(24, 40, 67, 0.92);
  color: #ccdaef;
}

body.theme-dark .theme-design-btn .theme-design-btn-meta {
  color: #afc1df;
}

body.theme-dark .theme-design-btn.is-active {
  border-color: rgba(86, 157, 255, 0.62);
  background: rgba(47, 128, 237, 0.3);
  color: #edf5ff;
}

body.theme-dark .settings-danger-card {
  border-color: rgba(208, 110, 110, 0.32);
  background: rgba(39, 20, 26, 0.78);
}

body.theme-dark .settings-admin-automation-card {
  border-color: rgba(91, 150, 131, 0.28);
  background: rgba(17, 36, 32, 0.9);
}

body.theme-dark .settings-check-block,
body.theme-dark .settings-sabbath-summary-card,
body.theme-dark .settings-sabbath-language-card,
body.theme-dark .settings-sabbath-run-card,
body.theme-dark .settings-sabbath-report,
body.theme-dark .settings-sabbath-history {
  border-color: rgba(91, 150, 131, 0.2);
  background: rgba(16, 42, 36, 0.82);
}

body.theme-dark .settings-sabbath-summary-label,
body.theme-dark .settings-sabbath-summary-meta,
body.theme-dark .settings-sabbath-language-meta,
body.theme-dark .settings-sabbath-run-meta,
body.theme-dark .settings-sabbath-empty {
  color: #a8c9be;
}

body.theme-dark .settings-sabbath-summary-value,
body.theme-dark .settings-sabbath-language-title,
body.theme-dark .settings-sabbath-run-title,
body.theme-dark .settings-sabbath-report-head h3,
body.theme-dark .settings-sabbath-history h3 {
  color: #eef8f4;
}

body.theme-dark .danger-btn {
  border-color: rgba(225, 124, 124, 0.45);
  background: rgba(173, 63, 63, 0.2);
  color: #ffd7d7;
}

body.theme-dark .settings-message {
  color: #9fc4ff;
}

body.theme-kids.settings-page-body {
  background:
    radial-gradient(circle at 10% 9%, rgba(255, 216, 106, 0.96) 0%, rgba(255, 216, 106, 0.38) 8%, transparent 18%),
    linear-gradient(180deg, #dff8ff 0%, #fff6da 58%, #f4fff0 100%);
  color: #24375a;
  font-family: "Manrope", "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
}

body.theme-kids .settings-topbar,
body.theme-kids .settings-card {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 32px rgba(58, 87, 119, 0.12);
}

body.theme-kids .settings-topbar h1,
body.theme-kids .settings-card h2 {
  color: #24375a;
}

body.theme-kids .settings-help,
body.theme-kids .settings-form label,
body.theme-kids .settings-language-wrap label {
  color: #657a98;
}

body.theme-kids .settings-help.is-error {
  color: #c25555;
}

body.theme-kids .settings-module-status-panel,
body.theme-kids .settings-module-status-item {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.86);
}

body.theme-kids .settings-module-status-panel-head h3,
body.theme-kids .settings-module-status-item-title {
  color: #385072;
}

body.theme-kids .settings-module-status-item-meta,
body.theme-kids .settings-module-status-empty {
  color: #6c7f98;
}

body.theme-kids .settings-avatar-block {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.62);
}

body.theme-kids .settings-avatar-label,
body.theme-kids .settings-avatar-group-title {
  color: #4a6486;
}

body.theme-kids .settings-avatar-upload-btn,
body.theme-kids .settings-avatar-remove-btn,
body.theme-kids .settings-avatar-auto-btn,
body.theme-kids .theme-design-btn {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.82);
  color: #486587;
}

body.theme-kids .theme-design-btn .theme-design-btn-meta {
  color: #6f7f98;
}

body.theme-kids .theme-design-btn[data-theme-value="kids"] {
  background: linear-gradient(160deg, rgba(255, 154, 114, 0.18), rgba(255, 214, 106, 0.18));
}

body.theme-kids .theme-design-btn.is-active {
  border-color: rgba(255, 164, 99, 0.48);
  background: linear-gradient(160deg, rgba(255, 154, 114, 0.34), rgba(255, 214, 106, 0.36));
  color: #b35d3d;
}

body.theme-kids .settings-danger-card {
  border-color: rgba(255, 171, 171, 0.58);
  background: rgba(255, 243, 243, 0.82);
}

body.theme-kids .settings-admin-automation-card,
body.theme-kids .settings-check-block,
body.theme-kids .settings-sabbath-summary-card,
body.theme-kids .settings-sabbath-language-card,
body.theme-kids .settings-sabbath-run-card,
body.theme-kids .settings-sabbath-report,
body.theme-kids .settings-sabbath-history {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.8);
}

body.theme-kids .settings-sabbath-summary-label,
body.theme-kids .settings-sabbath-summary-meta,
body.theme-kids .settings-sabbath-language-meta,
body.theme-kids .settings-sabbath-run-meta,
body.theme-kids .settings-sabbath-empty {
  color: #6c7f98;
}

body.theme-kids .settings-sabbath-summary-value,
body.theme-kids .settings-sabbath-language-title,
body.theme-kids .settings-sabbath-run-title,
body.theme-kids .settings-sabbath-report-head h3,
body.theme-kids .settings-sabbath-history h3 {
  color: #294063;
}

body.theme-kids .danger-btn {
  border-color: rgba(255, 171, 171, 0.78);
  background: rgba(255, 208, 208, 0.54);
  color: #9a3f3f;
}

body.theme-kids .settings-avatar-custom-preview,
body.theme-kids .settings-avatar-option,
body.theme-kids .settings-form input,
body.theme-kids .settings-form textarea,
body.theme-kids .settings-language-wrap select {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.88);
  color: #294063;
}

body.theme-kids .settings-avatar-option.is-selected {
  border-color: rgba(255, 164, 99, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 164, 99, 0.16);
}

body.theme-kids .settings-avatar-library-warning {
  color: #8b4f22;
}

body.theme-kids .settings-message {
  color: #c56a3e;
}

body.theme-kids .settings-message.is-success {
  min-height: 66px;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 106, 0.42);
  background:
    url("kids-mascot.svg") no-repeat 14px center / 50px auto,
    rgba(255, 252, 240, 0.92);
  box-shadow: 0 10px 22px rgba(88, 116, 150, 0.12);
  color: #486789;
  padding: 14px 16px 14px 74px;
}

/* Theme extraction: admin.css */
body.theme-dark.admin-page-body {
  background: linear-gradient(170deg, #0f1728, #0b1220);
  color: #e6edf9;
}

body.theme-dark .admin-topbar,
body.theme-dark .admin-status-card,
body.theme-dark .admin-panel,
body.theme-dark .admin-user-row,
body.theme-dark .admin-fold,
body.theme-dark .module-control-item {
  border-color: rgba(133, 151, 183, 0.28);
  background: rgba(17, 29, 50, 0.94);
  box-shadow: 0 14px 30px rgba(2, 6, 14, 0.45);
}

body.theme-dark .admin-fold-toggle {
  color: #dce8ff;
}

body.theme-dark .admin-help,
body.theme-dark .admin-user-meta span,
body.theme-dark .module-control-meta span {
  color: #b5c5df;
}

body.theme-dark .admin-stack-form label {
  color: #b5c5df;
}

body.theme-dark .admin-check-row {
  color: #d7e5ff;
}

body.theme-dark .admin-user-role,
body.theme-dark .admin-user-btn,
body.theme-dark .admin-stack-form input,
body.theme-dark .admin-stack-form select,
body.theme-dark .admin-stack-form textarea {
  border-color: rgba(133, 151, 183, 0.32);
  background: rgba(25, 40, 67, 0.92);
  color: #cfe1ff;
}

body.theme-dark .admin-access-chip {
  border-color: rgba(133, 151, 183, 0.24);
  background: rgba(11, 20, 35, 0.86);
  color: #d5e2f5;
}

body.theme-dark .module-control-item {
  --module-soft: rgba(27, 43, 69, 0.95);
  border-color: rgba(133, 151, 183, 0.32);
  background: linear-gradient(165deg, rgba(17, 29, 50, 0.95), var(--module-soft));
}

body.theme-dark .module-control-item[data-module-category="prayer"] {
  --module-soft: rgba(110, 74, 30, 0.34);
}

body.theme-dark .module-control-item[data-module-category="mission"] {
  --module-soft: rgba(23, 99, 65, 0.34);
}

body.theme-dark .module-control-item[data-module-category="workshops"] {
  --module-soft: rgba(84, 62, 158, 0.34);
}

body.theme-dark .module-control-item[data-module-category="evangelism"] {
  --module-soft: rgba(39, 94, 173, 0.34);
}

body.theme-dark .module-control-item .module-control-meta strong,
body.theme-dark .module-control-item .module-control-toggle {
  color: #dbe7fa;
}

body.theme-dark .module-control-item .module-control-save-btn {
  border-color: transparent;
  background: var(--module-accent);
  color: #ffffff;
}

body.theme-dark .admin-separator {
  border-top-color: rgba(133, 151, 183, 0.32);
}

body.theme-dark .servant-role-form label,
body.theme-dark .servant-item-meta span {
  color: #b5c5df;
}

body.theme-dark .servant-role-form select,
body.theme-dark .servant-item {
  border-color: rgba(133, 151, 183, 0.32);
  background: rgba(25, 40, 67, 0.92);
  color: #cfe1ff;
}

body.theme-dark .automation-task-form label,
body.theme-dark .automation-task-meta,
body.theme-dark .automation-task-prompt,
body.theme-dark .automation-task-result {
  color: #b5c5df;
}

body.theme-dark .automation-task-form input,
body.theme-dark .automation-task-form textarea,
body.theme-dark .automation-task-card,
body.theme-dark .automation-task-btn {
  border-color: rgba(133, 151, 183, 0.32);
  background: rgba(25, 40, 67, 0.92);
  color: #cfe1ff;
}

body.theme-dark .automation-task-btn.is-danger {
  border-color: rgba(255, 137, 137, 0.42);
  background: rgba(120, 46, 46, 0.38);
  color: #ffd6d6;
}

body.theme-dark .servant-delete-btn {
  border-color: rgba(255, 137, 137, 0.42);
  background: rgba(120, 46, 46, 0.38);
  color: #ffd6d6;
}

body.theme-kids.admin-page-body {
  background:
    radial-gradient(circle at 10% 9%, rgba(255, 216, 106, 0.96) 0%, rgba(255, 216, 106, 0.38) 8%, transparent 18%),
    linear-gradient(180deg, #dff8ff 0%, #fff6da 58%, #f4fff0 100%);
  color: #24375a;
  font-family: "Manrope", "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
}

body.theme-kids .admin-topbar,
body.theme-kids .admin-status-card,
body.theme-kids .admin-panel,
body.theme-kids .admin-user-row,
body.theme-kids .admin-fold,
body.theme-kids .servant-item {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 32px rgba(58, 87, 119, 0.12);
}

body.theme-kids .admin-fold-toggle {
  color: #6d2f1a;
}

body.theme-kids .admin-help,
body.theme-kids .admin-user-meta span,
body.theme-kids .servant-role-form label,
body.theme-kids .admin-stack-form label,
body.theme-kids .servant-item-meta span {
  color: #647996;
}

body.theme-kids .admin-check-row {
  color: #647996;
}

body.theme-kids .admin-user-role,
body.theme-kids .admin-user-btn,
body.theme-kids .servant-role-form select,
body.theme-kids .admin-stack-form input,
body.theme-kids .admin-stack-form select,
body.theme-kids .admin-stack-form textarea {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.86);
  color: #2a4064;
}

body.theme-kids .admin-access-chip {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.88);
  color: #486789;
}

body.theme-kids .automation-task-form label,
body.theme-kids .automation-task-meta,
body.theme-kids .automation-task-prompt,
body.theme-kids .automation-task-result {
  color: #647996;
}

body.theme-kids .automation-task-form input,
body.theme-kids .automation-task-form textarea,
body.theme-kids .automation-task-card,
body.theme-kids .automation-task-btn {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.86);
  color: #2a4064;
}

body.theme-kids .admin-user-btn.is-primary {
  background: linear-gradient(160deg, #ff9a72, #ffd36e);
  border-color: rgba(255, 189, 126, 0.28);
}

body.theme-kids .admin-separator {
  border-top-color: rgba(255, 255, 255, 0.84);
}

body.theme-kids .admin-message.is-success {
  min-height: 66px;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 106, 0.42);
  background:
    url("kids-mascot.svg") no-repeat 14px center / 50px auto,
    rgba(255, 252, 240, 0.92);
  box-shadow: 0 10px 22px rgba(88, 116, 150, 0.12);
  color: #486789;
  padding: 14px 16px 14px 74px;
}
