:root {
  --radius: 18px;
  --accent: #ffffff;
  --accent-deep: #e2e2e2;
  --amber: #f2f2f2;
  --green: #3ddc84;
  --black: #000;
  --bg: #121212;
  --card: #1b1b1b;
  --tile: #262626;
  --line: #2c2c2c;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --nav-h: 64px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("../assets/fonts/inter-latin-800-normal.woff2") format("woff2"); }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  line-height: 1.4;
  min-height: 100dvh;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 100; background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.splash.hide { opacity: 0; visibility: hidden; }
.splash-logo { width: 96px; height: 96px; animation: pop .9s cubic-bezier(.2,.9,.3,1.2) both; }
.splash-by {
  position: absolute; bottom: calc(44px + env(safe-area-inset-bottom));
  text-align: center; animation: fade 1s .4s ease both;
}
.splash-by small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.splash-by strong { letter-spacing: .14em; font-size: 17px; font-weight: 800; text-transform: uppercase; }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Shell ---------- */
.screen { display: none; padding-bottom: calc(var(--nav-h) + 24px + env(safe-area-inset-bottom)); }
.screen.active { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 14px; }

.topbar {
  position: sticky; top: 0; z-index: 20; background: var(--bg);
  padding: 12px 0 8px;
}
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand-logo { height: 28px; width: auto; }
.btn-pro {
  background: var(--accent); color: #000; font-weight: 800; font-size: 13.5px;
  padding: 10px 16px; border-radius: 13px; white-space: nowrap;
  transition: transform .15s ease, background .15s ease;
}
.btn-pro:active { transform: scale(.96); }
.btn-pro:hover { background: var(--accent-deep); }

.search {
  margin-top: 12px; display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; height: 46px;
}
.search svg { flex: none; color: var(--muted); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font-size: 15px; }
.search:focus-within { border-color: #7a7a7a; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--card); border: 1px solid var(--line); color: var(--text);
}
.chip.on { background: #fff; color: #000; border-color: #fff; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 12px; padding-top: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 6px 6px 10px;
  cursor: pointer; transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: #444; }
.cover {
  height: 112px; border-radius: 15px; background-size: cover; background-position: center;
  background-color: #222;
}
.cover.ph {
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,0) 55%),
    repeating-linear-gradient(45deg, #1f1f1f 0 14px, #232323 14px 28px);
  display: grid; place-items: center;
}
.cover.ph img { width: 40px; opacity: .35; }
.avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: -36px auto 0; position: relative;
  background: #e9e9e9 center/cover; border: 4px solid var(--card); box-shadow: 0 0 0 1px var(--line);
  display: grid; place-items: center; color: #222; font-weight: 800; font-size: 24px; overflow: hidden;
}
.avatar.initials { background: #ececec; color: #111; }
.card-body { padding: 10px 12px 2px; text-align: center; }
.card h3 { margin: 0 0 4px; font-size: 16px; letter-spacing: .02em; text-transform: uppercase; font-weight: 800; }
.card .desc { margin: 0 0 10px; color: var(--muted); font-size: 13px; min-height: 36px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--amber); font-weight: 700; font-size: 12.5px; margin: 4px 0; }
.meta.loc { color: #cfcfcf; }
.meta svg { flex: none; width: 15px; height: 15px; }
.meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 4px 0; }
.stat { background: var(--tile); border-radius: 13px; padding: 10px 6px; text-align: center; }
.stat b { display: block; font-size: 19px; line-height: 1.15; font-weight: 800; }
.stat small { color: var(--muted); font-size: 12px; font-weight: 600; }
.badge-v { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #000; background: var(--accent); border-radius: 999px; padding: 2px 8px; vertical-align: middle; margin-left: 6px; text-transform: none; letter-spacing: 0; }

.state { text-align: center; padding: 64px 24px; color: var(--muted); }
.state b { display: block; color: var(--text); font-size: 18px; margin-bottom: 6px; }
.skel { height: 300px; border-radius: 20px; background: linear-gradient(90deg, #1b1b1b 25%, #232323 37%, #1b1b1b 63%); background-size: 400% 100%; animation: sh 1.4s infinite; }
@keyframes sh { 0% { background-position: 100% 0 } 100% { background-position: 0 0 } }

/* ---------- Chats / Profile guest states ---------- */
.page-title { font-size: 26px; font-weight: 800; margin: 0; padding: 20px 0 0; }
.page-title.center { text-align: center; font-size: 16px; padding: 18px 0 0; font-weight: 700; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 24px 0; }
.empty svg { margin-bottom: 20px; }
.empty h2 { margin: 0 0 6px; font-size: 18px; }
.empty p { margin: 0 0 20px; color: var(--muted); font-size: 14px; max-width: 300px; }
.btn-light { background: #ececec; color: #111; font-weight: 800; font-size: 15.5px; padding: 12px 36px; border-radius: 999px; }
.btn-light:active { transform: scale(.97); }

.guest-avatar { width: 92px; height: 92px; border-radius: 50%; background: #2a2a2a; display: grid; place-items: center; margin: 0 auto; color: #cfcfcf; }
.profile-wrap { min-height: calc(100dvh - var(--nav-h) - 100px); display: flex; flex-direction: column; justify-content: center; gap: 10px; max-width: 460px; margin: 0 auto; padding: 0 16px; }
.opt { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; transition: border-color .15s; }
.opt:hover { border-color: #666; }
.opt .ic { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #2a2a2a; display: grid; place-items: center; color: #e8e8e8; }
.opt b { display: block; font-size: 14.5px; }
.opt small { color: var(--muted); font-size: 12.5px; }
.opt .chev { margin-left: auto; color: var(--muted); }
.legal { text-align: center; color: var(--muted); font-size: 12px; margin-top: 14px; }

/* ---------- Bottom nav ---------- */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: #151515; border-top: 1px solid var(--line);
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
}
.nav-in { max-width: 420px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #9a9a9a; font-size: 11.5px; font-weight: 600; padding: 4px 0; }
.nav button svg { width: 24px; height: 24px; }
.nav button.on { color: #fff; }
.nav button.on svg { color: #fff; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px); transform: translateX(-50%) translateY(20px);
  background: #fff; color: #111; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 14px;
  opacity: 0; pointer-events: none; transition: .25s; z-index: 60; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- Member UI ---------- */
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; background: #262626; display: grid; place-items: center; flex: none; }
.icon-btn .dot { position: absolute; top: 10px; right: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.banner { display: flex; align-items: center; gap: 12px; background: #2b2410; border: 1px solid #5b4b12; border-radius: 16px; padding: 11px 12px; margin-top: 8px; flex-wrap: nowrap; }
.banner .b-ic { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); color: var(--amber); display: grid; place-items: center; flex: none; }
.banner .b-txt { flex: 1; min-width: 0; }
.banner p { margin: 0 0 2px; font-size: 12.5px; color: #f3e9c0; line-height: 1.35; }
.banner b { color: var(--amber); font-size: 12.5px; }
.banner .b-btn { background: #1a1a1a; color: #fff; font-weight: 700; font-size: 12.5px; padding: 9px 12px; border-radius: 10px; margin-left: auto; white-space: nowrap; }

.screen.sub { padding-bottom: 40px; }
.wrap.narrow { max-width: 520px; }
.sub-head { position: sticky; top: 0; z-index: 10; background: var(--bg); display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; padding: 12px 0 10px; }
.sub-head h1, .sub-head h2 { margin: 0; font-size: 16px; text-align: center; font-weight: 600; }

.ck-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.ck-top { display: flex; align-items: center; gap: 12px; }
.ck-top h2 { margin: 0; font-size: 16px; flex: 1; font-weight: 600; }
.ck-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.chip-s { background: #2d2d2d; color: #ccc; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; }
.ck-prog { display: flex; justify-content: space-between; color: #ddd; font-size: 12.5px; margin-bottom: 8px; }
.bar { height: 6px; background: #2d2d2d; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--amber); border-radius: 99px; transition: width .4s; }
.ic.warn { background: rgba(255,255,255,.14); color: var(--amber); }
.ic.ok { background: rgba(61,220,132,.14); color: #3ddc84; }
.ck-item, .f-row, .acc-row, .acc-card { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--card); border-radius: 15px; padding: 11px 12px; margin-bottom: 8px; }
.ck-item .ic, .f-row .ic, .acc-card .ic, .acc-row .ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #2a2a2a; color: #d6d6d6; }
.tx { flex: 1; min-width: 0; }
.tx b { display: block; font-size: 14px; font-weight: 600; }
.tx small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.chev { color: #8a8a8a; flex: none; }
.st { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; flex: none; }
.st.ok { background: rgba(61,220,132,.15); color: #3ddc84; }
.st.warn { background: rgba(255,255,255,.14); color: var(--amber); }

/* account */
.acc-head { display: flex; align-items: center; justify-content: center; position: relative; padding: 14px 0 4px; min-height: 56px; }
.acc-head h1, .acc-head h2 { margin: 0; font-size: 16px; font-weight: 600; }
.acc-head .icon-btn { position: absolute; right: 0; top: 8px; }
.acc-id { text-align: center; padding: 4px 0 14px; }
.acc-avatar { width: 84px; height: 84px; border-radius: 50%; margin: 4px auto 10px; background: #2f2f2f center/cover; display: grid; place-items: center; font-size: 32px; font-weight: 600; }
.acc-id h2 { margin: 0; font-size: 21px; font-weight: 600; }
.acc-id p { margin: 3px 0 10px; color: var(--muted); font-size: 13.5px; }
.tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tags span { background: #2d2d2d; color: #ddd; font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.acc-card.check { border: 1px solid var(--line); margin-top: 6px; }
.pill-n { background: rgba(255,255,255,.16); color: var(--amber); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.acc-group { background: var(--card); border-radius: 16px; padding: 4px 0; margin: 10px 0; }
.acc-group .acc-row { background: none; border-radius: 0; margin: 0; padding: 11px 14px; }
.acc-group .acc-row + .acc-row { border-top: 1px solid var(--line); }
.acc-row.danger b { color: #ff7a6b; } .acc-row.danger .ic { background: none; color: #ff7a6b; }

/* filters */
.f-row.off { opacity: .55; }
.f-foot { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; padding: 18px 0 calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); margin-top: 24px; }
.btn-dark { height: 48px; border-radius: 999px; background: transparent; border: 1.5px solid #333; font-weight: 700; font-size: 15px; }
.f-foot .btn-light { height: 48px; border-radius: 999px; padding: 0; font-size: 15px; }
.pk { display: block; width: 100%; text-align: left; background: var(--card); border: 1.5px solid transparent; border-radius: 14px; padding: 13px 14px; margin-bottom: 8px; font-size: 14.5px; }
.pk small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.pk.on { border-color: #fff; background: rgba(255,255,255,.07); }
[hidden] { display: none !important; }

.f-foot > * { min-width: 0; }
.ck-top .ic { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
@media (max-width: 440px) {
  .banner { flex-wrap: wrap; }
  .banner .b-txt { flex-basis: calc(100% - 50px); }
  .banner .b-btn { margin-left: 46px; }
}

/* state colours must beat the generic row icon colour above */
.ck-item .ic.warn, .acc-card .ic.warn { background: rgba(255,255,255,.14); color: var(--amber); }
.ck-item .ic.ok { background: rgba(61,220,132,.14); color: var(--green); }

/* ---------- Role navigation ---------- */
.nav button .ni { position: relative; display: grid; place-items: center; }
.nbadge { position: absolute; top: -5px; right: -9px; background: #fff; color: #000; font-size: 10px; font-weight: 800; line-height: 1; border-radius: 99px; padding: 3px 5px; min-width: 16px; text-align: center; font-style: normal; }
.nbadge.st { position: static; display: inline-block; margin-left: 6px; }
.sidebar { display: none; }
@media (min-width: 1024px) {
  body.has-side .sidebar { display: flex; position: fixed; left: 0; top: 0; bottom: 0; width: 244px; flex-direction: column; gap: 2px; padding: 18px 12px 14px; background: #0c0c0c; border-right: 1px solid var(--line); z-index: 40; overflow-y: auto; }
  body.has-side .nav { display: none; }
  body.has-side .screen { padding-left: 244px; padding-bottom: 48px; }
  body.has-side .toast { left: calc(50% + 122px); bottom: 28px; }
  body.has-side .splash { padding-left: 0; }
}
@media (max-width: 1023px) { .sidebar { display: none !important; } }
.sidebar .s-logo { height: 26px; width: auto; margin: 4px 8px 18px; align-self: flex-start; }
.sidebar button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: #a8a8a8; font-weight: 600; font-size: 13.5px; text-align: left; width: 100%; }
.sidebar button:hover { background: #181818; color: #ddd; }
.sidebar button.on { background: #232323; color: #fff; }
.sidebar hr { border: 0; border-top: 1px solid var(--line); margin: 10px 4px; width: calc(100% - 8px); }
.sidebar .nbadge { position: static; margin-left: auto; }
.s-acct { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 12px 8px 2px; border-top: 1px solid var(--line); }
.s-av { width: 34px; height: 34px; border-radius: 50%; background: #ececec; color: #111; display: grid; place-items: center; font-weight: 800; font-size: 12px; flex: none; }
.s-tx b { display: block; font-size: 13px; } .s-tx small { color: var(--muted); font-size: 11.5px; }

/* ---------- Dashboards ---------- */
#dashBody { max-width: 760px; margin: 0 auto; padding-bottom: 24px; }
.d-hero { padding: 18px 0 12px; }
.d-hero h1 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.d-hero p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.d-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 0 10px; }
.d-head h1 { margin: 0; font-size: 21px; font-weight: 700; }
.d-head .sub { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.sub2 { color: var(--muted); font-size: 13.5px; margin: -4px 0 10px; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #2d2d2d; color: #cfcfcf; white-space: nowrap; }
.pill.ok { background: rgba(61,220,132,.15); color: var(--green); } .pill.warn { background: rgba(255,255,255,.15); color: var(--amber); }
.dstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 12px; }
.dstat { background: var(--tile); border-radius: 13px; padding: 12px 6px; text-align: center; }
.dstat b { display: block; font-size: 21px; font-weight: 800; line-height: 1.15; } .dstat small { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.sec { font-size: 11.5px; color: #9a9a9a; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 16px 2px 8px; }
.dcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px; margin-bottom: 12px; }
.dcard h4 { margin: 0 0 9px; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; }
.amb { color: var(--amber); font-size: 12px; font-weight: 700; }
.cap2 { color: var(--muted); font-size: 12.5px; margin-top: 7px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { display: flex; gap: 10px; align-items: center; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 15px; padding: 12px; transition: border-color .15s, transform .12s; }
.tile:hover { border-color: #4a4a4a; } .tile:active { transform: scale(.98); }
.tile .ic, .row .ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #2a2a2a; display: grid; place-items: center; color: #e4e4e4; }
.tile b { display: block; font-size: 13px; font-weight: 600; line-height: 1.2; } .tile small { color: var(--muted); font-size: 11.5px; }
.row { display: flex; gap: 11px; align-items: center; width: 100%; text-align: left; background: var(--card); border-radius: 14px; padding: 11px 12px; margin-bottom: 8px; }
.row .tx { flex: 1; min-width: 0; } .row b { display: block; font-size: 13.5px; font-weight: 600; } .row small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.row .bar { margin-top: 8px; }
.row .amt, .amt { font-weight: 700; font-size: 13px; white-space: nowrap; }
.meta2 { color: var(--muted); font-size: 11.5px; text-align: right; white-space: nowrap; }
.row .av { width: 38px; height: 38px; border-radius: 50%; background: #ececec; color: #111; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.segs { display: flex; gap: 8px; overflow-x: auto; margin: 4px 0 12px; scrollbar-width: none; }
.segs::-webkit-scrollbar { display: none; }
.segs button { flex: none; padding: 8px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.segs button.on { background: #fff; color: #000; border-color: #fff; }
.d-empty { text-align: center; padding: 34px 20px; color: var(--muted); }
.d-empty svg { color: #6d6d6d; margin-bottom: 10px; }
.d-empty h3 { margin: 0 0 6px; color: var(--text); font-size: 16px; } .d-empty p { margin: 0 auto 14px; max-width: 340px; font-size: 13.5px; }
.btn-light.sm { padding: 9px 18px; font-size: 13px; border-radius: 999px; }
.job { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 13px 14px; margin-bottom: 10px; }
.job-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.job-top b { font-size: 14.5px; } .rate { font-weight: 800; font-size: 14px; white-space: nowrap; } .rate small { color: var(--muted); font-weight: 600; font-size: 11px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: var(--muted); font-size: 12px; margin: 8px 0 4px; }
.job-meta svg { vertical-align: -2px; }
.job p { margin: 6px 0 0; color: #bdbdbd; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-act { margin-top: 10px; display: flex; justify-content: flex-end; }
.wallet { background: linear-gradient(160deg, #222, #161616); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-bottom: 8px; }
.wallet > small { color: var(--muted); font-size: 12.5px; font-weight: 600; } .wallet > b { display: block; font-size: 30px; font-weight: 800; margin: 2px 0 10px; letter-spacing: -.01em; }
.w-sub { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12.5px; margin-top: 12px; } .w-sub b { color: var(--text); font-size: 12.5px; }
.w-act { display: flex; gap: 8px; margin-top: 14px; }
.note { color: var(--muted); font-size: 12.5px; margin: 6px 2px; }
.add-task { display: flex; gap: 8px; margin-bottom: 10px; }
.add-task input { flex: 1; min-width: 0; height: 40px; border-radius: 12px; background: var(--card); border: 1.5px solid var(--line); color: var(--text); padding: 0 14px; font-size: 14px; outline: 0; }
.add-task input:focus { border-color: #7a7a7a; }
.proj-pick { width: 100%; height: 42px; border-radius: 12px; background: var(--card); color: var(--text); border: 1.5px solid var(--line); padding: 0 12px; font-size: 14px; margin-bottom: 10px; }
.list { padding-top: 10px; }
.search.slim { margin: 4px 0 12px; height: 44px; border-radius: 13px; }
#dashBody .banner { margin: 8px 0 4px; }

/* ---------- Project workspace (Phase 1) ---------- */
.code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; letter-spacing: .04em; color: #cfcfcf; background: #262626; border-radius: 6px; padding: 2px 6px; }
.code-chip { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px; letter-spacing: .05em; color: #e9e9e9; background: #262626; border: 1px solid #333; border-radius: 8px; padding: 3px 8px; margin-right: 6px; cursor: copy; }
.code-chip:hover { border-color: #666; }
.d-head .sub { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.chip-s { display: inline-block; background: #262626; color: #d8d8d8; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.chip-s.warn { background: rgba(255,255,255,.14); color: var(--amber); }
.chips-s { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-top: 1px solid #262626; font-size: 13px; }
.kv:first-of-type { border-top: 0; }
.kv span { color: var(--muted); flex: none; } .kv b { font-weight: 600; text-align: right; }
.wrap-t { white-space: pre-wrap; word-break: break-word; }
.body-t { margin: 0 0 8px; color: #cfcfcf; font-size: 13.5px; line-height: 1.5; }
.req { margin-top: 10px; background: #202020; border-radius: 12px; padding: 10px 12px; }
.req small { color: var(--muted); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; } .req p { margin: 4px 0 0; font-size: 13.5px; color: #dcdcdc; white-space: pre-wrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .btn-row.top { margin: 4px 0 12px; }
.btn-dark { background: #232323; border: 1px solid #343434; color: #f1f1f1; font-weight: 700; border-radius: 999px; padding: 12px 20px; font-size: 14px; }
.btn-dark.sm { padding: 9px 16px; font-size: 13px; } .btn-dark.xs, .btn-light.xs { padding: 6px 12px; font-size: 12px; border-radius: 999px; }
.btn-dark.wide, .btn-primary.wide, .btn-light.wide { width: 100%; margin-top: 8px; }
.btn-primary { background: #fff; color: #000; font-weight: 800; border-radius: 999px; height: 48px; font-size: 15px; }
.btn-primary:disabled { opacity: .5; }
.btn-light svg { vertical-align: -3px; margin-right: 2px; }
.done-banner { display: flex; align-items: center; gap: 8px; background: rgba(61,220,132,.12); color: var(--green); border-radius: 14px; padding: 12px 14px; margin: 12px 0; font-size: 13.5px; }
.warn-card { border-color: #5b4b12; background: #231d0c; }
.inv-card { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin: 4px 0 12px; }
.inv-card.warn { background: #231d0c; border-color: #5b4b12; }
.inv-card .ic { width: 38px; height: 38px; border-radius: 50%; background: #2a2a2a; display: grid; place-items: center; color: #eee; flex: none; }
.inv-card b { display: block; font-size: 14px; } .inv-card small { color: var(--muted); font-size: 12px; }
.row.note .tx small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dot-u { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.who { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .who > span:nth-child(2) { flex: 1; min-width: 0; } .who b { display: block; font-size: 14px; } .who small { color: var(--muted); font-size: 12px; }
.av { width: 38px; height: 38px; border-radius: 50%; background: #ececec center/cover; color: #111; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.av.sq { border-radius: 11px; background: #2a2a2a; color: #eee; }
.row.mem, .row.fr, .row.task, .row.upd { flex-wrap: wrap; }
.row .ic.ok { background: rgba(61,220,132,.14); color: var(--green); }
.row .inl { display: flex; gap: 6px; width: 100%; padding-left: 45px; }
.ico-btn { width: 30px; height: 30px; border-radius: 50%; background: #262626; display: grid; place-items: center; color: #bbb; flex: none; } .ico-btn svg { transform: rotate(45deg); }
.late { color: #ff7a6b; font-weight: 600; }
.pill.bad { background: rgba(255,122,107,.14); color: #ff8e80; }
.pj { color: var(--muted); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; display: block; margin: 2px 2px 6px; }
.pad { padding: 8px 2px 12px; }
.segs.two { margin: 0 0 10px; } .segs.two button { flex: 1; }
.lock { display: flex; align-items: center; gap: 6px; color: #b9b9b9; }
.stars { display: flex; gap: 4px; margin: 6px 0 10px; } .stars button { color: #555; padding: 2px; } .stars button.on { color: var(--amber); } .stars button.on svg { fill: currentColor; }
.rev textarea { margin-bottom: 8px; }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; } .thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid #333; }
.fin { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 10px 0 8px; }
.fin-t { background: var(--tile); border-radius: 14px; padding: 12px; } .fin-t small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; margin-bottom: 4px; } .fin-t b { font-size: 16px; font-weight: 800; } .fin-t.neg b { color: #ff8e80; }
.tl { padding: 4px 0 4px 6px; } .tl-i { display: flex; gap: 12px; padding: 8px 0; position: relative; } .tl-i i { width: 9px; height: 9px; border-radius: 50%; background: #666; margin-top: 5px; flex: none; box-shadow: 0 0 0 3px #1a1a1a; }
.tl-i::before { content: ""; position: absolute; left: 4px; top: 18px; bottom: -8px; width: 1px; background: #2c2c2c; } .tl-i:last-child::before { display: none; }
.tl-i b { display: block; font-size: 13px; font-weight: 600; } .tl-i small { color: var(--muted); font-size: 11.5px; }
.blk { padding-left: 18px; color: #dcdcdc; font-size: 14px; line-height: 1.8; }
.sub2 { color: var(--muted); font-size: 13px; margin: -4px 0 10px; }

/* forms */
.pform { padding-bottom: 20px; } .fs { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 12px; }
.fs h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #a8a8a8; font-weight: 700; }
.fl { display: block; margin-bottom: 12px; } .fl > span { display: block; font-size: 12.5px; font-weight: 600; color: #cfcfcf; margin-bottom: 6px; } .fl small, .hint { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.in { width: 100%; background: #141414; border: 1.5px solid #2e2e2e; border-radius: 12px; color: var(--text); font-size: 15px; padding: 11px 13px; outline: 0; font-family: inherit; }
.in:focus { border-color: #8a8a8a; } select.in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.ta { resize: vertical; min-height: 70px; } .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sw { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; } .sw input { width: 20px; height: 20px; accent-color: #fff; }
.opt-cards { display: grid; gap: 8px; } .oc { display: flex; gap: 10px; align-items: flex-start; background: #141414; border: 1.5px solid #2e2e2e; border-radius: 14px; padding: 12px; cursor: pointer; } .oc:has(input:checked) { border-color: #fff; background: rgba(255,255,255,.06); }
.oc input { margin-top: 3px; accent-color: #fff; } .oc b { display: block; font-size: 14px; } .oc small { color: var(--muted); font-size: 12px; }
.sugg { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; } .sugg button { text-align: left; background: #202020; border-radius: 10px; padding: 9px 12px; font-size: 13.5px; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.need { display: inline-flex; align-items: center; gap: 8px; background: #262626; border-radius: 99px; padding: 5px 6px 5px 12px; font-size: 13px; } .need i { font-style: normal; font-weight: 800; min-width: 14px; text-align: center; }
.need button { width: 24px; height: 24px; border-radius: 50%; background: #333; font-weight: 800; } .need .x { background: none; color: #999; }
.flags { display: grid; gap: 8px; } .ck { display: flex; align-items: center; gap: 8px; font-size: 13.5px; } .ck input { accent-color: #fff; width: 18px; height: 18px; }
.inv-who { background: #141414; border-radius: 14px; padding: 10px; }

/* bottom sheet */
.sx-bg { position: fixed; inset: 0; background: rgba(0,0,0,.62); z-index: 90; animation: fadeIn .2s ease both; }
.sx { position: fixed; left: 0; right: 0; bottom: 0; z-index: 91; background: #1a1a1a; border-radius: 24px 24px 0 0; max-height: 90dvh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; animation: slideUp .25s ease both; border: 1px solid #2c2c2c; border-bottom: 0; }
.sx-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 8px; } .sx-h b { font-size: 16px; }
.sx-x { width: 34px; height: 34px; border-radius: 50%; background: #262626; display: grid; place-items: center; } .sx-x svg { transform: rotate(45deg); }
.sx-b { padding: 6px 18px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; }
body.sx-open { overflow: hidden; }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 1024px) { body.has-side .sx { left: 244px; } }

/* polish */
.two-col > * { min-width: 0; } input[type="date"].in { min-width: 0; width: 100%; -webkit-appearance: none; appearance: none; min-height: 44px; }
.ws-tabs .segs { gap: 6px; } .ws-tabs .segs button { padding: 7px 11px; font-size: 12.5px; }
@media (max-width: 420px) { .ws-tabs .segs button { padding: 7px 9px; } }
.done-t { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 13px; font-weight: 600; }

/* ---------- Phase 2: organizations ---------- */
.org-card { width: 100%; text-align: left; display: block; } .org-card .who { margin: 0; }
.org-sw { margin: 0 0 10px; }
.sec-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 8px; } .sec-row .sec { margin: 0; }
.inline-f { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; } .inline-f .in { flex: 1; min-width: 0; }
.acc-line { display: flex; flex-direction: column; gap: 6px; padding: 9px 0; border-top: 1px solid #262626; } .acc-line:first-child { border-top: 0; }
.acc-line b { font-size: 13px; font-weight: 600; } .acc-line small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.acs { display: flex; flex-wrap: wrap; gap: 5px; }
.ac { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 99px; background: #262626; color: #ddd; text-transform: lowercase; }
.rl summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; } .rl summary::-webkit-details-marker { display: none; }
.rl summary > span:first-child { flex: 1; min-width: 0; } .rl summary b { display: block; font-size: 14px; } .rl summary small { display: block; color: var(--muted); font-size: 12px; }
.rl[open] summary { margin-bottom: 8px; }
.pill.bad { background: rgba(255,255,255,.08); color: #9a9a9a; text-decoration: line-through; }
.btn-dark.danger { border-color: #4a2a2a; color: #e6a3a3; }
.qr { display: grid; place-items: center; background: #fff; border-radius: 12px; padding: 10px; margin: 10px auto; width: 190px; } .qr img { width: 170px; height: 170px; }

/* ---------- billing ---------- */
.bi { margin: 4px 0 12px; } .bi button { flex: 1; }
.plan .pr { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 8px; } .plan .pr b { font-size: 26px; font-weight: 800; letter-spacing: -.01em; } .plan .pr small { color: var(--muted); font-size: 13px; } .plan .pr s { color: var(--muted); font-size: 13px; margin-left: 4px; }
.plan.cur { border-color: #3a3a3a; } .plan h4 { margin-bottom: 6px; }
.caps { margin: 0 0 12px; padding-left: 18px; color: #cfcfcf; font-size: 13px; } .caps li { margin: 3px 0; }
.fnd { display: flex; gap: 8px; align-items: flex-start; color: var(--amber); margin: 0 4px 12px; line-height: 1.45; }
.warnt { color: var(--amber); }
.amb { color: var(--amber); font-weight: 700; font-size: 13px; }
.dcard .btn-dark.sm, .dcard .btn-light.sm { margin-top: 10px; }

/* ---------- profile features, chat, wallet requests ---------- */
.doc { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #262626; } .doc:first-child { border-top: 0; }
.doc .tx { flex: 1; min-width: 0; } .doc b { display: block; font-size: 13.5px; font-weight: 600; } .doc small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.filebtn { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.btn-dark.sm, .btn-light.sm { height: auto; padding: 9px 16px; font-size: 13px; }
.photo-row { display: flex; align-items: center; gap: 14px; }
.av.lg { width: 64px; height: 64px; border-radius: 50%; background: #ececec center/cover; color: #111; display: grid; place-items: center; font-weight: 800; font-size: 20px; flex: none; }
.pv { text-align: center; padding: 6px 0 4px; } .pv .av.lg { margin: 0 auto 10px; width: 76px; height: 76px; } .pv h3 { margin: 4px 0; font-size: 18px; } .pv p { margin: 8px 0 0; color: #cfcfcf; font-size: 14px; line-height: 1.5; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; } .pph { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #222; } .pph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdel { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; display: grid; place-items: center; transform: rotate(45deg); }
.codebig { font-size: 30px; font-weight: 800; letter-spacing: .18em; text-align: center; padding: 14px; background: #101010; border: 1px dashed #444; border-radius: 12px; margin: 10px 0; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 4px 0 10px; border-bottom: 1px solid #262626; margin-bottom: 8px; } .chat-head .tx { flex: 1; min-width: 0; } .chat-head b { display: block; font-size: 15px; } .chat-head small { color: var(--muted); font-size: 12px; }
.msg-list { display: flex; flex-direction: column; gap: 6px; max-height: calc(100vh - 250px); min-height: calc(100vh - 330px); overflow-y: auto; padding: 6px 0 10px; }
.bub { align-self: flex-start; max-width: 80%; background: #232323; border-radius: 16px 16px 16px 4px; padding: 9px 12px; } .bub.me { align-self: flex-end; background: #ececec; color: #111; border-radius: 16px 16px 4px 16px; }
.bub p { margin: 0; font-size: 14px; line-height: 1.4; white-space: pre-wrap; word-break: break-word; } .bub small { display: block; font-size: 10.5px; opacity: .55; margin-top: 3px; text-align: right; }
.msg-form { display: flex; gap: 8px; position: sticky; bottom: 78px; background: var(--bg); padding: 8px 0; } .msg-form .in { flex: 1; min-width: 0; }
@media (min-width: 1024px) { .msg-form { bottom: 0; } .msg-list { max-height: calc(100vh - 220px); } }
.badge { background: #fff; color: #000; font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 99px; display: inline-grid; place-items: center; padding: 0 6px; }

/* ---------- Messaging (chat.js) ---------- */
.cover-prev { height: 120px; border-radius: 14px; background: #1c1c1c center/cover; display: grid; place-items: center; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.chat-wrap { display: flex; flex-direction: column; height: calc(100dvh - 24px); max-height: 100dvh; position: relative; }
.msg-area { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 6px 2px 10px; overscroll-behavior: contain; }
.chat-head .icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 0; color: inherit; cursor: pointer; flex: none; }
.chat-head .icon-btn:hover { background: #222; }
.chat-head small { display: flex; align-items: center; gap: 4px; }
.cb { align-self: flex-start; max-width: 82%; background: #232323; border-radius: 16px 16px 16px 4px; padding: 7px 10px 5px; position: relative; animation: cbIn .14s ease-out; }
.cb.me { align-self: flex-end; background: #ececec; color: #111; border-radius: 16px 16px 4px 16px; }
.cb.failed { outline: 1px solid #e25555; cursor: pointer; }
.cb p { margin: 0; font-size: 14.5px; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
.cb .mt { display: flex; justify-content: flex-end; gap: 4px; font-size: 10.5px; opacity: .6; margin-top: 2px; }
.tk { font-style: normal; font-size: 10.5px; } .tk.rd { color: #2f9bff; opacity: 1; } .tk.bad { color: #e25555; font-weight: 800; }
.lockedm { display: flex; align-items: center; gap: 6px; opacity: .7; font-style: italic; }
.sysmsg { align-self: center; font-size: 12px; color: var(--muted); background: #1a1a1a; padding: 5px 12px; border-radius: 99px; margin: 6px 0; }
.dsep { align-self: center; margin: 10px 0 4px; } .dsep span { font-size: 11.5px; color: var(--muted); background: #1a1a1a; padding: 3px 11px; border-radius: 99px; }
.older { align-self: center; background: #1a1a1a; border: 0; color: var(--muted); padding: 6px 14px; border-radius: 99px; font-size: 12px; cursor: pointer; margin-bottom: 6px; }
.newpill { position: absolute; bottom: 74px; left: 50%; transform: translateX(-50%); background: #fff; color: #000; border: 0; padding: 7px 14px; border-radius: 99px; font-size: 12.5px; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.4); cursor: pointer; z-index: 3; }
.att { margin-bottom: 4px; } .att.img img, .att.vid video { display: block; max-width: 100%; max-height: 300px; border-radius: 11px; cursor: zoom-in; }
.att .ph { display: grid; place-items: center; width: 200px; height: 130px; background: rgba(128,128,128,.18); border-radius: 11px; font-size: 12px; opacity: .7; }
.att.file { display: flex; gap: 10px; align-items: center; background: rgba(128,128,128,.16); border: 0; color: inherit; border-radius: 11px; padding: 9px 11px; text-align: left; cursor: pointer; width: 100%; } .att.file b { display: block; font-size: 13.5px; word-break: break-all; } .att.file small { font-size: 11px; opacity: .65; } .fi { font-size: 22px; }
.att.aud { display: flex; align-items: center; gap: 9px; min-width: 190px; } .att.aud .play { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #111; color: #fff; cursor: pointer; flex: none; } .cb:not(.me) .att.aud .play { background: #fff; color: #000; }
.wave { flex: 1; height: 4px; background: rgba(128,128,128,.35); border-radius: 4px; overflow: hidden; } .wave i { display: block; height: 100%; width: 0; background: currentColor; }
.comp { padding: 6px 0 max(8px, env(safe-area-inset-bottom)); border-top: 1px solid #262626; }
.comp-row { display: flex; align-items: flex-end; gap: 6px; }
.comp-row textarea { flex: 1; min-width: 0; resize: none; max-height: 120px; background: #1c1c1c; color: inherit; border: 1px solid #2c2c2c; border-radius: 22px; padding: 10px 14px; font: inherit; font-size: 15px; line-height: 1.35; outline: none; }
.ib { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 0; color: inherit; cursor: pointer; flex: none; }
.ib.send { background: #fff; color: #000; } .ib.mic { background: #1c1c1c; } .ib.mic.rec { background: #e25555; color: #fff; }
.comp-sec { display: flex; align-items: center; gap: 10px; padding: 8px 4px; font-size: 14px; } .comp-sec[hidden] { display: none; }
.recdot { width: 9px; height: 9px; border-radius: 50%; background: #e25555; animation: pulse 1s infinite; }
.alertbar { display: flex; align-items: center; gap: 8px; width: 100%; background: #1c1c1c; border: 1px solid #2c2c2c; color: inherit; border-radius: 12px; padding: 10px 14px; font-size: 13px; cursor: pointer; margin-bottom: 10px; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 400; display: grid; place-items: center; cursor: zoom-out; } .lightbox img { max-width: 96vw; max-height: 92vh; }
.callui { position: fixed; inset: 0; z-index: 500; background: #0b0b0b; display: grid; place-items: center; color: #fff; }
.cu-card { text-align: center; display: grid; gap: 10px; justify-items: center; } .cu-card h3 { margin: 6px 0 0; font-size: 22px; } .cu-card p { margin: 0; color: #aaa; }
.cu-act, .cu-bar { display: flex; gap: 26px; justify-content: center; }
.cu-btn { display: grid; justify-items: center; gap: 6px; background: #262626; color: #fff; border: 0; width: 58px; height: 58px; border-radius: 50%; place-content: center; cursor: pointer; font-size: 12px; } .cu-btn span { position: absolute; margin-top: 74px; font-size: 12px; color: #bbb; }
.cu-btn.bad { background: #e0453a; } .cu-btn.ok { background: #2fb457; } .cu-btn.off { background: #fff; color: #000; }
.cu-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.cu-stage video#cuRemote { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; } .cu-stage.video video#cuRemote { display: block; }
.cu-stage video#cuLocal { position: absolute; right: 14px; top: 14px; width: 110px; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; display: none; z-index: 2; background: #222; } .cu-stage.video video#cuLocal { display: block; }
.cu-top { position: absolute; top: 14%; text-align: center; display: grid; gap: 6px; justify-items: center; z-index: 1; text-shadow: 0 1px 8px rgba(0,0,0,.6); } .cu-top small { color: #ccc; }
.cu-bar { position: absolute; bottom: max(36px, env(safe-area-inset-bottom)); left: 0; right: 0; z-index: 2; }
.av.xl { width: 96px; height: 96px; font-size: 32px; border-radius: 50%; background: #ececec center/cover; color: #111; display: grid; place-items: center; font-weight: 800; }
@keyframes cbIn { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: .3; } }
@media (min-width: 1024px) { .chat-wrap { height: calc(100dvh - 60px); max-width: 760px; margin: 0 auto; } }


/* checklist steps */
.mk-step { margin: 0 0 14px; } .mk-step span { font-size: 11px; font-weight: 700; color: #a8a8a8; letter-spacing: .08em; text-transform: uppercase; }
.mk-step i { display: block; height: 4px; border-radius: 9px; background: #222; margin-top: 7px; position: relative; } .mk-step i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #ffffff; border-radius: 9px; }
.mk-phone { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; } .mk-phone b { font-size: 20px; letter-spacing: .02em; }
.mk-skip { display: block; margin: 12px auto 0; background: none; border: 0; color: #8c8c8c; font-weight: 600; font-size: 14px; cursor: pointer; }
/* chats with BAID X Admin: official tag, messages only */
.offi { display: inline-block; vertical-align: 2px; margin-left: 4px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #000000; background: linear-gradient(135deg, #ffffff, #bdbdbd); border-radius: 99px; padding: 2px 7px; }
#comp.adm label.ib, #comp.adm .mic { display: none !important; }

/* job posts: actions on their own line so the title keeps its width */
.row.jobrow { flex-wrap: wrap; }
