/* Real-estate CRM demo (Amader Neer). Clean black and white with yellow / green status tags. */
:root {
    --ink: #111214; --text: #3c3f46; --muted: #7a7e88; --faint: #a6aab3;
    --line: #ececee; --line-2: #e2e3e7; --soft: #f6f6f7; --soft-2: #f0f0f2; --bg: #fafafa; --panel: #fff;
    --yellow: #f3e15b; --yellow-50: #fdf8d6; --green: #22a35a; --green-50: #e3f6ea; --red: #d93f3f; --red-50: #fdeaea;
    --blue: #2f6fe4; --blue-50: #e8f0fd; --amber: #c27a0e; --amber-50: #fdf2dd;
    --r: 12px; --f: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.re { margin: 0; background: var(--bg); color: var(--text); font: 400 14px/1.5 var(--f); -webkit-font-smoothing: antialiased; }
.re a { color: inherit; text-decoration: none; }
.re h1, .re h2, .re h3, .re p, .re ul, .re ol, .re dl, .re figure { margin: 0; }
.re ul, .re ol { padding: 0; list-style: none; }
.re button, .re input, .re select, .re textarea { font: inherit; color: inherit; }
.re .icon { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ribbon */
.re-ribbon { display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; padding: 7px 22px; background: var(--ink); color: #d7d8dc; font-size: 12.5px; }
.re-ribbon a { color: #fff; text-decoration: underline; text-underline-offset: 3px; } .re-ribbon .links { display: flex; gap: 16px; }

/* buttons, inputs, tags */
.re-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 15px; border: 1px solid var(--ink); border-radius: 9px; background: var(--ink); color: #fff !important; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s; }
.re-btn:hover { background: #000; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); } .re-btn:active { transform: scale(.98); }
.re-btn.ghost { background: var(--panel); color: var(--ink) !important; border-color: var(--line-2); } .re-btn.ghost:hover { border-color: var(--ink); box-shadow: none; }
.re-btn.sm { height: 32px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.re-btn.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink) !important; } .re-btn.yellow:hover { background: #ecd640; }
.re-btn.green { background: var(--green); border-color: var(--green); } .re-btn.red { background: var(--panel); border-color: #f1c7c7; color: var(--red) !important; } .re-btn.red:hover { background: var(--red-50); box-shadow: none; }
.re-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 6px; background: var(--soft-2); font-size: 11.5px; font-weight: 600; color: var(--text); white-space: nowrap; }
.re-tag.yellow, .re-tag.new { background: var(--yellow); color: var(--ink); }
.re-tag.green, .re-tag.won, .re-tag.accepted, .re-tag.available { background: var(--green-50); color: #15803d; }
.re-tag.contacted, .re-tag.blue { background: var(--blue-50); color: var(--blue); }
.re-tag.visit { background: #efe9fd; color: #6d3fd1; } .re-tag.negotiation, .re-tag.amber, .re-tag.pending, .re-tag.booked { background: var(--amber-50); color: var(--amber); }
.re-tag.booking { background: #33c27f; color: #fff; } .re-tag.lost, .re-tag.red, .re-tag.rejected { background: var(--red-50); color: var(--red); }
.re-tag.sold, .re-tag.rented, .re-tag.owed { background: var(--soft-2); color: var(--muted); }
.re-field { display: grid; gap: 6px; } .re-field label { font-size: 12.5px; font-weight: 600; color: var(--ink); } .re-field label small { font-weight: 400; color: var(--muted); }
.re-input, .re-field input:not([type=checkbox]):not([type=file]), .re-field select, .re-field textarea { width: 100%; min-height: 40px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel); font-size: 13.5px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.re-field textarea { resize: vertical; min-height: 84px; line-height: 1.55; }
.re-input:focus, .re-field input:focus, .re-field select:focus, .re-field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(17,18,20,.07); }
.re-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; } .re-check input { width: 16px; height: 16px; accent-color: var(--ink); }
.re-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .re-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.re-full { grid-column: 1 / -1; }
.re-av { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: hsl(var(--h, 200) 60% 90%); color: hsl(var(--h, 200) 45% 30%); font-size: 12px; font-weight: 700; border: 2px solid #fff; }
.re-av.sm { width: 26px; height: 26px; font-size: 10px; } .re-av.lg { width: 64px; height: 64px; font-size: 20px; }
.re-stack { display: inline-flex; } .re-stack .re-av + .re-av { margin-left: -9px; } .re-stack .re-more { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: -9px; border: 2px solid #fff; border-radius: 50%; background: var(--yellow); font-size: 10px; font-weight: 700; color: var(--ink); }

/* app shell */
.re-app { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: calc(100vh - 34px); }
.re-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 20px 14px 16px; background: var(--panel); border-right: 1px solid var(--line); overflow-y: auto; }
.re-logo { display: flex; align-items: center; gap: 10px; padding: 0 8px 22px; }
.re-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--yellow); }
.re-logo b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); } .re-logo small { display: block; font-size: 11.5px; color: var(--muted); margin-top: -2px; }
.re-nav { display: grid; gap: 2px; }
.re-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--text); transition: background .15s, color .15s; }
.re-nav a .icon { color: var(--muted); } .re-nav a:hover { background: var(--soft); color: var(--ink); }
.re-nav > a.on, .re-group > a.on { background: var(--soft-2); color: var(--ink); font-weight: 700; } .re-nav a.on .icon { color: var(--ink); }
.re-nav em { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: #fff; font: 700 10.5px/20px var(--f); font-style: normal; text-align: center; }
.re-group .re-caret { margin-left: 6px; transition: transform .2s; } .re-group em + .re-caret { margin-left: 6px; } .re-group > a > span { flex: 1; }
.re-group.open .re-caret { transform: rotate(90deg); }
.re-sub { display: none; margin: 2px 0 4px; padding: 4px; border-radius: 10px; background: var(--soft); } .re-group.open .re-sub { display: grid; gap: 2px; }
.re-sub a { padding: 8px 12px 8px 41px; font-size: 13px; } .re-sub a.on { background: var(--panel); color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.re-side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.re-side-foot a { display: flex; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 9px; font-size: 13.5px; color: var(--text); } .re-side-foot a:hover { background: var(--soft); } .re-side-foot .icon { color: var(--muted); }

.re-main { min-width: 0; }
.re-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 24px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.re-burger { display: none; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel); cursor: pointer; place-items: center; }
.re-search { display: flex; align-items: center; gap: 9px; width: min(440px, 100%); height: 40px; padding: 0 13px; border-radius: 10px; background: var(--soft); color: var(--muted); transition: box-shadow .15s, background .15s; }
.re-search:focus-within { background: var(--panel); box-shadow: 0 0 0 1px var(--ink); }
.re-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 13.5px; color: var(--ink); }
.re-top-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.re-icon-btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--ink); } .re-icon-btn:hover { background: var(--soft); }
.re-ping { position: absolute; right: 9px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px #fff; }
.re-badge { position: absolute; right: 3px; top: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--red); color: #fff; font-size: 10px; line-height: 17px; text-align: center; }
.re-me { position: relative; margin-left: 6px; padding-left: 14px; border-left: 1px solid var(--line); }
.re-me summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; } .re-me summary::-webkit-details-marker { display: none; }
.re-me-n b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; } .re-me-n small { display: block; font-size: 11.5px; color: var(--muted); margin-top: -2px; }
.re-me .re-caret { transform: rotate(90deg); color: var(--muted); }
.re-me-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; width: 230px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 18px 40px -16px rgba(0,0,0,.3); }
.re-me-menu p { padding: 6px 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.re-me-menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; font-size: 13px; text-align: left; cursor: pointer; } .re-me-menu button:hover { background: var(--soft); }
.re-me-menu button.on { font-weight: 700; color: var(--ink); } .re-me-menu button span { color: var(--muted); font-weight: 400; } .re-me-menu hr { margin: 6px 0; border: 0; border-top: 1px solid var(--line); }
.re-flash { display: flex; align-items: center; gap: 9px; margin: 16px 24px 0; padding: 11px 15px; border-radius: 10px; font-size: 13.5px; font-weight: 500; }
.re-flash.ok { background: var(--green-50); color: #15803d; } .re-flash.bad { background: var(--red-50); color: var(--red); }

/* page frame */
.re-page { padding: 24px; max-width: 1440px; }
.re-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.re-head h1 { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1.15; } .re-head p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.re-head .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.re-crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; color: var(--muted); } .re-crumb a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; } .re-crumb a:hover { text-decoration: underline; }
.re-card { min-width: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.re-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.re-card-h h2 { font-size: 15px; font-weight: 700; color: var(--ink); } .re-card-h a { font-size: 12.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } .re-card-h p { font-size: 12.5px; color: var(--muted); }
.re-empty { padding: 26px 10px; text-align: center; color: var(--muted); font-size: 13.5px; }
.re-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; } .re-tabs::-webkit-scrollbar { display: none; }
.re-tabs a, .re-tabs button { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 12px 0; border: 0; background: none; font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap; cursor: pointer; }
.re-tabs a:hover, .re-tabs button:hover { color: var(--ink); }
.re-tabs a.on, .re-tabs button.on { color: var(--ink); font-weight: 700; } .re-tabs a.on::after, .re-tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); }
.re-tabs i { min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--ink); color: #fff; font: 700 10.5px/19px var(--f); font-style: normal; text-align: center; }
.re-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--soft-2); }
.re-seg a { padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); } .re-seg a.on { background: var(--panel); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.re-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.re-filters select, .re-filters input { height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel); font-size: 13px; color: var(--ink); }
.re-filters input { min-width: 220px; }
.re-table { width: 100%; border-collapse: collapse; }
.re-table th { padding: 11px 14px; text-align: left; font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--soft); white-space: nowrap; }
.re-table th:first-child { border-radius: 9px 0 0 9px; } .re-table th:last-child { border-radius: 0 9px 9px 0; }
.re-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: middle; }
.re-table tbody tr { transition: background .12s; } .re-table tbody tr:hover { background: #fbfbfc; } .re-table tbody tr[data-href] { cursor: pointer; }
.re-table .num { text-align: right; } .re-table b { font-weight: 700; color: var(--ink); } .re-table small { display: block; font-size: 12px; color: var(--muted); }
.re-who { display: flex; align-items: center; gap: 10px; min-width: 0; } .re-who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-scroll { overflow-x: auto; }

/* overview */
.re-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.re-kpi { padding: 16px 18px; border-radius: var(--r); background: var(--soft); border: 1px solid transparent; transition: border-color .15s, background .15s; }
a.re-kpi:hover { background: var(--panel); border-color: var(--line-2); }
.re-kpi small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.re-kpi b { display: block; margin-top: 10px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; } .re-kpi b span { font-size: 15px; color: var(--muted); font-weight: 500; }
.re-kpi > span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.re-kpi.dark { background: var(--ink); } .re-kpi.dark small, .re-kpi.dark > span { color: #a9abb2; } .re-kpi.dark b { color: #fff; }
.re-meter { height: 6px; margin-top: 10px; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; } .re-meter i { display: block; height: 100%; border-radius: 99px; background: var(--yellow); }
.re-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; } .re-stackc { display: grid; gap: 16px; min-width: 0; }
.re-funnel { display: grid; gap: 10px; }
.re-funnel a { display: grid; grid-template-columns: 110px minmax(0, 1fr) 96px; gap: 12px; align-items: center; font-size: 13px; }
.re-funnel .bar { height: 30px; border-radius: 8px; background: var(--soft); overflow: hidden; } .re-funnel .bar i { display: flex; align-items: center; height: 100%; padding: 0 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; font-style: normal; min-width: 30px; transition: width .6s; }
.re-funnel a:nth-child(1) .bar i { background: var(--yellow); color: var(--ink); } .re-funnel a:nth-child(2) .bar i { background: #9fb8f2; color: var(--ink); } .re-funnel a:nth-child(3) .bar i { background: #b9a6f0; color: var(--ink); } .re-funnel a:nth-child(4) .bar i { background: #f0c27a; color: var(--ink); } .re-funnel a:nth-child(5) .bar i { background: #33c27f; }
.re-funnel .v { text-align: right; font-weight: 700; color: var(--ink); } .re-funnel a:hover .bar { box-shadow: 0 0 0 1px var(--line-2); }
.re-src { display: grid; gap: 9px; } .re-src li { display: grid; grid-template-columns: 100px minmax(0, 1fr) 28px; gap: 10px; align-items: center; font-size: 13px; }
.re-src .t { height: 8px; border-radius: 99px; background: var(--soft-2); overflow: hidden; } .re-src .t i { display: block; height: 100%; border-radius: 99px; background: var(--ink); } .re-src b { text-align: right; color: var(--ink); }
.re-rows li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .re-rows li:last-child { border-bottom: 0; }
.re-rows li > div { flex: 1; min-width: 0; } .re-rows b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .re-rows small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-rows .end { flex: none; text-align: right; font-weight: 700; color: var(--ink); font-size: 13px; }
.re-task { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .re-task:last-child { border-bottom: 0; }
.re-task form { display: contents; }
.re-tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--line-2); border-radius: 7px; background: var(--panel); color: transparent; cursor: pointer; transition: all .15s; }
.re-tick:hover { border-color: var(--ink); color: var(--faint); } .re-tick.done { background: var(--green); border-color: var(--green); color: #fff; }
.re-task > div { flex: 1; min-width: 0; } .re-task b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); } .re-task.is-done b { text-decoration: line-through; color: var(--muted); } .re-task small { font-size: 12px; color: var(--muted); }
.re-task small.late { color: var(--red); font-weight: 600; } .re-task small a { text-decoration: underline; text-underline-offset: 2px; }

/* the activity timeline */
.re-feed { position: relative; display: grid; gap: 0; }
.re-feed li { position: relative; display: flex; gap: 12px; padding: 0 0 18px; }
.re-feed li::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 1.5px; background: var(--line-2); } .re-feed li:last-child::before { display: none; } .re-feed li:last-child { padding-bottom: 0; }
.re-dot { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #eef0ff; color: #4a55c2; }
.re-dot.call, .re-dot.visit { background: var(--green-50); color: #15803d; } .re-dot.stage { background: var(--yellow-50); color: #8a7400; } .re-dot.enquiry { background: var(--ink); color: var(--yellow); }
.re-dot.sms, .re-dot.whatsapp { background: #e6f5f2; color: #0f7b6c; } .re-dot.document { background: var(--soft-2); color: var(--text); } .re-dot.task, .re-dot.member { background: var(--blue-50); color: var(--blue); }
.re-feed li > div { min-width: 0; flex: 1; padding-top: 4px; } .re-feed p { font-size: 13px; color: var(--text); line-height: 1.5; } .re-feed p b { font-weight: 700; color: var(--ink); }
.re-feed small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.re-feed .quote { margin-top: 6px; padding: 9px 11px; border-radius: 9px; background: var(--soft); font-size: 12.5px; color: var(--text); white-space: pre-line; }
.re-flow { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }

/* deals list and board */
.re-board { display: grid; grid-template-columns: repeat(5, minmax(230px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.re-col { padding: 10px; border-radius: 12px; background: var(--soft); min-height: 200px; }
.re-col-h { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; } .re-col-h b { font-size: 13px; font-weight: 700; color: var(--ink); } .re-col-h span { font-size: 12px; color: var(--muted); }
.re-dcard { display: block; margin-bottom: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); transition: box-shadow .15s, transform .15s; }
.re-dcard:hover { box-shadow: 0 10px 24px -16px rgba(0,0,0,.35); transform: translateY(-1px); }
.re-dcard b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); } .re-dcard small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-dcard .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; } .re-dcard .val { font-size: 13px; font-weight: 800; color: var(--ink); }

/* the deal page (like the reference) */
.re-deal { display: grid; grid-template-columns: 320px minmax(0, 1fr); min-height: calc(100vh - 98px); }
.re-dl { border-right: 1px solid var(--line); background: var(--panel); }
.re-dl-top { padding: 26px 22px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.re-dl-top .re-av { width: 64px; height: 64px; font-size: 21px; margin-bottom: 10px; }
.re-dl-top h2 { font-size: 17px; font-weight: 700; color: var(--ink); } .re-dl-top > p { font-size: 12.5px; color: var(--muted); }
.re-quick { display: flex; justify-content: center; gap: 14px; margin: 16px 0 12px; }
.re-quick a, .re-quick summary { display: grid; justify-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.re-quick summary::-webkit-details-marker { display: none; }
.re-quick span { display: grid; place-items: center; width: 44px; height: 40px; border-radius: 9px; background: var(--soft-2); color: var(--ink); transition: transform .12s, filter .12s; }
.re-quick a:hover span, .re-quick summary:hover span { transform: translateY(-1px); filter: brightness(.95); }
.re-quick .mail span { background: #4b8df8; color: #fff; } .re-quick .call span { background: #2fc275; color: #fff; } .re-quick .wa span { background: #25d366; color: #fff; }
.re-quick details { position: relative; } .re-more-menu { position: absolute; left: 50%; top: calc(100% + 8px); z-index: 20; width: 190px; transform: translateX(-50%); padding: 6px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); box-shadow: 0 18px 36px -16px rgba(0,0,0,.3); text-align: left; }
.re-more-menu a, .re-more-menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: 7px; background: none; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; text-align: left; } .re-more-menu a:hover, .re-more-menu button:hover { background: var(--soft); }
.re-last { font-size: 12px; color: var(--muted); } .re-last::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--green); vertical-align: 1px; }
.re-dl-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.re-dl-tabs button { padding: 12px 0; border: 0; background: none; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; position: relative; } .re-dl-tabs button.on { color: var(--ink); font-weight: 700; } .re-dl-tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.re-dl-pane { padding: 18px 22px; } .re-dl-pane[hidden] { display: none; }
.re-info { display: grid; gap: 14px; }
.re-info div { display: flex; align-items: center; gap: 12px; } .re-info .ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--soft-2); color: var(--ink); }
.re-info small { display: block; font-size: 11.5px; color: var(--muted); } .re-info b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.re-sec-h { margin: 18px 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

.re-dr { min-width: 0; padding: 22px 26px 40px; }
.re-dr h1 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1.15; }
.re-dr-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 10px 0 16px; font-size: 13px; color: var(--muted); } .re-dr-meta b { color: var(--ink); }
.re-dr-meta .sep { width: 1px; height: 22px; background: var(--line-2); }
.re-add { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); font-size: 12.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.re-add-wrap { position: relative; } .re-add-wrap form { position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; display: flex; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: 0 18px 36px -16px rgba(0,0,0,.3); }
.re-add-wrap form[hidden] { display: none; } .re-add-wrap select { height: 34px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 8px; }
.re-pipe { display: flex; gap: 4px; margin-bottom: 18px; }
.re-pipe form { flex: 1; display: flex; } .re-pipe button { flex: 1; position: relative; height: 34px; padding: 0 8px 0 16px; border: 0; background: var(--soft-2); font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%); transition: background .15s, color .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-pipe form:first-child button { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); border-radius: 8px 0 0 8px; padding-left: 10px; }
.re-pipe button:hover { background: var(--line-2); color: var(--ink); }
.re-pipe .past button { background: #cfe9d9; color: #15803d; } .re-pipe .now button { background: var(--ink); color: #fff; }
.re-pipe-end { display: flex; gap: 6px; } .re-pipe-end .re-btn { height: 34px; }
.re-dr .re-tabs { margin-bottom: 18px; }
.re-docstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.re-docstat { padding: 14px 16px; border-radius: 10px; background: var(--soft); } .re-docstat small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); } .re-docstat b { display: block; margin-top: 12px; font-size: 24px; font-weight: 700; color: var(--ink); } .re-docstat b span { font-size: 14px; color: var(--muted); font-weight: 500; }
.re-docs-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 18px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.re-doc { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); transition: border-color .15s; }
.re-doc:hover { border-color: var(--line-2); } .re-doc .fi { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 8px; background: var(--soft-2); color: var(--text); }
.re-doc > div { flex: 1; min-width: 0; } .re-doc b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); } .re-doc small { font-size: 12px; color: var(--muted); }
.re-doc .acts { display: flex; align-items: center; gap: 6px; flex: none; } .re-doc .acts form { display: contents; }
.re-ib { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); color: var(--ink); cursor: pointer; transition: all .12s; }
.re-ib:hover { border-color: var(--ink); } .re-ib.ok { background: var(--ink); border-color: var(--ink); color: #fff; } .re-ib.ok:hover { background: var(--green); border-color: var(--green); } .re-ib.no:hover { background: var(--red); border-color: var(--red); color: #fff; }
.re-upload { position: relative; } .re-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.re-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; padding: 14px; border-radius: 12px; background: var(--soft); margin-bottom: 16px; } .re-inline .re-field { flex: 1 1 200px; }
.re-composer { margin-bottom: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; } .re-composer textarea { border: 0 !important; box-shadow: none !important; padding: 0 !important; min-height: 60px !important; }
.re-composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.re-chips { display: flex; gap: 6px; flex-wrap: wrap; } .re-chips button { padding: 4px 10px; border: 1px dashed var(--line-2); border-radius: 99px; background: var(--panel); font-size: 12px; color: var(--text); cursor: pointer; } .re-chips button:hover { border-style: solid; border-color: var(--ink); }
.re-propcard { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.re-propcard .re-art { width: 100%; height: 150px; border-radius: 10px; display: block; }
.re-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; } .re-facts div { padding: 10px; border-radius: 9px; background: var(--soft); } .re-facts small { display: block; font-size: 11px; color: var(--muted); } .re-facts b { font-size: 13.5px; color: var(--ink); }
.re-sms li { margin-bottom: 12px; } .re-sms li p { display: inline-block; max-width: 520px; padding: 10px 13px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.55; } .re-sms li { text-align: right; } .re-sms small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.re-sms li.wa p { background: #dcf8c6; color: var(--ink); }

/* properties, projects, team */
.re-props { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.re-prop { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: box-shadow .2s, transform .2s; }
.re-prop:hover { box-shadow: 0 16px 34px -22px rgba(0,0,0,.4); transform: translateY(-2px); }
.re-prop-img { position: relative; } .re-prop-img .re-art { display: block; width: 100%; height: 170px; }
.re-prop-img .re-tag { position: absolute; left: 12px; top: 12px; } .re-prop-img .code { position: absolute; right: 12px; top: 12px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.9); font-size: 11px; font-weight: 700; color: var(--ink); }
.re-prop-img .star { position: absolute; left: 12px; bottom: 12px; padding: 2px 8px; border-radius: 6px; background: var(--yellow); font-size: 11px; font-weight: 700; color: var(--ink); }
.re-prop-b { padding: 14px 16px 16px; } .re-prop-b b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.3; } .re-prop-b small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.re-prop-b .price { margin-top: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.re-prop-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.re-prop-f a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.re-projs { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.re-proj { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); } .re-proj .re-art { display: block; width: 100%; height: 150px; }
.re-proj-b { padding: 16px 18px 18px; } .re-proj-b h3 { font-size: 17px; font-weight: 700; color: var(--ink); } .re-proj-b > small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.re-prog { margin: 14px 0 10px; } .re-prog div { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); } .re-prog div b { color: var(--ink); }
.re-prog .t { height: 8px; margin-top: 6px; border-radius: 99px; background: var(--soft-2); overflow: hidden; } .re-prog .t i { display: block; height: 100%; border-radius: 99px; background: var(--ink); }
.re-proj-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; } .re-proj-stats div { padding: 9px 10px; border-radius: 9px; background: var(--soft); } .re-proj-stats small { display: block; font-size: 11px; color: var(--muted); } .re-proj-stats b { font-size: 14px; color: var(--ink); }
.re-proj form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.re-proj form input[type=range] { flex: 1 1 120px; accent-color: var(--ink); } .re-proj form select { height: 32px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 12.5px; }
.re-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 20px; }
.re-mem { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.re-mem-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; } .re-mem-h b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); } .re-mem-h small { display: block; font-size: 12px; color: var(--muted); }
.re-mem-s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .re-mem-s div { padding: 9px; border-radius: 9px; background: var(--soft); } .re-mem-s small { display: block; font-size: 11px; color: var(--muted); } .re-mem-s b { font-size: 13.5px; color: var(--ink); }
.re-perm td:not(:first-child), .re-perm th:not(:first-child) { text-align: center; } .re-yes { color: var(--green); font-weight: 800; } .re-no { color: var(--faint); }

/* sign-in */
.re-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 34px); }
.re-login-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 40px; background: var(--ink); color: #d8d9dd; overflow: hidden; }
.re-login-art h1 { max-width: 460px; margin-top: 30px; font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: #fff; } .re-login-art p { max-width: 420px; margin-top: 14px; font-size: 15px; }
.re-login-art ul { display: grid; gap: 10px; margin-top: 28px; } .re-login-art li { display: flex; align-items: center; gap: 10px; font-size: 14px; } .re-login-art li .icon { color: var(--yellow); }
.re-login-art .re-art { position: absolute; right: -40px; bottom: -10px; width: 520px; height: auto; opacity: .18; border-radius: 20px; }
.re-login-form { display: grid; place-items: center; padding: 40px 24px; background: var(--panel); }
.re-login-box { width: 100%; max-width: 420px; } .re-login-box h2 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); } .re-login-box > p { margin: 6px 0 22px; color: var(--muted); }
.re-roles { display: grid; gap: 10px; margin-bottom: 22px; } .re-roles form { display: contents; }
.re-role { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.re-role:hover { border-color: var(--ink); box-shadow: 0 10px 24px -18px rgba(0,0,0,.4); } .re-role > div { flex: 1; } .re-role b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); } .re-role small { display: block; font-size: 12.5px; color: var(--muted); }
.re-or { display: flex; align-items: center; gap: 12px; margin: 6px 0 16px; font-size: 12px; color: var(--faint); } .re-or::before, .re-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.re-login-box form.cred { display: grid; gap: 12px; }

/* the public website */
.re-site-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 18px; height: 68px; padding: 0 clamp(16px, 4vw, 48px); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.re-site-top nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 600; } .re-site-top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.re-wrap { width: min(1220px, 100% - 32px); margin-inline: auto; }
.re-hero { padding: clamp(36px, 7vw, 80px) 0 clamp(28px, 4vw, 44px); }
.re-hero h1 { max-width: 760px; font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; color: var(--ink); }
.re-hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.re-hero p { max-width: 560px; margin-top: 16px; font-size: 16px; color: var(--text); }
.re-find { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) auto; gap: 8px; margin-top: 26px; padding: 8px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); box-shadow: 0 20px 44px -30px rgba(0,0,0,.35); }
.re-find input, .re-find select { height: 46px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--soft); font-size: 14px; color: var(--ink); min-width: 0; } .re-find input:focus, .re-find select:focus { outline: 2px solid var(--ink); }
.re-find .re-btn { height: 46px; padding: 0 22px; }
.re-sec { padding: clamp(28px, 4vw, 48px) 0; } .re-sec-t { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; } .re-sec-t h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); } .re-sec-t p { color: var(--muted); }
.re-agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.re-agent { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); } .re-agent b { display: block; font-weight: 700; color: var(--ink); } .re-agent small { display: block; font-size: 12.5px; color: var(--muted); }
.re-agent a { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-50); color: #15803d; }
.re-foot { margin-top: 30px; padding: 30px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); } .re-foot .re-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.re-pd { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px 0 10px; }
.re-pd-img .re-art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 16px; }
.re-pd h1 { margin-top: 18px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.re-pd .price { margin-top: 10px; font-size: 28px; font-weight: 800; color: var(--ink); }
.re-pd-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0; } .re-pd-facts div { padding: 12px; border-radius: 11px; background: var(--soft); } .re-pd-facts small { display: block; font-size: 11.5px; color: var(--muted); } .re-pd-facts b { font-size: 15px; color: var(--ink); }
.re-pd-feat { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; } .re-pd-feat span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--soft); font-size: 13px; } .re-pd-feat .icon { color: var(--green); }
.re-enq { position: sticky; top: 88px; padding: 20px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); box-shadow: 0 24px 50px -36px rgba(0,0,0,.4); }
.re-enq h2 { font-size: 18px; font-weight: 800; color: var(--ink); } .re-enq > p { margin: 4px 0 14px; font-size: 13px; color: var(--muted); }
.re-enq form { display: grid; gap: 10px; } .re-enq-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.re-enq-alt a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; border-radius: 9px; font-size: 13px; font-weight: 700; }
.re-enq-alt .wa { background: #25d366; color: #fff; } .re-enq-alt .ph { background: var(--soft-2); color: var(--ink); }
.re-sent { padding: 18px; border-radius: 12px; background: var(--green-50); color: #15803d; } .re-sent b { display: block; font-size: 16px; color: #0f5e2c; }
.re-radio { display: flex; gap: 6px; flex-wrap: wrap; } .re-radio label { position: relative; } .re-radio input { position: absolute; opacity: 0; }
.re-radio span { display: inline-block; padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 12.5px; cursor: pointer; } .re-radio input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; } .re-radio input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.re-map { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.re-offline { display: grid; place-items: center; align-content: center; gap: 12px; min-height: 100vh; text-align: center; padding: 20px; } .re-offline h1 { font-size: 26px; color: var(--ink); }

/* phones and tablets */
@media (max-width: 1200px) { .re-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .re-cols { grid-template-columns: minmax(0, 1fr); } .re-deal { grid-template-columns: 290px minmax(0, 1fr); } }
@media (max-width: 980px) {
    .re-app { grid-template-columns: minmax(0, 1fr); }
    .re-side { position: fixed; left: 0; top: 0; z-index: 60; width: 270px; transform: translateX(-100%); transition: transform .25s; box-shadow: 0 0 0 100vmax rgba(0,0,0,0); }
    .re-app.nav-open .re-side { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.35); }
    .re-burger { display: grid; } .re-me-n { display: none; }
    .re-deal { grid-template-columns: minmax(0, 1fr); } .re-dl { border-right: 0; border-bottom: 1px solid var(--line); }
    .re-pd { grid-template-columns: minmax(0, 1fr); } .re-enq { position: static; }
    .re-find { grid-template-columns: 1fr 1fr; } .re-find input { grid-column: 1 / -1; } .re-find .re-btn { grid-column: 1 / -1; }
    .re-login { grid-template-columns: minmax(0, 1fr); } .re-login-art { padding: 28px 22px; } .re-login-art h1 { font-size: 30px; margin-top: 16px; } .re-login-art ul { display: none; }
    .re-site-top nav { display: none; }
}
@media (max-width: 640px) {
    .re-page { padding: 16px; } .re-top { padding: 0 14px; gap: 8px; } .re-flash { margin: 12px 16px 0; }
    .re-head h1 { font-size: 22px; } .re-kpis { gap: 10px; } .re-kpi b { font-size: 21px; }
    .re-grid2, .re-grid3 { grid-template-columns: minmax(0, 1fr); }
    .re-dr { padding: 18px 16px 30px; } .re-dr h1 { font-size: 22px; } .re-pipe { flex-wrap: nowrap; overflow-x: auto; } .re-pipe form { flex: 0 0 auto; } .re-pipe button { min-width: 96px; }
    .re-docstats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px; } .re-docstat { padding: 10px; } .re-docstat b { font-size: 19px; margin-top: 6px; } .re-docstat small { font-size: 11px; }
    .re-doc { flex-wrap: wrap; } .re-doc .acts { width: 100%; justify-content: flex-end; }
    .re-propcard { grid-template-columns: minmax(0, 1fr); } .re-facts { grid-template-columns: 1fr 1fr; }
    .re-funnel a { grid-template-columns: 84px minmax(0, 1fr) 72px; font-size: 12px; }
    .re-table.cards thead { display: none; } .re-table.cards, .re-table.cards tbody, .re-table.cards tr, .re-table.cards td { display: block; }
    .re-table.cards tr { padding: 12px 4px; border-bottom: 1px solid var(--line); } .re-table.cards td { padding: 2px 0; border: 0; } .re-table.cards td.num { text-align: left; }
    .re-pd-facts { grid-template-columns: 1fr 1fr; } .re-ribbon { padding: 7px 14px; }
    .re-filters input { min-width: 0; flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.re-inline[hidden], .re-add-wrap form[hidden] { display: none !important; }
@media (max-width: 640px) {
    .re-search { flex: 1 1 auto; width: auto; min-width: 0; } .re-top-r { flex: none; gap: 2px; } .re-me { margin-left: 2px; padding-left: 8px; } .re-me .re-caret { display: none; }
    .re-icon-btn { width: 34px; }
}
@media (max-width: 980px) { .re-deal > .re-dr { order: -1; } .re-deal > .re-dl { border-top: 1px solid var(--line); border-bottom: 0; } }

/* ================= CRM additions: alerts, leads, visits, payments, units, team, reports, website ================= */
.re-bell { position: relative; } .re-bell summary { list-style: none; cursor: pointer; } .re-bell summary::-webkit-details-marker { display: none; }
.re-bell-menu { position: absolute; right: -60px; top: calc(100% + 10px); z-index: 45; width: min(360px, calc(100vw - 24px)); padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: 0 18px 40px -16px rgba(0,0,0,.3); }
.re-bell-h { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; } .re-bell-h b { font-size: 14px; color: var(--ink); }
.re-bell-h button { border: 0; background: none; font-size: 12px; font-weight: 600; color: var(--blue); cursor: pointer; }
.re-bell-all { display: block; padding: 10px; border-top: 1px solid var(--line); margin-top: 4px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.re-al { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; font-size: 13px; } .re-al:hover { background: var(--soft); }
.re-al > span:nth-child(2) { flex: 1; min-width: 0; } .re-al b { display: block; font-weight: 600; color: var(--ink); line-height: 1.35; } .re-al small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-al.new b { font-weight: 800; } .re-al.new { background: #fffdf0; } .re-al.new::after { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--blue); }
.re-al .ic { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--soft-2); color: var(--ink); }
.re-al .ic.k-enquiry { background: var(--yellow-50); color: #8a6d00; } .re-al .ic.k-overdue { background: var(--red-50); color: var(--red); } .re-al .ic.k-payment, .re-al .ic.k-won { background: var(--green-50); color: #15803d; } .re-al .ic.k-visit { background: #efe9fd; color: #6d3fd1; } .re-al .ic.k-assigned { background: var(--blue-50); color: var(--blue); }
.re-al.big { padding: 13px 14px; border-bottom: 1px solid var(--line); border-radius: 0; } .re-al.big:last-child { border-bottom: 0; } .re-al time { flex: none; font-size: 12px; color: var(--muted); }
.re-me-link { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 13px; } .re-me-link:hover { background: var(--soft); }
.re-export { position: relative; } .re-export summary { list-style: none; } .re-export summary::-webkit-details-marker { display: none; } .re-export .re-me-menu { width: 240px; }

/* import */
.re-drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 26px 16px; border: 2px dashed var(--line-2); border-radius: 12px; background: var(--soft); text-align: center; cursor: pointer; }
.re-drop b { color: var(--ink); } .re-drop small { font-size: 12px; color: var(--muted); max-width: 360px; } .re-drop input { margin-top: 8px; font-size: 12.5px; max-width: 100%; }
.re-drop:hover { border-color: var(--ink); }
.re-import-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.re-import-res > div { padding: 12px 14px; border-radius: 10px; background: var(--green-50); } .re-import-res > div.bad { background: var(--amber-50); }
.re-import-res b { display: block; font-size: 24px; color: var(--ink); } .re-import-res small { font-size: 12px; color: var(--muted); }
.re-import-res ul { grid-column: 1 / -1; padding-left: 18px; list-style: disc; font-size: 12.5px; color: var(--text); } .re-import-res .re-btn { justify-self: start; }
.re-ticks { margin-top: 14px; display: grid; gap: 6px; font-size: 13px; } .re-ticks li { position: relative; padding-left: 22px; } .re-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* site visits */
.re-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.re-day { min-height: 220px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.re-day header { display: flex; align-items: baseline; gap: 6px; padding: 2px 4px 8px; } .re-day header small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.re-day header b { font-size: 18px; color: var(--ink); } .re-day header em { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--muted); }
.re-day.today { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--yellow); } .re-day.today header b { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
.re-day.off { background: repeating-linear-gradient(135deg, var(--soft) 0 8px, #fff 8px 16px); }
.re-day-empty { padding: 10px 4px; font-size: 12px; color: var(--faint); }
.re-vis { display: grid; gap: 1px; margin-bottom: 6px; padding: 8px 9px; border-radius: 9px; background: var(--blue-50); border-left: 3px solid var(--blue); font-size: 12px; transition: transform .12s; } .re-vis:hover { transform: translateY(-1px); }
.re-vis time { font-weight: 700; color: var(--blue); font-size: 11.5px; } .re-vis b { color: var(--ink); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .re-vis small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-vis > span { display: flex; align-items: center; gap: 6px; margin-top: 3px; } .re-vis em { font-style: normal; font-size: 10.5px; font-weight: 700; }
.re-vis.s-done { background: var(--green-50); border-color: var(--green); } .re-vis.s-done time { color: #15803d; }
.re-vis.s-no_show { background: var(--red-50); border-color: var(--red); } .re-vis.s-no_show time, .re-vis.s-no_show em { color: var(--red); }
.re-vis.s-cancelled { background: var(--soft); border-color: var(--faint); opacity: .7; } .re-vis.s-cancelled b { text-decoration: line-through; }
.re-vrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); } .re-vrow:last-child { border-bottom: 0; }
.re-vrow > div:not(.acts) { flex: 1; min-width: 0; } .re-vrow b { display: block; font-size: 13.5px; color: var(--ink); } .re-vrow small { font-size: 12px; color: var(--muted); } .re-vrow small a { text-decoration: underline; color: var(--ink); }
.re-vrow .acts { display: flex; gap: 6px; flex: none; } .re-vrow .acts form { display: contents; }
.re-vdate { display: grid; place-items: center; flex: none; width: 46px; height: 48px; border-radius: 10px; background: var(--soft); line-height: 1.1; } .re-vdate small { font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: var(--muted); } .re-vdate b { font-size: 18px; color: var(--ink); }

/* payments */
.re-pbar { height: 8px; border-radius: 99px; background: var(--soft-2); overflow: hidden; } .re-pbar i { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.re-bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; height: 190px; }
.re-bars > div { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; height: 100%; text-align: center; }
.re-bars small { font-size: 10.5px; color: var(--muted); white-space: nowrap; } .re-bars > div > i { align-self: end; display: block; border-radius: 7px 7px 3px 3px; background: var(--soft-2); } .re-bars span { font-size: 12px; color: var(--muted); }
.re-bars > div.on > i { background: var(--ink); } .re-bars > div.on small, .re-bars > div.on > span { color: var(--ink); font-weight: 700; }
.re-bars.two .pair { display: flex; gap: 4px; align-items: end; height: 100%; } .re-bars.two .pair i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--ink); } .re-bars.two .pair i.y { background: var(--yellow); }
.re-key { display: flex; gap: 12px; font-size: 12px; color: var(--muted); } .re-key i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 3px; }
.re-remake { margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 12px; } .re-remake summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink); }
.re-sec-h { margin: 18px 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* printable receipt and statement */
.re-print-body { background: var(--soft); }
.re-print-bar { display: flex; justify-content: space-between; gap: 10px; max-width: 820px; margin: 20px auto 12px; padding: 0 16px; }
.re-doc-page { max-width: 820px; margin: 0 auto 40px; padding: 40px 44px; border-radius: 14px; background: #fff; box-shadow: 0 10px 40px -20px rgba(0,0,0,.25); }
.re-doc-h { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.re-doc-h > div:first-child { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; } .re-doc-h > div:first-child b { font-size: 18px; color: var(--ink); } .re-doc-h > div:first-child small { grid-column: 2; font-size: 12px; color: var(--muted); line-height: 1.5; }
.re-doc-h .r { text-align: right; } .re-doc-h h1 { font-size: 22px; letter-spacing: -.02em; color: var(--ink); } .re-doc-h p { margin-top: 6px; font-size: 13px; line-height: 1.6; }
.re-doc-line { margin-top: 26px; font-size: 15px; } .re-doc-amount { margin: 12px 0 22px; padding: 18px 20px; border-radius: 12px; background: var(--yellow-50); font-size: 30px; font-weight: 800; color: var(--ink); }
.re-doc-amount small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.re-doc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; } .re-doc-table th, .re-doc-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; } .re-doc-table th { width: 180px; color: var(--muted); font-weight: 600; }
.re-doc-table.grid th { width: auto; background: var(--soft); font-size: 12px; } .re-doc-table .num { text-align: right; }
.re-doc-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; font-size: 12.5px; color: var(--muted); } .re-doc-sign span { display: block; margin-bottom: 8px; border-top: 1px solid var(--ink); }
.re-doc-note { margin-top: 24px; font-size: 11.5px; color: var(--muted); } .re-doc-h2 { margin: 26px 0 10px; font-size: 15px; color: var(--ink); }
.re-doc-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; } .re-doc-sum div { padding: 12px 14px; border-radius: 10px; background: var(--soft); } .re-doc-sum small { display: block; font-size: 12px; color: var(--muted); } .re-doc-sum b { font-size: 18px; color: var(--ink); }
@media print {
    .re-print-bar, .re-side, .re-top, .re-ribbon, .re-head .acts, .re-flash { display: none !important; }
    .re-print-body, body.re { background: #fff; } .re-doc-page { box-shadow: none; margin: 0; padding: 0; max-width: none; }
    .re-app { display: block; } .re-card, .re-kpi { break-inside: avoid; }
}

/* units (stock chart) */
.re-unitstats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.re-unitstats > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 8px; min-width: 150px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.re-unitstats i { width: 12px; height: 12px; border-radius: 4px; } .re-unitstats span { font-size: 12.5px; color: var(--muted); } .re-unitstats b { font-size: 20px; color: var(--ink); } .re-unitstats small { grid-column: 2 / 4; font-size: 11.5px; color: var(--faint); }
.re-unitstats .u-val { grid-template-columns: 1fr; margin-left: auto; background: var(--ink); border-color: var(--ink); } .re-unitstats .u-val span { color: #a9abb2; } .re-unitstats .u-val b { color: #fff; }
.u-available i, i.u-available, .re-unit.u-available { background: #fff; } .u-hold i, i.u-hold { background: #c9b8f5; } .u-booked i, i.u-booked { background: var(--amber); } .u-sold i, i.u-sold { background: var(--ink); }
.re-unitstats .u-available i, .re-legend i.u-available { border: 2px solid var(--green); }
.re-chart-wrap { overflow-x: auto; }
.re-chart { display: grid; gap: 6px; min-width: calc(var(--cols) * 74px + 50px); }
.re-floor { display: grid; grid-template-columns: 44px repeat(var(--cols), minmax(64px, 1fr)); gap: 6px; }
.re-floor .fl { display: grid; place-items: center; font-weight: 800; color: var(--ink); font-size: 14px; } .re-floor .fl small { font-size: 9px; font-weight: 600; color: var(--muted); margin-top: -6px; }
.re-unit { display: grid; place-items: center; gap: 0; height: 46px; border-radius: 9px; border: 2px solid var(--green); font-size: 12px; line-height: 1.15; transition: transform .1s, box-shadow .1s; }
.re-unit b { font-size: 13px; color: var(--ink); } .re-unit small { font-size: 10px; color: var(--muted); }
.re-unit:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); }
.re-unit.u-hold { background: #efe9fd; border-color: #b69ef0; } .re-unit.u-booked { background: var(--amber-50); border-color: var(--amber); } .re-unit.u-sold { background: var(--ink); border-color: var(--ink); } .re-unit.u-sold b { color: #fff; } .re-unit.u-sold small { color: #a9abb2; }
.re-unit.sel { outline: 3px solid var(--yellow); outline-offset: 2px; }
.re-tag.u-tag-available { background: var(--green-50); color: #15803d; } .re-tag.u-tag-hold { background: #efe9fd; color: #6d3fd1; } .re-tag.u-tag-booked { background: var(--amber-50); color: var(--amber); } .re-tag.u-tag-sold { background: var(--ink); color: #fff; }
.re-legend { display: grid; gap: 8px; margin-top: 12px; font-size: 13px; } .re-legend li { display: flex; align-items: center; gap: 8px; } .re-legend i { width: 14px; height: 14px; border-radius: 4px; }

/* team */
.re-mem.off { opacity: .65; background: var(--soft); }
.re-mem-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; } .re-mem-acts > form { display: contents; }
.re-off { position: relative; } .re-off summary { list-style: none; cursor: pointer; } .re-off summary::-webkit-details-marker { display: none; }
.re-off form { position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; display: grid; gap: 8px; width: 240px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 18px 40px -16px rgba(0,0,0,.3); font-size: 12.5px; }
.re-off select { height: 34px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 8px; }
.re-temp { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; background: var(--yellow-50); border: 1px solid #efe08a; }
.re-temp b { display: block; color: var(--ink); } .re-temp span { display: block; margin-top: 4px; font-size: 13.5px; } .re-temp small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.re-temp code { padding: 2px 7px; border-radius: 6px; background: #fff; font-size: 13px; font-weight: 700; color: var(--ink); user-select: all; }

/* reports */
.re-srcs { display: grid; gap: 10px; } .re-srcs > div { display: grid; grid-template-columns: 96px minmax(0, 1fr) 34px; gap: 2px 10px; align-items: center; font-size: 13px; }
.re-srcs .bar { height: 10px; border-radius: 99px; background: var(--soft-2); overflow: hidden; } .re-srcs .bar i { display: block; height: 100%; border-radius: 99px; background: var(--ink); }
.re-srcs b { text-align: right; color: var(--ink); } .re-srcs small { grid-column: 2 / 4; font-size: 11.5px; color: var(--muted); margin-top: -2px; }

/* website editor */
.re-tree { display: grid; } .re-tree-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); } .re-tree-row:last-child { border-bottom: 0; }
.re-tree-row > div:not(.acts) { flex: 1; min-width: 0; } .re-tree-row b { display: block; font-size: 14px; color: var(--ink); } .re-tree-row small { font-size: 12px; color: var(--muted); }
.re-tree-row.sub { padding-left: 44px; background: #fcfcfd; } .re-tree-row.draft b { color: var(--muted); } .re-tree-row.fixed { background: var(--soft); border-radius: 10px; margin: 4px 0; border-bottom: 0; } .re-tree-row.fixed small { flex: 1; }
.re-tree-row .acts { display: flex; gap: 6px; align-items: center; flex: none; } .re-tree-row .acts form { display: contents; }
.re-slug { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; } .re-slug span { padding: 0 8px 0 12px; color: var(--muted); font-size: 13px; } .re-slug input { border: 0 !important; flex: 1; min-width: 0; padding-left: 0 !important; }
.re-gal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; align-items: start; }
.re-albums { display: grid; gap: 6px; } .re-albums a { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.re-albums a.on { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--ink); } .re-albums a.draft { opacity: .6; }
.re-albums .th { flex: none; width: 56px; height: 42px; border-radius: 8px; overflow: hidden; background: var(--soft); } .re-albums .th > * { width: 100%; height: 100%; object-fit: cover; display: block; }
.re-albums b { display: block; font-size: 13.5px; color: var(--ink); } .re-albums small { font-size: 12px; color: var(--muted); }
.re-album-h { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.re-album-h input:not([type=checkbox]), .re-album-h select { height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; } .re-album-h input[name=title] { flex: 1 1 200px; font-weight: 700; }
.re-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.re-media { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.re-media img, .re-media .re-art, .re-media .re-vid { display: block; width: 100%; height: 110px; object-fit: cover; }
.re-media figcaption { padding: 6px 9px; font-size: 12px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--panel); }
.re-media form { position: absolute; top: 6px; right: 6px; opacity: 0; transition: opacity .15s; } .re-media:hover form, .re-media:focus-within form { opacity: 1; }
.re-media.add { display: grid; border-style: dashed; border-width: 2px; background: var(--panel); } .re-media.add label { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 140px; padding: 10px; text-align: center; cursor: pointer; }
.re-media.add b { font-size: 13px; color: var(--ink); } .re-media.add small { font-size: 11px; color: var(--muted); } .re-media.add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; } .re-media.add:hover { border-color: var(--ink); }
.re-media-link { display: block; }
.re-vid { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; background: linear-gradient(135deg, hsl(var(--h, 200) 45% 22%), hsl(calc(var(--h, 200) + 40) 50% 38%)); color: #fff; }
.re-vid .play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink); } .re-vid small { font-size: 11.5px; opacity: .9; }

/* public site: menu, gallery, pages, property photos */
.re-site-sub { position: relative; } .re-site-sub summary { list-style: none; cursor: pointer; } .re-site-sub summary::-webkit-details-marker { display: none; } .re-site-sub summary::after { content: " ▾"; font-size: 11px; color: var(--muted); }
.re-site-sub > div { position: absolute; left: -12px; top: calc(100% + 14px); z-index: 40; display: grid; min-width: 200px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 18px 40px -16px rgba(0,0,0,.3); }
.re-site-sub > div a { padding: 8px 12px; border-radius: 8px; font-weight: 500; } .re-site-sub > div a:hover { background: var(--soft); text-decoration: none !important; }
.re-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--ink); } .re-chips a small { color: var(--muted); font-weight: 500; } .re-chips a.on { background: var(--ink); border-color: var(--ink); color: #fff; } .re-chips a.on small { color: #a9abb2; }
.re-site-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.re-site-gal figure { margin: 0; overflow: hidden; border-radius: 14px; background: var(--soft); } .re-site-gal img, .re-site-gal .re-art, .re-site-gal .re-vid { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.re-site-gal figcaption { padding: 9px 12px; font-size: 13px; color: var(--text); }
.re-pagewrap { max-width: 780px; } .re-page-t { margin: 8px 0 18px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.re-prose { font-size: 16px; line-height: 1.75; } .re-prose p, .re-prose ul { margin: 0 0 16px; } .re-prose ul { padding-left: 22px; list-style: disc; } .re-prose h2 { margin: 26px 0 10px; font-size: 21px; color: var(--ink); }
.re-subpages { display: grid; gap: 10px; margin-top: 26px; } .re-subpages a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.re-subpages a:hover { border-color: var(--ink); } .re-subpages b { color: var(--ink); } .re-subpages small { grid-column: 1; color: var(--muted); font-size: 13px; } .re-subpages .icon { grid-row: 1 / 3; grid-column: 2; }
.re-pd-img img, .re-pd-img .re-vid { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; border-radius: 16px; }
.re-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 10px; } .re-thumbs a { display: block; overflow: hidden; border-radius: 10px; }
.re-thumbs img, .re-thumbs .re-art, .re-thumbs .re-vid { display: block; width: 100%; height: 70px; object-fit: cover; } .re-thumbs .re-vid .play { width: 30px; height: 30px; } .re-thumbs .re-vid small { display: none; }

@media (max-width: 1200px) { .re-week { grid-template-columns: repeat(4, minmax(0, 1fr)); } .re-gal { grid-template-columns: minmax(0, 1fr); } .re-albums { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
@media (max-width: 980px) {
    .re-site-top { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 8px; }
    .re-site-top nav.re-site-nav { display: flex; order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto; scrollbar-width: none; font-size: 13.5px; } .re-site-top nav.re-site-nav::-webkit-scrollbar { display: none; }
    .re-site-sub > div { position: fixed; left: 16px; right: 16px; top: auto; }
    .re-bell-menu { right: -100px; }
}
@media (max-width: 640px) {
    .re-week { grid-template-columns: minmax(0, 1fr); } .re-day { min-height: 0; } .re-day.off { display: none; }
    .re-vrow { flex-wrap: wrap; } .re-vrow .acts { width: 100%; justify-content: flex-end; }
    .re-import-res { grid-template-columns: 1fr; }
    .re-doc-page { padding: 24px 18px; } .re-doc-h { flex-direction: column; } .re-doc-h .r { text-align: left; } .re-doc-sum { grid-template-columns: 1fr; } .re-doc-sign { gap: 24px; } .re-doc-table th { width: 110px; }
    .re-unitstats > div { min-width: calc(50% - 5px); flex: 1 1 calc(50% - 5px); } .re-unitstats .u-val { margin-left: 0; }
    .re-tree-row { flex-wrap: wrap; } .re-tree-row .acts { width: 100%; justify-content: flex-end; } .re-tree-row.sub { padding-left: 24px; }
    .re-album-h input[name=title] { flex-basis: 100%; }
    .re-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .re-bell-menu { position: fixed; left: 12px; right: 12px; top: 60px; width: auto; }
    .re-export .re-me-menu { right: auto; left: 0; }
}
.re .re-doc-line { margin-top: 26px; } .re .re-doc-amount { margin: 12px 0 22px; } .re .re-doc-note { margin-top: 24px; } .re .re-doc-h2 { margin: 26px 0 10px; } .re .re-page-t { margin: 8px 0 18px; } .re .re-prose p, .re .re-prose ul { margin: 0 0 16px; } .re .re-prose ul { padding-left: 22px; list-style: disc; } .re .re-prose h2 { margin: 26px 0 10px; }

/* ================= finance and deeper settings ================= */
.re-field[hidden], .re-card[hidden] { display: none !important; }
.re-mark-img { object-fit: cover; background: #fff; border: 1px solid var(--line); }
.re-lost { display: grid; gap: 6px; padding: 8px 10px; border-top: 1px solid var(--line); margin-top: 4px; } .re-lost label { font-size: 11.5px; color: var(--muted); }
.re-lost select { height: 32px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 12.5px; } .re-lost button { padding: 6px 0 !important; }
.re-void { margin-top: 20px; padding: 10px 14px; border: 2px dashed var(--red); border-radius: 10px; color: var(--red); font-weight: 800; letter-spacing: .04em; text-align: center; }
.re-chips button.on { border-style: solid; border-color: var(--ink); background: var(--ink); color: #fff; }
.re-mini { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; } .re-mini select { height: 32px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 12.5px; max-width: 200px; }
.re-pager { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 12px 0 4px; font-size: 12.5px; color: var(--muted); }
.re-charge td { background: #fcfbf5; } .re-charge td small { display: block; }
.re-danger { border-color: #f1c7c7; } .re-danger summary { color: var(--red); }

/* cheques */
.re-cheque { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); flex-wrap: wrap; } .re-cheque:last-child { border-bottom: 0; }
.re-chq-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--amber-50); color: var(--amber); }
.re-cheque.s-deposited .re-chq-ic { background: var(--blue-50); color: var(--blue); } .re-cheque.s-cleared .re-chq-ic { background: var(--green-50); color: #15803d; } .re-cheque.s-bounced .re-chq-ic { background: var(--red-50); color: var(--red); }
.re-chq-b { flex: 1; min-width: 220px; } .re-chq-b b { display: block; font-size: 13.5px; color: var(--ink); } .re-chq-b small { display: block; font-size: 12px; color: var(--muted); } .re-chq-b small a { color: var(--ink); text-decoration: underline; }
.re-chq-amt { font-size: 15px; color: var(--ink); } .re-chq-acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .re-chq-acts > form { display: contents; } .re-chq-acts .re-mini { display: inline-flex; }
.re-off-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; gap: 8px; width: 240px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 18px 40px -16px rgba(0,0,0,.3); }
.re-off .re-off-pop form { position: static; display: grid; gap: 8px; width: auto; padding: 0; border: 0; box-shadow: none; }

/* accounts */
.re-accts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 16px; }
.re-acct { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-align: left; transition: border-color .15s; }
.re-acct:hover, .re-acct.on { border-color: var(--ink); } .re-acct small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.re-acct b { font-size: 20px; color: var(--ink); letter-spacing: -.02em; } .re-acct span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-acct.t-bank { box-shadow: inset 3px 0 0 var(--blue); } .re-acct.t-cash { box-shadow: inset 3px 0 0 var(--green); } .re-acct.t-mobile { box-shadow: inset 3px 0 0 #e2136e; }
.re-acct.add { place-items: center; align-content: center; border-style: dashed; color: var(--muted); cursor: pointer; font: inherit; } .re-acct.add span { font-size: 13px; }

/* cash flow */
.re-flow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; align-items: end; height: 200px; }
.re-flow-m { display: grid; grid-template-rows: 1fr auto auto; gap: 4px; height: 100%; text-align: center; }
.re-flow-m .pair { display: flex; gap: 3px; align-items: end; } .re-flow-m .pair i { flex: 1; border-radius: 5px 5px 2px 2px; } .re-flow-m i.in { background: var(--green); } .re-flow-m i.out { background: #f1b4b4; }
.re-flow-m .m { font-size: 12px; color: var(--muted); } .re-flow-m small { font-size: 10.5px; font-weight: 700; color: #15803d; white-space: nowrap; } .re-flow-m small.neg { color: var(--red); }
.re-flow-m.now .m { color: var(--ink); font-weight: 800; }

/* settings */
.re-set-tabs { margin-bottom: 18px; }
.re-stage-list { display: grid; gap: 6px; } .re-stage-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 9px; background: var(--soft); }
.re-stage-row input:not([type=checkbox]) { flex: 1; height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 13px; }
.re-radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.re-radio-cards label { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line-2); border-radius: 11px; cursor: pointer; } .re-radio-cards label:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.re-radio-cards input { margin-top: 3px; accent-color: var(--ink); } .re-radio-cards b { display: block; font-size: 13px; color: var(--ink); } .re-radio-cards small { font-size: 12px; color: var(--muted); }
.re-map-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; font-size: 13px; } .re-map-row select { height: 32px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 12.5px; max-width: 150px; }
.re-edit-table td { padding: 5px 6px; } .re-edit-table input, .re-edit-table select { width: 100%; height: 34px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; background: #fff; }
.re-edit-table td:not(:first-child) input { max-width: 110px; }
.re-tpls { display: grid; gap: 10px; } .re-tpl { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 8px; align-items: start; }
.re-tpl input, .re-tpl textarea { padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 9px; font-size: 13px; line-height: 1.5; } .re-tpl input { font-weight: 700; height: 38px; } .re-tpl textarea { resize: vertical; min-height: 58px; }
.re-ph { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); } .re-ph code { padding: 1px 6px; border-radius: 5px; background: var(--soft-2); color: var(--ink); font-size: 12px; }
.re-brand-prev { padding: 18px; border-radius: 12px; background: var(--soft); } .re-brand-prev .re-meter { margin-top: 16px; }
.re-days { display: flex; gap: 6px; flex-wrap: wrap; } .re-days label { cursor: pointer; } .re-days input { position: absolute; opacity: 0; pointer-events: none; }
.re-days span { display: grid; place-items: center; width: 54px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.re-days input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; } .re-days input:focus-visible + span { outline: 2px solid var(--blue); }
.re-audit { display: grid; } .re-audit li { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1px solid var(--line); font-size: 13px; } .re-audit li:last-child { border-bottom: 0; }
.re-audit li > div { flex: 1; min-width: 0; } .re-audit b { color: var(--ink); } .re-audit small { display: block; font-size: 12px; color: var(--muted); } .re-audit time { flex: none; font-size: 12px; color: var(--muted); }
.re-alert-prefs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
@media (max-width: 980px) { .re-flow { gap: 4px; } .re-flow-m small { display: none; } }
@media (max-width: 640px) {
    .re-radio-cards { grid-template-columns: 1fr; } .re-tpl { grid-template-columns: 1fr; } .re-flow { height: 150px; }
    .re-cheque { align-items: flex-start; } .re-chq-acts { width: 100%; justify-content: flex-end; }
    .re-audit li { flex-wrap: wrap; } .re-audit time { width: 100%; padding-left: 38px; }
    .re-edit-table { min-width: 460px; } .re-docstats[style] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
.re-btn:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; transform: none; }
.re-table td.num, .re-table td.num b { white-space: nowrap; }
