:root {
    --bg: #fbfaf7;
    --surface: #ffffff;
    --text: #25202a;
    --muted: #6d6670;
    --mission: #7a2e8e;
    --mission-deep: #542064;
    --hope: #d99b2b;
    --line: #e8e1e9;
    --radius: 22px;
    --shadow: 0 18px 50px rgba(54, 31, 58, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, calc(100% - 36px)); margin: 0 auto; }
.narrow { width: min(620px, calc(100% - 36px)); }
.center { text-align: center; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,250,247,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(122,46,142,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { font-size: 1.8rem; font-weight: 900; letter-spacing: -.06em; }
.brand-plus { color: var(--mission); margin-left: .05em; }
.nav { display: flex; gap: 24px; align-items: center; }
.inline-form { display: inline; margin: 0; }
.link-button { border: 0; background: none; font: inherit; cursor: pointer; color: inherit; padding: 0; }
.hero { padding: 94px 0 82px; background: radial-gradient(circle at 85% 20%, rgba(122,46,142,.14), transparent 34%), radial-gradient(circle at 75% 85%, rgba(217,155,43,.14), transparent 26%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-block; color: var(--mission); font-size: .76rem; font-weight: 800; letter-spacing: .16em; margin-bottom: 12px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 880px; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
.lead { font-size: 1.18rem; max-width: 760px; color: var(--muted); }
.lead.compact { font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--mission); background: var(--mission); color: white; border-radius: 999px; min-height: 48px; padding: 0 22px; font-weight: 750; cursor: pointer; }
.button:hover { background: var(--mission-deep); border-color: var(--mission-deep); }
.button-small { min-height: 40px; padding: 0 17px; }
.button-ghost { background: transparent; color: var(--mission); }
.cross-card { background: var(--surface); padding: 48px 38px; border-radius: 34px; box-shadow: var(--shadow); text-align: center; transform: rotate(1.5deg); }
.mission-cross { width: 150px; height: 150px; margin: 0 auto 24px; display: grid; place-items: center; color: var(--mission); font-size: 10rem; line-height: .8; font-weight: 200; }
.cross-card p { color: var(--muted); margin: 0 auto; max-width: 300px; }
.section { padding: 86px 0; }
.section-heading { max-width: 790px; margin-bottom: 38px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 30px rgba(54,31,58,.035); }
.card p { color: var(--muted); margin-bottom: 0; }
.card-kicker { display: block; color: var(--mission); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; margin-bottom: 10px; }
.status { display: inline-block; margin-top: 18px; color: var(--mission); font-size: .78rem; font-weight: 800; }
.dashboard-cards { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.auth-section { min-height: 70vh; display: flex; align-items: center; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 38px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 2.5rem; margin-bottom: 12px; }
.form-stack { display: grid; gap: 18px; margin-top: 24px; }
.form-stack label { display: grid; gap: 7px; font-weight: 700; }
input { width: 100%; min-height: 48px; border: 1px solid #d7cfd9; border-radius: 13px; padding: 0 14px; font: inherit; background: white; }
input:focus { outline: 3px solid rgba(122,46,142,.12); border-color: var(--mission); }
.alert { background: #fff0f0; border: 1px solid #f0c8c8; color: #8b2d2d; padding: 12px 14px; border-radius: 12px; margin-top: 20px; }
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
@media (max-width: 900px) {
    .hero-grid, .cards, .dashboard-cards { grid-template-columns: 1fr 1fr; }
    .hero-grid { gap: 34px; }
}
@media (max-width: 650px) {
    .nav { gap: 14px; }
    .hero { padding-top: 60px; }
    .hero-grid, .cards, .dashboard-cards { grid-template-columns: 1fr; }
    .cross-card { display: none; }
    .footer-grid { align-items: start; flex-direction: column; }
}

/* ===== ORA+ ADMIN PANEL ===== */
.panel-body { background: #f5f8fc; color: #0c1d43; overflow-x: hidden; }
.panel-body .site-footer { display: none; }
.admin-shell { min-height: 100vh; display: flex; }
.admin-sidebar { width: 242px; flex: 0 0 242px; min-height: 100vh; position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; background: #fff; border-right: 1px solid #e6edf6; z-index: 50; }
.admin-brand-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid #edf1f7; }
.admin-brand { display: flex; align-items: center; gap: 9px; color: #083b75; line-height: 1; }
.admin-brand-mark { width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #0f67ca; background: linear-gradient(135deg,#e6f2ff,#fff4cf); }
.admin-brand b { font-size: 24px; letter-spacing: -.06em; }
.admin-brand em { color: #f1ae24; font-size: 24px; font-style: normal; font-weight: 900; }
.admin-brand small { display: block; margin-top: 5px; font-size: 8px; color: #536783; letter-spacing: 0; }
.sidebar-close { display: none; border: 0; background: transparent; font-size: 26px; color: #52627b; cursor: pointer; }
.sidebar-context { display: flex; gap: 10px; align-items: center; padding: 16px 20px 11px; color: #14284c; }
.sidebar-context-icon { width: 26px; height: 26px; display: grid; place-items: center; color: #0870db; }
.sidebar-context strong, .sidebar-context small { display: block; }
.sidebar-context strong { font-size: 12px; }
.sidebar-context small { color: #6b7c96; font-size: 9px; margin-top: 2px; }
.admin-nav { padding: 4px 12px 16px; overflow-y: auto; flex: 1; }
.admin-nav p { margin: 19px 10px 7px; color: #7788a2; font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
.admin-nav a { display: flex; align-items: center; gap: 12px; min-height: 39px; padding: 0 12px; border-radius: 7px; color: #1a2e50; font-size: 12px; font-weight: 520; }
.admin-nav a span { width: 16px; text-align: center; color: #173e76; font-size: 16px; }
.admin-nav a:hover, .admin-nav a.active { background: #e7f1ff; color: #075cbd; }
.admin-nav a.active span { color: #075cbd; }
.sidebar-bottom { padding: 10px 16px 16px; border-top: 1px solid #edf1f7; }
.public-page-link { display: block; color: #0566c8; font-size: 11px; font-weight: 700; padding: 10px 0; }
.sidebar-version { font-size: 9px; color: #7c8aa1; padding: 4px 0 11px; }
.sidebar-user { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid #e7edf6; border-radius: 10px; }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#0c5fb8,#f0b431); color: #fff; display: grid; place-items: center; font-weight: 800; }
.sidebar-user-copy { min-width: 0; flex: 1; }
.sidebar-user-copy strong, .sidebar-user-copy small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-copy strong { font-size: 10px; }
.sidebar-user-copy small { color: #7a899f; font-size: 8px; margin-top: 2px; }
.logout-icon { border: 0; background: transparent; color: #66768d; font-size: 17px; cursor: pointer; }
.admin-main { width: calc(100% - 242px); min-height: 100vh; margin-left: 242px; }
.admin-topbar { height: 84px; padding: 0 26px; background: rgba(255,255,255,.95); border-bottom: 1px solid #e6edf6; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 40; backdrop-filter: blur(10px); }
.topbar-title strong, .topbar-title span { display: block; }
.topbar-title strong { font-size: 18px; letter-spacing: -.02em; }
.topbar-title span { margin-top: 3px; color: #6b7c96; font-size: 12px; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.icon-button { position: relative; width: 38px; height: 38px; border: 0; background: transparent; color: #143159; font-size: 21px; cursor: pointer; }
.icon-button b { position: absolute; right: 1px; top: -2px; background: #ec4d42; color: #fff; width: 16px; height: 16px; border-radius: 50%; font-size: 9px; display: grid; place-items: center; }
.program-switcher { min-width: 222px; height: 52px; border: 1px solid #dfe7f1; border-radius: 8px; display: flex; align-items: center; gap: 9px; padding: 6px 10px; background: #fff; box-shadow: 0 3px 12px rgba(32,64,103,.04); }
.program-avatar { width: 35px; height: 35px; border-radius: 50%; background: #073e78; color: #f3b02f; display: grid; place-items: center; font-weight: 800; }
.program-switcher div:nth-child(2) { flex: 1; }
.program-switcher small, .program-switcher strong { display: block; }
.program-switcher small { color: #73839b; font-size: 8px; }
.program-switcher strong { font-size: 10px; margin-top: 2px; }
.sidebar-toggle { display: none; border: 0; background: transparent; font-size: 23px; color: #173e76; cursor: pointer; }
.admin-content { padding: 22px 26px 34px; }
.panel-dashboard { max-width: 1500px; margin: 0 auto; }
.panel-heading-row { display: flex; align-items: end; justify-content: space-between; margin-bottom: 16px; }
.panel-heading-row h1 { margin: 0; font-size: 21px; line-height: 1.1; color: #0b1f48; }
.panel-heading-row p { margin: 5px 0 0; color: #71809a; font-size: 12px; }
.primary-action { border: 0; border-radius: 6px; background: #0866c8; color: white; min-height: 34px; padding: 0 15px; font-weight: 700; box-shadow: 0 5px 12px rgba(8,102,200,.2); cursor: pointer; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 17px; }
.metric-card { min-height: 104px; background: #fff; border: 1px solid #e6edf6; border-radius: 10px; display: flex; align-items: center; gap: 13px; padding: 16px; box-shadow: 0 6px 18px rgba(41,70,108,.04); }
.metric-icon { width: 43px; height: 43px; flex: 0 0 43px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; }
.metric-icon.blue { background: #eaf3ff; color: #0869cb; }
.metric-icon.red { background: #fff0f1; color: #f04b55; }
.metric-icon.green { background: #eaf9ef; color: #26a65b; }
.metric-icon.amber { background: #fff6df; color: #ec9d08; }
.metric-card small, .metric-card strong, .metric-card em { display: block; }
.metric-card small { color: #546781; font-size: 10px; }
.metric-card strong { color: #0b1f48; font-size: 22px; margin: 2px 0 5px; line-height: 1; }
.metric-card em { font-size: 9px; font-style: normal; }
.success-pill { display: inline-block !important; width: max-content; color: #167842; background: #e9f7ed; padding: 3px 7px; border-radius: 999px; }
.positive { color: #10833f; }.link-tone { color: #075fbd; }
.dashboard-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 15px; align-items: start; }
.right-stack { display: grid; gap: 15px; }
.panel-card { background: #fff; border: 1px solid #e4ebf4; border-radius: 10px; box-shadow: 0 5px 18px rgba(35,65,100,.04); overflow: hidden; }
.panel-card-head { min-height: 55px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid #edf2f7; }
.panel-card-head h2 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.outline-action { min-height: 29px; padding: 0 10px; border: 1px solid #cfdceb; border-radius: 5px; background: #fff; color: #0564c5; font-size: 10px; font-weight: 700; cursor: pointer; }
.prayer-layout { display: grid; grid-template-columns: 165px 1fr; gap: 15px; padding: 16px; }
.prayer-art { min-height: 305px; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; background: radial-gradient(circle at 50% 24%,#f7c56a 0 3%,transparent 4%), linear-gradient(160deg,#163e6d,#6689a7 45%,#d9a85f); overflow: hidden; }
.mary-silhouette { font-size: 80px; line-height: 1; filter: drop-shadow(0 8px 10px rgba(0,0,0,.2)); }
.prayer-art span { margin-top: 20px; font-size: 12px; letter-spacing: .18em; font-weight: 800; }
.prayer-copy { font-size: 11px; line-height: 1.45; color: #172c4f; }
.prayer-copy blockquote { margin: 0 0 10px; color: #0757ac; font-style: italic; font-weight: 700; }
.prayer-copy p { margin: 0 0 9px; }
.prayer-meta { margin-top: 12px; padding-top: 11px; border-top: 1px solid #e5edf6; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.prayer-meta div { display: grid; gap: 3px; }
.prayer-meta b { color: #075fbd; font-size: 9px; }
.prayer-meta span { font-size: 9px; line-height: 1.35; }
.panel-card-foot { padding: 9px 16px; border-top: 1px solid #edf2f7; color: #71819a; font-size: 9px; }
.panel-card-foot.split { display: flex; justify-content: space-between; gap: 10px; }
.panel-card-foot a, .intentions-grid a { color: #0062c4; font-weight: 700; }
.intentions-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; padding: 13px 16px; }
.intentions-grid section { border: 1px solid #e4ebf4; border-radius: 7px; padding: 12px; }
.intentions-grid h3 { font-size: 11px; margin: 0 0 8px; }
.intentions-grid ul { margin: 0 0 8px; padding-left: 16px; font-size: 10px; line-height: 1.65; }
.intentions-grid a { font-size: 9px; }
.intention-column { display: grid; gap: 10px; }
.red-symbol { color: #ee4c54; margin-right: 5px; }
.notice-box { margin: 13px 16px 15px; padding: 12px; border: 1px solid #f4ca78; border-radius: 7px; background: #fff9eb; display: flex; gap: 12px; align-items: flex-start; }
.notice-icon { color: #f2a311; font-size: 20px; }
.notice-box strong { display: block; font-size: 11px; margin-bottom: 4px; }
.notice-box p { margin: 0; font-size: 10px; line-height: 1.45; }
.quick-edit { margin-top: 15px; background: #fff; border: 1px solid #e4ebf4; border-radius: 10px; padding: 13px 16px 16px; }
.quick-title { display: flex; gap: 15px; align-items: baseline; margin-bottom: 11px; }
.quick-title h2 { margin: 0; font-size: 14px; }.quick-title p { margin: 0; color: #75859d; font-size: 9px; }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.quick-grid article { min-height: 91px; border: 1px solid #e5ecf5; border-radius: 7px; padding: 11px; display: flex; gap: 10px; }
.quick-grid .metric-icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 17px; }
.quick-grid strong, .quick-grid small { display: block; }.quick-grid strong { font-size: 10px; }.quick-grid small { color: #687a94; font-size: 8px; line-height: 1.4; margin: 3px 0 7px; }
.quick-grid button { border: 1px solid #cddaea; background: #fff; color: #0864c5; border-radius: 4px; font-size: 8px; padding: 4px 10px; cursor: pointer; }

@media (max-width: 1180px) {
    .metric-grid { grid-template-columns: repeat(2,1fr); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
    .admin-sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 16px 0 40px rgba(11,42,81,.16); }
    .admin-sidebar.open { transform: translateX(0); }
    .sidebar-close, .sidebar-toggle { display: block; }
    .admin-main { width: 100%; margin-left: 0; }
    .topbar-title { display: none; }
    .program-switcher { min-width: 0; width: 190px; }
    .admin-content { padding: 18px; }
}
@media (max-width: 610px) {
    .metric-grid, .quick-grid { grid-template-columns: 1fr; }
    .program-switcher div:nth-child(2) { display: none; }
    .program-switcher { width: 54px; }
    .panel-heading-row { align-items: flex-start; gap: 12px; }
    .panel-heading-row .primary-action { white-space: nowrap; }
    .prayer-layout { grid-template-columns: 1fr; }
    .prayer-art { min-height: 210px; }
    .prayer-meta, .intentions-grid { grid-template-columns: 1fr; }
    .panel-card-foot.split { flex-direction: column; }
}
