/* Fonts are served locally so the app works offline */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/vendor/fonts/jakarta-400.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/static/vendor/fonts/jakarta-500.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/static/vendor/fonts/jakarta-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/vendor/fonts/jakarta-700.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("/static/vendor/fonts/jakarta-800.woff2") format("woff2"); }
/* Makazi design system - vibrant violet + sunshine, inspired by Homeco */
:root {
  --violet: #5b3df5; --violet-2: #7c5cff; --violet-soft: #efebff;
  --ink: #120d32; --ink-2: #1d1650; --ink-3: #2a2270;
  --sun: #ffc93c; --sun-soft: #fff6dc;
  --coral: #ff6b6b; --coral-soft: #ffe9e9;
  --mint: #12b886; --mint-soft: #e3f8f0;
  --sky: #2f80ed; --sky-soft: #e6f0fe;
  --amber: #f59f00; --amber-soft: #fff3d6;
  --text: #1b1838; --muted: #6b6889; --line: #e8e6f3; --bg: #f6f5fc; --card: #fff;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18,13,50,.04), 0 8px 24px rgba(18,13,50,.06);
  --shadow-lg: 0 20px 60px rgba(18,13,50,.18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-2); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 1.75rem; font-weight: 800; } h2 { font-size: 1.35rem; font-weight: 800; } h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .tiny { font-size: .75rem; }
.bold { font-weight: 700; } .right { text-align: right; } .center { text-align: center; }
.nowrap { white-space: nowrap; }
.red { color: var(--coral); } .green { color: var(--mint); }
[data-lucide] { width: 18px; height: 18px; stroke-width: 2; vertical-align: -3px; flex-shrink: 0; }
.hidden { display: none !important; }

/* ---------- buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 600 .92rem var(--font);
  padding: 10px 18px; border-radius: 12px; background: var(--violet); color: #fff; transition: .15s; white-space: nowrap; text-decoration: none; }
.btn:hover { background: var(--violet-2); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(91,61,245,.3); }
.btn-sun { background: var(--sun); color: var(--ink); } .btn-sun:hover { background: #ffd666; color: var(--ink); box-shadow: 0 8px 20px rgba(255,201,60,.35); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--violet-soft); color: var(--violet); border-color: var(--violet-soft); box-shadow: none; }
.btn-soft { background: var(--violet-soft); color: var(--violet); } .btn-soft:hover { background: var(--violet); color: #fff; }
.btn-danger { background: var(--coral-soft); color: #d63c3c; } .btn-danger:hover { background: var(--coral); color: #fff; box-shadow: none; }
.btn-mint { background: var(--mint); } .btn-mint:hover { background: #0ea271; box-shadow: 0 8px 20px rgba(18,184,134,.3); }
.btn-sm { padding: 6px 12px; font-size: .82rem; border-radius: 9px; }
.btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 14px; }
.btn-icon { padding: 8px; border-radius: 10px; }
.btn-block { width: 100%; }
label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; color: var(--text); }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 12px; transition: .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(91,61,245,.12); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--violet); transform: scale(1.15); }
input[type=color] { padding: 4px; height: 44px; }
textarea { min-height: 96px; resize: vertical; }
.help { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.field { margin-bottom: 16px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.errors { background: var(--coral-soft); color: #b42323; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: .9rem; }
.errors ul { margin: 0; padding-left: 18px; }
.input-icon { position: relative; } .input-icon [data-lucide] { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon input { padding-left: 38px; }

/* ---------- cards, badges, tables ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(232,230,243,.7); }
.card-pad { padding: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.card-head h3 { margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-size: .74rem; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.badge-green { background: var(--mint-soft); color: #0b8a63; } .badge-red { background: var(--coral-soft); color: #d63c3c; }
.badge-amber { background: var(--amber-soft); color: #b46d00; } .badge-blue { background: var(--sky-soft); color: #1e63c7; }
.badge-grey { background: #f0eff6; color: #6b6889; } .badge-violet { background: var(--violet-soft); color: var(--violet); }
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 12px 16px; background: #faf9fe; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .12s; } .table tbody tr:hover { background: #fbfaff; }
.table .actions { text-align: right; white-space: nowrap; } .table .actions > * { margin-left: 4px; }
.table tfoot td { font-weight: 800; background: #faf9fe; border-top: 2px solid var(--line); }
.empty { text-align: center; padding: 56px 20px; }
.empty .empty-icon { width: 72px; height: 72px; border-radius: 22px; background: var(--violet-soft); color: var(--violet); display: grid; place-items: center; margin: 0 auto 14px; }
.empty .empty-icon [data-lucide] { width: 32px; height: 32px; }

/* ---------- KPI tiles ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.kpi { position: relative; overflow: hidden; padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.kpi .kpi-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.kpi .kpi-label { color: var(--muted); font-size: .82rem; font-weight: 600; }
.kpi .kpi-value { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.kpi .kpi-foot { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.kpi.violet .kpi-icon { background: var(--violet-soft); color: var(--violet); }
.kpi.mint .kpi-icon { background: var(--mint-soft); color: var(--mint); }
.kpi.coral .kpi-icon { background: var(--coral-soft); color: var(--coral); }
.kpi.sun .kpi-icon { background: var(--sun-soft); color: #d99a00; }
.kpi.sky .kpi-icon { background: var(--sky-soft); color: var(--sky); }
.kpi.grad { background: linear-gradient(135deg, var(--violet) 0%, #8b5cf6 60%, #c084fc 100%); color: #fff; }
.kpi.grad .kpi-label, .kpi.grad .kpi-foot { color: rgba(255,255,255,.8); } .kpi.grad .kpi-icon { background: rgba(255,255,255,.18); color: #fff; }
.kpi.grad::after { content: ""; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.1); }
.progress { height: 8px; background: #eeecf8; border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), #a78bfa); border-radius: 99px; }
.progress.mint > span { background: linear-gradient(90deg, var(--mint), #63e6be); }

/* ---------- app shell ---------- */
.shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.sidebar { background: radial-gradient(120% 60% at 0% 0%, var(--ink-3) 0%, var(--ink) 55%); color: #cfcbe8; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.25rem; padding: 4px 10px 18px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--sun), #ff9f43); display: grid; place-items: center; color: var(--ink); box-shadow: 0 6px 18px rgba(255,201,60,.35); }
.brand-mark [data-lucide] { width: 20px; height: 20px; stroke-width: 2.5; }
.org-chip { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 10px; margin: 0 4px 16px; }
.org-chip img, .org-chip .avatar { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.org-chip .name { color: #fff; font-weight: 700; font-size: .88rem; line-height: 1.2; }
.nav-section { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: #7f79ad; font-weight: 700; padding: 14px 12px 6px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 11px; color: #cfcbe8; font-weight: 500; font-size: .9rem; margin-bottom: 2px; transition: .12s; }
.nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav a.active { background: linear-gradient(90deg, var(--violet), rgba(124,92,255,.75)); color: #fff; box-shadow: 0 8px 20px rgba(91,61,245,.35); }
.sidebar-foot { margin-top: auto; padding-top: 16px; }
.plan-card { background: linear-gradient(135deg, rgba(255,201,60,.16), rgba(255,159,67,.08)); border: 1px solid rgba(255,201,60,.25); border-radius: 14px; padding: 14px; color: #fff; font-size: .85rem; }
.plan-card .btn { margin-top: 10px; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 14px 28px; background: rgba(246,245,252,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar .search { flex: 1; max-width: 460px; position: relative; }
.topbar .search input { background: #fff; border-radius: 12px; }
.search-results { position: absolute; top: 110%; left: 0; right: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 40; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--text); border-bottom: 1px solid var(--line); }
.search-results a:hover { background: var(--violet-soft); }
.topbar .spacer { flex: 1; }
.avatar { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--violet), #a78bfa); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--text); cursor: pointer; }
.icon-btn .dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--coral); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 340px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 50; display: none; overflow: hidden; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu .dm-head { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.dropdown-menu .dm-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text); }
.dropdown-menu .dm-item:hover { background: #faf9fe; }
.dropdown-menu .dm-item.unread { background: #f8f6ff; }
.dm-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--violet-soft); color: var(--violet); display: grid; place-items: center; flex-shrink: 0; }
.user-menu { width: 230px; } .user-menu a { display: flex; gap: 10px; align-items: center; padding: 11px 16px; color: var(--text); } .user-menu a:hover { background: var(--violet-soft); }
.content { padding: 26px 28px 60px; max-width: 1400px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { margin: 0; } .page-head p { margin: 4px 0 0; color: var(--muted); }
.page-head .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.banner { display: flex; align-items: center; gap: 12px; padding: 10px 28px; font-size: .88rem; font-weight: 600; }
.banner.trial { background: linear-gradient(90deg, var(--sun), #ffb547); color: var(--ink); }
.banner.imp { background: var(--ink); color: #fff; } .banner a { font-weight: 800; color: inherit; text-decoration: underline; }
.menu-toggle { display: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.stack > * + * { margin-top: 20px; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.toolbar input, .toolbar select { width: auto; min-width: 160px; padding: 8px 12px; }
.toolbar .grow { flex: 1; }
.tabs { display: flex; gap: 6px; background: #fff; padding: 5px; border-radius: 14px; box-shadow: var(--shadow); width: fit-content; margin-bottom: 18px; flex-wrap: wrap; }
.tabs a { padding: 8px 16px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .88rem; }
.tabs a.active { background: var(--violet); color: #fff; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 22px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row .grow { flex: 1; min-width: 0; }
.dot-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--violet-soft); color: var(--violet); }
.dot-ico.mint { background: var(--mint-soft); color: var(--mint); } .dot-ico.coral { background: var(--coral-soft); color: var(--coral); }
.dot-ico.sun { background: var(--sun-soft); color: #d99a00; } .dot-ico.sky { background: var(--sky-soft); color: var(--sky); }

/* setup checklist */
.setup { background: linear-gradient(135deg, var(--ink-2), var(--ink)); color: #fff; border-radius: var(--radius); padding: 24px; margin-bottom: 22px; position: relative; overflow: hidden; }
.setup::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,201,60,.35), transparent 70%); }
.setup-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 16px; position: relative; z-index: 1; }
.setup-step { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px; color: #fff; transition: .15s; }
.setup-step:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-2px); }
.setup-step.done { background: rgba(18,184,134,.18); border-color: rgba(18,184,134,.4); }
.setup-step .n { width: 28px; height: 28px; border-radius: 9px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-weight: 800; font-size: .8rem; margin-bottom: 10px; }
.setup-step.done .n { background: var(--mint); }
.setup-step b { display: block; font-size: .9rem; } .setup-step span { font-size: .76rem; color: #bdb8e0; }

/* property cards & unit tiles */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.prop-card { overflow: hidden; transition: .2s; color: var(--text); display: block; }
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.prop-cover { height: 150px; background: linear-gradient(135deg, var(--violet), #a78bfa 60%, var(--sun)); position: relative; background-size: cover; background-position: center; }
.prop-cover .badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--ink); }
.prop-body { padding: 18px; }
.prop-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; text-align: center; }
.prop-stats div { background: #faf9fe; border-radius: 10px; padding: 8px 4px; } .prop-stats b { display: block; font-size: 1rem; } .prop-stats span { font-size: .7rem; color: var(--muted); }
.unit-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.unit-tile { border-radius: 14px; padding: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--text); transition: .15s; display: block; }
.unit-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.unit-tile .num { font-weight: 800; font-size: 1.1rem; }
.unit-tile.occupied { border-color: #b6ecd9; background: linear-gradient(180deg, #f2fcf8, #fff); }
.unit-tile.arrears { border-color: #ffc9c9; background: linear-gradient(180deg, #fff5f5, #fff); }
.unit-tile.vacant { border-style: dashed; background: #fcfcfe; }
.legend { display: flex; gap: 16px; font-size: .8rem; color: var(--muted); } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

/* modal */
dialog.modal { border: 0; padding: 0; border-radius: 22px; width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: var(--shadow-lg); }
dialog.modal::backdrop { background: rgba(18,13,50,.5); backdrop-filter: blur(3px); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.modal-head h2 { margin: 0; font-size: 1.2rem; } .modal-body { padding: 22px 24px; } .modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line); background: #faf9fe; position: sticky; bottom: 0; }

/* toasts & flashes */
#toasts { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 40px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-lg); animation: slideIn .35s cubic-bezier(.2,1.2,.4,1); }
.toast .dm-ico { background: rgba(255,201,60,.18); color: var(--sun); }
.toast a { color: var(--sun); font-weight: 700; font-size: .82rem; }
@keyframes slideIn { from { transform: translateY(20px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.flash { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; margin-bottom: 16px; font-weight: 600; font-size: .9rem; animation: slideIn .3s; }
.flash.success { background: var(--mint-soft); color: #0b7a58; } .flash.error { background: var(--coral-soft); color: #c22f2f; } .flash.info { background: var(--sky-soft); color: #1e63c7; }
.flash .x { margin-left: auto; cursor: pointer; opacity: .6; background: none; border: 0; color: inherit; }

/* line items editor */
.lines td { padding: 6px 6px; } .lines input, .lines select { padding: 8px 10px; }
.lines .amt { font-weight: 700; text-align: right; white-space: nowrap; }
.totals { margin-left: auto; width: 280px; } .totals div { display: flex; justify-content: space-between; gap: 28px; padding: 6px 0; }
.totals .grand { font-size: 1.2rem; font-weight: 800; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px; }

/* charts */
.chart-box { position: relative; height: 280px; }

/* ---------- PUBLIC SITE ---------- */
.pub-top { background: var(--ink); color: #bdb8e0; font-size: .82rem; }
.pub-top .wrap { display: flex; gap: 22px; padding: 8px 20px; align-items: center; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.pub-nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.pub-nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.pub-nav .brand { color: var(--ink); padding: 0; }
.pub-links { display: flex; gap: 24px; } .pub-links a { color: var(--text); font-weight: 600; font-size: .92rem; } .pub-links a:hover { color: var(--violet); }
.pub-nav .spacer { flex: 1; }
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: 80px 0 120px; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(600px 400px at 85% 20%, rgba(124,92,255,.45), transparent 60%),
  radial-gradient(500px 300px at 10% 90%, rgba(255,201,60,.18), transparent 60%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ffffff' fill-opacity='.07'/%3E%3C/svg%3E"); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.hl { position: relative; display: inline-block; color: var(--sun); padding: 0 .15em; }
.hl::after { content: ""; position: absolute; inset: -8px -10px; border: 3px solid var(--sun); border-radius: 50%; transform: rotate(-4deg); opacity: .9; }
.hero .lead { font-size: 1.1rem; color: #cfcbe8; max-width: 520px; margin: 18px 0 26px; }
.hero ul.ticks { list-style: none; padding: 0; margin: 0 0 30px; } .hero ul.ticks li { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; color: #e6e3fa; }
.hero ul.ticks [data-lucide] { color: var(--sun); }
.hero-cards { position: relative; height: 460px; }
.hero-card { position: absolute; width: 300px; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.4); border: 4px solid rgba(255,255,255,.1); background: var(--ink-2); }
.hero-card img { height: 360px; width: 100%; object-fit: cover; }
.hero-card .hc-body { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(transparent, rgba(18,13,50,.95)); }
.hero-card .price { color: var(--sun); font-weight: 800; font-size: 1.3rem; }
.hero-card:nth-child(1) { right: 0; top: 0; transform: rotate(4deg); z-index: 3; }
.hero-card:nth-child(2) { right: 170px; top: 40px; transform: rotate(-6deg); z-index: 2; opacity: .85; }
.hero-card:nth-child(3) { right: 320px; top: 90px; transform: rotate(-12deg); z-index: 1; opacity: .5; }
.searchbar { position: relative; z-index: 5; margin: -56px auto 0; max-width: 1040px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 14px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 10px; }
.searchbar select, .searchbar input { border: 0; background: #f6f5fc; }
.section { padding: 80px 0; } .section.alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); background: var(--violet-soft); padding: 6px 14px; border-radius: 99px; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.kind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kind-card { border-radius: 20px; padding: 26px; color: #fff; position: relative; overflow: hidden; transition: .2s; min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end; }
.kind-card:hover { transform: translateY(-5px); color: #fff; }
.kind-card .ki { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.kind-card .ki [data-lucide] { width: 26px; height: 26px; }
.kind-card h3 { font-size: 1.25rem; margin: 0; } .kind-card span { opacity: .85; font-size: .88rem; }
.k-rent { background: linear-gradient(135deg, #5b3df5, #8b5cf6); } .k-sale { background: linear-gradient(135deg, #ff6b6b, #ff9f43); }
.k-land { background: linear-gradient(135deg, #12b886, #38d9a9); } .k-short_stay { background: linear-gradient(135deg, #2f80ed, #56ccf2); }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.l-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: .2s; color: var(--text); display: flex; flex-direction: column; }
.l-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.l-img { position: relative; height: 230px; background: linear-gradient(135deg, var(--violet-soft), var(--sun-soft)); }
.l-img img { width: 100%; height: 100%; object-fit: cover; }
.l-img .l-kind { position: absolute; top: 14px; left: 14px; } .l-img .l-feat { position: absolute; top: 14px; right: 14px; }
.l-kind { padding: 5px 12px; border-radius: 99px; font-size: .75rem; font-weight: 800; color: #fff; }
.l-kind.rent { background: var(--violet); } .l-kind.sale { background: var(--coral); } .l-kind.land { background: var(--mint); } .l-kind.short_stay { background: var(--sky); }
.l-feat { background: var(--sun); color: var(--ink); padding: 5px 10px; border-radius: 99px; font-size: .72rem; font-weight: 800; }
.l-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.l-price { color: var(--violet); font-weight: 800; font-size: 1.25rem; } .l-price small { color: var(--muted); font-weight: 600; font-size: .8rem; }
.l-title { font-weight: 700; font-size: 1.02rem; margin: 6px 0; color: var(--ink); }
.l-loc { color: var(--muted); font-size: .85rem; display: flex; gap: 6px; align-items: center; }
.l-meta { display: flex; gap: 16px; border-top: 1px solid var(--line); margin-top: auto; padding-top: 14px; font-size: .84rem; color: var(--muted); }
.l-meta span { display: flex; gap: 6px; align-items: center; } .l-body .l-loc { margin-bottom: 14px; }
.county-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.county { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); color: var(--text); }
.county:hover { color: var(--violet); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 18px; right: 22px; font-size: 2.4rem; font-weight: 800; color: var(--violet-soft); }
.step .dot-ico { width: 50px; height: 50px; border-radius: 16px; margin-bottom: 16px; }
.feature-band { background: linear-gradient(135deg, var(--ink), var(--ink-3)); color: #fff; border-radius: 28px; padding: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-list div { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.06); border-radius: 14px; padding: 14px; font-size: .9rem; }
.feature-list [data-lucide] { color: var(--sun); margin-top: 2px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; align-items: stretch; }
.plan { background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 2px solid transparent; position: relative; }
.plan.hot { border-color: var(--violet); box-shadow: 0 20px 50px rgba(91,61,245,.18); transform: translateY(-8px); }
.plan.hot::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--sun); color: var(--ink); font-weight: 800; font-size: .74rem; padding: 4px 14px; border-radius: 99px; }
.plan .price { font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; } .plan .price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; } .plan li { display: flex; gap: 10px; padding: 6px 0; font-size: .9rem; }
.plan li [data-lucide] { color: var(--mint); }
.cta-band { background: linear-gradient(135deg, var(--violet), #8b5cf6 60%, #c084fc); border-radius: 28px; padding: 50px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer { background: var(--ink); color: #a9a4cf; padding: 60px 0 30px; margin-top: 80px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer a { color: #cfcbe8; display: block; padding: 4px 0; font-size: .9rem; } .footer a:hover { color: var(--sun); }
.footer h4 { color: #fff; }
.stat-row { display: flex; gap: 40px; margin-top: 30px; } .stat-row b { display: block; font-size: 1.8rem; color: #fff; } .stat-row span { color: #a9a4cf; font-size: .85rem; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 200px 200px; gap: 10px; border-radius: 22px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; } .gallery img:first-child { grid-row: 1 / 3; }
.gallery.one { grid-template-columns: 1fr; grid-template-rows: 420px; }
.amen { display: flex; flex-wrap: wrap; gap: 8px; } .amen span { background: var(--violet-soft); color: var(--violet); padding: 6px 12px; border-radius: 99px; font-size: .82rem; font-weight: 600; }
.sticky-box { position: sticky; top: 92px; }
.filters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow); margin-bottom: 26px; }
.kind-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.kind-pills a { padding: 8px 16px; border-radius: 99px; background: #fff; color: var(--text); font-weight: 600; font-size: .88rem; box-shadow: var(--shadow); }
.kind-pills a.active { background: var(--ink); color: #fff; }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--ink); color: #fff; padding: 50px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; width: 500px; height: 500px; right: -150px; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,255,.5), transparent 65%); }
.auth-form { display: grid; place-items: center; padding: 40px 20px; background: #fff; }
.auth-form > div { width: 100%; max-width: 440px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.choice label { border: 2px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; font-weight: 600; display: flex; flex-direction: column; gap: 4px; margin: 0; }
.choice label:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); }
.choice input { display: none; } .choice small { color: var(--muted); font-weight: 500; }

/* ---------- documents (invoice / quote / receipt) ---------- */
.doc-page { background: #e9e7f3; min-height: 100vh; padding: 30px 16px; }
.doc { background: #fff; max-width: 820px; margin: 0 auto; border-radius: 6px; box-shadow: var(--shadow-lg); overflow: hidden; }
.doc-band { height: 8px; }
.doc-inner { padding: 44px 50px; }
.doc-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; margin-bottom: 34px; }
.doc-logo { max-height: 72px; max-width: 200px; object-fit: contain; margin-bottom: 10px; }
.doc-title { font-size: 2.2rem; font-weight: 800; letter-spacing: .04em; text-align: right; line-height: 1; }
.doc-meta { display: grid; grid-template-columns: auto auto; gap: 4px 16px; font-size: .88rem; margin-top: 12px; justify-content: end; }
.doc-meta span:nth-child(odd) { color: var(--muted); }
.doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; font-size: .9rem; }
.doc-parties h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.doc th { text-align: left; padding: 10px 12px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.doc td { padding: 12px; border-bottom: 1px solid var(--line); }
.doc-foot { margin-top: 30px; display: grid; grid-template-columns: 1fr 280px; gap: 30px; font-size: .88rem; }
.doc-pay { background: #faf9fe; border-radius: 12px; padding: 16px; white-space: pre-line; }
.stamp { display: inline-block; border: 3px solid; border-radius: 10px; padding: 6px 16px; font-weight: 800; font-size: 1.3rem; text-transform: uppercase; transform: rotate(-8deg); letter-spacing: .1em; }
.doc-actions { max-width: 820px; margin: 0 auto 16px; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

@media print {
  body { background: #fff !important; }
  .no-print, .doc-actions { display: none !important; }
  .doc-page { padding: 0; background: #fff; } .doc { box-shadow: none; max-width: none; }
  .doc th { -webkit-print-color-adjust: exact; print-color-adjust: exact; } .doc-band { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, 1fr); } .setup-steps { grid-template-columns: repeat(3, 1fr); }
  .listing-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); } .kind-grid, .county-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: repeat(3, 1fr); } .hero .wrap { grid-template-columns: 1fr; } .hero-cards { display: none; }
  .feature-band { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; z-index: 60; width: 270px; transform: translateX(-100%); transition: transform .25s; }
  .shell.nav-open .sidebar { transform: none; box-shadow: var(--shadow-lg); }
  .menu-toggle { display: grid; }
  .topbar { padding: 12px 16px; } .content { padding: 20px 16px 50px; } .banner { padding: 10px 16px; }
  .grid-2, .grid-main, .form-grid, .auth-wrap, .doc-parties, .doc-foot, .footer .cols { grid-template-columns: 1fr; }
  .auth-side { display: none; } .pub-links { display: none; }
  .searchbar { grid-template-columns: 1fr 1fr; margin: -40px 16px 0; }
  .doc-inner { padding: 26px 20px; } .doc-head { flex-direction: column; } .doc-title, .doc-meta { text-align: left; justify-content: start; }
  .feature-list { grid-template-columns: 1fr; } .feature-band, .cta-band { padding: 30px 22px; }
  .topbar .search { display: none; } .gallery { grid-template-columns: 1fr; grid-template-rows: 260px; } .gallery img:not(:first-child) { display: none; }
}
@media (max-width: 560px) {
  .kpis, .listing-grid, .grid-3, .kind-grid, .county-grid, .steps, .setup-steps, .filters { grid-template-columns: 1fr; }
  .stat-row { gap: 20px; flex-wrap: wrap; } h1 { font-size: 1.45rem; }
  .pub-nav .btn-ghost { display: none; }
}

/* ---------- payments ---------- */
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.method { display: flex; gap: 12px; align-items: center; border: 2px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; margin: 0; font-weight: 500; transition: .15s; }
.method:hover { border-color: #cfc6ff; }
.method:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); }
.method input { display: none; } .method small { display: block; color: var(--muted); font-size: .74rem; }
.m-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.m-mpesa { background: #2fb344; } .m-pesapal { background: #1b3a6b; } .m-paypal { background: #0070ba; } .m-pesalink { background: #e8590c; }
.stk-wait { text-align: center; padding: 18px 6px; }
.pulse { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: var(--mint-soft); color: #2fb344; animation: pulse 1.6s infinite; }
.pulse [data-lucide] { width: 28px; height: 28px; }
.pulse.ok { background: var(--mint); color: #fff; animation: none; } .pulse.bad { background: var(--coral-soft); color: var(--coral); animation: none; }
.pulse.warn { background: var(--sun-soft); color: #d99a00; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,179,68,.45); } 70% { box-shadow: 0 0 0 18px rgba(47,179,68,0); } 100% { box-shadow: 0 0 0 0 rgba(47,179,68,0); } }
.progress .indeterminate { width: 40%; animation: slide 1.2s infinite ease-in-out; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.pay-panel { max-width: 820px; margin: 0 auto 16px; }
.secret-set { font-size: .75rem; color: var(--mint); font-weight: 700; }
.codebox { font-family: ui-monospace, Consolas, monospace; font-size: .78rem; background: #f6f5fc; border: 1px dashed var(--line); border-radius: 10px; padding: 8px 10px; word-break: break-all; }

/* ---------- demo hub ---------- */
.demo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.demo-card { display: flex; gap: 16px; padding: 20px; transition: .2s; }
.demo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.role-switch { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; border-radius: 99px; padding: 6px 6px 6px 14px; box-shadow: var(--shadow-lg); font-size: .82rem; font-weight: 600; }
.role-switch a { background: var(--sun); color: var(--ink); border-radius: 99px; padding: 6px 12px; font-weight: 800; }
@media print { .role-switch { display: none; } }

/* ---------- host booking calendar ---------- */
table.cal { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .8rem; }
.cal th { padding: 8px 2px; text-align: center; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); min-width: 54px; }
.cal th span { display: block; font-size: .68rem; text-transform: uppercase; } .cal th b { font-size: .95rem; color: var(--text); }
.cal th.today { background: var(--violet-soft); border-radius: 10px 10px 0 0; } .cal th.today b { color: var(--violet); }
.cal .room { text-align: left; padding: 8px 14px; min-width: 110px; position: sticky; left: 0; background: #fff; z-index: 1; }
.cal td { padding: 6px 0; border-bottom: 1px solid var(--line); height: 46px; }
.cal .wknd { background: #fbfaff; }
.bk { display: block; height: 30px; background: var(--violet); color: #fff; font-weight: 700; font-size: .72rem; line-height: 30px; padding-left: 8px; white-space: nowrap; overflow: visible; }
.bk.start { border-radius: 8px 0 0 8px; margin-left: 4px; }
.bk-pending { background: var(--sun); color: var(--ink); } .bk-checked_in { background: var(--mint); } .bk-completed { background: #a5a3c0; }
.bk:hover { filter: brightness(1.1); color: #fff; }

/* ---------- marketing ---------- */
.mk-tile { display: flex; gap: 14px; align-items: center; color: var(--text); transition: .15s; }
.mk-tile:hover { transform: translateX(4px); color: var(--text); box-shadow: var(--shadow-lg); }
.mk-templates { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.phone { width: 300px; background: #fff; border-radius: 30px; border: 10px solid #120d32; overflow: hidden; box-shadow: var(--shadow-lg); min-height: 420px; }
.phone-top { background: #f6f5fc; padding: 14px; text-align: center; border-bottom: 1px solid var(--line); }
.phone-top span { display: block; font-weight: 800; } .phone-top small { color: var(--muted); font-size: .72rem; }
.phone-body { padding: 16px; }
.bubble { background: #e9e9eb; color: #111; border-radius: 18px 18px 18px 4px; padding: 10px 14px; font-size: .9rem; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; }
.pp-thumb { position: relative; height: 130px; overflow: hidden; display: flex; align-items: flex-end; }
.pp-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.pp-thumb-title { position: relative; color: #fff; font-weight: 800; padding: 14px; font-size: 1.05rem; text-shadow: 0 2px 8px rgba(0,0,0,.3); }

/* ---------- popups (shown on public pages, portal and dashboards) ---------- */
.pp { display: none; position: fixed; z-index: 200; font-family: var(--font); }
.pp.show { display: flex; animation: slideIn .35s cubic-bezier(.2,1.2,.4,1); }
.pp-box { position: relative; background: #fff; color: var(--text); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(18,13,50,.35); }
.pp-x { position: absolute; top: 8px; right: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.3rem; cursor: pointer; line-height: 1; color: var(--ink); }
.pp-img { width: 100%; height: 170px; object-fit: cover; display: block; }
.pp-content { padding: 22px 24px 24px; }
.pp-title { font-size: 1.35rem; font-weight: 800; line-height: 1.2; color: var(--ink); margin-bottom: 6px; }
.pp-body { color: var(--muted); font-size: .92rem; margin-bottom: 14px; white-space: pre-line; }
.pp-cta { display: inline-flex; justify-content: center; width: 100%; background: var(--pp); color: #fff !important; border: 0; border-radius: 12px; padding: 12px 18px; font: 700 .95rem var(--font); cursor: pointer; text-decoration: none; }
.pp-cta:hover { filter: brightness(1.08); }
.pp-form { display: grid; gap: 8px; } .pp-form input { padding: 10px 12px; }
.pp-thanks { background: var(--mint-soft); color: #0b7a58; border-radius: 12px; padding: 14px; text-align: center; }
.pp-err { color: #c22f2f; font-size: .85rem; }
.pp-modal { inset: 0; align-items: center; justify-content: center; background: rgba(18,13,50,.55); backdrop-filter: blur(3px); padding: 16px; }
.pp-modal .pp-box { width: min(420px, 100%); border-top: 6px solid var(--pp); }
.pp-slide { right: 20px; bottom: 20px; } .pp-slide .pp-box { width: min(340px, calc(100vw - 40px)); border-left: 6px solid var(--pp); }
.pp-slide .pp-img { height: 120px; }
.pp-bar { top: 0; left: 0; right: 0; } .pp-bar .pp-box { width: 100%; border-radius: 0; background: var(--pp); color: #fff; }
.pp-bar .pp-content { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 56px; flex-wrap: wrap; }
.pp-bar .pp-title { color: #fff; font-size: 1rem; margin: 0; } .pp-bar .pp-body { color: rgba(255,255,255,.85); margin: 0; }
.pp-bar .pp-cta { width: auto; background: #fff; color: var(--pp) !important; padding: 8px 16px; }
.pp-bar .pp-form { grid-auto-flow: column; } .pp-bar .pp-x { top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.2); color: #fff; }
/* builder preview frame */
.pp-frame { position: relative; height: 560px; background: #f6f5fc; overflow: hidden; }
.pp-frame-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.pp-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e0f0; } .pp-frame-bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); }
.pp-frame-page { padding: 20px; display: grid; gap: 12px; } .pp-frame-page div { height: 60px; background: #ebe8f6; border-radius: 12px; }
.pp-frame-page div:first-child { height: 140px; }
.pp-frame .pp { position: absolute; } .pp-frame .pp-modal { top: 41px; }

/* live activity indicator */
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); margin-right: 6px; vertical-align: 1px; animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(18,184,134,.55); } 70% { box-shadow: 0 0 0 8px rgba(18,184,134,0); } 100% { box-shadow: 0 0 0 0 rgba(18,184,134,0); } }

/* social links + WhatsApp chat button (Super admin -> Integrations) */
.social-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social-row a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; padding: 0; }
.social-row a:hover { background: var(--sun); color: var(--ink); }
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 80; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45); }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float [data-lucide] { width: 26px; height: 26px; }
