:root { --brand: #0f766e; --accent: #f59e0b; --ink: #17212b; --muted: #64707d; --bg: #f4f6f8; --line: #e3e8ee; --brand-soft: color-mix(in srgb, var(--brand) 10%, white); }
body { font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--ink); }
a { color: var(--brand); }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand); border-color: var(--brand); color: #fff; filter: brightness(.92); }
.btn-outline-brand { border-color: var(--brand); color: var(--brand); }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.text-brand { color: var(--brand) !important; } .bg-brand-soft { background: var(--brand-soft); }
.min-w-0 { min-width: 0; overflow-wrap: anywhere; }

/* marketing site */
body.site { background: #fff; }
.site-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-nav .navbar-brand { color: var(--brand); }
.hero { background: radial-gradient(1200px 500px at 80% -10%, #14b8a6 0%, transparent 60%), linear-gradient(135deg, #064e48, #0f766e 60%, #115e59); }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; }
.feature-card > i { font-size: 1.6rem; color: var(--brand); }
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.phone-mock { width: 270px; background: #fff; border-radius: 34px; padding: 14px; color: var(--ink); box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 8px solid #0b1f2a; }
.pm-top { font-weight: 700; padding: 8px 4px 12px; color: var(--brand); }
.pm-card { background: var(--brand); color: #fff; border-radius: 16px; padding: 14px; margin-bottom: 10px; } .pm-big { font-size: 1.6rem; font-weight: 800; }
.pm-row { display: flex; gap: 8px; align-items: center; background: var(--bg); border-radius: 12px; padding: 10px; margin-bottom: 8px; font-size: .8rem; }

/* admin shell */
body.admin { background: var(--bg); }
.admin-side { width: 250px; background: #0b1f2a; color: #cbd5df; position: fixed; inset: 0 auto 0 0; overflow-y: auto; z-index: 1040; transition: transform .2s; }
.admin-side .brand { padding: 1.1rem 1.2rem; color: #fff; font-weight: 800; display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.admin-side .org-chip { margin: 0 1rem 1rem; padding: .6rem .8rem; background: rgba(255,255,255,.07); border-radius: 12px; font-size: .8rem; }
.admin-side .nav-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #7d8b99; padding: .9rem 1.2rem .3rem; }
.admin-side a.item { display: flex; align-items: center; gap: .7rem; padding: .55rem 1.2rem; color: #cbd5df; text-decoration: none; font-size: .92rem; border-left: 3px solid transparent; }
.admin-side a.item:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-side a.item.active { background: rgba(255,255,255,.1); color: #fff; border-left-color: var(--accent); }
.admin-side a.item .badge { margin-left: auto; }
.admin-main { margin-left: 250px; min-height: 100vh; }
.admin-top { background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1.5rem; display: flex; align-items: center; gap: 1rem; position: sticky; top: 0; z-index: 1030; }
.admin-top h1 { font-size: 1.15rem; font-weight: 700; margin: 0; }
.admin-body { padding: 1.5rem; max-width: 1280px; }
@media (max-width: 991px) { .admin-side { transform: translateX(-100%); } .admin-side.open { transform: none; } .admin-main { margin-left: 0; } .admin-body { padding: 1rem; } }
.hub-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; margin-bottom: 1.25rem; }
.hub-card > h2, .hub-card .card-title { font-size: 1.02rem; font-weight: 700; margin-bottom: 1rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; height: 100%; display: flex; gap: .9rem; align-items: center; }
.stat .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.stat .v { font-size: 1.35rem; font-weight: 800; line-height: 1.1; } .stat .l { font-size: .78rem; color: var(--muted); }
.table-hub th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; white-space: nowrap; }
.empty { text-align: center; color: var(--muted); padding: 2rem 1rem; } .empty i { font-size: 2rem; display: block; opacity: .55; }
.proof-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.bar { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; } .bar > span { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .6s; }
.q-card { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; background: #fbfcfd; margin-bottom: .8rem; }
.sticky-actions { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: .75rem 0; margin-top: 1rem; }

/* member portal (phone first) */
body.portal { background: var(--bg); padding-bottom: 74px; }
@media (min-width: 992px) { body.portal { padding-bottom: 0; } }
.p-top { background: var(--brand); color: #fff; }
.p-top a { color: #fff; text-decoration: none; }
.p-logo { width: 38px; height: 38px; border-radius: 10px; background: #fff; object-fit: contain; display: inline-grid; place-items: center; color: var(--brand); font-size: 1.2rem; }
.p-name { font-weight: 700; max-width: 56vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-bell { position: relative; font-size: 1.3rem; } .p-bell b { position: absolute; top: -5px; right: -9px; background: var(--accent); color: #111; font-size: .62rem; padding: 1px 5px; border-radius: 99px; }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; margin-bottom: 1rem; }
.p-card h2 { font-size: 1.02rem; font-weight: 700; margin-bottom: .8rem; }
.p-hero { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #000)); color: #fff; border-radius: 22px; padding: 1.4rem; margin-bottom: 1rem; }
.p-hero .big { font-size: 2rem; font-weight: 800; line-height: 1.1; }
.p-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .9rem .4rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .8rem; text-align: center; height: 100%; }
.p-tile i { font-size: 1.5rem; color: var(--brand); } .p-tile:hover { border-color: var(--brand); }
.p-muted { color: var(--muted); }
.p-tabbar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); display: flex; z-index: 1030; padding-bottom: env(safe-area-inset-bottom); }
.p-tabbar a { flex: 1; text-align: center; padding: .5rem 0 .4rem; color: var(--muted); text-decoration: none; font-size: .68rem; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.p-tabbar a i { font-size: 1.25rem; } .p-tabbar a.active { color: var(--brand); font-weight: 700; }
.opt-btn { display: block; width: 100%; text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: .8rem 1rem; margin-bottom: .6rem; font-weight: 600; position: relative; overflow: hidden; }
.opt-btn.selected { border-color: var(--brand); }
.opt-btn .fill { position: absolute; inset: 0 auto 0 0; background: var(--brand-soft); z-index: 0; transition: width .6s; }
.opt-btn .row-in { position: relative; z-index: 1; display: flex; gap: .6rem; align-items: center; }
.opt-btn .pct { margin-left: auto; font-variant-numeric: tabular-nums; }
.live-dot { width: 9px; height: 9px; background: #ef4444; border-radius: 50%; display: inline-block; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.stars label { font-size: 1.8rem; cursor: pointer; color: #cbd5df; } .stars input { display: none; } .stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--accent); }
.rating-row { display: flex; flex-direction: row-reverse; justify-content: flex-end; }
.statement { background: #fff; padding: 1.5rem; max-width: 800px; margin: auto; }
@media print { .no-print, .admin-side, .admin-top, .p-top, .p-tabbar { display: none !important; } .admin-main { margin: 0; } body { background: #fff !important; padding: 0 !important; } .hub-card, .p-card { border: 0; } }
.p-top .btn-light { color: var(--brand); }

/* Floating WhatsApp help button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1030; width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: #25d366; color: #fff; font-size: 1.7rem;
  text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.wa-float:hover, .wa-float:focus { background: #1ebe5b; color: #fff; }
.wa-float.wa-float-raised { bottom: 84px; } /* clear the member portal's bottom tab bar */

.demo-bar { background: #fef3c7; color: #78350f; text-align: center; font-size: .82rem; padding: .35rem .75rem; position: relative; z-index: 1050; }
.demo-bar a { color: #78350f; font-weight: 700; }

.blog-body { font-size: 1.05rem; line-height: 1.75; }
.blog-body h2 { font-size: 1.35rem; font-weight: 700; margin: 2rem 0 .75rem; }
.blog-body h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.blog-body ul, .blog-body ol { padding-left: 1.3rem; } .blog-body li { margin-bottom: .35rem; }
.blog-body blockquote { border-left: 4px solid var(--brand); padding: .25rem 1rem; color: var(--muted); }
