/* Weh Community – one stylesheet for the website, members area and CMS */
:root {
  --navy: #172627; --navy-2: #24403f; --terra: #c2550f; --terra-d: #a5470a; --gold: #e6c269; --gold-l: #f6e7bf; --teal: #2a9d8f; --orange: #f07a22;
  --cream: #f8f4ee; --paper: #fffdf9; --ink: #1d2033; --text: #4a4e63; --muted: #7c8093; --line: #e7e0d4; --ok: #2f8f4e; --bad: #c0362c; --warn: #b7791f;
  --r: 18px; --shadow: 0 10px 30px rgba(23,38,39,.08);
  --display: 'Cinzel', Georgia, 'Times New Roman', serif; --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--sans); color: var(--text); background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: var(--terra-d); }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); } h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); } h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: #fff; padding: 8px 12px; }
.kicker { font: 700 .74rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--terra); margin: 0 0 10px; }
.kicker.gold { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); } .small { font-size: .88rem; } .center { text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--navy); background: var(--navy); color: #fff; font: 600 .98rem var(--sans); text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(23,38,39,.18); }
.btn-terra { background: var(--terra); border-color: var(--terra); } .btn-terra:hover { background: var(--terra-d); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-out { background: transparent; color: var(--terra); border-color: var(--terra); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
button.linkish { background: none; border: 0; color: var(--terra-d); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* header */
.hd { background: var(--cream); position: sticky; top: 0; z-index: 40; }
.hd-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-badge { width: 46px; height: 46px; border-radius: 10px; background: var(--navy) url('../img/logo-mark.png') center/86% no-repeat; flex: none; border: 2px solid var(--gold); color: transparent; overflow: hidden; font-size: 0; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font: 800 1.15rem 'Poppins', var(--sans); color: var(--navy); letter-spacing: .02em; }
.brand-txt small { font-size: .68rem; letter-spacing: .18em; color: var(--terra); text-transform: uppercase; }
.hd-nav { display: flex; gap: 22px; margin-inline: auto; }
.hd-nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.hd-nav a.on, .hd-nav a:hover { color: var(--terra); border-color: var(--terra); }
.hd-only-m { display: none; }
.hd-act { display: flex; align-items: center; gap: 14px; flex: none; }
.hd-login { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); text-decoration: none; font-weight: 600; }
.hd-login svg { width: 18px; height: 18px; fill: currentColor; }
.mini-av { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .78rem; font-weight: 700; }
.hd-act .btn { min-height: 40px; padding: 0 18px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.menu-btn span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }
.strip { height: 12px; background:
  linear-gradient(135deg, var(--navy) 25%, transparent 25%) -6px 0 / 12px 12px,
  linear-gradient(225deg, var(--navy) 25%, transparent 25%) -6px 0 / 12px 12px,
  linear-gradient(315deg, var(--navy) 25%, transparent 25%) 0 0 / 12px 12px,
  linear-gradient(45deg, var(--navy) 25%, var(--gold-l) 25%) 0 0 / 12px 12px; opacity: .9; }

/* flash */
.flash { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.flash-ok { background: #e8f5ec; color: #1f6b3a; } .flash-error { background: #fbe9e7; color: #9b2c22; } .flash-warn { background: #fff4dc; color: #7a5200; }
.alert { padding: 12px 16px; border-radius: 12px; margin: 0 0 16px; } .alert-error { background: #fbe9e7; color: #9b2c22; } .alert-ok { background: #e8f5ec; color: #1f6b3a; } .alert-info { background: #eef0fa; color: var(--navy); }

/* sections */
section.sec { padding: clamp(48px, 8vw, 96px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.alt { background: var(--paper); }
.dark { background: var(--navy); color: #d9dcf0; } .dark h2, .dark h3 { color: #fff; }

/* hero */
.hero { padding: clamp(36px, 7vw, 80px) 0; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 26px; }
.hero-fig { position: relative; }
.hero-frame { background: var(--navy); border-radius: 26px; padding: 14px; transform: rotate(2deg); box-shadow: var(--shadow); }
.hero-frame img, .hero-frame .ph { border-radius: 18px; width: 100%; aspect-ratio: 4/3.3; object-fit: cover; transform: rotate(-2deg); }
.ph { background: linear-gradient(135deg, var(--navy-2), var(--terra)); display: grid; place-items: center; color: rgba(255,255,255,.85); font: 700 2.4rem var(--display); }
.hero-badge { position: absolute; left: 6%; bottom: -18px; background: #fff; border-radius: 12px; padding: 12px 18px; box-shadow: var(--shadow); }
.hero-badge small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.hero-badge strong { font: 700 1rem var(--display); color: var(--navy); }

/* features */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.feat { border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; text-decoration: none; color: inherit; }
.feat svg { width: 26px; height: 26px; stroke: var(--terra); fill: none; stroke-width: 1.7; margin-bottom: 8px; }
.feat strong { display: block; color: var(--navy); font-size: 1.02rem; margin-bottom: 4px; }
.feat span { font-size: .9rem; color: var(--muted); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: #fff; border-radius: var(--r); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.stat b { display: block; font: 700 2rem var(--display); color: var(--navy); }
.stat span { color: var(--muted); font-size: .9rem; }

/* about split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pics img, .pics .ph { border-radius: 16px; aspect-ratio: 4/4.6; object-fit: cover; width: 100%; }
.prose p { font-size: 1.04rem; }

/* cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; }
.card h3 { margin-bottom: 6px; }
.leader { text-align: center; padding: 26px 18px; }
.leader .lp { width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; border: 4px solid var(--gold-l); background: var(--cream); display: grid; place-items: center; font: 700 2rem var(--display); color: var(--navy); }
.leader .lt { color: var(--terra); font-weight: 600; font-size: .92rem; } .leader .lb { color: var(--muted); font-size: .86rem; }
.pcard { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.pcard img, .pcard .ph { aspect-ratio: 16/9; object-fit: cover; width: 100%; font-size: 1.4rem; }
.pcard .pb { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--gold-l); color: #7a5200; }
.tag.ongoing { background: #e3eefc; color: #1d4f9a; } .tag.completed { background: #e3f4e8; color: #1f6b3a; } .tag.planned { background: #f3eee5; color: #7a5a2a; }
.bar { height: 9px; background: #efe8dc; border-radius: 9px; overflow: hidden; } .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--terra)); border-radius: 9px; }
.raised { display: flex; justify-content: space-between; font-size: .86rem; }

/* gantt */
.gantt { overflow-x: auto; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; }
.gantt-in { min-width: 720px; }
.g-row { display: grid; grid-template-columns: 220px 1fr; align-items: center; min-height: 40px; border-bottom: 1px solid #f1ece3; }
.g-row:last-child { border-bottom: 0; }
.g-name { font-size: .9rem; padding-right: 12px; color: var(--ink); } .g-name small { display: block; color: var(--muted); font-size: .76rem; }
.g-track { position: relative; height: 26px; }
.g-bar { position: absolute; top: 3px; height: 20px; border-radius: 6px; min-width: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.12); overflow: hidden; }
.g-bar i { position: absolute; inset: 0 auto 0 0; background: rgba(255,255,255,.35); }
.g-bar span { position: relative; font-size: .7rem; color: #fff; padding: 0 6px; line-height: 20px; white-space: nowrap; font-weight: 600; }
.g-head { display: grid; grid-template-columns: 220px 1fr; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.g-months { position: relative; height: 18px; } .g-months span { position: absolute; top: 0; border-left: 1px solid var(--line); padding-left: 4px; }
.g-today { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--terra); opacity: .6; }

/* radio */
.live { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--r); padding: 22px; }
.live-dot { width: 14px; height: 14px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 6px rgba(255,77,77,.25); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(255,77,77,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } html { scroll-behavior: auto; } }
.ep { display: grid; grid-template-columns: 1fr; gap: 10px; }
.ep audio { width: 100%; }
.ep-meta { font-size: .84rem; color: var(--muted); }

/* donate */
.pay-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 18px 0 26px; }
.pay { border-radius: var(--r); padding: 18px 20px; color: #fff; }
.pay.mtn { background: #ffcc00; color: #1d1d1d; } .pay.orange { background: #ff7900; } .pay.bank { background: var(--navy); } .pay.pp { background: #003087; }
.pay small { display: block; opacity: .85; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.pay b { display: block; font-size: 1.35rem; letter-spacing: .02em; margin: 4px 0; word-break: break-word; }
.pay a { color: inherit; font-weight: 700; }

/* forms */
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 6px; }
label small { font-weight: 400; color: var(--muted); }
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]), select, textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #d9d1c3; border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
input[type=file] { font: inherit; max-width: 100%; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(194,85,15,.25); border-color: var(--terra); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--terra); flex: none; }
.hp { position: absolute; left: -5000px; }
.form-card { max-width: 620px; margin-inline: auto; }

/* gallery / news */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gal figure { margin: 0; } .gal img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.gal figcaption { font-size: .84rem; color: var(--muted); padding: 6px 2px 0; }
.post-img { border-radius: var(--r); margin-bottom: 22px; width: 100%; max-height: 460px; object-fit: cover; }

/* app CTA */
.cta { background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 4 36 20 20 36 4 20z' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='2'/%3E%3C/svg%3E"); color: #d9dcf0; border-radius: 22px; padding: clamp(24px, 4vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta h2 { color: var(--gold-l); margin: 0 0 4px; font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.cta p { margin: 0; }

/* footer */
.ft { background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 4 36 20 20 36 4 20z' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='2'/%3E%3C/svg%3E"); color: #cfd3ea; margin-top: 70px; padding-top: 48px; }
.ft a { color: #fff; }
.ft-in { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; padding-bottom: 32px; }
.ft-name { font: 700 1.5rem var(--display); color: var(--gold-l); margin: 0 0 4px; } .ft-tag { font-size: .88rem; }
.ft-contact p { margin: 0 0 6px; }
.ft-links { display: grid; gap: 8px; align-content: start; } .ft-links a { text-decoration: none; }
.soc { display: flex; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 24px; font-size: .84rem; }
.wa { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.2); z-index: 30; }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* receipt */
.receipt { max-width: 640px; margin: 30px auto; background: #fff; border-radius: 20px; padding: 34px; box-shadow: var(--shadow); border-top: 8px solid var(--gold); }
.receipt dl { display: grid; grid-template-columns: 170px 1fr; gap: 8px 14px; margin: 18px 0; } .receipt dt { color: var(--muted); } .receipt dd { margin: 0; color: var(--ink); font-weight: 600; }
.receipt .amt { font: 700 2rem var(--display); color: var(--navy); }
@media print { .hd, .strip, .ft, .wa, .no-print { display: none !important; } body { background: #fff; } .receipt { box-shadow: none; margin: 0 auto; } }

/* ---------- members area & CMS ---------- */
.app-shell { display: grid; grid-template-columns: 250px 1fr; gap: 26px; padding: 26px 0 40px; align-items: start; }
.side { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 14px; position: sticky; top: 96px; }
.side .who { display: flex; gap: 10px; align-items: center; padding: 6px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.side .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; overflow: hidden; flex: none; }
.side .who .av img { width: 100%; height: 100%; object-fit: cover; }
.side .who strong { display: block; color: var(--navy); line-height: 1.2; } .side .who small { color: var(--muted); font-size: .78rem; }
.side nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .94rem; }
.side nav a:hover { background: var(--cream); } .side nav a.on { background: var(--navy); color: #fff; }
.side nav .sep { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 4px; font-weight: 700; }
.badge { background: var(--terra); color: #fff; border-radius: 999px; padding: 0 8px; font-size: .74rem; font-weight: 700; }
.panel h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 22px; }
.tile { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 18px; text-decoration: none; color: inherit; border-top: 4px solid var(--gold); }
.tile small { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; } .tile b { display: block; font: 700 1.6rem var(--display); color: var(--navy); margin-top: 4px; }
.tile.terra { border-color: var(--terra); } .tile.navy { border-color: var(--navy); }
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
table.t { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.t th { text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 2px solid var(--line); white-space: nowrap; }
table.t td { padding: 11px 14px; border-bottom: 1px solid #f1ece3; vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
.st { font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.st-pending { background: #fff4dc; color: #7a5200; } .st-confirmed, .st-active { background: #e3f4e8; color: #1f6b3a; } .st-rejected, .st-suspended { background: #fbe9e7; color: #9b2c22; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar input, .toolbar select { width: auto; min-width: 160px; }
.inline { display: inline; }
details.box { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 4px 20px; margin-bottom: 16px; }
details.box > summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--navy); list-style: none; }
details.box > summary::after { content: '+'; float: right; color: var(--terra); font-size: 1.2rem; } details.box[open] > summary::after { content: '–'; }
details.box[open] { padding-bottom: 18px; }
.mem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.mem { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.mem .av { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--navy); display: grid; place-items: center; font-weight: 700; overflow: hidden; flex: none; }
.mem .av img { width: 100%; height: 100%; object-fit: cover; }
.mem strong { display: block; color: var(--navy); } .mem small { color: var(--muted); font-size: .8rem; display: block; }
/* messenger */
.chat { display: grid; grid-template-columns: 230px 1fr; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; min-height: 560px; }
.chat-list { border-right: 1px solid var(--line); background: var(--paper); }
.chat-list a { display: flex; justify-content: space-between; gap: 6px; padding: 12px 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid #f1ece3; font-size: .92rem; }
.chat-list a.on { background: var(--navy); color: #fff; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-head { padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.chat-msgs { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; max-height: 60vh; }
.msg { max-width: 78%; background: var(--cream); border-radius: 14px 14px 14px 4px; padding: 8px 12px; }
.msg.me { align-self: flex-end; background: var(--navy); color: #fff; border-radius: 14px 14px 4px 14px; }
.msg small { display: block; font-size: .72rem; opacity: .7; } .msg p { margin: 2px 0 0; white-space: pre-wrap; word-break: break-word; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); } .chat-form textarea { min-height: 46px; height: 46px; }
.thumb { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; background: var(--cream); }
.colour-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; margin-right: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hd-nav { gap: 14px; } .hd-nav a { font-size: .9rem; }
}
@media (max-width: 960px) {
  .menu-btn { display: flex; }
  .hd-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; gap: 0; padding: 8px 16px 16px; box-shadow: 0 16px 30px rgba(0,0,0,.08); }
  .hd-nav.open { display: flex; }
  .hd-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .hd-only-m { display: block; }
  .hd-act { margin-left: auto; }
  .hero-in, .split { grid-template-columns: 1fr; }
  .hero-fig { max-width: 560px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .ft-in { grid-template-columns: 1fr; }
  .app-shell { grid-template-columns: 1fr; }
  .side { position: static; }
  .side nav { display: flex; overflow-x: auto; gap: 4px; } .side nav a { white-space: nowrap; } .side nav .sep { display: none; }
  .chat { grid-template-columns: 1fr; } .chat-list { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); } .chat-list a { white-space: nowrap; border-bottom: 0; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hide-s { display: none !important; }
  .feats, .stats { grid-template-columns: 1fr; }
  .form .two, .form .three { grid-template-columns: 1fr; }
  .receipt { padding: 22px; } .receipt dl { grid-template-columns: 1fr; gap: 2px; } .receipt dd { margin-bottom: 8px; }
  .brand-txt small { display: none; }
  .g-row, .g-head { grid-template-columns: 140px 1fr; }
  .msg { max-width: 90%; }
}

/* ---------- app look (members) ---------- */
.app-hd .hd-in { min-height: 64px; }
.tabbar { display: none; }
.hello { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hello .av { width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 1.3rem var(--display); overflow: hidden; flex: none; border: 3px solid var(--gold); }
.hello .av img { width: 100%; height: 100%; object-fit: cover; }
.hello h1 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); } .hello p { margin: 0; color: var(--muted); }
.mcard { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 22px; padding: 22px; position: relative; overflow: hidden; margin-bottom: 18px; }
.mcard::after { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 24px solid rgba(230,194,105,.18); }
.mcard small { color: var(--gold-l); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; }
.mcard .no { font: 700 1.5rem var(--display); letter-spacing: .06em; margin: 4px 0; }
.mcard .mc-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: .9rem; color: #d9dcf0; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.quick a { background: #fff; border-radius: 16px; padding: 14px 6px; text-align: center; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .84rem; box-shadow: var(--shadow); }
.quick a span { display: block; font-size: 1.5rem; margin-bottom: 4px; }
.list { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f1ece3; text-decoration: none; color: inherit; }
.li:last-child { border-bottom: 0; }
.li .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--cream); flex: none; font-size: 1.1rem; }
.li .tx { flex: 1; min-width: 0; } .li .tx strong { display: block; color: var(--ink); } .li .tx small { color: var(--muted); }
.li .am { font-weight: 700; color: var(--navy); white-space: nowrap; text-align: right; }
.h2s { display: flex; justify-content: space-between; align-items: baseline; margin: 24px 0 10px; } .h2s h2 { font-size: 1.25rem; margin: 0; } .h2s a { font-size: .9rem; }
@media (max-width: 960px) {
  body.is-member .side { display: none; }
  body.is-member .app-shell { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  body.is-member .tabbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50; background: #fff; border-radius: 22px; box-shadow: 0 10px 30px rgba(23,38,39,.18); padding: 6px; justify-content: space-around; }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; border-radius: 14px; text-decoration: none; color: var(--muted); font-size: .68rem; font-weight: 600; flex: 1; }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
  .tabbar a.on { color: var(--navy); background: var(--cream); } .tabbar a.on svg { stroke: var(--terra); }
  .tabbar b { position: absolute; top: 2px; right: 18%; background: var(--terra); color: #fff; border-radius: 999px; font-size: .62rem; padding: 0 5px; }
  body.is-member .hd-act .btn-ghost.hide-s { display: none; }
  .is-cms .side { padding: 8px; }
}
@media (max-width: 600px) { .quick { grid-template-columns: repeat(4, 1fr); gap: 8px; } .quick a { font-size: .74rem; padding: 12px 4px; } .app-hd .brand-txt small { display: none; } }
/* layout fixes: grid children may shrink; compact app header on phones */
.app-shell > * { min-width: 0; }
.side nav { min-width: 0; }
@media (max-width: 600px) {
  .app-hd .hd-act { gap: 6px; } .app-hd .hd-act .btn { padding: 0 10px; min-height: 34px; font-size: .8rem; }
  .app-hd .brand-badge { width: 38px; height: 38px; font-size: .78rem; } .app-hd .brand-txt strong { font-size: .9rem; }
  .is-cms .app-hd .brand-txt { display: none; }
  input[type=file] { width: 100%; }
}
/* live radio button */
.hero-live { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; background: #fff; border-radius: 18px; padding: 12px 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border-left: 5px solid #ff4d4d; }
.hero-live strong { display: block; color: var(--navy); } .hero-live small { color: var(--muted); } .hero-live > span:nth-child(2) { flex: 1; }
.hero-live b { width: 40px; height: 40px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; font-size: .9rem; flex: none; }
.live-pill { position: fixed; left: 16px; bottom: 18px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; text-decoration: none; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: 0 10px 24px rgba(23,38,39,.3); }
.live-pill .live-dot { width: 10px; height: 10px; }
/* call screen */
.callui { position: fixed; inset: 0; z-index: 100; background: rgba(15,19,48,.86); display: grid; place-items: center; padding: 20px; }
.callui[hidden] { display: none; }
.cu-box { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 28px; padding: 34px 26px; width: min(360px, 100%); text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.cu-av { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 16px; background: rgba(255,255,255,.12); display: grid; place-items: center; font: 700 2.2rem var(--display); overflow: hidden; border: 4px solid var(--gold); }
.cu-av img { width: 100%; height: 100%; object-fit: cover; }
.cu-box strong { display: block; font: 700 1.4rem var(--display); } .cu-box [data-c-status] { display: block; color: var(--gold-l); margin-top: 6px; min-height: 1.5em; }
.cu-btns { display: flex; justify-content: center; gap: 22px; margin-top: 26px; }
.cu-b { width: 72px; height: 72px; border-radius: 50%; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; line-height: 1; }
.cu-b small { display: block; font-size: .66rem; margin-top: -10px; font-weight: 600; }
.cu-accept { background: #2f9e57; } .cu-end { background: #d93a2f; } .cu-mute { background: rgba(255,255,255,.18); font-size: .85rem; font-weight: 700; }
@media (max-width: 960px) { body.is-member .live-pill { bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* ---------- project groups: achieved / ongoing / planned ---------- */
.ptabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.ptabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line, #e7dfd2); color: var(--navy); font-weight: 600; font-size: .9rem; text-decoration: none; }
.ptabs a b { background: var(--cream); border-radius: 999px; padding: 1px 8px; font-size: .78rem; }
.ptabs a.on, .ptabs a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.ptabs a.on b, .ptabs a:hover b { background: rgba(255,255,255,.18); color: #fff; }
.pgroup { margin: 0 0 34px; scroll-margin-top: 90px; }
.pg-head { margin-bottom: 14px; } .pg-head h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 2px; font-size: 1.45rem; } .pg-head p { margin: 0; }
.pg-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.pg-dot.pt-ongoing { background: #1d4f9a; } .pg-dot.pt-planned { background: var(--gold); } .pg-dot.pt-completed { background: #1f6b3a; }
.pg-empty { background: #fff; border: 1px dashed var(--line, #e7dfd2); border-radius: 14px; padding: 16px; }
.tag.paused { background: #fbe9e7; color: #9b2c22; }
.hint { display: block; color: var(--muted, #6b6b7b); font-size: .82rem; margin: -2px 0 6px; }

/* ---------- my contributions: totals, year by year, add past ---------- */
.tile-total { background: var(--navy); color: #fff; } .tile-total small, .tile-total .muted { color: rgba(255,255,255,.75) !important; } .tile-total b { color: #fff; }
.add-past { margin: 0 0 22px; } .add-past > summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 2px; font-weight: 700; color: var(--navy); }
.add-past > summary::-webkit-details-marker { display: none; } .add-past[open] > summary { margin-bottom: 14px; }
.add-past > summary span { font-size: 1.05rem; }
.h2-plain { font-size: 1.25rem; margin: 6px 0 10px; }
.yr-table td, .yr-table th { white-space: nowrap; }
.linklike { background: none; border: 0; padding: 4px 2px; color: var(--terra); text-decoration: underline; cursor: pointer; font: inherit; }
.del-past { display: block; text-align: right; margin: -4px 4px 6px; }
/* branch history */
.bh { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.bh li { display: flex; gap: 12px; align-items: center; background: var(--cream); border-radius: 12px; padding: 10px 14px; }
.bh li .tx { flex: 1; min-width: 0; } .bh li strong { display: block; color: var(--navy); } .bh li small { color: var(--muted); }
.bh .now { background: #e3f4e8; color: #1f6b3a; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; margin-left: 6px; }
/* accounts */
.acc-pos { color: var(--ok); } .acc-neg { color: var(--bad); }
.acc-table td, .acc-table th { white-space: nowrap; } .acc-table tr.empty td { color: var(--muted); }
.acc-table tfoot td { font-weight: 700; border-top: 2px solid var(--navy); }
.alert-warn { background: #fff4dc; color: #7a5200; border: 1px solid #f0d9a3; }
.dir-bio { margin: 4px 0 2px; font-size: .86rem; color: var(--text); line-height: 1.45; }
@media (max-width: 520px) { .yr-table th:nth-child(4), .yr-table td:nth-child(4) { display: none; } .acc-table { font-size: .85rem; } }

/* logo wordmark */
.wm-weh { font-family: 'Poppins', var(--sans); font-weight: 800; letter-spacing: .02em; }
.brand-txt small { color: var(--terra); }
.logo-full { display: block; max-width: 100%; height: auto; border-radius: 14px; }

/* ---------- message from the Fon ---------- */
.fon { background: var(--navy); color: #e9efee; position: relative; overflow: hidden; }
.fon::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(42,157,143,.35), transparent 55%), radial-gradient(circle at 10% 90%, rgba(230,194,105,.18), transparent 50%); pointer-events: none; }
.fon-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; align-items: center; }
.fon-fig { margin: 0; border-radius: 22px; overflow: hidden; border: 3px solid var(--gold); box-shadow: 0 24px 50px rgba(0,0,0,.35); aspect-ratio: 4 / 3; }
.fon-fig img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; display: block; }
.fon-txt h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 6px 0 14px; }
.fon-msg { font-size: 1.05rem; line-height: 1.75; border-left: 3px solid var(--orange); padding-left: 18px; } .fon-msg p { color: #e9efee; }
.fon-sub { color: rgba(233,239,238,.82); font-size: 1.1rem; }
.fon .kicker.gold { color: var(--gold); }
@media (max-width: 860px) { .fon-in { grid-template-columns: 1fr; gap: 24px; } }
.pres { display: flex; align-items: center; gap: 10px; } .pres .av { width: 38px; height: 38px; font-size: .8rem; flex: none; }
.fs { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; margin: 4px 0; display: grid; gap: 14px; } .fs legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
.pres .av { border-radius: 50%; background: var(--cream); color: var(--navy); display: grid; place-items: center; font-weight: 700; overflow: hidden; } .pres .av img, .bcard .av img { width: 100%; height: 100%; object-fit: cover; }
/* branches on the leaders page */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.bcard { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; border-top: 4px solid var(--teal); display: grid; gap: 10px; }
.bcard h3 { margin: 0; font-size: 1.15rem; } .bcard .who { display: flex; gap: 12px; align-items: center; }
.bcard .av { width: 54px; height: 54px; border-radius: 50%; background: var(--cream); color: var(--navy); display: grid; place-items: center; font-weight: 700; overflow: hidden; flex: none; border: 2px solid var(--gold); }
.bcard small { color: var(--muted); } .bcard .meets { font-size: .88rem; color: var(--text); margin: 0; }
.pay-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pay-act .pa { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.85); color: #222; font: 600 .82rem var(--sans); border: 0; cursor: pointer; text-decoration: none; }
.pay-act .pa:hover { background: #fff; } .pay-act .pa.done { background: #e3f4e8; color: #1f6b3a; }
/* appeals */
.appeal { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; border-left: 5px solid var(--orange); }
.appeal img, .appeal .ph { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.appeal .ab { padding: 16px 18px 16px 0; display: grid; gap: 8px; align-content: start; }
.appeal h3 { margin: 0; font-size: 1.2rem; } .appeal .ak { font: 700 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra); }
.appeal .btn-row { margin: 4px 0 0; }
.appeals { display: grid; gap: 14px; }
.appeal-band { background: linear-gradient(100deg, var(--navy), var(--navy-2)); color: #fff; }
.appeal-band .appeal { color: var(--ink); }
@media (max-width: 640px) { .appeal { grid-template-columns: 1fr; } .appeal .ab { padding: 0 16px 16px; } .appeal img, .appeal .ph { min-height: 160px; max-height: 200px; } }
.kind-tag { display: inline-block; font: 700 .66rem var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.kind-tag.don { background: #fde9da; color: #a5470a; } .kind-tag.con { background: #dff1ee; color: #1c6b61; }
.dues-card { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--r); margin: 0 0 16px; text-decoration: none; background: #fff; box-shadow: var(--shadow); border-left: 5px solid var(--ok); color: var(--ink); }
.dues-card.owing { border-left-color: var(--orange); background: #fff8f1; }
.dues-card small { display: block; font: 700 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .dues-card b { display: block; font-size: 1.35rem; color: var(--navy); margin: 2px 0; } .dues-card span { color: var(--text); font-size: .9rem; }
.note-bar { display: flex; gap: 12px; align-items: center; background: var(--gold-l); border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; text-decoration: none; color: var(--ink); }
.note-bar strong { display: block; color: var(--navy); } .note-bar small { color: var(--text); }
.li.unread { background: #fff8e8; } .nbody { display: block; margin-top: 6px; color: var(--text); font-size: .9rem; }
.bell { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 1.05rem; }
.bell b { position: absolute; top: -4px; right: -4px; background: var(--terra); color: #fff; font-size: .68rem; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.funds-t tr.grp td { background: var(--navy); color: #fff; font-weight: 700; letter-spacing: .02em; }
.funds-t tr.lv0 td { font-weight: 700; background: #f3f7f6; } .funds-t tr.lv1 td:first-child { padding-left: 26px; }
.funds-t td { white-space: nowrap; }
.organ { margin-bottom: 18px; border-top: 4px solid var(--orange); } .organ-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.appeal-admin { border-left: 5px solid var(--line); margin-bottom: 18px; } .appeal-admin.on { border-left-color: var(--orange); background: #fffaf4; }
.hidden-form { display: none; }
/* gallery albums */
.album { margin: 30px 0 10px; scroll-margin-top: 90px; } .album-head h2 { margin: 0 0 2px; font-size: 1.5rem; } .album-head p { margin: 0 0 14px; }
.gal figcaption small { color: var(--muted); }
.viewer { margin: 0; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.viewer img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; background: #111; }
.viewer figcaption { display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; padding: 14px 18px; }
.viewer figcaption strong { display: block; font-size: 1.15rem; color: var(--navy); }
.album-sum { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; } .album-sum::-webkit-details-marker { display: none; } .album-sum strong { font-size: 1.1rem; color: var(--navy); }
select { max-width: 100%; } @media (max-width: 600px) { .sec-head form.toolbar { width: 100%; } .sec-head form.toolbar select { flex: 1 1 100%; min-width: 0; } }
@media (max-width: 600px) { .branch-search input[name=q] { flex: 1 1 100%; } .branch-search input[type=date] { flex: 1 1 40%; min-width: 0; } }
.today-k { border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; } .today-k small { display: block; font: 700 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; } .today-k b { display: block; font-size: 1.45rem; margin: 2px 0; } .today-k span { font-size: .85rem; }
.today-k.in { background: #e3f4e8; color: #1f6b3a; } .today-k.out { background: #fde9da; color: #a5470a; }
.today-strip { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; margin: 0 0 16px; font-size: .9rem; }
.today-strip .ts-h { font: 700 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .ts-in b { color: var(--ok); } .ts-out b { color: var(--terra); } .today-strip a { margin-left: auto; font-size: .85rem; }
.unit-pick { flex: 1 1 260px; } .contrib-list td { vertical-align: top; }
.organ-ticks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 16px; margin-top: 6px; } .lbl { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.fb-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: #1877f2; color: #fff !important; border-radius: 999px; padding: 12px 18px; font-weight: 700; text-decoration: none; }
.fb-btn:hover { background: #1464cf; } .fb-btn svg { width: 20px; height: 20px; fill: #fff; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 6px 0; } .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.thread { display: grid; gap: 10px; } .reply { background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); } .reply small { color: var(--muted); display: block; margin-bottom: 4px; }
.reply.office { background: #eef6f4; border-left: 4px solid var(--teal); } .reply p { margin: 4px 0; }
.proj-dates { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 4px 0 16px; } .proj-dates span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; } .proj-dates span.tag { border: 0; }
.pdates { display: block; color: var(--muted); font-size: .8rem; margin: -2px 0 4px; }
code { word-break: break-all; }

/* ---------- print: letters and tickets ---------- */
.print-body { background: #e9e6e0; }
.print-bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: #fff; box-shadow: var(--shadow); z-index: 5; }
.letter { background: #fff; max-width: 800px; margin: 22px auto; padding: 44px 54px; box-shadow: var(--shadow); color: #222; font-size: 15px; line-height: 1.6; page-break-after: always; }
.lt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 3px solid var(--orange); padding-bottom: 14px; margin-bottom: 22px; } .lt-head img { width: 260px; height: auto; border-radius: 8px; }
.lt-ref { text-align: right; font-size: .85rem; } .lt-to { margin-bottom: 18px; } .lt-title { font-size: 1.35rem; margin: 0 0 14px; }
.lt-pay { display: grid; gap: 4px; background: #f6f3ee; border-left: 4px solid var(--teal); padding: 12px 16px; margin-top: 16px; font-size: .92rem; }
.lt-sign { margin-top: 36px; } .lt-slip { margin-top: 34px; border-top: 0; font-size: .92rem; } .lt-cut { color: #888; font-size: .78rem; margin-bottom: 10px; white-space: nowrap; overflow: hidden; }
.lt-line { margin: 12px 0; }
.tk-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; max-width: 1100px; margin: 18px auto; padding: 0 12px; }
.tk { display: grid; grid-template-columns: 1fr 120px; background: #fff; border: 2px dashed #999; border-radius: 10px; overflow: hidden; break-inside: avoid; page-break-inside: avoid; font-size: 12px; }
.tk.raffle .tk-main { background: linear-gradient(120deg, #fff 60%, #fdf1e6); } .tk.coupon .tk-main { background: linear-gradient(120deg, #fff 60%, #e7f4f1); }
.tk-main { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; padding: 10px; align-items: start; } .tk-main img { width: 44px; height: 44px; border-radius: 8px; }
.tk-main small { display: block; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--terra); font-size: 9px; } .tk-main strong { display: block; font-size: 13px; color: var(--navy); } .tk-main span { display: block; color: #555; }
.tk-price { display: block; font-size: 15px; color: var(--navy); margin-top: 3px; } .tk-no { text-align: center; font-size: 10px; } .tk-no b { font: 800 20px 'Poppins', sans-serif; color: var(--terra); } .tk-no small { color: #777; font-size: 8px; letter-spacing: 0; text-transform: none; }
.tk-stub { border-left: 2px dashed #999; padding: 8px; display: grid; gap: 6px; font-size: 10px; align-content: start; }
@media print { .no-print, .print-bar { display: none !important; } .print-body { background: #fff; } .letter { box-shadow: none; margin: 0; padding: 18mm 16mm; max-width: none; } .tk-sheet { margin: 0; padding: 0; grid-template-columns: 1fr 1fr; } @page { margin: 10mm; } }
.inv-amt { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .inv-amt input[name=amount] { width: 110px; } .inv-amt select { width: auto; } .inv-amt .check { margin: 0; font-size: .8rem; }
/* "Get the App" always in front */
.hd-app { display: inline-flex; align-items: center; gap: 7px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .88rem; padding: 9px 14px; border-radius: 999px; text-decoration: none; box-shadow: 0 4px 14px rgba(230,194,105,.45); white-space: nowrap; }
.hd-app svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; } .hd-app:hover { background: #f0d083; }
.app-bar { display: none; }
@media (max-width: 760px) {
  .hd-app span { display: none; } .hd-app { padding: 9px; }
  .app-bar { display: flex; align-items: center; gap: 12px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; background: var(--navy); color: #fff; border-radius: 16px; padding: 10px 12px; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
  .app-bar img { width: 40px; height: 40px; border-radius: 10px; } .app-bar span { flex: 1; min-width: 0; } .app-bar strong { display: block; color: #fff; } .app-bar small { color: rgba(255,255,255,.75); font-size: .78rem; }
  .app-bar b { background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 999px; font-size: .85rem; }
  body:not(.in-app) .ft { padding-bottom: 90px; } .wa { bottom: 92px !important; }
}
@media (display-mode: standalone) { .app-bar, .hd-app { display: none !important; } }
/* announcements */
.anns { display: grid; gap: 14px; } .anns-row { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ann { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; border-top: 4px solid var(--teal); }
.ann.pinned { border-top-color: var(--orange); } .ann img { width: 100%; max-height: 260px; object-fit: cover; display: block; }
.ann > div { padding: 14px 18px; } .ann small { color: var(--muted); font-size: .8rem; } .ann h3 { margin: 4px 0 6px; font-size: 1.15rem; } .ann p { margin: 0; color: var(--text); }
.ann-band { padding-bottom: 10px; }
.live-box { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; margin: 0 0 18px; border-left: 5px solid var(--teal); } .lb-head { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.powered { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; opacity: .9; font-size: .8rem; } .powered:hover { opacity: 1; } .powered img { height: 34px; width: auto; display: block; }
.side-powered { margin: 16px 6px 4px; color: var(--muted); } .side-powered img { height: 28px; }
@media (max-width: 860px) { .side-powered { display: none; } }

/* ---------- messenger ---------- */
.msgr { display: grid; grid-template-columns: 340px minmax(0, 1fr); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; height: calc(100vh - 170px); min-height: 520px; }
.msgr-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: var(--paper); }
.ms-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 8px; } .ms-top h1 { margin: 0; font-size: 1.35rem; }
.ms-search { margin: 0 14px 8px; width: auto; border-radius: 999px; padding: 9px 14px; background: #fff; }
.convs { overflow-y: auto; flex: 1; }
.conv { display: flex; gap: 12px; align-items: center; padding: 10px 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid #f1ece3; }
.conv:hover { background: #f6f2ea; } .conv.on { background: #e8f2f0; } .conv[hidden] { display: none; }
.cav { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; overflow: hidden; font-size: .95rem; }
.cav.grp { background: var(--gold-l); font-size: 1.3rem; } .cav img { width: 100%; height: 100%; object-fit: cover; }
.cv-tx { flex: 1; min-width: 0; display: grid; gap: 2px; } .cv-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-width: 0; }
.cv-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; } .cv-t { color: var(--muted); font-size: .72rem; flex: none; }
.cv-p { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .84rem; min-width: 0; }
.cv-u { background: var(--teal); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; font-size: .72rem; display: grid; place-items: center; padding: 0 6px; flex: none; } .cv-u[hidden] { display: none; }
.msgr-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #efeae2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23e4ddd1' stroke-width='.6'/%3E%3C/svg%3E"); }
.ms-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.ms-head .cav { width: 40px; height: 40px; } .ms-who { flex: 1; min-width: 0; } .ms-who strong { display: block; color: var(--navy); } .ms-who small { color: var(--muted); font-size: .8rem; }
.ms-back { display: none; font-size: 1.8rem; text-decoration: none; color: var(--navy); line-height: 1; padding: 0 4px; }
.ms-calls { display: flex; gap: 6px; }
.ic-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #f3efe8; display: grid; place-items: center; font-size: 1.15rem; cursor: pointer; flex: none; } .ic-btn:hover { background: #e9e2d6; }
.ms-body { flex: 1; overflow-y: auto; padding: 16px 6%; display: flex; flex-direction: column; gap: 6px; }
.day-sep { text-align: center; margin: 10px 0 6px; } .day-sep span { background: #fff; border-radius: 8px; padding: 4px 12px; font-size: .74rem; color: var(--muted); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.msgr .msg { max-width: min(76%, 560px); background: #fff; border-radius: 4px 14px 14px 14px; padding: 6px 10px 4px; box-shadow: 0 1px 1px rgba(0,0,0,.06); align-self: flex-start; color: var(--ink); }
.msgr .msg.me { align-self: flex-end; background: #d9f2e6; color: var(--ink); border-radius: 14px 4px 14px 14px; }
.msgr .msg .who { display: block; font-weight: 700; color: var(--terra); font-size: .76rem; opacity: 1; }
.msgr .msg p { margin: 0; white-space: pre-wrap; word-break: break-word; } .msgr .msg .when { display: block; text-align: right; font-size: .68rem; color: var(--muted); opacity: 1; margin-top: 1px; }
.tick { letter-spacing: -3px; margin-left: 3px; color: var(--muted); } .tick.read { color: #2a8ff0; }
.msg-img img { display: block; max-width: 100%; max-height: 320px; border-radius: 10px; margin: 2px 0 4px; }
.ms-empty, .ms-welcome { margin: auto; text-align: center; color: var(--muted); padding: 30px; } .ms-welcome span { font-size: 3rem; } .ms-welcome h2 { margin: 6px 0; }
.ms-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; background: #f6f2ea; }
.ms-input { flex: 1; background: #fff; border-radius: 22px; padding: 4px 14px; min-width: 0; } .ms-input textarea { border: 0; padding: 8px 0; min-height: 0; height: 38px; resize: none; background: transparent; box-shadow: none; }
.ms-input textarea:focus { outline: none; } .ms-photo-name { display: block; font-size: .78rem; color: var(--teal); padding-top: 6px; } .ms-photo-name[hidden] { display: none; }
.ms-send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; font-size: 1.1rem; cursor: pointer; flex: none; } .ms-send:disabled { opacity: .6; }
.newchat { border: 0; border-radius: 18px; padding: 0; width: min(440px, 94vw); max-height: 80vh; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.newchat::backdrop { background: rgba(10,20,20,.5); } .nc-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.newchat input { margin: 10px 16px; width: calc(100% - 32px); } .nc-list { max-height: 55vh; overflow-y: auto; }
.nc-p { display: flex; gap: 12px; align-items: center; padding: 9px 16px; text-decoration: none; color: var(--ink); } .nc-p:hover { background: #f6f2ea; } .nc-p small { display: block; color: var(--muted); } .nc-p[hidden] { display: none; }
@media (max-width: 860px) {
  .msgr { grid-template-columns: 1fr; height: calc(100vh - 150px); border-radius: 14px; }
  .msgr.has-chat .msgr-side { display: none; } .msgr.no-chat .msgr-main { display: none; }
  .ms-back { display: block; } .ms-body { padding: 12px 10px; } .msgr .msg { max-width: 86%; }
  body.is-chat .tabbar, body.is-chat .live-pill { display: none; }
  body.is-chat .msgr.has-chat { position: fixed; inset: 0; z-index: 60; height: auto; border-radius: 0; }
}
/* video calls */
.cu-video { position: fixed; inset: 0; background: #000; display: none; } .callui.video .cu-video { display: block; }
.cu-video video.remote { width: 100%; height: 100%; object-fit: cover; } .cu-video video.local { position: absolute; right: 14px; top: 14px; width: 28vw; max-width: 180px; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; border: 2px solid #fff; background: #222; transform: scaleX(-1); }
.callui.video .cu-box { position: relative; z-index: 2; background: rgba(0,0,0,.35); box-shadow: none; align-self: end; margin-bottom: 4vh; }
.callui.video.live .cu-av { display: none; }
.cu-b[hidden] { display: none !important; } .ms-search { width: calc(100% - 28px); box-sizing: border-box; }
.a4e { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #c0392b; font: 800 .8rem 'Poppins', var(--sans); letter-spacing: .02em; text-decoration: none; box-shadow: 0 0 0 3px rgba(255,255,255,.18); flex: none; }
.a4e:hover { transform: scale(1.06); } .ft-bottom .powered { margin-left: auto; }
@media (min-width: 761px) and (max-width: 1480px) { .hd-in { gap: 14px; } .hd-nav { gap: 14px; } .hd-act { gap: 10px; } .brand-txt small { letter-spacing: .06em; font-size: .62rem; } .hd-act .btn { padding-inline: 14px; } }
.hp-dlg { border: 0; border-radius: 22px; padding: 0; width: min(460px, 92vw); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.hp-dlg::backdrop { background: rgba(10,25,25,.55); } .hp-in { padding: 26px 24px 20px; text-align: center; border-top: 6px solid var(--orange); }
.hp-ic { font-size: 2.6rem; } .hp-in h2 { margin: 6px 0 10px; font-size: 1.35rem; } .hp-btns { display: grid; gap: 8px; margin-top: 14px; }
.rcp-in { display: grid; gap: 6px; } .rcp-btns { display: flex; flex-wrap: wrap; gap: 8px; } .rcp-btns label { cursor: pointer; } .rcp-name { color: var(--ok); font-weight: 600; } .rcp-name[hidden] { display: none; }
/* the full WEH logo in headers and footer */
.brand-logo img { display: block; height: 56px; width: auto; border-radius: 10px; }
.app-logo { display: block; height: 46px; width: auto; border-radius: 9px; } .app-tag small { letter-spacing: .14em; }
.ft-logo { display: block; width: 220px; max-width: 70%; height: auto; border-radius: 12px; margin-bottom: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
@media (max-width: 760px) { .brand-logo img { height: 46px; } .app-logo { height: 40px; } .app-tag { display: none; } }
.ft .a4e, .ft .a4e span, .ft-bottom a.a4e { color: #c0392b !important; text-decoration: none !important; }
.yb-table tr.sel td { background: #fff4e6; font-weight: 700; } .yb-h { margin: 22px 0 10px; font-size: 1.2rem; }
.yb-proj { margin-bottom: 12px; border-left: 4px solid var(--teal); } .yb-exp { margin-top: 6px; } .yb-exp td { vertical-align: top; }
/* appeal letters + watermarks */
.letter { position: relative; overflow: hidden; } .letter > * { position: relative; z-index: 1; }
.lt-wm { position: absolute !important; z-index: 0 !important; left: 50%; top: 52%; width: 62%; max-width: 460px; transform: translate(-50%, -50%); opacity: .06; pointer-events: none; filter: grayscale(.2); }
.lt-more { display: inline-block; position: relative; } .lt-pop { position: absolute; right: 0; z-index: 5; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 10px; display: grid; gap: 8px; min-width: 300px; }
.tk { position: relative; } .tk-wm { position: absolute; left: 34%; top: 50%; width: 110px; height: 110px; transform: translate(-50%, -50%); opacity: .1; pointer-events: none; z-index: 0; border-radius: 16px; }
.tk-main, .tk-stub { position: relative; z-index: 1; }
@media print { .lt-wm { opacity: .07; } .tk-wm { opacity: .12; } .lt-more { display: none; } }
.tk .tk-wm { z-index: 3; width: 120px; height: 120px; left: 36%; opacity: .13; mix-blend-mode: multiply; }
@media print { .tk .tk-wm { opacity: .16; } }
/* land disputes */
.land-case h3 { font-size: 1.05rem; color: var(--navy); margin: 0 0 6px; }
.evd { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.evd-i { display: grid; gap: 4px; text-decoration: none; color: var(--ink); } .evd-i img, .evd-pdf { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.evd-pdf { display: grid; place-items: center; font: 800 1.3rem 'Poppins', var(--sans); color: #c0392b; background: #fdecea; } .evd-i small { color: var(--muted); font-size: .76rem; }
.outcome { border-left: 5px solid var(--gold); } .outcome.done { border-left-color: var(--ok); background: #f4fbf6; }
/* step-by-step guide */
.steps { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.steps > li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; break-inside: avoid; }
.sn { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font: 800 1.2rem 'Poppins', var(--sans); }
.steps h2 { font-size: 1.2rem; margin: 6px 0 6px; } .steps p { margin: 0 0 8px; } .os { margin: 6px 0 10px; padding-left: 20px; } .os li { margin: 4px 0; }
.help-box { border-left: 5px solid var(--teal); }
@media print { .guide .no-print, .hd, .ft, .app-bar, .wa { display: none !important; } .steps > li { box-shadow: none; border: 1px solid #ddd; } }
.side nav .side-cms { display: inline-block; align-self: flex-start; margin: 14px 12px 0; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
@media (max-width: 860px) { .side nav .side-cms { display: none; } }
.app-hd .hd-act { margin-left: auto; }
.mini-av { overflow: hidden; flex: none; } .mini-av img { width: 100%; height: 100%; object-fit: cover; display: block; } .hd-me { margin-left: 4px; }
.qtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.qtabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--navy); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.qtabs a:hover, .qtabs a:focus-visible { border-color: var(--navy); background: rgba(255,255,255,.35); }
@media (max-width: 760px) { .qtabs { gap: 6px; } .qtabs a { font-size: .82rem; padding: 6px 11px; } }
.date-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 18px; }
.date-row > p { margin: 0; white-space: nowrap; }
.date-row .qtabs { margin: 0; }
.qtabs a .badge { background: var(--terra, #c4561b); color: #fff; border-radius: 999px; padding: 1px 7px; font-size: .72rem; }
/* share */
.share-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--navy); cursor: pointer; flex: none; padding: 0; }
.share-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.share-btn:hover, .share-btn:focus-visible { border-color: var(--navy); }
.share-pop { position: fixed; z-index: 1000; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.18); padding: 8px; min-width: 210px; display: grid; gap: 2px; }
.share-pop a, .share-pop button { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--navy); text-decoration: none; font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; text-align: left; }
.share-pop a:hover, .share-pop button:hover { background: var(--sand, #f4efe6); }
.share-pop .sp-h { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 4px 12px; font-weight: 700; }
@media (max-width: 760px) { .app-hd .share-btn, .app-hd .bell { width: 34px; height: 34px; font-size: .95rem; } }
@media (max-width: 480px) { .is-cms .hd-act .to-app { display: none; } .hd .share-btn { width: 34px; height: 34px; } }
@media (max-width: 1024px) { .app-hd .hd-me > span:not(.mini-av) { display: none; } }
@media (max-width: 420px) { .hd .hd-act { gap: 6px; } .hd-in { gap: 8px; } }
/* app tour (wizard) */
.tour { position: fixed; inset: 0; z-index: 900; background: rgba(15,30,30,.45); display: flex; align-items: flex-end; justify-content: center; padding: 16px; pointer-events: auto; }
.tour-card { background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.3); max-width: 440px; width: 100%; padding: 22px 22px 16px; margin-bottom: 70px; }
.tour-ic { font-size: 2.2rem; line-height: 1; margin-bottom: 8px; }
.tour h2 { font-size: 1.25rem; margin: 0 0 8px; }
.tour p { margin: 0 0 12px; line-height: 1.5; }
.tour-go { font-weight: 700; color: var(--terra, #c4561b); }
.tour-dots { display: flex; gap: 6px; justify-content: center; margin: 14px 0 12px; }
.tour-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); } .tour-dots span.on { background: var(--navy); width: 18px; border-radius: 4px; }
.tour-btns { display: flex; align-items: center; gap: 10px; } .tour-btns .tour-n { margin-left: auto; }
.tour-hl { position: relative; z-index: 901 !important; box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--gold, #e3b341) !important; border-radius: 14px; animation: tourpulse 1.4s ease-in-out infinite; }
@keyframes tourpulse { 50% { box-shadow: 0 0 0 4px #fff, 0 0 0 12px rgba(227,179,65,.55); } }
@media (min-width: 861px) { .tour { align-items: center; } .tour-card { margin-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .tour-hl { animation: none; } }
.install-msg { margin-top: 14px; padding: 14px 16px; line-height: 1.55; }
/* income & expenses of the day */
a.today-k { display: block; text-decoration: none; transition: transform .15s, box-shadow .15s; } a.today-k:hover, a.today-k:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.today-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .today-grid .today-k { margin: 0; }
.today-strip a.ts-in, .today-strip a.ts-out { text-decoration: none; color: inherit; } .today-strip a.ts-in:hover b, .today-strip a.ts-out:hover b { text-decoration: underline; }
.day-nav { align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 16px; } .day-nav input[type=date] { margin-left: auto; max-width: 180px; }
.day-t tr.tot td { background: var(--sand, #f4efe6); }
@media (max-width: 600px) { .today-grid { grid-template-columns: 1fr; } .day-nav input[type=date] { margin-left: 0; } }
@media (max-width: 600px) {
  .day-t thead { display: none; }
  .day-t, .day-t tbody, .day-t tr, .day-t td { display: block; width: 100%; }
  .day-t tr { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
  .day-t td { padding: 0 !important; border: 0 !important; text-align: left !important; }
  .day-t td[data-l="Name"], .day-t td[data-l="Paid to"] { grid-column: 1; }
  .day-t td[data-l="Amount"] { grid-column: 2; grid-row: 1; text-align: right !important; }
  .day-t td[data-l="Branch"], .day-t td[data-l="Date"], .day-t td[data-l="Reason"] { grid-column: 1 / -1; }
  .day-t td[data-l="Date"] small::before { content: "📅 "; } .day-t td[data-l="Branch"] small::before { content: "📍 "; }
  .day-t tr.tot { display: flex; justify-content: space-between; } .day-t tr.tot td { width: auto; }
}
/* chat button + pop-up (bottom right) */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--terra, #c4561b); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(196,86,27,.42); cursor: pointer; transition: transform .15s; }
.chat-fab:hover { transform: scale(1.06); } .chat-fab.on { background: var(--navy); }
.chat-fab svg { width: 28px; height: 28px; fill: #fff; } .chat-fab svg .d { fill: var(--terra, #c4561b); } .chat-fab.on svg .d { fill: var(--navy); }
.chat-fab b { position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: var(--terra, #c4561b); font-size: .75rem; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.chat-pop { position: fixed; right: 18px; bottom: 88px; z-index: 61; width: 360px; max-width: calc(100vw - 24px); height: min(540px, calc(100vh - 120px)); background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden; }
.chat-pop[hidden] { display: none; }
.cp-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 8px 18px; } .cp-head strong { font-size: 1.1rem; margin-right: auto; } .cp-x { border: 0; background: none; font-size: 1.05rem; cursor: pointer; padding: 6px 8px; color: var(--muted); }
.cp-tabs { display: flex; gap: 6px; padding: 0 14px 8px; } .cp-tabs button { flex: 1; border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 7px; font: inherit; font-weight: 600; cursor: pointer; color: var(--navy); } .cp-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.cp-q { margin: 0 14px 8px; width: auto !important; }
.cp-list { overflow-y: auto; flex: 1; padding: 0 6px 8px; }
.cp-row { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: inherit; } .cp-row:hover, .cp-row:focus-visible { background: var(--sand, #f4efe6); }
.cp-av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; overflow: hidden; flex: none; } .cp-av img { width: 100%; height: 100%; object-fit: cover; }
.cp-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; } .cp-tx strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cp-tx small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; } .cp-meta small { color: var(--muted); font-size: .72rem; } .cp-meta b { background: var(--terra, #c4561b); color: #fff; border-radius: 10px; min-width: 20px; height: 20px; font-size: .72rem; display: grid; place-items: center; padding: 0 6px; }
@media (max-width: 960px) { body.is-member .chat-fab { bottom: calc(92px + env(safe-area-inset-bottom)); } body.is-member .chat-pop { bottom: calc(160px + env(safe-area-inset-bottom)); } }
@media (max-width: 760px) { .chat-fab { right: 14px; width: 54px; height: 54px; } .chat-pop { right: 8px; left: 8px; width: auto; max-width: none; height: min(520px, calc(100vh - 190px)); } }
@media print { .chat-fab, .chat-pop { display: none !important; } }
.chat-fab.tour-hl { position: fixed; z-index: 902 !important; border-radius: 50%; }
@media (max-width: 760px) { .app-hd .bell[href$="member/messages"] { display: none; } }
