/* Encovery: shared visual system. Loaded last so existing page behavior stays intact. */
:root {
    --ink: #142849;
    --muted: #667994;
    --forest: #2563eb;
    --forest-dark: #102956;
    --canvas: #edf3ff;
    --paper: #ffffff;
    --line: #d9e5fa;
    --sage: #eaf1ff;
    --clay: #3b82f6;
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
    --bs-body-color: #142849;
    --bs-body-bg: #edf3ff;
    --bs-link-color: #2563eb;
    --bs-link-hover-color: #102956;
    --bs-border-color: #d9e5fa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -.035em; line-height: 1.2; }
a { color: var(--forest); text-underline-offset: 4px; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #3b82f6; outline-offset: 4px; }
.text-muted { color: var(--muted) !important; }
.text-primary { color: var(--forest) !important; }
.bg-light { background-color: var(--sage) !important; }
.btn { border-radius: 9px; font-weight: 600; font-size: .9rem; padding: .7rem 1.2rem; box-shadow: none; transition: background-color .18s, border-color .18s, color .18s; }
.btn i { margin-left: .25rem; }
.btn-primary { --bs-btn-bg: var(--forest); --bs-btn-border-color: var(--forest); --bs-btn-hover-bg: var(--forest-dark); --bs-btn-hover-border-color: var(--forest-dark); --bs-btn-active-bg: var(--forest-dark); --bs-btn-active-border-color: var(--forest-dark); --bs-btn-disabled-bg: var(--forest); --bs-btn-disabled-border-color: var(--forest); --bs-btn-focus-shadow-rgb: 37,99,235; }
.btn-outline-primary { --bs-btn-color: var(--forest); --bs-btn-border-color: #9bbaff; --bs-btn-hover-bg: var(--forest); --bs-btn-hover-border-color: var(--forest); --bs-btn-active-bg: var(--forest-dark); --bs-btn-active-border-color: var(--forest-dark); }
.btn-secondary { --bs-btn-bg: #667994; --bs-btn-border-color: #667994; --bs-btn-hover-bg: #3a5687; --bs-btn-hover-border-color: #3a5687; }
.btn-sm { padding: .4rem .7rem; font-size: .8rem; }
.btn-lg { padding: .85rem 1.5rem; font-size: .98rem; }
.form-control, .form-select, .cp-input { border: 1px solid #d5e2fa; border-radius: 9px; background: #ffffff; color: var(--ink); padding: .75rem .9rem; font-size: .92rem; min-height: 44px; }
.form-control:focus, .form-select:focus, .cp-input:focus { border-color: #6699f5; box-shadow: 0 0 0 3px #2563eb18; background: white; color: var(--ink); }
.form-label { color: var(--ink); font-size: .84rem; font-weight: 650; margin-bottom: .45rem; }
.form-check-input:checked { background-color: var(--forest); border-color: var(--forest); }
.form-check-input:focus { border-color: #6699f5; box-shadow: 0 0 0 3px #2563eb18; }
.card { border-radius: 16px; border-color: var(--line); background: var(--paper); }
.shadow-sm { box-shadow: 0 3px 16px #163b7a08 !important; }
.shadow-lg { box-shadow: 0 16px 40px #163b7a10 !important; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -100px; background: white; color: var(--forest); padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: #fffffff5; backdrop-filter: blur(14px); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.site-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 26px; font-weight: 750; letter-spacing: -.07em; color: var(--ink); white-space: nowrap; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; color: var(--forest); font-size: 30px; }
.brand-dot { color: var(--clay); margin-left: -6px; }
.desktop-nav { display: flex; gap: 25px; }
.desktop-nav a { font-size: .86rem; text-decoration: none; font-weight: 550; color: #627596; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--forest); }
.desktop-nav a.active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 10px; }
.site-header-actions { display: flex; align-items: center; gap: 16px; }
.header-login { color: var(--ink); font-size: .85rem; text-decoration: none; font-weight: 600; }
.site-header-actions select { max-width: 95px; background: transparent; border: 0; color: var(--muted); padding: .5rem !important; font-size: .78rem; }
.mobile-navigation { display: none; }
.site-body { min-height: 65vh; }
.site-body:focus { outline: none; }
/* Public pages */
.cp-home { background: var(--paper); }
.home-hero { background: #eef4ff; overflow: hidden; }
.home-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 70px; padding-top: 70px; padding-bottom: 80px; }
.editorial-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--forest); margin-bottom: 24px; }
.editorial-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); flex-shrink: 0; }
.home-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 4.3vw, 4.5rem); line-height: 1.07; letter-spacing: -.055em; font-weight: 400; max-width: 650px; margin-bottom: 24px; }
.home-hero-description { max-width: 470px; color: var(--muted); font-size: 1.04rem; line-height: 1.8; margin-bottom: 26px; }
.home-search { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid #cbdbf6; border-radius: 12px; padding: 7px 8px 7px 18px; margin-bottom: 22px; max-width: 510px; box-shadow: 0 5px 15px #14284905; }
.home-search > i { color: #7c94bb; }
.home-search input { width: 100%; min-width: 0; border: none; background: none; min-height: 40px; color: var(--ink); font-size: .88rem; }
.home-search input:focus { outline: none; }
.home-search:focus-within { outline: 2px solid #6699f5; outline-offset: 3px; }
.home-search button { width: 43px; height: 43px; flex-shrink: 0; border: none; border-radius: 8px; background: var(--forest); color: white; }
.home-search button:hover { background: var(--forest-dark); }
.home-hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.home-secondary-link { font-size: .85rem; font-weight: 600; text-decoration: none; }
.home-hero-note { color: var(--muted); font-size: .75rem; margin-top: 22px; margin-bottom: 0; }
.home-hero-note i { color: var(--forest); margin-right: 5px; }
.home-hero-visual { position: relative; padding: 0 8px 32px; }
.hero-art-frame { border-radius: 180px 180px 12px 12px; overflow: hidden; background: #dceaff; }
.hero-art-frame img { display: block; width: 100%; height: auto; max-height: 490px; object-fit: cover; }
.hero-community-card { position: absolute; left: -30px; right: 30px; bottom: 58px; display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid #dae5f8; background: #ffffff; box-shadow: 0 14px 35px #12366b12; border-radius: 13px; }
.hero-community-icon { background: var(--sage); color: var(--forest); border-radius: 12px; display: grid; place-items: center; width: 46px; height: 46px; font-size: 22px; flex-shrink: 0; }
.hero-community-card strong { display: block; font-size: .88rem; line-height: 1.5; }
.hero-community-card div > span { display: block; color: var(--muted); font-size: .72rem; margin-top: 3px; }
.hero-community-card > i:last-child { margin-left: auto; }
.hero-art-caption { position: absolute; bottom: 0; right: 8px; color: var(--muted); font-size: .67rem; letter-spacing: .07em; text-transform: uppercase; }
.cp-home > section.py-5 { padding-top: 80px !important; padding-bottom: 80px !important; }
.cp-home h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 400 !important; }
.cp-hero-banner { background: var(--forest-dark); }
.cp-hero-banner h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400 !important; letter-spacing: -.045em; color: white; }
.cp-hero-banner::before, .cp-hero-banner::after, .cp-hero-overlay { display: none; }
.cp-hero-banner .text-white-75, .cp-hero-banner p.lead { color: #d4e3ff !important; }
.cp-hero-banner > .container { padding-top: 26px; padding-bottom: 26px; }
.cp-hero-banner .btn-light, .cp-hero-banner .btn-outline-light { border-radius: 9px; }
.cp-pill { background: #ffffff12; border: 1px solid #ffffff26; font-size: .72rem; letter-spacing: .05em; padding: .45rem .8rem; }
.cp-stats-strip { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0 !important; }
.cp-stat-number { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; font-weight: 400; letter-spacing: -.05em; }
.cp-stat-label { color: var(--muted); font-size: .78rem; }
.cp-stats-strip .row > div + div { border-left: 1px solid var(--line); }
.cp-section-tag, .cp-section-tag-light { padding: 0; background: transparent; border-radius: 0; color: var(--forest); letter-spacing: .16em; font-size: .67rem; font-weight: 750; margin-bottom: 8px; }
.cp-section-tag-light { color: #c8ddff; }
.cp-path-card, .cp-feature-card, .cp-pricing-card, .cp-story-card, .cp-story-featured, .cp-final-cta { background: var(--paper); border: 1px solid var(--line) !important; border-radius: 14px; box-shadow: none !important; }
.cp-path-card::before { display: none; }
.cp-path-card { border-top: 3px solid var(--forest) !important; }
.cp-path-leader { border-top-color: #b67b56 !important; }
.cp-path-pill { background: var(--sage); color: var(--forest); font-size: .73rem; padding: .3rem .7rem; }
.cp-feature-card { padding: 28px; }
.cp-feature-card:has(> .card-body) { padding: 0; }
.cp-feature-card:hover, .cp-pricing-card:hover, .cp-story-card:hover { transform: translateY(-3px); border-color: #a3c3ff !important; box-shadow: 0 8px 24px #14284908 !important; }
.cp-feature-icon, .cp-features-hero-icon { border-radius: 12px; width: 48px; height: 48px; background: var(--sage); color: var(--forest); font-size: 22px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cp-feature-card h5 { font-size: 1.05rem; }
.cp-feature-card p { font-size: .88rem; }
.cp-testimonials { background: #183b75; color: #eff5ff; }
.cp-testimonials h2 { color: #eff5ff; }
.cp-testimonial-card { background: #ffffff06; border: 1px solid #ffffff24; border-radius: 13px; padding: 30px; }
.cp-testimonial-card p { font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; line-height: 1.7; }
.cp-testimonial-card .fw-bold { color: #c3daff; font-size: .85rem; }
.cp-testimonials .text-white-75 { color: #c3d4f5 !important; }
.cp-faq-item { border: 1px solid var(--line); background: var(--paper); border-radius: 10px; margin-bottom: 12px; }
.cp-faq-item[open] { border-color: #a7c7ff; background: var(--paper); }
.cp-faq-summary { padding: 20px; font-size: .9rem; color: var(--ink); }
.cp-faq-body { color: var(--muted); font-size: .87rem; padding: 0 20px 20px; }
.cp-pricing-featured { border: 2px solid var(--forest) !important; }
.cp-pricing-badge { background: var(--forest); }
.cp-price-amount { color: var(--forest); }
.cp-footer { background: #10234b; color: #dce8ff; padding-top: 64px !important; }
.cp-footer h4 { font-size: 1.7rem; letter-spacing: -.05em; }
.cp-footer h6 { font-size: .78rem; letter-spacing: .04em; }
.cp-footer p { max-width: 350px; }
.cp-footer-link { color: #c7d9ff; font-size: .8rem; margin-bottom: 10px; }
.cp-footer .cp-social-icon { background: transparent; border: 1px solid #ffffff2b; border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; font-size: .9rem; opacity: 1; }
.cp-auth-card { border-radius: 18px; background: var(--paper); }
.cp-auth-side h2 { color: white; }
.cp-auth-hero .cp-logo-text { color: white; }
/* Workspace frame and navigation */
.platform-admin-layout { display: flex; min-height: 100dvh; background: var(--canvas); }
.platform-sidebar { position: sticky; top: 0; height: 100dvh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #4668a3 transparent; background: var(--forest-dark); color: #e1ebff; width: 250px; flex: 0 0 250px; padding: 24px 16px 16px; display: flex; flex-direction: column; }
.sidebar-brand { display: flex; gap: 10px; align-items: center; color: #f5f8ff; text-decoration: none; font-size: 26px; letter-spacing: -.07em; padding: 0 12px 25px; border: 0; margin: 0; }
.sidebar-brand:hover { color: white; }
.sidebar-brand .brand-mark { color: #97c5ff; }
.sidebar-brand .brand-dot { color: #91bbff; margin: 0; }
.sidebar-workspace { display: flex; align-items: center; gap: 10px; padding: 14px 10px; border-top: 1px solid #ffffff19; border-bottom: 1px solid #ffffff19; margin-bottom: 22px; }
.workspace-avatar { width: 35px; height: 35px; border: 1px solid #ffffff2b; border-radius: 9px; display: grid; place-items: center; color: #a2ceff; font-size: 16px; }
.sidebar-workspace strong { font-size: .76rem; display: block; color: #eff5ff; font-weight: 600; }
.sidebar-workspace small { display: block; font-size: .63rem; color: #a4bce4; margin-top: 2px; }
.sidebar-menu { gap: 24px; display: flex; flex-direction: column; }
.sidebar-group h2 { color: #91acd6; font-size: .59rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; margin: 0 12px 10px; }
.sidebar-link { padding: 10px 12px; border-radius: 7px; color: #c1d4f5; font-size: .78rem; gap: 11px; font-weight: 450; margin-bottom: 3px; }
.sidebar-link i { width: 18px; font-size: 13px; opacity: .85; }
.sidebar-link:hover { background: #ffffff0b; color: white; }
.sidebar-link.active { background: #d8e8ff; color: #153b78; font-weight: 650; }
.sidebar-footer { border-top: 1px solid #ffffff19; margin-top: 26px; padding-top: 16px; }
.sidebar-footer a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: #c2d4f4; text-decoration: none; font-size: .74rem; }
.sidebar-footer a i:last-child:not(:first-child) { margin-left: auto; }
.platform-admin-content { flex: 1; min-width: 0; }
.workspace-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px 38px; }
.workspace-heading { display: flex; gap: 16px; align-items: center; }
.workspace-eyebrow { color: #7b8da8; font-size: .58rem; font-weight: 650; letter-spacing: .16em; }
.workspace-heading p { margin: 2px 0 0; font-weight: 600; font-size: .86rem; letter-spacing: -.02em; }
.workspace-tools { display: flex; align-items: center; gap: 24px; }
.workspace-tools a { display: flex; align-items: center; gap: 7px; font-size: .73rem; text-decoration: none; color: var(--muted); }
.workspace-tools .workspace-account { background: var(--sage); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; color: var(--forest); border: 1px solid var(--line); }
.workspace-page { max-width: 1700px; margin: 0 auto; }
.workspace-navigation-toggle, .workspace-menu-button, .workspace-scrim { display: none; }
/* Lists, forms and dashboards share the same hierarchy. */
.admin-dashboard, .church-admin-dashboard, .platform-admin-dashboard, .church-info-page { background: var(--canvas); padding: 34px 38px; min-height: auto; }
.dashboard-header, .church-admin-dashboard .dashboard-header, .platform-admin-dashboard .admin-hero, .church-info-page .church-info-header { background: transparent; color: var(--ink); border-radius: 0; padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; box-shadow: none; }
.dashboard-header h2, .church-admin-dashboard .dashboard-title, .platform-admin-dashboard .hero-title, .church-info-page .church-info-title { color: var(--ink); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 650; margin: 0; letter-spacing: -.045em; }
.dashboard-header p, .church-admin-dashboard .dashboard-subtitle { color: var(--muted); opacity: 1; font-size: .86rem; margin-top: 8px; }
.dashboard-header .btn-light, .dashboard-header .dashboard-btn { background: var(--forest); color: white; border-color: var(--forest); box-shadow: none; border-radius: 9px; }
.dashboard-header .btn-light:hover, .dashboard-header .dashboard-btn:hover { background: var(--forest-dark); border-color: var(--forest-dark); }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 18px; margin-bottom: 28px; }
.stat-card, .church-admin-dashboard .stat-card, .dashboard-content .dashboard-stat-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 2px 5px #14284903; }
.stat-card h4, .church-admin-dashboard .stat-value, .dashboard-content .dashboard-stat-card h3 { color: var(--ink); font-size: 1.7rem; font-weight: 650; letter-spacing: -.045em; }
.stat-card p, .church-admin-dashboard .stat-label { color: var(--muted); font-size: .77rem; }
.stat-icon, .church-admin-dashboard .stat-icon, .dashboard-content .stat-icon { border-radius: 10px; width: 44px; height: 44px; min-width: 44px; font-size: 18px; }
.stat-icon.bg-blue { background: #e6efff; color: #2863c5; }
.stat-icon.bg-green { background: #e2edff; color: #2563eb; }
.stat-icon.bg-purple { background: #e8eaff; color: #6d67c5; }
.stat-icon.bg-orange { background: #e4efff; color: #3b82f6; }
.dashboard-section, .dashboard-content .admin-card, .church-admin-dashboard .dashboard-panel, .platform-admin-dashboard .admin-panel, .church-info-page .church-info-card { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 26px; box-shadow: 0 3px 10px #14284903; }
.dashboard-content .admin-card { padding: 0; }
.dashboard-section h4, .panel-header h4 { color: var(--ink); font-size: 1.05rem; letter-spacing: -.025em; }
.module-grid { grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 16px; }
.module-card, .church-admin-dashboard .module-card, .platform-admin-dashboard .admin-module-card { display: block; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; transition: border-color .18s, background-color .18s; }
.module-card:hover, .church-admin-dashboard .module-card:hover, .platform-admin-dashboard .admin-module-card:hover { background: #eef4ff; border-color: #a8c8ff; box-shadow: none; transform: none; }
.module-card h5, .module-card h6 { color: var(--ink); font-size: .92rem; }
.module-card p { color: var(--muted); font-size: .79rem; line-height: 1.65; }
.module-icon, .church-admin-dashboard .module-icon { color: var(--forest); background: var(--sage); width: 40px; height: 40px; border-radius: 10px; font-size: 17px; display: grid; place-items: center; }
.table { --bs-table-bg: transparent; --bs-table-color: var(--ink); --bs-table-border-color: var(--line); }
.admin-table { font-size: .84rem; }
.admin-table thead th, .dashboard-content .admin-table thead th { background: #f0f5ff; color: #607699; font-size: .66rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 650; border-bottom: 1px solid var(--line); padding: 15px 18px; white-space: nowrap; }
.admin-table tbody td, .dashboard-content .admin-table tbody td { color: #4e6384; padding: 18px; font-size: .82rem; border-color: #ebf1fc; background: var(--paper); }
.admin-table tbody tr:hover td, .dashboard-content .admin-table tbody tr:hover td { background: #f2f7ff; }
.admin-table td .text-muted { color: var(--muted) !important; }
.admin-table .btn { border-radius: 7px; }
.admin-table .btn-warning { color: #7b5c2e; background: #f6efdf; border-color: #eadbbf; }
.admin-table .btn-danger { color: #a23c38; background: #fbefeb; border-color: #f0d6ce; }
.admin-table .btn-warning:hover { background: #e9d7b9; }
.admin-table .btn-danger:hover { background: #f1d4cb; }
.badge { border-radius: 5px; padding: .45em .7em; font-size: .65rem; font-weight: 600; letter-spacing: .015em; }
.admin-table .badge.bg-primary { background: #e5efff !important; color: #315c9e; }
.admin-table .badge.bg-success { background: #e5f4ef !important; color: #22745b; }
.admin-table .badge.bg-secondary { background: #edf1f8 !important; color: #677894; }
.admin-table .badge.bg-danger { background: #f8e8df !important; color: #a05734; }
.search-box, .dashboard-content .search-box { width: min(360px,100%); margin-bottom: 22px; }
.search-box input, .dashboard-content .search-box .form-control { min-height: 44px; padding-left: 42px; border-color: var(--line); background: #f3f7ff; font-size: .84rem; }
.search-box i { color: #8099c2; }
.dashboard-content .admin-card-header { background: var(--paper); border-color: var(--line); }
.dashboard-content .admin-card-header .search-box { margin-bottom: 0; }
.empty-state > i, .dashboard-content .empty-state > i { background: var(--sage); color: var(--forest); border-radius: 18px; }
.quick-action-btn, .quick-action-link { background: var(--sage) !important; color: var(--forest) !important; border-color: var(--line) !important; }
.quick-action-btn:hover, .quick-action-link:hover { background: #dce9ff !important; }
.auth-page { background: var(--canvas); }
.auth-card { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 12px 36px #14284908; }
.auth-card h1 { color: var(--ink); }
.auth-icon { background: var(--sage); color: var(--forest); }
.pagination { --bs-pagination-color: var(--forest); --bs-pagination-active-bg: var(--forest); --bs-pagination-active-border-color: var(--forest); }
.spinner-border { color: var(--forest); }
/* Accessible mobile navigation without a JavaScript dependency. */
@media (min-width: 1400px) { .container { max-width: 1200px; } }
@media (max-width: 1199px) {
    .desktop-nav { gap: 16px; }
    .site-header-inner { gap: 16px; }
    .site-header-actions { gap: 10px; }
    .site-header-actions select { display: none; }
    .home-hero-grid { gap: 40px; }
    .platform-sidebar { width: 224px; flex-basis: 224px; }
    .admin-dashboard, .church-admin-dashboard, .platform-admin-dashboard, .church-info-page { padding: 28px; }
    .workspace-topbar { padding: 18px 28px; }
}
@media (max-width: 991px) {
    .desktop-nav { display: none; }
    .site-header-inner { min-height: 76px; }
    .site-header-actions { margin-left: auto; }
    .mobile-navigation { display: block; }
    .mobile-navigation summary { display: flex; align-items: center; gap: 5px; cursor: pointer; font-size: .8rem; list-style: none; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
    .mobile-navigation summary::-webkit-details-marker { display: none; }
    .mobile-navigation nav { position: absolute; top: calc(100% - 1px); left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 24px; box-shadow: 0 15px 20px #1428490d; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .mobile-navigation nav a { padding: 8px; text-decoration: none; }
    .home-hero-grid { gap: 32px; padding-top: 44px; padding-bottom: 50px; }
    .home-hero h1 { font-size: 2.85rem; }
    .hero-community-card { left: -12px; right: 15px; padding: 14px; }
    .hero-community-card strong { font-size: .76rem; }
    .home-hero-links { gap: 15px; }
    .platform-sidebar { position: fixed; left: 0; top: 0; width: 260px; transform: translateX(-100%); transition: transform .2s; z-index: 62; }
    .workspace-navigation-toggle { display: block; position: absolute; left: 28px; top: 30px; width: 35px; height: 30px; opacity: 0; z-index: 2; cursor: pointer; }
    .workspace-menu-button { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; font-size: 23px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
    .workspace-menu-button span { display: none; }
    .workspace-navigation-toggle:focus-visible ~ main .workspace-menu-button { outline: 3px solid var(--clay); outline-offset: 3px; }
    .workspace-navigation-toggle:checked ~ .platform-sidebar { transform: translateX(0); }
    .workspace-navigation-toggle:checked ~ .workspace-scrim { display: block; position: fixed; inset: 0; z-index: 61; background: #142d2580; }
}
@media (max-width: 767px) {
    .site-brand { font-size: 23px; }
    .brand-mark { font-size: 25px; }
    .site-header-actions .btn { font-size: .77rem; padding: .6rem .8rem; }
    .site-header-actions .btn i { display: none; }
    .header-login { font-size: .77rem; }
    .home-hero-grid { grid-template-columns: 1fr; padding-top: 42px; gap: 32px; }
    .home-hero h1 { font-size: clamp(2.7rem,9.5vw,4rem); max-width: 540px; }
    .home-hero-description { font-size: .98rem; }
    .editorial-eyebrow { margin-bottom: 18px; font-size: .65rem; }
    .home-hero-visual { max-width: 460px; width: 100%; margin: 0 auto; padding: 0 16px 30px; }
    .hero-art-frame img { max-height: 360px; }
    .hero-community-card { left: 0; right: 32px; bottom: 52px; }
    .hero-art-caption { right: 16px; font-size: .59rem; }
    .cp-home > section.py-5 { padding-top: 48px !important; padding-bottom: 48px !important; }
    .cp-stats-strip .row > div:nth-child(3) { border-left: none; }
    .cp-stat-number { font-size: 1.8rem; }
    .cp-footer { padding-top: 44px !important; }
    .workspace-topbar { padding: 16px 18px; min-height: 78px; }
    .workspace-navigation-toggle { left: 18px; top: 25px; }
    .workspace-tools { gap: 10px; }
    .workspace-tools a span { display: none; }
    .workspace-heading { gap: 10px; }
    .workspace-eyebrow { font-size: .52rem; }
    .workspace-heading p { font-size: .76rem; }
    .admin-dashboard, .church-admin-dashboard, .platform-admin-dashboard, .church-info-page { padding: 24px 16px; }
    .dashboard-header, .church-admin-dashboard .dashboard-header { padding-bottom: 22px; margin-bottom: 22px; align-items: flex-start; }
    .dashboard-header h2 { font-size: 1.55rem; }
    .dashboard-header p { font-size: .8rem; }
    .dashboard-section { padding: 18px; }
    .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .stat-card { padding: 16px; flex-wrap: wrap; gap: 10px; }
    .stat-card h4 { font-size: 1.4rem; overflow-wrap: anywhere; }
    .module-grid { grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); }
    .admin-table { min-width: 650px; }
    .dashboard-section > .table-responsive { border-radius: 8px; }
    .cp-auth-hero .d-flex.justify-content-between { gap: 16px; flex-wrap: wrap; }
}
@media (max-width: 400px) {
    .site-header-inner { gap: 8px; }
    .site-brand { font-size: 21px; gap: 6px; }
    .site-header-actions { gap: 8px; }
    .site-header-actions .header-login { display: none; }
    .mobile-navigation summary span { display: none; }
    .workspace-tools a:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Secondary content uses the same surfaces and accent palette. */
.cp-learning-card, .cp-search-filter-card, .cp-search-result-card, .cp-story-share-card, .admin-card { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; box-shadow: none; }
.cp-learning-card:hover, .cp-search-result-card:hover { border-color: #a3c3ff; box-shadow: 0 5px 16px #14284908; }
.cp-learning-icon, .cp-search-result-icon, .cp-search-empty-icon, .cp-stories-empty-icon, .cp-story-share-icon, .message-icon { color: var(--forest); background: var(--sage); border-radius: 12px; }
.cp-learning-category, .cp-search-category, .cp-story-category { color: var(--forest); background: var(--sage); }
.cp-learning-list i, .cp-search-arrow, .cp-story-read-link, .cp-story-title, .donation-amount { color: var(--forest); }
.cp-search-filter-btn.active, .cp-story-filter.active { background: var(--forest); color: white; border-color: var(--forest); }
.cp-search-filter-btn:hover, .cp-story-filter:hover { color: var(--forest); background: var(--sage); border-color: #b5ccf8; }
.cp-featured-story-image, .cp-story-image-placeholder { background: #2b58a5; color: #dceaff; }
.cp-features-hero-card h4, .cp-learning-hero-card h4, .cp-stories-hero-card h4 { color: white; }
.cp-search-button { background: var(--forest); border-radius: 8px; }
.cp-search-button:hover { background: #3477fa; }
.cp-search-wrapper { border-radius: 12px; }
.cp-story-filter { border-radius: 8px; }
.cp-learning-step { color: var(--forest); background: var(--sage); }
.admin-card-header { border-color: var(--line); background: var(--paper); }
.donation-table th { background: #f0f5ff; color: var(--muted); }
.donation-type, .payment-method { background: var(--sage); color: var(--forest); }
.message-item:hover { background: #edf4ff; }
.message-tabs .btn.active { color: white; background: var(--forest); border-color: var(--forest); }
.stat-icon.bg-red { background: #f7e7df; color: #9f5038; }
.stat-icon.bg-cyan { background: #e3edff; color: #3763a8; }
.stat-icon.bg-dark { background: #e9effc !important; color: #586c91; }
@media (max-width: 767px) { .cp-featured-story-content { padding: 24px; } .cp-featured-story-image { min-height: 220px; } }
/* Explicit colors also support the project's Bootstrap 5.0 stylesheet. */
.btn-primary { background-color: var(--forest); border-color: var(--forest); color: white; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active { background-color: var(--forest-dark); border-color: var(--forest-dark); color: white; }
.btn-primary:disabled, .btn-primary.disabled { background-color: var(--forest); border-color: var(--forest); }
.btn-primary:focus { box-shadow: 0 0 0 3px #2563eb30; }
.btn-outline-primary { color: var(--forest); border-color: #9bbaff; }
.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary.active { color: white; background-color: var(--forest); border-color: var(--forest); }
.btn-outline-primary:focus { box-shadow: 0 0 0 3px #2563eb30; }
.home-hero h1 { white-space: pre-line; }

/* Blue glass edition: translucent surfaces over a softly lit canvas. */
:root {
    --ink: #142849;
    --muted: #667994;
    --forest: #2563eb;
    --forest-dark: #1749bb;
    --canvas: #edf3ff;
    --paper: #ffffff;
    --line: #d9e5fa;
    --sage: #eaf1ff;
    --clay: #3b82f6;
    --glass: rgba(255,255,255,.66);
    --glass-border: rgba(255,255,255,.86);
    --glass-shadow: 0 14px 44px rgba(52,96,171,.075), inset 0 1px 0 rgba(255,255,255,.8);
}
body { background: radial-gradient(ellipse at 12% 5%, #b9d8ff70, transparent 40%), radial-gradient(ellipse at 95% 30%, #d5d2ff55, transparent 35%), #edf3ff; }
h1,h2,h3,h4,h5,h6 { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.btn { border-radius: 12px; }
.btn-primary { background: linear-gradient(135deg,#3987ff,#2563eb); border: 1px solid #397bfb; box-shadow: 0 5px 13px #2563eb20, inset 0 1px 0 #ffffff28; }
.btn-primary:hover { background: linear-gradient(135deg,#2775f1,#1e50cd); box-shadow: 0 8px 20px #2563eb30; }
.btn-outline-primary { background: #ffffff45; }
.site-header { background: rgba(245,249,255,.74); border-bottom: 1px solid #ffffffc9; backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 4px 30px #3169b507; }
.site-brand { font-weight: 750; letter-spacing: -.065em; }
.brand-mark { color: #3179ed; }
.desktop-nav a { color: #587091; }
.desktop-nav a.active { color: #2563eb; }
.home-hero { position: relative; background: radial-gradient(ellipse at 90% 28%, #a8cfff8c, transparent 52%), radial-gradient(ellipse at 5% 0%, #e4efff, transparent 60%), linear-gradient(125deg,#f3f8ff,#edf3ff 55%,#e6edff); }
.home-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -150px; top: 170px; background: #a8b9ff36; filter: blur(80px); border-radius: 50%; pointer-events: none; }
.home-hero-grid { position: relative; gap: 64px; }
.home-hero h1 { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size: clamp(2.65rem,4.7vw,4.3rem); font-weight: 750; letter-spacing: -.065em; line-height: 1.08; color: #142b54; }
.home-hero-description { color: #607697; }
.editorial-eyebrow { color: #3675cf; letter-spacing: .11em; background: #ffffff65; border: 1px solid #ffffffb8; border-radius: 999px; padding: 7px 12px; box-shadow: inset 0 1px 0 #ffffffb3; }
.editorial-eyebrow > span { background: #4487f6; box-shadow: 0 0 0 4px #3987ff12; }
.home-search { background: #ffffff83; border: 1px solid #ffffffed; backdrop-filter: blur(20px); border-radius: 16px; box-shadow: var(--glass-shadow); padding: 8px 9px 8px 18px; }
.home-search input { color: #263f66; }
.home-search button { background: linear-gradient(135deg,#3987ff,#2563eb); border-radius: 11px; box-shadow: 0 4px 12px #2563eb24; }
.home-search button:hover { background: #1e50cd; }
.home-hero-note { color: #6a7e9d; }
.hero-art-frame { border-radius: 36px; border: 1px solid #ffffffd9; padding: 12px; background: #ffffff52; box-shadow: 0 22px 65px #3b6cba18,inset 0 1px 0 white; backdrop-filter: blur(18px); transform: rotate(2deg); }
.hero-art-frame img { border-radius: 26px; opacity: .94; }
.hero-community-card { background: #f9fcffcf; border: 1px solid #ffffffed; border-radius: 20px; backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 18px 40px #3463aa17,inset 0 1px 0 white; }
.hero-community-icon { background: linear-gradient(135deg,#e4efff,#f5f8ff); border: 1px solid #ffffff; color: #3479ed; border-radius: 14px; }
.hero-art-caption { color: #6e87ac; }
.cp-home { background: transparent; }
.cp-stats-strip { background: #ffffff65; border-top: 1px solid #ffffff; border-bottom: 1px solid #ffffff; backdrop-filter: blur(20px); }
.cp-stat-number { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-weight: 700; letter-spacing: -.06em; color: #245cae; }
.cp-home h2 { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-weight: 700 !important; letter-spacing: -.045em; }
.bg-light { background: #eaf2ff78 !important; }
.cp-path-card,.cp-feature-card,.cp-pricing-card,.cp-story-card,.cp-story-featured,.cp-final-cta,.cp-learning-card,.cp-search-filter-card,.cp-search-result-card,.cp-story-share-card {
    background: var(--glass); border: 1px solid var(--glass-border) !important; border-radius: 22px; backdrop-filter: blur(20px); box-shadow: var(--glass-shadow) !important;
}
.cp-path-card { border-top: 1px solid var(--glass-border) !important; }
.cp-path-pill { background: #e2edff; color: #356bc0; }
.cp-feature-icon,.cp-learning-icon,.cp-search-result-icon { background: linear-gradient(135deg,#dfeaff,#f1f7ff); border: 1px solid #fff; border-radius: 15px; color: #3d7ced; }
.cp-hero-banner { background: radial-gradient(ellipse at 85% 25%,#4577cf70,transparent 55%),linear-gradient(130deg,#102957,#194a9a); border-bottom: 1px solid #ffffff26; }
.cp-hero-banner h1 { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-weight: 700 !important; }
.cp-testimonials { background: radial-gradient(ellipse at 80% 0%,#326acc70,transparent 70%),#142e5c; }
.cp-testimonial-card { background: #ffffff09; border-color: #ffffff24; border-radius: 22px; backdrop-filter: blur(16px); }
.cp-testimonial-card p { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size: 1rem; }
.cp-faq-item { background: #ffffff8a; border: 1px solid #ffffffdf; border-radius: 15px; backdrop-filter: blur(15px); }
.cp-faq-item[open] { background: #ffffffba; border-color: #bfdaff; }
.cp-footer { background: linear-gradient(145deg,#10264f,#122f62); border-top: 1px solid #ffffff18; }
.cp-auth-card,.auth-card { background: #ffffffde; border: 1px solid #ffffffd9; border-radius: 24px; backdrop-filter: blur(24px); }
.platform-admin-layout { background: radial-gradient(ellipse at 20% 0%,#d5e8ff99,transparent 50%),radial-gradient(ellipse at 100% 40%,#dbe2ff66,transparent 50%),#edf3ff; }
.platform-sidebar { background: linear-gradient(165deg,#102955f5,#132f63fa 65%,#133773f5); border-right: 1px solid #ffffff1a; backdrop-filter: blur(24px); box-shadow: 6px 0 40px #20477e08; }
.sidebar-brand .brand-mark { color: #8fbfff; }
.sidebar-brand .brand-dot { color: #7cb0ff; }
.sidebar-workspace { background: #ffffff05; border: 1px solid #ffffff13; border-radius: 14px; padding: 12px; }
.workspace-avatar { background: #ffffff0d; border-color: #ffffff20; color: #a9ceff; border-radius: 10px; }
.sidebar-group h2 { color: #7e9cca; }
.sidebar-link { border: 1px solid transparent; border-radius: 9px; padding: 9px 11px; }
.sidebar-link.active { background: linear-gradient(110deg,#4b8fff30,#80b2ff17); border: 1px solid #9ac4ff35; color: #eff6ff; box-shadow: inset 0 1px 0 #ffffff0b; }
.sidebar-link.active i { color: #8fc3ff; }
.sidebar-link:hover { background: #ffffff09; }
.workspace-topbar { background: #f8fbff9e; border-bottom: 1px solid #ffffffcc; backdrop-filter: blur(20px) saturate(160%); }
.workspace-tools .workspace-account { background: linear-gradient(135deg,#dceaff,#f6faff); border-color: #fff; color: #407ce0; box-shadow: 0 3px 10px #2a66ca0a; }
.admin-dashboard,.church-admin-dashboard,.platform-admin-dashboard,.church-info-page { background: transparent; }
.dashboard-header,.church-admin-dashboard .dashboard-header,.platform-admin-dashboard .admin-hero,.church-info-page .church-info-header { background: transparent; border-bottom: 1px solid #cbdcf17a; }
.dashboard-header .btn-light,.dashboard-header .dashboard-btn { background: linear-gradient(135deg,#3987ff,#2563eb); border-color: #397bfb; border-radius: 12px; box-shadow: 0 5px 15px #2563eb22; }
.stat-card,.church-admin-dashboard .stat-card,.dashboard-content .dashboard-stat-card,.dashboard-section,.dashboard-content .admin-card,.church-admin-dashboard .dashboard-panel,.platform-admin-dashboard .admin-panel,.church-info-page .church-info-card,.admin-card {
    background: #ffffff9c; border: 1px solid #ffffffed; border-radius: 20px; backdrop-filter: blur(20px); box-shadow: var(--glass-shadow);
}
.stat-card h4,.church-admin-dashboard .stat-value { color: #19355f; }
.stat-icon { border-radius: 13px; border: 1px solid #ffffffa6; }
.module-card,.church-admin-dashboard .module-card,.platform-admin-dashboard .admin-module-card { background: #ffffff70; border: 1px solid #d9e7fb9e; border-radius: 16px; }
.module-card:hover,.church-admin-dashboard .module-card:hover,.platform-admin-dashboard .admin-module-card:hover { background: #ffffffce; border-color: #a8caff; box-shadow: 0 6px 16px #2563eb08; }
.module-icon { background: #e6efff; border: 1px solid #ffffffc2; color: #3e7bed; border-radius: 12px; }
.admin-table thead th,.dashboard-content .admin-table thead th { background: #eaf2ff9c; color: #647fa8; border-color: #dbe7fa; }
.admin-table tbody td,.dashboard-content .admin-table tbody td { background: transparent; border-color: #dce7f775; }
.admin-table tbody tr:hover td,.dashboard-content .admin-table tbody tr:hover td { background: #e8f2ff88; }
.dashboard-content .admin-card-header,.admin-card-header { background: transparent; border-color: #dbe6f5a1; }
.form-control,.form-select,.cp-input { background: #ffffffa8; border-color: #cfddf4; border-radius: 12px; color: #233d66; }
.search-box input,.dashboard-content .search-box .form-control { background: #f5f9ffb3; border-color: #d5e3f9; border-radius: 12px; }
.form-control:focus,.form-select:focus { border-color: #80b2ff; box-shadow: 0 0 0 4px #4285f414; background: #ffffffdc; }
.badge { border-radius: 7px; }
@media (max-width:991px) { .mobile-navigation nav { background: #f5f9fff5; backdrop-filter: blur(24px); border-color: #ffffff; } }
@media (max-width:767px) { .home-hero-grid { gap: 36px; } .home-hero h1 { font-size: clamp(2.6rem,10.4vw,3.8rem); } .hero-art-frame { border-radius: 28px; padding: 9px; } .hero-art-frame img { border-radius: 21px; } }
.admin-table th:first-child, .admin-table td:first-child { min-width: 230px; }
@media (max-width: 767px) { .stat-card { flex-direction: column; align-items: flex-start; } }
@media (max-width: 991px) { .workspace-navigation-toggle:checked ~ .workspace-scrim { background: #142d5580; } }
/* Keep sticky navigation and glass content on independent paint layers. */
.platform-sidebar { backdrop-filter: none; z-index: 5; }
.platform-admin-content { isolation: isolate; }
@media (max-width: 991px) { .platform-sidebar { z-index: 62; } }
.site-header { isolation: isolate; background: transparent; backdrop-filter: none; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(245,249,255,.78); backdrop-filter: blur(24px) saturate(160%); clip-path: inset(0); }

/* Account settings */
.account-settings { max-width: 1180px; margin: 0 auto; padding: 48px 28px 72px; }
.account-settings-header { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:32px; }
.account-eyebrow { display:block; color:#3978d5; font-size:11px; letter-spacing:.16em; font-weight:750; margin-bottom:10px; }
.account-settings-header h1 { font-size:clamp(28px,3vw,38px); letter-spacing:-.04em; margin:0 0 10px; color:var(--ink); }
.account-settings-header p { color:var(--muted); margin:0; max-width:560px; line-height:1.65; }
.account-back-link { display:inline-flex; gap:8px; align-items:center; color:#426287; font-size:13px; text-decoration:none; white-space:nowrap; padding:10px 0; }
.account-back-link:hover { color:var(--forest); }
.account-settings-grid { display:grid; grid-template-columns:280px minmax(0,1fr); gap:24px; align-items:start; }
.account-sidebar,.account-settings-panel { background:rgba(255,255,255,.76); border:1px solid rgba(255,255,255,.95); box-shadow:var(--glass-shadow); backdrop-filter:blur(24px); border-radius:24px; min-width:0; }
.account-sidebar { padding:22px 14px 16px; }
.account-sidebar-heading { display:flex; align-items:center; gap:12px; padding:0 10px 23px; }
.account-settings-icon,.account-panel-icon { display:grid; place-items:center; width:44px; height:44px; flex-shrink:0; border-radius:14px; background:linear-gradient(135deg,#e0ecff,#f6faff); color:#3779de; font-size:22px; border:1px solid #fff; }
.account-sidebar-heading strong { display:block; color:var(--ink); font-size:14px; margin-bottom:3px; }
.account-sidebar-heading span:not(.account-settings-icon) { font-size:11px; color:var(--muted); }
.account-settings-nav { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:5px; }
.account-settings-nav .nav-link { display:flex; align-items:center; gap:11px; padding:13px 12px; font-size:13px; line-height:1.4; color:#56708f; border-radius:13px; border:1px solid transparent; text-decoration:none; }
.account-settings-nav .nav-link>i:first-child { font-size:17px; flex-shrink:0; }
.account-settings-nav .nav-link:hover { color:#2563eb; background:#edf4ff; }
.account-settings-nav .nav-link.active { color:#235fca; background:linear-gradient(120deg,#dfecff,#eef5ff); border-color:#d2e4ff; font-weight:650; box-shadow:inset 0 1px 0 #fff; }
.account-nav-arrow { margin-left:auto; font-size:10px; opacity:.45; }
.account-sidebar-note { display:flex; gap:10px; margin:24px 10px 0; padding-top:18px; border-top:1px solid #dfe8f6; color:#7290b1; }
.account-sidebar-note>i { font-size:18px; color:#4986dc; }
.account-sidebar-note p { margin:0; font-size:11px; line-height:1.7; }
.account-settings-panel { padding:32px; min-height:460px; overflow-wrap:anywhere; }
.account-settings-panel>h3 { margin:0 0 24px; font-size:24px; letter-spacing:-.03em; }
.account-settings-panel>.row { margin:0; }
.account-settings-panel>.row>[class*="col-"] { width:100%; max-width:580px; padding:0; }
.account-panel-heading { display:flex; gap:14px; align-items:center; padding-bottom:26px; border-bottom:1px solid #dfe8f6; margin-bottom:28px; }
.account-panel-heading h2 { color:var(--ink); font-size:23px; letter-spacing:-.03em; margin:0 0 5px; }
.account-panel-heading p { color:var(--muted); font-size:13px; margin:0; }
.account-form-section h3 { font-size:15px; font-weight:650; margin:0 0 6px; }
.account-field-intro { color:var(--muted); font-size:12px; margin-bottom:24px; }
.account-field { margin-bottom:24px; max-width:540px; }
.account-field .form-label { display:flex; align-items:center; gap:10px; margin-bottom:9px; font-size:13px; font-weight:600; color:#324c70; }
.account-optional { color:#7c8da5; font-size:11px; font-weight:400; }
.account-input-icon { position:relative; }
.account-input-icon>i { position:absolute; top:50%; left:15px; transform:translateY(-50%); color:#7a94b8; pointer-events:none; }
.account-input-icon .form-control { padding:13px 15px 13px 43px; min-height:48px; border:1px solid #d9e5f5; background:#ffffffd9; border-radius:12px; font-size:14px; }
.account-input-icon .form-control:disabled { background:#edf2f9; color:#6a7c94; opacity:1; }
.account-settings-panel .form-control:focus { border-color:#6a9ff2; box-shadow:0 0 0 3px #367bed1a; }
.account-field-help { margin:8px 0 0; font-size:11px; line-height:1.6; color:#72849e; }
.account-form-footer { margin-top:32px; padding-top:24px; border-top:1px solid #dfe8f6; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.account-form-footer>span { display:flex; gap:7px; align-items:center; font-size:11px; color:#72849e; }
.account-form-footer .btn { display:inline-flex; align-items:center; justify-content:center; gap:14px; white-space:nowrap; padding:12px 20px; font-size:13px; }
.account-settings a:focus-visible,.account-settings button:focus-visible { outline:3px solid #77a8f5; outline-offset:3px; }
@media(max-width:850px) {
 .account-settings { padding:32px 20px 48px; }
 .account-settings-grid { grid-template-columns:220px minmax(0,1fr); gap:18px; }
 .account-settings-panel { padding:24px; }
 .account-form-footer { align-items:flex-start; flex-direction:column; }
}
@media(max-width:640px) {
 .account-settings { padding:28px 16px 40px; }
 .account-settings-header { align-items:flex-start; flex-direction:column; gap:10px; margin-bottom:22px; }
 .account-settings-header p { font-size:13px; }
 .account-settings-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
 .account-sidebar { padding:16px 12px 12px; border-radius:20px; }
 .account-sidebar-heading { padding-bottom:14px; }
 .account-settings-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }
 .account-settings-nav .nav-link { padding:10px 9px; font-size:12px; gap:8px; height:100%; }
 .account-settings-nav .nav-item { min-width:0; }
 .account-nav-arrow,.account-sidebar-note { display:none; }
 .account-settings-panel { border-radius:20px; padding:24px 20px; min-height:0; }
 .account-panel-heading h2 { font-size:21px; }
 .account-form-footer .btn { width:100%; }
}

/* Admin sign out actions */
.workspace-logout-form { margin:0; }
.workspace-logout-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid #d8e5fa; border-radius:10px; padding:9px 12px; background:#ffffffb3; color:#476487; font:inherit; font-size:12px; cursor:pointer; white-space:nowrap; }
.workspace-logout-button:hover { background:#e7f0ff; color:#1f5cc8; border-color:#b3cef6; }
.workspace-logout-button:focus-visible { outline:3px solid #77a8f5; outline-offset:3px; }
.sidebar-footer .workspace-logout-form { margin-top:8px; }
.sidebar-footer .workspace-logout-button { width:100%; justify-content:flex-start; color:#e2ecff; background:#ffffff09; border-color:#ffffff1f; padding:10px 12px; }
.sidebar-footer .workspace-logout-button:hover { color:#fff; background:#ffffff17; border-color:#ffffff40; }
@media(max-width:575px) { .workspace-tools .workspace-logout-button { padding:8px; font-size:11px; gap:5px; } }

/* Password visibility control */
.password-visibility-field { position:relative; }
.password-visibility-field .form-control { padding-right:94px; }
.password-visibility-toggle { position:absolute; right:7px; top:50%; transform:translateY(-50%); min-height:36px; display:inline-flex; align-items:center; gap:6px; padding:6px 9px; border:0; border-radius:8px; color:#3868ac; background:transparent; font-size:12px; font-weight:600; cursor:pointer; }
.password-visibility-toggle:hover { background:#e8f0ff; color:#1f54ae; }
.password-visibility-toggle:focus-visible { outline:2px solid #5a93ed; outline-offset:1px; }

/* Login options and sign-in feedback */
.login-options { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 16px; margin:2px 0 6px; }
.login-remember { display:inline-flex; align-items:center; gap:9px; min-height:32px; color:#344f73; cursor:pointer; font-size:13px; user-select:none; }
.login-remember .form-check-input { float:none; margin:0; width:19px; height:19px; flex-shrink:0; cursor:pointer; border-color:#a9bedb; }
.login-options>a { color:#2865c5; font-size:12px; font-weight:500; text-underline-offset:3px; }
.login-remember-help { font-size:11px; color:#667994; line-height:1.6; margin:0 0 22px; }
.login-feedback { display:flex; gap:11px; align-items:flex-start; padding:15px 16px; border:1px solid #f0ccd1; border-radius:13px; background:#fff2f4; color:#813746; margin:0 0 22px; }
.login-feedback>i { margin-top:2px; font-size:18px; flex-shrink:0; }
.login-feedback strong { display:block; font-size:14px; margin-bottom:5px; }
.login-feedback p { margin:0; line-height:1.65; font-size:12px; }
.login-feedback a { color:#813746; font-weight:600; text-underline-offset:3px; }

/* Account recovery */
.recovery-page { padding:64px 20px 80px; min-height:65vh; display:grid; place-items:start center; }
.recovery-card { width:100%; max-width:480px; padding:36px; border-radius:24px; background:#ffffffd9; border:1px solid #fff; box-shadow:var(--glass-shadow); backdrop-filter:blur(24px); }
.recovery-icon { display:grid; place-items:center; width:54px; height:54px; border-radius:16px; background:#e6efff; color:#3375dc; font-size:25px; margin-bottom:24px; }
.recovery-card h1 { font-size:28px; letter-spacing:-.04em; color:var(--ink); margin-bottom:12px; }
.recovery-card>p { font-size:14px; color:var(--muted); line-height:1.75; margin-bottom:26px; }
.recovery-card .form-label { font-size:13px; color:#38516f; font-weight:600; }
.recovery-card .btn { padding:13px 18px; font-size:14px; }
.recovery-back { display:flex; justify-content:center; align-items:center; gap:8px; margin-top:24px; font-size:13px; color:#48678e; text-decoration:none; }
@media(max-width:575px) { .recovery-page { padding:32px 16px 48px; } .recovery-card { padding:28px 24px; } .recovery-card h1 { font-size:25px; } }

/* Responsive dashboard records */
.platform-admin-content,.workspace-page,.dashboard-content,.dashboard-section { min-width:0; }
.platform-admin-layout .table-responsive { width:100%; max-width:100%; border:1px solid #dce7f7; border-radius:16px; background:#ffffff75; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:#b5ccef #f1f6ff; }
.platform-admin-layout .table-responsive:focus-visible { outline:3px solid #77a8f5; outline-offset:3px; }
.platform-admin-layout .admin-table { width:100%; min-width:560px; margin:0; border-collapse:separate; border-spacing:0; line-height:1.6; }
.platform-admin-layout .admin-table:has(thead th:nth-child(6)) { min-width:800px; }
.platform-admin-layout .admin-table thead th { padding:10px 12px; background:#edf4ff; color:#627b9d; border:0; border-bottom:1px solid #dce7f7; font-size:10px; letter-spacing:.08em; vertical-align:middle; }
.platform-admin-layout .admin-table tbody td { padding:10px 12px; border:0; border-bottom:1px solid #e3ebf6; font-size:12px; color:#49617f; vertical-align:middle; max-width:320px; overflow-wrap:anywhere; }
.platform-admin-layout .admin-table tbody tr:last-child td { border-bottom:0; }
.platform-admin-layout .admin-table tbody tr:hover td { background:#edf5ffb3; }
.platform-admin-layout .admin-table th:first-child,.platform-admin-layout .admin-table td:first-child { min-width:170px; }
.platform-admin-layout .admin-table td .small { font-size:10px; line-height:1.5; margin-top:2px; }
.platform-admin-layout .admin-table td .fw-bold { font-weight:650!important; color:#263f60!important; }
.platform-admin-layout .admin-table [data-label="Actions"] { min-width:128px; white-space:nowrap; }
.platform-admin-layout .admin-table th:last-child { min-width:128px; }
.platform-admin-layout .admin-table [data-label="Created"],.platform-admin-layout .admin-table [data-label="Date"] { white-space:nowrap; min-width:102px; font-variant-numeric:tabular-nums; }
.platform-admin-layout .admin-table .badge { border:1px solid #cbdff480; padding:4px 7px; border-radius:8px; font-size:10px; font-weight:600; white-space:normal; text-align:left; }
.platform-admin-layout .admin-table .btn-sm { min-width:30px; min-height:30px; padding:5px 7px; margin-bottom:0; border-radius:9px; font-size:12px; display:inline-flex; align-items:center; justify-content:center; gap:5px; }
.platform-admin-layout .admin-table .btn-info { background:#e5efff; border-color:#cbdffc; color:#2e6dcc!important; }
.platform-admin-layout .admin-table .btn-info:hover { background:#d6e6ff; }
.platform-admin-layout .admin-table td[colspan] { text-align:center; padding:24px 16px; color:#7588a3; }
@media(max-width:767px) {
 .platform-admin-layout .dashboard-section:has(.responsive-records) { padding:10px; border-radius:16px; }
 .platform-admin-layout .table-responsive:has(.responsive-records) { border:0; border-radius:0; background:transparent; overflow:visible; }
 .platform-admin-layout .admin-table.responsive-records { display:block; min-width:0; width:100%; }
 .platform-admin-layout .responsive-records thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
 .platform-admin-layout .responsive-records tbody { display:grid; gap:9px; width:100%; }
 .platform-admin-layout .responsive-records tbody tr { display:block; min-width:0; border:1px solid #dce7f7; border-radius:12px; overflow:hidden; background:#ffffffd9; box-shadow:0 4px 16px #2b63b607; }
 .platform-admin-layout .responsive-records tbody td { display:block; position:relative; min-width:0; max-width:none; padding:8px 12px 8px 105px; font-size:12px; min-height:36px; border-bottom:1px solid #e6edf8; white-space:normal; }
 .platform-admin-layout .responsive-records tbody td::before { content:attr(data-label); position:absolute; left:12px; top:9px; width:82px; color:#778da9; font-size:10px; line-height:1.7; font-weight:600; letter-spacing:.015em; }
 .platform-admin-layout .responsive-records tbody td:first-child { padding:11px 12px; min-width:0; background:#edf4ff8a; }
 .platform-admin-layout .responsive-records tbody td:first-child::before { content:none; }
 .platform-admin-layout .responsive-records tbody td:first-child .fw-bold { font-size:14px; }
 .platform-admin-layout .responsive-records tbody tr td:last-child { border-bottom:0; }
 .platform-admin-layout .responsive-records tbody tr:not(:last-child) td:not(:last-child) { border-bottom:1px solid #e6edf8; }
 .platform-admin-layout .responsive-records tbody [data-label="Actions"] { display:flex; flex-wrap:wrap; gap:8px; align-items:center; min-width:0; white-space:normal; }
 .platform-admin-layout .responsive-records [data-label="Actions"] .btn { min-width:40px; min-height:40px; margin:0!important; }
 .platform-admin-layout .responsive-records tbody td[colspan] { padding:28px 16px; }
 .platform-admin-layout .responsive-records td[colspan]::before { content:none; }
 .platform-admin-layout .dashboard-header { gap:12px; }
 .platform-admin-layout .dashboard-header>.btn { min-height:42px; }
}

.platform-admin-layout .admin-table [data-label="Contact"] { min-width:170px; }
@media(min-width:768px) {
 .platform-admin-layout .admin-table th:last-child,.platform-admin-layout .admin-table td[data-label="Actions"] { position:sticky; right:0; background:#f5f9ff; border-left:1px solid #dce7f7; }
 .platform-admin-layout .admin-table th:last-child { background:#edf4ff; z-index:1; }
}
@media(max-width:767px) {
 .platform-admin-layout .admin-table.responsive-records:has(thead th:nth-child(6)) { min-width:0; }
 .platform-admin-layout .responsive-records tbody td[data-label] { min-width:0; max-width:100%; white-space:normal; }
}

@media(min-width:768px) {
 .platform-admin-layout .dashboard-section:has(.admin-table) { padding:16px; border-radius:18px; }
 .platform-admin-layout .admin-table th:last-child { width:1%!important; }
}
.platform-admin-layout .admin-dashboard:has(.admin-table) .dashboard-header { padding-bottom:18px; margin-bottom:18px; }

/* Consistent language menus */
.language-dropdown { position:relative; display:inline-block; color:#426080; flex-shrink:0; text-align:left; font-size:13px; }
.language-trigger { display:flex; align-items:center; justify-content:space-between; gap:9px; list-style:none; min-height:38px; padding:8px 11px; border:1px solid #d6e4f5; border-radius:11px; background:#f8fbffdc; color:#476384; font-weight:550; cursor:pointer; user-select:none; white-space:nowrap; }
.language-trigger::-webkit-details-marker { display:none; }
.language-trigger::marker { content:""; }
.language-trigger>i:first-child { font-size:15px; color:#6487b5; }
.language-chevron { font-size:10px; color:#7892b2; transition:transform .15s; }
.language-dropdown[open]>.language-trigger { background:#edf4ff; border-color:#adc9f3; box-shadow:0 0 0 3px #367bed12; }
.language-dropdown[open] .language-chevron { transform:rotate(180deg); }
.language-trigger:hover { background:#eaf2ff; border-color:#bed3f3; }
.language-trigger:focus-visible,.language-option:focus-visible { outline:3px solid #77a8f5; outline-offset:2px; }
.language-menu { position:absolute; right:0; top:calc(100% + 8px); z-index:100; width:184px; max-width:calc(100vw - 32px); padding:7px; background:#fff; border:1px solid #dde8f7; border-radius:15px; box-shadow:0 12px 35px #163a7326,0 2px 6px #163a730a; color:#29466d; }
.language-menu-label { display:block; padding:7px 10px 9px; color:#8a9bb2; font-size:9px; letter-spacing:.13em; font-weight:700; }
.language-dropdown .language-option { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:40px; margin:2px 0; padding:9px 11px; border:0; border-radius:9px; color:#4c6484; font-size:13px; font-weight:500; text-decoration:none; line-height:1.4; background:transparent; }
.language-dropdown .language-option:hover { background:#f0f5fe; color:#2563eb; }
.language-dropdown .language-option.is-selected { color:#2563eb; background:#eaf2ff; font-weight:650; }
.language-option>i { color:#3577dc; font-size:16px; }
.site-header-actions .language-trigger { background:transparent; border-color:transparent; }
.site-header-actions .language-menu { top:calc(100% + 12px); }
.cp-auth-hero .language-trigger { background:#ffffffed; color:#294b7d; border-color:#ffffff; }
.mobile-navigation .language-dropdown { width:100%; }
.mobile-navigation .language-menu { position:static; width:100%; margin-top:8px; box-shadow:none; }
@media(max-width:991px) { .site-header-actions>.language-dropdown { display:none; } }
/* Keep form selects consistent while retaining native keyboard support. */
select.form-control,select.form-select { appearance:none; padding-right:38px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23637fa7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 13px center; background-size:14px; }
select.form-control option,select.form-select option { color:#233d66; background:#fff; }

/* Fill the viewport and connect account pages directly to the footer. */
.site-shell { display:flex; flex-direction:column; min-height:100dvh; }
.site-shell>.site-header,.site-shell>.cp-footer { flex-shrink:0; }
.site-shell>.site-body { flex:1; min-height:0; }
.site-shell>.site-body:has(>.cp-auth-hero) { display:flex; flex-direction:column; background:radial-gradient(ellipse at 85% 25%,#4577cf70,transparent 65%),linear-gradient(125deg,#122b56,#1b4494); }
.site-shell>.site-body>.cp-auth-hero { flex:1; margin-bottom:0; }

/* This decoy must stay outside normal layout and keyboard navigation. */
.registration-bot-trap { position:absolute!important; left:-10000px!important; top:auto!important; width:1px!important; height:1px!important; overflow:hidden!important; opacity:0; pointer-events:none; }

/* Temporary beta status, shared across the public site and workspaces. */
.site-brand-group { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.beta-badge { display:inline-flex; align-items:center; justify-content:center; padding:4px 7px; border:1px solid #bfd5fa; border-radius:6px; background:#e4efff; color:#245fbd; font-size:10px; line-height:1.2; font-weight:750; letter-spacing:.08em; white-space:nowrap; vertical-align:middle; }
.workspace-heading .beta-badge { margin-left:8px; padding:3px 6px; font-size:9px; }
@media(max-width:575px) { .site-brand-group { gap:6px; } .site-brand-group .beta-badge { padding:3px 5px; font-size:9px; } }
