/* CrewCall app styles — every value references tokens.css (var(--cc-*)). */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--cc-font);
  background: var(--cc-canvas);
  color: var(--cc-ink);
  -webkit-font-smoothing: antialiased;
}
#root { display: flex; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Sidebar (dark chrome) ───────────────────────────── */
.cc-side {
  width: var(--cc-sidebar-w); background: var(--cc-chrome);
  border-right: 1px solid var(--cc-chrome-line); padding: 18px 14px;
  display: flex; flex-direction: column; flex-shrink: 0;
  height: 100vh; position: sticky; top: 0;
}
.cc-wm { font-weight: 700; font-size: 17px; letter-spacing: -.02em; margin: 2px 8px 22px; color: var(--cc-chrome-ink); }
.cc-wm .dot { color: var(--cc-accent); }
.cc-navlbl { font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--cc-chrome-soft); margin: 0 10px 8px; }
.cc-nav {
  display: flex; align-items: center; gap: 11px; padding: 8px 11px;
  border-radius: var(--cc-radius-md); font-size: 13.5px; font-weight: 500;
  color: var(--cc-chrome-soft); margin-bottom: 1px; position: relative; width: 100%;
  background: none; border: 0; text-align: left;
}
.cc-nav i { font-size: 18px; }
.cc-nav:hover { background: var(--cc-chrome-2); color: var(--cc-chrome-ink); }
.cc-nav.on { background: var(--cc-chrome-2); color: #fff; font-weight: 600; }
.cc-nav.on::before { content: ""; position: absolute; left: -14px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--cc-accent); }
.cc-nav .cc-badge { margin-left: auto; background: var(--cc-accent); color: #fff; font-size: 11px; font-weight: 600; border-radius: 4px; padding: 1px 7px; }
.cc-side-foot { margin-top: auto; font-size: 11px; color: var(--cc-chrome-soft); padding: 0 10px; line-height: 1.5; }

/* ── Main / top bar (dark chrome) ────────────────────── */
.cc-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cc-top {
  display: flex; align-items: center; gap: 14px; padding: 0 22px;
  height: var(--cc-topbar-h); border-bottom: 1px solid var(--cc-chrome-line);
  background: var(--cc-chrome); position: sticky; top: 0; z-index: 5;
}
.cc-search {
  flex: 1; max-width: 380px; display: flex; align-items: center; gap: 9px;
  background: var(--cc-chrome-2); border: 1px solid var(--cc-chrome-line);
  border-radius: var(--cc-radius-md); padding: 7px 12px; color: var(--cc-chrome-soft); font-size: 13px;
}
.cc-search input { border: 0; background: transparent; outline: 0; font: inherit; color: var(--cc-chrome-ink); width: 100%; }
.cc-search input::placeholder { color: var(--cc-chrome-soft); }
.cc-spacer { flex: 1; }

/* role switcher (on dark chrome) */
.cc-rswrap { margin-left: auto; position: relative; }
.cc-chip { display: flex; align-items: center; gap: 10px; border: 1px solid var(--cc-chrome-line); border-radius: var(--cc-radius-md); padding: 5px 10px; background: var(--cc-chrome-2); }
.cc-av { width: 30px; height: 30px; border-radius: 50%; background: #4A453B; color: #EDEAE3; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.cc-chip .nm { font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--cc-chrome-ink); }
.cc-chip .md { font-size: 11px; color: var(--cc-accent-onchrome); font-weight: 600; }
.cc-top .cc-avatar { background: #4A453B; color: #EDEAE3; }
.cc-top .cc-chip i { color: var(--cc-chrome-soft); }
.cc-menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); padding: 6px; min-width: 230px; z-index: 20; }
.cc-menu-h { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--cc-faint); padding: 6px 10px; }
.cc-menu-i { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--cc-radius-sm); font-size: 13.5px; width: 100%; background: none; border: 0; text-align: left; color: var(--cc-ink); }
.cc-menu-i:hover { background: var(--cc-surface-2); }
.cc-menu-i.on { color: var(--cc-accent); font-weight: 600; }
.cc-menu-i .sub { font-size: 11px; color: var(--cc-muted); }
.cc-theme-row { display: flex; gap: 7px; padding: 4px 10px 8px; }
.cc-theme-sw { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--cc-line); background: none; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cc-theme-sw span { width: 18px; height: 18px; border-radius: 50%; display: block; }
.cc-theme-sw:hover { border-color: var(--cc-faint); }
.cc-theme-sw.on { outline: 2px solid var(--cc-accent); outline-offset: 1px; border-color: transparent; }
/* Theme picker — Settings (labelled grid) */
.cc-theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.cc-theme-opt { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); background: var(--cc-surface); cursor: pointer; font: inherit; text-align: left; }
.cc-theme-opt:hover { border-color: var(--cc-faint); }
.cc-theme-opt.on { border-color: var(--cc-accent); background: var(--cc-accent-tint); }
.cc-theme-opt .sw { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(0,0,0,.12); }
.cc-theme-opt .lbl { font-size: 13px; font-weight: 600; color: var(--cc-ink); }
.cc-theme-opt .ti { margin-left: auto; color: var(--cc-accent); }

/* ── Page body ───────────────────────────────────────── */
.cc-body { padding: 24px 28px 40px; overflow: auto; }
.cc-maxw { max-width: 1060px; }
.cc-hdr { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; gap: 16px; }
.cc-hdr h2 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 4px; }
.cc-hdr .cnt { font-size: 13px; color: var(--cc-muted); }
.cc-hdr .cnt b { color: var(--cc-ink); font-weight: 600; }

/* ── Buttons / chips / controls ──────────────────────── */
.cc-btn { border-radius: var(--cc-radius-md); padding: 8px 14px; font-size: 13px; font-weight: 600; border: 1px solid var(--cc-line); background: var(--cc-surface); color: var(--cc-ink); display: inline-flex; align-items: center; gap: 7px; }
.cc-btn:hover { background: var(--cc-surface-2); }
.cc-btn.primary { background: var(--cc-accent); color: #fff; border-color: var(--cc-accent); }
.cc-btn.primary:hover { filter: brightness(.94); background: var(--cc-accent); }
.cc-btn.icon { padding: 8px 11px; color: var(--cc-soft); }
.cc-btn.sm { padding: 5px 11px; font-size: 12px; }
.cc-controls { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.cc-f { font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: var(--cc-radius-pill); border: 1px solid var(--cc-line); background: var(--cc-surface); color: var(--cc-soft); display: inline-flex; align-items: center; gap: 6px; }
.cc-f i { font-size: 15px; }
.cc-f.on { background: var(--cc-ink); color: #fff; border-color: var(--cc-ink); }
.cc-f.toggle.on { background: var(--cc-accent-tint); color: var(--cc-accent); border-color: var(--cc-accent-border); }
.cc-sortwrap { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--cc-muted); }
.cc-sortwrap select { font: inherit; font-weight: 600; color: var(--cc-ink); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); padding: 7px 10px; background: var(--cc-surface); }

/* ── Category chips (engagement-type taxonomy) + event scope ── */
.cc-catbar { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 12px; }
.cc-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 7px 12px; border-radius: var(--cc-radius-pill); border: 1px solid var(--cc-line); background: var(--cc-surface); color: var(--cc-soft); }
.cc-cat i { font-size: 15px; color: var(--cc-faint); }
.cc-cat:hover { border-color: var(--cc-faint); color: var(--cc-ink); }
.cc-cat.on { background: var(--cc-accent-tint); border-color: var(--cc-accent-border); color: var(--cc-accent-ink); }
.cc-cat.on i { color: var(--cc-accent); }
.cc-scope { display: flex; align-items: center; gap: 7px; background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-pill); padding: 6px 13px; color: var(--cc-faint); font-size: 13px; min-width: 210px; }
.cc-scope input { border: 0; background: transparent; outline: 0; font: inherit; color: var(--cc-ink); width: 100%; }
.cc-scope.on { border-color: var(--cc-accent-border); background: var(--cc-accent-tint); color: var(--cc-accent-ink); }
.cc-scope i { font-size: 15px; }

/* ── Event cards ─────────────────────────────────────── */
.cc-ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cc-evcard { text-align: left; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); background: var(--cc-surface); cursor: pointer; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 1px 3px rgba(20,18,12,.05); transition: box-shadow .12s, transform .12s; }
.cc-evcard:hover { box-shadow: 0 6px 18px rgba(20,18,12,.10); transform: translateY(-1px); }
.cc-evcard-img { background-color: var(--cc-chrome); background-size: cover; background-position: center; min-height: 132px; padding: 11px 13px; display: flex; flex-direction: column; justify-content: space-between; }
.cc-evcard-tags { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cc-evcard-kind { font: 600 9.5px/1 var(--cc-font-soft); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.18); border-radius: var(--cc-radius-pill); padding: 4px 9px; }
.cc-evcard-dt { font-size: 11.5px; color: rgba(255,255,255,.92); }
.cc-evcard-nm { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.cc-evcard-body { padding: 11px 14px 13px; display: flex; flex-direction: column; gap: 7px; }
.cc-evcard-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--cc-soft); }
.cc-evcard-meta i { color: var(--cc-faint); }
.cc-evcard-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--cc-muted); border-top: 1px solid var(--cc-surface-2); padding-top: 8px; }
.cc-ev-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-ev-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; padding: 7px 11px; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-pill); background: var(--cc-surface); color: var(--cc-ink); cursor: pointer; }
.cc-ev-chip:hover { border-color: var(--cc-faint); }
.cc-ev-chip i { color: var(--cc-muted); }
.cc-ev-chip .cred { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--cc-ok-ink); background: var(--cc-ok-bg); border-radius: var(--cc-radius-sm); padding: 1px 5px; }
.cc-ev-chip .cred i { color: var(--cc-ok-ink); }

/* ── Gig list (dense feed) ───────────────────────────── */
.cc-list { background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); overflow: hidden; }
.cc-row { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--cc-line); cursor: pointer; }
.cc-row:last-child { border-bottom: 0; }
.cc-row:hover { background: var(--cc-surface-2); }
.cc-row.filled { opacity: .55; }
.cc-lead { flex: 1; min-width: 0; }
.cc-l1 { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; }
.cc-rtag { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--cc-muted); background: var(--cc-chip); border-radius: var(--cc-radius-sm); padding: 2px 6px; white-space: nowrap; }
.cc-ttl { font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-l2 { display: flex; align-items: center; gap: 5px 13px; font-size: 12.5px; color: var(--cc-soft); flex-wrap: wrap; }
.cc-l2 span { display: flex; align-items: center; gap: 5px; }
.cc-l2 i { font-size: 14px; color: var(--cc-faint); }
.cc-lz { font-size: 11px; font-weight: 600; border-radius: var(--cc-radius-sm); padding: 3px 7px; display: flex; align-items: center; gap: 4px; }
.cc-lz.local { background: var(--cc-chip); color: var(--cc-soft); }
.cc-lz.travel { background: var(--cc-ok-bg); color: var(--cc-ok-ink); }
.cc-ratecol { text-align: right; min-width: 104px; flex-shrink: 0; }
.cc-rate { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.cc-rate small { font-size: 11px; font-weight: 500; color: var(--cc-muted); }
.cc-apps { font-size: 11.5px; color: var(--cc-muted); margin-top: 2px; }
.cc-act { min-width: 124px; flex-shrink: 0; text-align: right; }
.cc-ago { font-size: 11px; color: var(--cc-faint); margin-bottom: 6px; }
.cc-more { text-align: center; padding: 16px; font-size: 13px; font-weight: 600; color: var(--cc-soft); background: none; border: 0; width: 100%; }

/* ── States ──────────────────────────────────────────── */
.cc-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 64px 20px; color: var(--cc-muted); text-align: center; }
.cc-state i { font-size: 28px; color: var(--cc-faint); }
.cc-state-t { font-size: 15px; font-weight: 600; color: var(--cc-ink); }
.cc-state-s { font-size: 13px; color: var(--cc-muted); max-width: 360px; }
.cc-spin { animation: cc-spin 1s linear infinite; }
@keyframes cc-spin { to { transform: rotate(360deg); } }

/* ── Generic ─────────────────────────────────────────── */
.cc-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--cc-soft); margin-bottom: 16px; background: none; border: 0; }
.cc-back:hover { color: var(--cc-ink); }
.cc-card { background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); box-shadow: 0 1px 3px rgba(20,18,12,.04); }
.cc-demo-tag { font-size: 11px; font-weight: 600; color: var(--cc-muted); background: var(--cc-chip); border-radius: var(--cc-radius-sm); padding: 4px 9px; }

/* ── Crew browser (cards) ────────────────────────────── */
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; align-content: start; }
.cc-crew { background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); padding: 16px 17px; display: flex; flex-direction: column; gap: 11px; }
.cc-crew:hover { border-color: var(--cc-faint); }
.cc-crew-top { display: flex; gap: 12px; align-items: center; }
.cc-crew-top .cc-av { width: 44px; height: 44px; font-size: 15px; }
.cc-crew-nm { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.cc-crew-role { font-size: 12.5px; color: var(--cc-muted); }
.cc-crew-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--cc-soft); }
.cc-crew-meta span { display: flex; align-items: center; gap: 5px; }
.cc-crew-meta i { font-size: 14px; color: var(--cc-faint); }
.cc-crew-meta .stars { color: var(--cc-accent); }
.cc-skills { display: flex; flex-wrap: wrap; gap: 5px; }
.cc-sk { font-size: 11px; font-weight: 500; color: var(--cc-soft); background: var(--cc-chip); border-radius: var(--cc-radius-sm); padding: 3px 7px; }
.cc-avail-pill { font-size: 11px; font-weight: 600; color: var(--cc-ok-ink); background: var(--cc-ok-bg); border-radius: 20px; padding: 3px 9px; display: inline-flex; align-items: center; gap: 5px; }
.cc-avail-pill.off { color: var(--cc-muted); background: var(--cc-chip); }
.cc-avail-pill .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ── Profile ─────────────────────────────────────────── */
.cc-maxw { max-width: 1060px; }
.cc-phead { display: flex; gap: 22px; padding: 24px 26px; align-items: flex-start; }
.cc-av-lg { width: 84px; height: 84px; border-radius: 50%; background: var(--cc-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; flex-shrink: 0; }
.cc-pname { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cc-pname h1 { font-size: 27px; font-weight: 700; letter-spacing: -.025em; }
.cc-roleline { font-size: 15px; color: var(--cc-soft); font-weight: 500; margin: 5px 0 11px; }
.cc-roleline b { color: var(--cc-ink); font-weight: 600; }
.cc-pmeta { display: flex; align-items: center; gap: 7px 18px; font-size: 13px; color: var(--cc-soft); flex-wrap: wrap; }
.cc-pmeta span { display: flex; align-items: center; gap: 6px; }
.cc-pmeta i { font-size: 15px; color: var(--cc-faint); }
.cc-pmeta .stars { color: var(--cc-accent); }
.cc-purl { font-size: 12.5px; color: var(--cc-faint); margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.cc-pactions { margin-left: auto; display: flex; gap: 9px; flex-shrink: 0; }
.cc-strip { display: flex; border-top: 1px solid var(--cc-line); flex-wrap: wrap; }
.cc-cell { flex: 1; min-width: 150px; padding: 15px 20px; border-right: 1px solid var(--cc-line); }
.cc-cell .k { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--cc-faint); margin-bottom: 5px; }
.cc-cell .v { font-size: 15px; font-weight: 600; }
.cc-cell .v small { font-weight: 500; color: var(--cc-muted); font-size: 12px; }
.cc-mkts { display: flex; gap: 6px; flex-wrap: wrap; }
.cc-mkt { font-size: 11.5px; font-weight: 600; color: var(--cc-soft); background: var(--cc-chip); border-radius: var(--cc-radius-sm); padding: 3px 8px; display: flex; align-items: center; gap: 4px; }
.cc-pcols { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 18px; margin-top: 18px; }
.cc-sec { padding: 20px 22px; }
.cc-sec h3 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 13px; display: flex; align-items: center; gap: 8px; }
.cc-sec h3 .n { font-size: 12px; font-weight: 500; color: var(--cc-faint); }
.cc-bio { font-size: 14px; line-height: 1.65; color: var(--cc-soft); }
.cc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cc-tile { position: relative; aspect-ratio: 4/3; background: #23211D; border-radius: var(--cc-radius-md); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cc-tile i { font-size: 28px; color: rgba(255,255,255,.28); }
.cc-tile.reel i { color: var(--cc-accent); }
.cc-tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0,0,0,.55); }
.cc-tl-item { position: relative; border-left: 2px solid var(--cc-line); padding: 0 0 18px 20px; margin-left: 4px; }
.cc-tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.cc-tl-item::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--cc-surface); border: 2px solid var(--cc-accent); }
.cc-tl-item .tt { font-size: 14px; font-weight: 600; }
.cc-tl-item .ts { font-size: 12.5px; color: var(--cc-muted); margin-top: 2px; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.cc-gear-group { margin-bottom: 12px; }
.cc-gear-group:last-child { margin-bottom: 0; }
.cc-gear-cat { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--cc-faint); margin-bottom: 4px; }
.cc-gear { list-style: none; font-size: 13px; color: var(--cc-soft); line-height: 1.5; }
.cc-gear li { padding: 6px 0; border-bottom: 1px solid var(--cc-line); display: flex; gap: 9px; }
.cc-gear li:last-child { border-bottom: 0; }
.cc-gear li i { font-size: 16px; color: var(--cc-faint); }
.cc-links a { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--cc-ink); padding: 8px 0; border-bottom: 1px solid var(--cc-line); }
.cc-links a:last-child { border-bottom: 0; }
.cc-links a i { font-size: 17px; color: var(--cc-soft); }
.cc-links a[href]:hover { color: var(--cc-accent); }
.cc-links a[href]:hover i { color: var(--cc-accent); }

/* ── Instagram: handle field (inline editor) + selected-work strip ─────── */
.cc-ig-input { display: flex; align-items: center; gap: 0; }
.cc-ig-input .at { display: inline-flex; align-items: center; justify-content: center; height: 100%; min-width: 30px; padding: 0 9px; align-self: stretch; color: var(--cc-muted); font-weight: 600; background: var(--cc-surface-2, var(--cc-surface)); border: 1px solid var(--cc-line); border-right: 0; border-radius: var(--cc-radius-md) 0 0 var(--cc-radius-md); }
.cc-ig-input .cc-input { border-radius: 0 var(--cc-radius-md) var(--cc-radius-md) 0; flex: 1; }

.cc-ig-strip { display: flex; flex-direction: column; gap: 8px; }
.cc-ig-card { display: flex; align-items: stretch; gap: 8px; }
.cc-ig-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); background: var(--cc-surface); color: var(--cc-ink); text-decoration: none; }
.cc-ig-link:hover { border-color: var(--cc-accent-border, var(--cc-accent)); background: var(--cc-accent-tint); }
.cc-ig-link > i:last-child { margin-left: auto; color: var(--cc-faint); }
.cc-ig-link:hover > i:last-child { color: var(--cc-accent); }
.cc-ig-badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: var(--cc-radius-md); color: #fff; background: linear-gradient(135deg, #feda75 0%, #d62976 45%, #962fbf 75%, #4f5bd5 100%); }
.cc-ig-meta { display: flex; flex-direction: column; min-width: 0; }
.cc-ig-meta .t { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-ig-meta .s { font-size: 12px; color: var(--cc-muted); }
.cc-ig-rm { flex-shrink: 0; }

/* The "add IG posts" on-ramp inside the portfolio editor. */
.cc-ig-on-ramp { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--cc-line); }
.cc-ig-on-ramp h4 { display: flex; align-items: center; gap: 7px; margin: 0 0 5px; font-size: 14px; font-weight: 700; }
.cc-ig-hint { margin: 0 0 12px; font-size: 12.5px; color: var(--cc-muted); line-height: 1.45; }
.cc-ig-err { margin-top: 8px; font-size: 12.5px; color: var(--cc-danger, #c0392b); }
.cc-rev { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.cc-rev .big { font-size: 32px; font-weight: 700; }
.cc-rev .of { font-size: 13px; color: var(--cc-muted); }
.cc-quote { font-size: 13px; line-height: 1.6; color: var(--cc-soft); font-style: italic; border-left: 3px solid var(--cc-line); padding-left: 12px; }
.cc-quote .qby { font-style: normal; font-weight: 600; color: var(--cc-ink); display: block; margin-top: 6px; font-size: 12.5px; }
/* Mutual-reveal ratings: the "hidden until both rate" note in the review modal. */
.cc-reveal-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border: 1px solid var(--cc-line); border-radius: 8px; background: var(--cc-surface, rgba(0,0,0,.02)); font-size: 12.5px; line-height: 1.5; color: var(--cc-muted); }

/* ── Dashboard ───────────────────────────────────────── */
.cc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 22px; }
.cc-stat { background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); padding: 16px 18px; }
.cc-stat .k { font-size: 12.5px; color: var(--cc-muted); margin-bottom: 6px; }
.cc-stat .v { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.cc-stat .s { font-size: 12px; color: var(--cc-faint); margin-top: 3px; }
.cc-sectitle { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--cc-faint); margin: 6px 0 12px; }

/* ── Messages (two-pane) ─────────────────────────────── */
.cc-msg { display: grid; grid-template-columns: 300px minmax(0,1fr); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); overflow: hidden; background: var(--cc-surface); height: calc(100vh - var(--cc-topbar-h) - 96px); }
.cc-convos { border-right: 1px solid var(--cc-line); overflow: auto; }
.cc-convo { display: flex; gap: 11px; align-items: center; padding: 13px 15px; border: 0; border-bottom: 1px solid var(--cc-line); width: 100%; background: none; text-align: left; }
.cc-convo:hover { background: var(--cc-surface-2); }
.cc-convo.on { background: var(--cc-accent-tint); }
.cc-convo .meta { min-width: 0; flex: 1; }
.cc-convo .nm { font-size: 13.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.cc-convo .nm .t { font-size: 11px; color: var(--cc-faint); font-weight: 500; white-space: nowrap; }
.cc-convo .snip { font-size: 12px; color: var(--cc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.cc-unread { width: 8px; height: 8px; border-radius: 50%; background: var(--cc-accent); flex-shrink: 0; }
.cc-thread { display: flex; flex-direction: column; min-width: 0; }
.cc-thread-head { display: flex; align-items: center; gap: 11px; padding: 13px 18px; border-bottom: 1px solid var(--cc-line); }
.cc-thread-head .sub { font-size: 12px; color: var(--cc-muted); }
.cc-bubbles { flex: 1; overflow: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.cc-bubble { max-width: 74%; padding: 9px 13px; border-radius: 6px; font-size: 13.5px; line-height: 1.45; }
.cc-bubble.them { align-self: flex-start; background: var(--cc-surface-2); border: 1px solid var(--cc-line); border-bottom-left-radius: 4px; }
.cc-bubble.me { align-self: flex-end; background: var(--cc-accent-tint); color: var(--cc-accent-ink); border-bottom-right-radius: 4px; }
.cc-bubble .bt { font-size: 10.5px; color: var(--cc-faint); margin-top: 4px; }
.cc-bubble.me .bt { color: var(--cc-accent-ink); opacity: .7; }
.cc-composer { display: flex; gap: 9px; padding: 12px 14px; border-top: 1px solid var(--cc-line); }
.cc-composer input { flex: 1; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); padding: 10px 13px; font: inherit; outline: none; background: var(--cc-canvas); }
.cc-composer input:focus { border-color: var(--cc-faint); }

/* ── Data table (bookings / payments) ────────────────── */
.cc-tbl { width: 100%; border-collapse: collapse; }
.cc-tbl th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--cc-faint); text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--cc-line); }
.cc-tbl td { font-size: 13.5px; padding: 13px 16px; border-bottom: 1px solid var(--cc-line); color: var(--cc-soft); vertical-align: middle; }
.cc-tbl tr:last-child td { border-bottom: 0; }
.cc-tbl tbody tr:hover td { background: var(--cc-surface-2); }
.cc-tbl td.r, .cc-tbl th.r { text-align: right; }
.cc-tbl .who { font-weight: 600; color: var(--cc-ink); }
.cc-tbl .sub2 { font-size: 12px; color: var(--cc-muted); margin-top: 2px; }
.cc-status { font-size: 11px; font-weight: 600; border-radius: 20px; padding: 3px 10px; display: inline-block; text-transform: capitalize; }
.cc-status.confirmed, .cc-status.active, .cc-status.paid { background: var(--cc-ok-bg); color: var(--cc-ok-ink); }
.cc-status.pending, .cc-status.processing, .cc-status.reviewing { background: var(--cc-warn-bg); color: var(--cc-warn-ink); }
.cc-status.completed { background: var(--cc-chip); color: var(--cc-soft); }
.cc-status.cancelled, .cc-status.disputed, .cc-status.failed { background: var(--cc-danger-bg); color: var(--cc-danger-ink); }

/* ── Feed (content-first home) ───────────────────────── */
.cc-greet { font-size: 18px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 2px; }
.cc-greet-sub { font-size: 13px; color: var(--cc-soft); margin-bottom: 4px; line-height: 1.5; }
.cc-greet-sub .hl { color: var(--cc-accent); font-weight: 600; cursor: pointer; }
.cc-greet-sub .hl:hover { text-decoration: underline; }

/* two-column home: feed + context rail */
.cc-feed2 { display: grid; grid-template-columns: minmax(0,1fr) 236px; gap: 22px; max-width: 1100px; align-items: start; }
.cc-feed-main { min-width: 0; }
.cc-feed-rail { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 80px; }

.cc-flabel { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--cc-faint); margin: 20px 0 8px; display: flex; align-items: center; gap: 7px; }
.cc-flabel.first { margin-top: 14px; }
.cc-flabel .d { width: 6px; height: 6px; border-radius: 50%; background: var(--cc-accent); }
.cc-flabel .more { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--cc-accent); background: none; border: 0; text-transform: none; letter-spacing: 0; }

/* "Needs you" priority panel (tinted) */
.cc-needs { background: var(--cc-warn-bg); border: 1px solid var(--cc-warn-line); border-radius: var(--cc-radius-lg); overflow: hidden; }
.cc-needrow { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--cc-warn-line); }
.cc-needrow:last-child { border-bottom: 0; }
.cc-needrow > .d { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.cc-needrow .nl { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.cc-needrow .nt { font-size: 13px; font-weight: 600; color: var(--cc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-needrow .ns { font-size: 12px; color: var(--cc-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-needrow .nv { font-size: 13px; font-weight: 700; white-space: nowrap; }

/* context rail cards */
.cc-rcard { background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); padding: 12px 13px; }
.cc-rcard h4 { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--cc-faint); margin-bottom: 9px; }
.cc-rline { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; padding: 5px 0; border-bottom: 1px solid var(--cc-surface-2); }
.cc-rline:last-child { border-bottom: 0; }
.cc-rline .k { color: var(--cc-muted); }
.cc-rperson { display: flex; align-items: center; gap: 9px; padding: 5px 0; cursor: pointer; width: 100%; background: none; border: 0; text-align: left; }
.cc-rperson:hover .rn { color: var(--cc-accent); }
.cc-rperson .rn { font-size: 12.5px; font-weight: 600; color: var(--cc-ink); }
.cc-rperson .rr { font-size: 11.5px; color: var(--cc-muted); }
.cc-ract { font-size: 12px; color: var(--cc-soft); padding: 3px 0; line-height: 1.4; }

/* section header used by GuestHome + feed lists */
.cc-feed-sec { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 0 12px; }
.cc-feed-sec:first-child { margin-top: 4px; }
.cc-feed-sec h3 { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.cc-feed-sec h3 .hint { font-size: 12px; font-weight: 500; color: var(--cc-faint); margin-left: 8px; }
.cc-feed-sec .more { font-size: 12.5px; font-weight: 600; color: var(--cc-accent); background: none; border: 0; }

@media (max-width: 1080px) {
  .cc-feed2 { grid-template-columns: 1fr; }
  .cc-feed-rail { position: static; flex-direction: row; flex-wrap: wrap; }
  .cc-feed-rail .cc-rcard { flex: 1; min-width: 210px; }
}

/* ── Sort bar (visible, sortable) ────────────────────── */
.cc-sortbar { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-bottom: 14px; }
.cc-sortbar .lbl { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--cc-faint); margin-right: 4px; }
.cc-sortopt { display: flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--cc-soft); background: none; border: 1px solid transparent; }
.cc-sortopt:hover { background: var(--cc-surface-2); }
.cc-sortopt.on { color: var(--cc-accent); background: var(--cc-accent-tint); }
.cc-sortopt i { font-size: 14px; }
.cc-resultcount { margin-left: auto; font-size: 12.5px; color: var(--cc-muted); }
.cc-resultcount b { color: var(--cc-ink); font-weight: 600; }

/* ── Forms ───────────────────────────────────────────── */
.cc-form { max-width: 640px; }
.cc-field { margin-bottom: 16px; }
.cc-field > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--cc-soft); margin-bottom: 6px; }
.cc-input, .cc-textarea, .cc-select { width: 100%; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); padding: 10px 13px; font: inherit; color: var(--cc-ink); background: var(--cc-surface); outline: none; }
.cc-input:focus, .cc-textarea:focus, .cc-select:focus { border-color: var(--cc-accent); box-shadow: 0 0 0 3px var(--cc-accent-tint); }
.cc-textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.cc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-hint { font-size: 12px; color: var(--cc-muted); margin-top: 5px; }
.cc-checks { display: flex; gap: 18px; flex-wrap: wrap; padding: 4px 0; }
.cc-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--cc-soft); }
.cc-check input { width: 16px; height: 16px; accent-color: var(--cc-accent); }

/* ── Modal ───────────────────────────────────────────── */
.cc-modal-bg { position: fixed; inset: 0; background: rgba(20,18,15,.45); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.cc-modal { background: var(--cc-surface); border-radius: var(--cc-radius-lg); width: 100%; max-width: 480px; padding: 24px; max-height: 90vh; overflow: auto; }
.cc-modal h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.cc-modal .sub { font-size: 13px; color: var(--cc-muted); margin-bottom: 18px; }
.cc-modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* ── Gig detail ──────────────────────────────────────── */
.cc-gd { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; align-items: start; }
.cc-gd-rail { position: sticky; top: 84px; }
.cc-gd-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--cc-soft); margin: 12px 0 6px; }
.cc-gd-meta span { display: flex; align-items: center; gap: 6px; }
.cc-gd-meta i { font-size: 15px; color: var(--cc-faint); }
.cc-gd-desc { font-size: 14px; line-height: 1.65; color: var(--cc-soft); white-space: pre-wrap; }
.cc-bigrate { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.cc-bigrate small { font-size: 13px; font-weight: 500; color: var(--cc-muted); }
.cc-rail-line { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--cc-line); }
.cc-rail-line:last-of-type { border-bottom: 0; }
.cc-rail-line .k { color: var(--cc-muted); }
.cc-rail-line .v { font-weight: 600; }
.cc-applied { font-size: 13px; font-weight: 600; color: var(--cc-ok-ink); background: var(--cc-ok-bg); border-radius: var(--cc-radius-md); padding: 10px; text-align: center; }

/* ── Applicants ──────────────────────────────────────── */
.cc-app-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--cc-line); }
.cc-app-row:last-child { border-bottom: 0; }
.cc-app-main { flex: 1; min-width: 0; }
.cc-app-nm { font-size: 14.5px; font-weight: 600; }
.cc-app-sub { font-size: 12.5px; color: var(--cc-muted); }
.cc-app-note { font-size: 12.5px; color: var(--cc-soft); margin-top: 4px; font-style: italic; }
.cc-app-actions { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }

/* ── Settings extras ─────────────────────────────────── */
.cc-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-pickopt { font-size: 12.5px; font-weight: 500; padding: 6px 12px; border-radius: var(--cc-radius-pill); border: 1px solid var(--cc-line); background: var(--cc-surface); color: var(--cc-soft); }
.cc-pickopt.on { background: var(--cc-accent-tint); color: var(--cc-accent); border-color: var(--cc-accent-border); font-weight: 600; }
.cc-color-row { display: flex; align-items: center; gap: 12px; }
.cc-color-row input[type=color] { width: 46px; height: 38px; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); background: none; padding: 2px; cursor: pointer; }
.cc-saved { font-size: 13px; font-weight: 600; color: var(--cc-ok-ink); display: flex; align-items: center; gap: 5px; }

/* ── Tabs (admin) ────────────────────────────────────── */
.cc-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--cc-line); margin-bottom: 20px; }
.cc-tab { font-size: 13.5px; font-weight: 600; color: var(--cc-muted); padding: 10px 14px; border: 0; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.cc-tab.on { color: var(--cc-accent); border-bottom-color: var(--cc-accent); }
.cc-tab:hover { color: var(--cc-ink); }

/* ── Search results ──────────────────────────────────── */
.cc-sr-group { margin-bottom: 28px; }
.cc-sr-group h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.cc-sr-group h3 .n { font-size: 12.5px; font-weight: 500; color: var(--cc-faint); margin-left: 7px; }

/* ── Avatars (image with initials fallback) + photo tiles ── */
.cc-avatar { border-radius: 50%; object-fit: cover; background: var(--cc-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; vertical-align: middle; }
.cc-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-tile-rm { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* ── Image lightbox (portfolio viewer) ───────────────── */
.cc-lb { position: fixed; inset: 0; z-index: 80; background: rgba(15,14,12,.88); display: flex; align-items: center; justify-content: center; padding: 40px; }
.cc-lb-fig { position: relative; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; }
.cc-lb-fig img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: var(--cc-radius-md); background: #000; }
.cc-lb-fig figcaption { color: #EDEAE3; font-size: 13px; font-weight: 500; text-align: center; }
.cc-lb-count { color: rgba(237,234,227,.6); font-size: 12px; }
.cc-lb-x { position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cc-lb-x:hover { background: rgba(255,255,255,.22); }
.cc-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cc-lb-nav:hover { background: rgba(255,255,255,.22); }
.cc-lb-nav.prev { left: 16px; } .cc-lb-nav.next { right: 16px; }
.cc-lb-video { width: 80vw; max-width: 1100px; aspect-ratio: 16 / 9; max-height: 80vh; border: 0; border-radius: var(--cc-radius-md); background: #000; }
.cc-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.cc-play .pb { width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; }

/* ── Case studies ────────────────────────────────────── */
.cc-cs { padding: 14px 0; border-bottom: 1px solid var(--cc-line); }
.cc-cs:last-child { border-bottom: 0; padding-bottom: 0; }
.cc-cs-title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 5px; }
.cc-cs-body { font-size: 13.5px; line-height: 1.6; color: var(--cc-soft); white-space: pre-wrap; margin-bottom: 10px; }
.cc-cs-edit-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--cc-surface-2); }
.cc-cs-edit-row:last-child { border-bottom: 0; }
.cc-cs-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.cc-cs-thumb { position: relative; aspect-ratio: 4/3; border-radius: var(--cc-radius-md); overflow: hidden; border: 1px solid var(--cc-line); padding: 0; cursor: pointer; background: var(--cc-surface-2); }
.cc-cs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-cs-thumb.on { outline: 2px solid var(--cc-accent); outline-offset: -2px; border-color: transparent; }
.cc-cs-thumb .chk { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--cc-accent); color: #fff; display: flex; align-items: center; justify-content: center; }

/* ── Posts / activity feed ───────────────────────────── */
.cc-post-compose { background: var(--cc-surface-2); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); padding: 10px; margin-bottom: 14px; }
.cc-post-compose .cc-textarea { background: var(--cc-surface); }
.cc-post { padding: 14px 0; border-bottom: 1px solid var(--cc-line); }
.cc-post:last-child { border-bottom: 0; padding-bottom: 0; }
.cc-post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cc-post-head .nm { font-size: 13.5px; font-weight: 600; }
.cc-post-head .mt { font-size: 11.5px; color: var(--cc-muted); }
.cc-post-x { margin-left: auto; background: none; border: 0; color: var(--cc-faint); cursor: pointer; padding: 4px; }
.cc-post-x:hover { color: var(--cc-danger-ink); }
.cc-post-body { font-size: 13.5px; line-height: 1.6; color: var(--cc-ink); white-space: pre-wrap; }
.cc-post-foot { display: flex; gap: 16px; margin-top: 10px; }
.cc-post-act { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font: 600 12.5px/1 var(--cc-font); color: var(--cc-muted); }
.cc-post-act:hover { color: var(--cc-ink); }
.cc-post-act.on { color: var(--cc-accent); }
.cc-post-act span { font-weight: 500; }
.cc-post-comments { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--cc-surface-2); display: flex; flex-direction: column; gap: 9px; }
.cc-comment { display: flex; gap: 9px; align-items: flex-start; }
.cc-comment-bd { font-size: 13px; line-height: 1.45; color: var(--cc-soft); }
.cc-comment-bd .cn { font-weight: 600; color: var(--cc-ink); }
.cc-comment-add { display: flex; gap: 8px; margin-top: 2px; }
.cc-comment-add .cc-input { padding: 7px 11px; }

/* ── Home activity feed ──────────────────────────────── */
.cc-feedstream { display: flex; flex-direction: column; gap: 12px; }
.cc-fcard { padding: 14px 16px; }
.cc-fcard .cc-post { padding: 0; border-bottom: 0; }
.cc-logo-sm { width: 34px; height: 34px; border-radius: var(--cc-radius-sm); background: var(--cc-chip); color: var(--cc-soft); display: flex; align-items: center; justify-content: center; font: 700 11px/1 var(--cc-font); flex-shrink: 0; }

/* ── Crew search-first entry ─────────────────────────── */
.cc-crewsearch { max-width: 640px; margin: 7vh auto 0; text-align: center; }
.cc-crewsearch h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 20px; }
.cc-crewsearch-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 16px; color: var(--cc-soft); margin-bottom: 22px; }
.cc-crewsearch-line select { max-width: 230px; font-size: 15px; }
.cc-crewsearch-line input { width: 170px; font-size: 15px; }
.cc-crewsearch-hint { font-size: 13px; color: var(--cc-muted); margin-top: 14px; }

/* ── Photo crop modal ────────────────────────────────── */
.cc-crop { position: relative; overflow: hidden; border-radius: var(--cc-radius-md); background: #000; margin: 4px auto 14px; cursor: grab; touch-action: none; }
.cc-crop:active { cursor: grabbing; }
.cc-crop-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 9999px rgba(20,18,12,.45); pointer-events: none; }
.cc-crop-zoom { width: 100%; margin: 0 0 4px; }

/* ── Star rating input ───────────────────────────────── */
.cc-stars-in { display: flex; gap: 4px; }
.cc-stars-in button { background: none; border: 0; font-size: 26px; line-height: 1; color: var(--cc-line); padding: 0; }
.cc-stars-in button.on { color: var(--cc-accent); }
.cc-review-q { font-size: 13px; line-height: 1.55; color: var(--cc-soft); font-style: italic; }

/* ── Auth (signup / login) ───────────────────────────── */
/* Split-screen auth: editorial photo + clean form panel */
.cc-auth { min-height: 100vh; width: 100%; display: grid; grid-template-columns: 45% 55%; background: var(--cc-canvas); }
.cc-auth-photo { background-color: #1b1915; background-image: linear-gradient(180deg, rgba(20,18,12,.05), rgba(20,18,12,.5)), url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?auto=format&fit=crop&w=1400&q=70'); background-size: cover; background-position: center; }
.cc-auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px 32px; overflow: auto; }
.cc-auth-inner { width: 100%; max-width: 430px; }
.cc-auth-brand { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 4px; }
.cc-auth-brand .cc-wm { font-size: 28px; color: var(--cc-ink); margin: 0; }
.cc-auth-h { text-align: center; font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin: 4px 0 24px; }
.cc-auth-card { background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); padding: 22px; box-shadow: 0 1px 3px rgba(20,18,12,.05); }
.cc-auth-card-lbl { font-size: 12px; font-weight: 600; color: var(--cc-soft); margin-bottom: 14px; }
.cc-auth-sub { font-size: 13.5px; color: var(--cc-muted); margin-bottom: 18px; }

/* floating-label field */
.cc-fld { display: flex; align-items: center; gap: 8px; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); background: var(--cc-surface); padding: 7px 13px; margin-bottom: 12px; }
.cc-fld:focus-within { border-color: var(--cc-accent); box-shadow: 0 0 0 3px var(--cc-accent-tint); }
.cc-fld-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cc-fld-lbl { font-size: 11px; color: var(--cc-muted); }
.cc-fld input, .cc-fld select { border: 0; background: transparent; outline: 0; width: 100%; font: inherit; font-size: 14px; color: var(--cc-ink); padding: 1px 0; }
.cc-eye { background: none; border: 0; color: var(--cc-muted); cursor: pointer; padding: 2px; display: flex; }
.cc-eye:hover { color: var(--cc-ink); }

.cc-btn.pill { border-radius: var(--cc-radius-pill); }
.cc-btn.ink { background: var(--cc-ink); color: #fff; border-color: var(--cc-ink); }
.cc-btn.ink:hover { background: var(--cc-ink); filter: brightness(1.15); }
.cc-btn.lg { padding: 12px 20px; font-size: 14px; }

.cc-auth-forgot { text-align: center; margin-top: 12px; }
.cc-auth-forgot a { font-size: 13px; font-weight: 600; color: var(--cc-accent-ink); cursor: pointer; }
.cc-auth-alt { text-align: center; font-size: 13.5px; color: var(--cc-muted); margin-top: 22px; }
.cc-auth-alt a { color: var(--cc-accent-ink); font-weight: 700; cursor: pointer; }
.cc-auth-demo { margin-top: 22px; border-top: 1px solid var(--cc-line); padding-top: 16px; }
.cc-auth-demo .lbl { text-align: center; font-size: 12px; color: var(--cc-faint); margin-bottom: 10px; }

.cc-segment { display: flex; background: var(--cc-canvas); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); padding: 3px; margin-bottom: 16px; }
.cc-segment button { flex: 1; border: 0; background: none; padding: 9px; border-radius: var(--cc-radius-sm); font: inherit; font-size: 13px; font-weight: 600; color: var(--cc-soft); cursor: pointer; }
.cc-segment button.on { background: var(--cc-surface); color: var(--cc-ink); box-shadow: 0 1px 2px rgba(0,0,0,.07); }
.cc-or { text-align: center; font-size: 12px; color: var(--cc-faint); margin: 14px 0 10px; }

@media (max-width: 820px) {
  .cc-auth { grid-template-columns: 1fr; }
  .cc-auth-photo { display: none; }
}

/* ── Mobile ──────────────────────────────────────────── */
.cc-burger { display: none; background: none; border: 0; color: var(--cc-soft); font-size: 22px; padding: 4px 6px; }
.cc-nav-backdrop { display: none; }
@media (max-width: 860px) {
  .cc-burger { display: inline-flex; align-items: center; }
  .cc-side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; transform: translateX(-100%); transition: transform .2s ease; height: 100vh; }
  .cc-side.open { transform: translateX(0); }
  .cc-nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 55; }
  .cc-main { width: 100%; }
  .cc-top { padding: 11px 14px; }
  .cc-search { max-width: none; }
  .cc-body { padding: 16px 14px 32px; }
  .cc-pcols, .cc-gd { grid-template-columns: 1fr; }
  .cc-gd-rail { position: static; }
  .cc-msg { grid-template-columns: 1fr; height: auto; }
  .cc-convos { max-height: 240px; border-right: 0; border-bottom: 1px solid var(--cc-line); }
  .cc-thread { min-height: 360px; }
  .cc-row { flex-wrap: wrap; gap: 10px 14px; }
  .cc-ratecol, .cc-act { min-width: 0; text-align: left; }
  .cc-field-row { grid-template-columns: 1fr; }
  .cc-pactions { flex-wrap: wrap; }
  .cc-hdr { flex-wrap: wrap; }
  .cc-card { overflow-x: auto; }
  .cc-tbl { min-width: 520px; }
  .cc-grid { grid-template-columns: 1fr; }
}

/* ── Notifications bell ──────────────────────────────── */
.cc-bell { position: relative; background: none; border: 1px solid var(--cc-chrome-line); border-radius: var(--cc-radius-md); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--cc-chrome-soft); font-size: 18px; flex-shrink: 0; }
.cc-bell:hover { background: var(--cc-chrome-2); color: var(--cc-chrome-ink); }
.cc-bell-dot { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--cc-accent); border: 1.5px solid var(--cc-chrome); }
.cc-note { display: flex; gap: 11px; align-items: flex-start; padding: 10px; border-radius: var(--cc-radius-sm); }
.cc-note:hover { background: var(--cc-surface-2); }
.cc-note i { color: var(--cc-muted); margin-top: 2px; }
.cc-note .t { font-size: 13px; line-height: 1.4; color: var(--cc-ink); }
.cc-note .ti { font-size: 11.5px; color: var(--cc-faint); margin-top: 2px; }

/* ── Image uploader (drag & drop) ───────────────────────── */
.cc-up { width: 100%; }
.cc-drop {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 22px 16px; cursor: pointer;
  border: 1.5px dashed var(--cc-line); border-radius: var(--cc-radius-md);
  background: var(--cc-surface-2); color: var(--cc-muted);
  font: 500 13.5px/1.3 var(--cc-font); text-align: center;
  transition: border-color .15s, background .15s, color .15s;
}
.cc-drop:hover { border-color: var(--cc-accent-border); color: var(--cc-ink); }
.cc-drop.drag { border-color: var(--cc-accent); background: var(--cc-accent-tint); color: var(--cc-accent-ink); }
.cc-drop.busy { cursor: progress; opacity: .8; }
.cc-drop.compact { padding: 11px 14px; font-size: 13px; }
.cc-drop i { color: inherit; }
.cc-drop-err { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 12.5px; color: var(--cc-danger-ink); }
.cc-spin { animation: cc-spin .7s linear infinite; }
@keyframes cc-spin { to { transform: rotate(360deg); } }

/* ── Live-site teaser gate (logged-out visitors) ────────── */
.cc-lock {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; position: relative;
}
.cc-lock-blur {
  filter: blur(5px); -webkit-filter: blur(5px); user-select: none; pointer-events: none;
  color: var(--cc-ink); font: 700 14px/1 var(--cc-font); font-variant-numeric: tabular-nums; opacity: .8;
}
.cc-lock-i { color: var(--cc-faint); flex-shrink: 0; }
.cc-lock:hover .cc-lock-i { color: var(--cc-accent-ink); }
.cc-lock.wide .cc-lock-blur { filter: blur(7px); -webkit-filter: blur(7px); font-size: 26px; }

.cc-mbar { display: flex; align-items: center; gap: 10px; padding: 9px 18px; font-size: 13px; border-bottom: 1px solid var(--cc-line); }
.cc-mbar i { flex-shrink: 0; }
.cc-mbar > span { line-height: 1.4; }
.cc-mbar.demo { background: var(--cc-warn-bg); color: var(--cc-warn-ink); }
.cc-mbar.demo a { margin-left: auto; font-weight: 600; cursor: pointer; white-space: nowrap; color: inherit; text-decoration: underline; }
.cc-mbar.guest { background: var(--cc-accent-tint); color: var(--cc-accent-ink); }
.cc-mbar.guest > span { margin-right: auto; }

.cc-gate { text-align: center; padding: 30px 24px; }
.cc-gate > i { color: var(--cc-accent); }
.cc-gate h3 { margin: 8px 0 4px; font-size: 17px; }
.cc-gate p { color: var(--cc-muted); font-size: 14px; max-width: 440px; margin: 0 auto 14px; line-height: 1.5; }

.cc-hero { padding: 36px 0 24px; }
.cc-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
.cc-hero p { margin-top: 14px; font-size: 16px; color: var(--cc-muted); max-width: 56ch; line-height: 1.55; }

/* Editorial landing hero (logged-out) */
.cc-herobig { position: relative; border-radius: var(--cc-radius-lg); overflow: hidden; margin-bottom: 10px;
  background-color: #1b1915; background-position: center; background-size: cover; background-repeat: no-repeat;
  background-image: linear-gradient(110deg, rgba(20,18,12,.86) 0%, rgba(20,18,12,.55) 50%, rgba(20,18,12,.22) 100%), url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?auto=format&fit=crop&w=1600&q=70');
  padding: 60px 44px; }
.cc-herobig-in { max-width: 600px; }
.cc-herobig h1 { font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1.04; color: #fff; }
.cc-herobig p { margin-top: 14px; font-size: 16px; color: rgba(255,255,255,.84); max-width: 50ch; line-height: 1.55; }
.cc-herobig .cc-hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.cc-herobig .cc-btn:not(.primary) { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.cc-herobig .cc-btn:not(.primary):hover { background: rgba(255,255,255,.2); }
@media (max-width: 700px) { .cc-herobig { padding: 40px 22px; } .cc-herobig h1 { font-size: 32px; } }
.cc-hero-cta { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.cc-btn.lg { padding: 11px 20px; font-size: 15px; }

/* ── Admin dashboard helpers ────────────────────────────── */
.muted { color: var(--cc-muted); }
.cc-caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 18px; padding: 10px 2px; }
.cc-caps .cc-check { font-size: 12.5px; }
.cc-mqa { display: flex; flex-direction: column; gap: 9px; }
.cc-mqa-msg { border: 1px solid var(--cc-line); border-radius: 6px; padding: 8px 11px; font-size: 13px; line-height: 1.45; }
.cc-mqa-msg b { font-size: 12px; }

/* ─────────────────────────────────────────────────────────────
   Typography refinement — Schibsted display + Onest support
   Headings/names/numbers ride --cc-font (Schibsted). Supporting copy
   and micro-labels move to --cc-font-soft (Onest), de-tracked and a
   touch heavier so small text reads smooth + solid, not spindly
   wide-tracked "dashboard" caps. (Over-listed selectors are harmless.)
   ───────────────────────────────────────────────────────────── */
.cc-navlbl, .cc-menu-h, .cc-rtag, .cc-gear-cat, .cc-sectitle,
.cc-tbl th, .cc-flabel, .cc-rcard h4, .cc-sortbar .lbl, .cc-cell .k, .cc-statstrip .k {
  font-family: var(--cc-font-soft);
  letter-spacing: .015em;
}
/* Stat / rating labels read smoothest in sentence case, not wide caps */
.cc-cell .k, .cc-statstrip .k {
  text-transform: none; letter-spacing: 0; font-size: 11.5px; font-weight: 600; color: var(--cc-muted);
}
/* Supporting copy → Onest, weight 500 so it isn't thin */
.cc-hdr .cnt, .cc-l2, .cc-l2 i, .cc-crew-role, .cc-crew-meta, .cc-evcard-meta,
.cc-evcard-foot, .cc-menu-i .sub, .cc-rate small, .cc-apps,
.cc-ago, .cc-hint, .cc-note, .cc-state-s, .cc-scope, .cc-demo-tag {
  font-family: var(--cc-font-soft);
  font-weight: 500;
}

/* ═══════════════ Discovery search bar (role / where / when) ═══════════════ */
.cc-disc-wrap { padding: 6px 0 2px; }
.cc-disc { display: flex; align-items: stretch; background: var(--cc-surface); border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius-pill); box-shadow: 0 1px 4px rgba(20,18,12,.07); max-width: 880px; margin: 0 auto; }
.cc-disc-seg { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 9px 20px;
  border-radius: var(--cc-radius-pill); min-width: 0; }
.cc-disc-seg + .cc-disc-seg { border-left: 1px solid var(--cc-line); }
.cc-disc-seg:hover { background: var(--cc-surface-2); }
.cc-disc-seg .lbl { font: 600 11px/1 var(--cc-font); letter-spacing: .01em; color: var(--cc-ink); margin-bottom: 4px; }
.cc-disc-seg input { border: 0; background: transparent; font: 500 13.5px/1.2 var(--cc-font-soft); color: var(--cc-ink); width: 100%; outline: none; padding: 0; }
.cc-disc-seg input::placeholder { color: var(--cc-faint); font-weight: 500; }
.cc-disc-when { display: flex; align-items: center; gap: 6px; }
.cc-disc-when input { width: 7.6em; }
.cc-disc-when .arrow { color: var(--cc-faint); font-size: 12px; }
.cc-disc-go { align-self: center; margin: 6px; width: 46px; height: 46px; flex-shrink: 0; border: 0; border-radius: 50%;
  background: var(--cc-accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cc-disc-go:hover { filter: brightness(1.06); }
@media (max-width: 760px) {
  .cc-disc { flex-direction: column; align-items: stretch; border-radius: var(--cc-radius-lg); padding: 6px; }
  .cc-disc-seg { padding: 11px 14px; }
  .cc-disc-seg + .cc-disc-seg { border-left: 0; border-top: 1px solid var(--cc-line); }
  /* full-width search button below the stacked fields (was a floating circle) */
  .cc-disc-go { width: 100%; height: 46px; border-radius: var(--cc-radius-md); margin: 8px 0 0; align-self: stretch; gap: 8px; }
  .cc-disc-go::after { content: 'Search'; font: 600 14px/1 var(--cc-font); color: #fff; }
}

/* ═══════════════ Discovery rails (Jobs home) ═══════════════ */
.cc-railsec { margin-top: 28px; }
.cc-railhead { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.cc-railhead h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.cc-railhead .sub { font-size: 12.5px; color: var(--cc-soft); font-family: var(--cc-font-soft); font-weight: 500; }
.cc-railhead .nav { margin-left: auto; display: flex; gap: 7px; align-items: center; }
.cc-railhead .nav .rb { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--cc-line); background: var(--cc-surface);
  color: var(--cc-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cc-railhead .nav .rb:hover { background: var(--cc-surface-2); }
.cc-rail { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px 2px 6px; }
.cc-rail::-webkit-scrollbar { display: none; }
.cc-rail > * { flex: 0 0 250px; }
@media (max-width: 600px) { .cc-rail > * { flex-basis: 80%; } }

/* ═══════════════ Gig card (visual) ═══════════════ */
.cc-gigcard { background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg);
  overflow: hidden; cursor: pointer; box-shadow: 0 1px 3px rgba(20,18,12,.05); display: flex; flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease; }
.cc-gigcard:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(20,18,12,.11); }
.cc-gc-vis { position: relative; height: 138px; background: var(--cc-chrome); color: var(--cc-chrome-ink);
  padding: 13px 14px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.cc-gc-vis .wm { position: absolute; right: -16px; bottom: -26px; opacity: .09; color: #fff; pointer-events: none; }
.cc-gc-vis .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; position: relative; z-index: 1; }
.cc-gc-scope { font: 600 10px/1 var(--cc-font-soft); letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.13); color: #fff; border-radius: var(--cc-radius-sm); padding: 4px 8px; display: inline-flex; align-items: center; gap: 5px; }
.cc-gc-fav { background: rgba(255,255,255,.93); color: var(--cc-ink); border-radius: var(--cc-radius-pill);
  padding: 4px 9px; font: 600 10px/1 var(--cc-font); white-space: nowrap; }
/* Provisional badge — new/unrated poster, lower visibility until vouched. */
.cc-gc-prov { font: 700 10px/1 var(--cc-font-soft); letter-spacing: .04em; text-transform: uppercase;
  background: rgba(0,0,0,.34); color: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--cc-radius-sm); padding: 4px 8px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.cc-gc-prov i { font-size: 11px; }
/* Poster reputation on a gig card. */
.cc-gc-prating { color: var(--cc-accent); font-weight: 600; }
.cc-gc-prating i { color: var(--cc-accent) !important; }
.cc-gc-role { position: relative; z-index: 1; font-size: 21px; font-weight: 700; letter-spacing: -.025em; line-height: 1.08; color: #fff; }
.cc-gc-body { padding: 11px 13px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cc-gc-ttl { font-size: 13.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-gc-meta { display: flex; flex-direction: column; gap: 3px; font: 500 11.5px/1.35 var(--cc-font-soft); color: var(--cc-soft); }
.cc-gc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cc-gc-meta i { color: var(--cc-faint); font-size: 13px; }
.cc-gc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 9px; border-top: 1px solid var(--cc-line); }
.cc-gc-rate { font: 700 14px/1 var(--cc-font); } .cc-gc-rate small { font: 500 10px var(--cc-font-soft); color: var(--cc-muted); }
.cc-gc-apps { font: 500 11px var(--cc-font-soft); color: var(--cc-muted); }
.cc-cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 4px; }

/* ═══════════════ Crew split (browse): list left, live profile right ═══════════════ */
.cc-maxw.wide { max-width: 1320px; }
.cc-split2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0; align-items: start; margin-top: 14px; }
.cc-split2-list { padding-right: 22px; }
.cc-split2-panel { position: sticky; top: 78px; max-height: calc(100vh - 96px); overflow-y: auto;
  border-left: 1px solid var(--cc-line); padding: 2px 4px 24px 24px; }
.cc-split2-panel::-webkit-scrollbar { width: 8px; } .cc-split2-panel::-webkit-scrollbar-thumb { background: var(--cc-line); border-radius: 8px; }
.cc-clist { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.cc-crew.sel { outline: 2px solid var(--cc-accent); outline-offset: 0; box-shadow: 0 4px 14px rgba(20,18,12,.10); }
.cc-embed .cc-pcols.embed { grid-template-columns: 1fr; }
.cc-embed .cc-card:first-child { margin-top: 0; }
@media (max-width: 980px) {
  .cc-split2 { grid-template-columns: 1fr; }
  .cc-split2-panel { display: none; }
  .cc-split2-list { padding-right: 0; }
}

/* Crew split — give the profile panel a touch more room + fit the embedded profile */
.cc-split2 { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
.cc-clist { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cc-embed .cc-phead { flex-wrap: wrap; gap: 12px 14px; align-items: flex-start; }
.cc-embed .cc-pname h1 { font-size: 21px; letter-spacing: -.02em; line-height: 1.12; }
.cc-embed .cc-roleline { font-size: 13px; }
.cc-embed .cc-pactions { width: 100%; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cc-embed .cc-pactions .cc-btn { flex: 0 0 auto; }
.cc-embed .cc-strip { flex-wrap: wrap; }
.cc-embed .cc-strip .cc-cell { flex: 1 1 44%; }
.cc-embed .cc-purl { font-size: 11px; word-break: break-all; }

/* Gig card save heart (Airbnb parity) */
.cc-gc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.cc-gc-heart { background: rgba(255,255,255,.16); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.cc-gc-heart:hover { background: rgba(255,255,255,.30); }
.cc-gc-heart.on { color: var(--cc-accent-onchrome); }

/* Crew card save heart */
.cc-crew { position: relative; }
.cc-crew-heart { position: absolute; top: 10px; right: 10px; background: var(--cc-surface); border: 1px solid var(--cc-line);
  color: var(--cc-soft); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.cc-crew-heart:hover { background: var(--cc-surface-2); }
.cc-crew-heart.on { color: var(--cc-accent); border-color: var(--cc-accent-border); background: var(--cc-accent-tint); }

/* ═══════════ Profile preview = a distinct, elevated record (not a card) ═══════════ */
.cc-split2-panel { border-left: 0; padding: 6px 4px 30px; }
.cc-embed { background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: 20px;
  box-shadow: 0 10px 34px rgba(20,18,12,.10); overflow: hidden; }
/* inner section-cards collapse into one continuous sheet, hairline-divided */
.cc-embed .cc-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: 18px 22px; }
.cc-embed .cc-sec { margin-top: 0 !important; }
.cc-embed .cc-pcols { display: block; gap: 0; padding: 0; }
.cc-embed .cc-pcols > div > .cc-card { border-top: 1px solid var(--cc-line); }
/* header: soft cover banner + big avatar overlapping it */
.cc-embed .cc-phead-card { padding: 0 0 18px; }
.cc-pcover { height: 96px; background: linear-gradient(120deg, var(--cc-accent-tint) 0%, var(--cc-surface-2) 72%); }
.cc-embed .cc-phead { flex-direction: column; align-items: flex-start; gap: 7px; padding: 0 22px; margin-top: -52px; }
.cc-embed .cc-phead > .cc-avatar { width: 96px !important; height: 96px !important; font-size: 32px !important;
  border: 4px solid var(--cc-surface); box-shadow: 0 3px 10px rgba(20,18,12,.14); }
.cc-embed .cc-pname { margin-top: 2px; }
.cc-embed .cc-pname h1 { font-size: 24px; letter-spacing: -.02em; }
.cc-embed .cc-pactions { width: 100%; margin-top: 12px; }
.cc-embed .cc-strip { margin: 14px 22px 0; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); overflow: hidden; }

/* Native date/time inputs default to the OS mono-ish font — force the app face */
input[type="date"], input[type="time"], input[type="datetime-local"],
input[type="date"]::-webkit-datetime-edit, input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="date"]::-webkit-datetime-edit-text, input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field, input[type="date"]::-webkit-datetime-edit-year-field {
  font-family: var(--cc-font-soft);
}

/* ── Feed: composer + multimedia posts ── */
.cc-composer2 { display: flex; align-items: center; gap: 12px; }
.cc-composer2-in { flex: 1; min-width: 0; border: 0; background: var(--cc-surface-2); border-radius: var(--cc-radius-pill); padding: 11px 16px; font: 500 14px/1 var(--cc-font-soft); color: var(--cc-ink); }
.cc-composer2-in::placeholder { color: var(--cc-muted); }
.cc-composer2-in:focus { outline: none; background: var(--cc-surface); box-shadow: 0 0 0 1px var(--cc-line) inset; }
.cc-post-media { display: grid; gap: 4px; margin-top: 10px; border-radius: var(--cc-radius-md); overflow: hidden; }
.cc-post-media.n1 { grid-template-columns: 1fr; }
.cc-post-media.n2, .cc-post-media.n3, .cc-post-media.n4 { grid-template-columns: 1fr 1fr; }
.cc-post-img { position: relative; display: block; min-width: 0; }
.cc-post-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; background: var(--cc-surface-2); }
.cc-post-media.n1 .cc-post-img img { aspect-ratio: 16 / 10; max-height: 460px; }
.cc-post-media.n3 .cc-post-img:first-child { grid-row: span 2; }
.cc-post-media.n3 .cc-post-img:first-child img { aspect-ratio: auto; height: 100%; }
/* Pin-to-portfolio overlay button (working-mode only). Hidden until hover. */
.cc-pin-btn { position: absolute; top: 7px; right: 7px; display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px/1 var(--cc-font); padding: 5px 9px; border-radius: var(--cc-radius-pill); border: 0; cursor: pointer; background: rgba(20,20,22,.74); color: #fff; opacity: 0; transition: opacity .12s; backdrop-filter: blur(3px); }
.cc-post-img:hover .cc-pin-btn { opacity: 1; }
.cc-pin-btn:hover { background: rgba(20,20,22,.9); }
.cc-pin-btn.on { opacity: 1; background: var(--cc-accent); }
.cc-pin-btn:disabled { cursor: default; }
.cc-post-video { margin-top: 10px; border-radius: var(--cc-radius-md); overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.cc-post-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Profile strength meter (owner-only) + portfolio freshness banner */
.cc-meter h3 { justify-content: flex-start; }
.cc-meter-pct { margin-left: auto; font: 700 13px/1 var(--cc-font); font-variant-numeric: tabular-nums; }
.cc-meter-pct.good { color: var(--cc-accent); }
.cc-meter-pct.mid { color: #b8860b; }
.cc-meter-pct.low { color: #c25a3b; }
.cc-meter-bar { height: 7px; border-radius: 4px; background: var(--cc-surface-2); overflow: hidden; }
.cc-meter-bar .fill { display: block; height: 100%; border-radius: 4px; background: var(--cc-accent); transition: width .3s ease; }
.cc-meter-bar .fill.mid { background: #d4a017; }
.cc-meter-bar .fill.low { background: #c25a3b; }
.cc-meter-stale { display: flex; align-items: flex-start; gap: 7px; margin-top: 11px; font-size: 12.5px; color: var(--cc-soft); }
.cc-meter-stale .ti { color: #b8860b; margin-top: 1px; flex-shrink: 0; }
.cc-meter-tips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.cc-meter-tip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: var(--cc-radius-pill); background: var(--cc-surface-2); color: var(--cc-soft); }
.cc-fresh-banner { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; margin-bottom: 14px; border-radius: var(--cc-radius-md); background: var(--cc-accent-tint); border: 1px solid var(--cc-accent-border); }
.cc-fresh-banner > .ti { color: var(--cc-accent); margin-top: 1px; flex-shrink: 0; }
.cc-fresh-banner b { display: block; font-size: 13.5px; color: var(--cc-ink); margin-bottom: 2px; }
.cc-fresh-banner span { font-size: 12.5px; color: var(--cc-soft); line-height: 1.4; }

/* Event detail hero banner */
.cc-evhero { padding: 0; overflow: hidden; }
.cc-evhero-img { background-color: var(--cc-chrome); background-size: cover; background-position: center; min-height: 190px; padding: 16px 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.cc-evhero-img h1 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; color: #fff; line-height: 1.05; }
.cc-evhero-img .cc-evcard-kind { align-self: flex-start; }
.cc-evhero-meta { padding: 13px 20px; }

/* Combobox dropdown (search bar role / where) */
.cc-combo { position: relative; width: 100%; }
.cc-combo-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; max-width: 320px; max-height: 300px; overflow-y: auto; background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); box-shadow: 0 14px 36px rgba(20,18,12,.16); z-index: 60; padding: 6px; }
.cc-combo-opt { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: var(--cc-radius-sm); padding: 9px 12px; font: 500 13.5px/1.2 var(--cc-font-soft); color: var(--cc-ink); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-combo-opt:hover, .cc-combo-opt.hi { background: var(--cc-surface-2); }

/* Gig-card teaser: smooth gradient blur over the connect-details.
   Two stacked copies — a sharp one masked to fade OUT toward the bottom, and a
   blurred one masked to fade IN — so the details go from clear (just under the
   title) to fully blurred at the bottom. Uses filter:blur + mask (reliable
   inside the rounded/overflow cards, unlike backdrop-filter). */
/* Teaser fog: one continuous fade over the whole card body — sharp under the
   title, blurring more toward the bottom, then dissolving into opaque grey at
   the bottom edge (full width) so it reads as depth/curvature, not redaction.
   Two blurred copies (light on top, heavy below) + a grey veil to the edge. */
.cc-gc-fog { position: relative; }
.cc-gc-fog-light { filter: blur(2.5px); -webkit-filter: blur(2.5px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 6%, transparent 64%); mask-image: linear-gradient(to bottom, #000 0%, #000 6%, transparent 64%); }
.cc-gc-fog-heavy { position: absolute; inset: 0; pointer-events: none; filter: blur(8px); -webkit-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 28%, #000 82%); mask-image: linear-gradient(to bottom, transparent 28%, #000 82%); }
.cc-gc-fog-veil { position: absolute; left: -13px; right: -13px; bottom: -12px; height: 82%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(243,241,236,0) 0%, rgba(243,241,236,.55) 55%, var(--cc-surface-2) 100%); }

/* Home: browse-all entry cards (under the relevant-gig rails) */
.cc-homebrowse { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 24px; }
.cc-homebrowse button { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); padding: 14px 16px; cursor: pointer; color: var(--cc-ink); box-shadow: 0 1px 3px rgba(20,18,12,.05); transition: box-shadow .12s, transform .12s; }
.cc-homebrowse button:hover { box-shadow: 0 6px 18px rgba(20,18,12,.10); transform: translateY(-1px); }
.cc-homebrowse button > .ti:first-child { color: var(--cc-accent); flex-shrink: 0; }
.cc-homebrowse button > .ti:last-child { color: var(--cc-faint); margin-left: auto; flex-shrink: 0; }
.cc-homebrowse button span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cc-homebrowse button b { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.cc-homebrowse button span i { font: 500 12px/1.3 var(--cc-font-soft); font-style: normal; color: var(--cc-muted); }
@media (max-width: 600px) { .cc-homebrowse { grid-template-columns: 1fr; } }

/* Standalone logged-out landing (no app shell, no browse) */
.cc-landing { flex: 1; width: 100%; min-width: 0; min-height: 100vh; background: var(--cc-canvas); }
.cc-landing-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 18px 32px; }
.cc-landing-top .cc-wm { font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--cc-ink); }
.cc-landing-top .cc-wm .dot { color: var(--cc-accent); }
.cc-landing-actions { display: flex; gap: 10px; align-items: center; }
.cc-landing-hero { max-width: 1120px; margin: 0 auto; padding: 4px 32px 0; }
.cc-landing-projects { max-width: 1120px; margin: 0 auto; padding: 44px 32px 90px; text-align: center; }
.cc-landing-projhead h2 { font-size: 27px; font-weight: 700; letter-spacing: -.025em; }
.cc-landing-projhead p { color: var(--cc-soft); font-size: 14.5px; font-family: var(--cc-font-soft); margin: 8px 0 28px; }
.cc-landing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 18px; max-width: none; margin: 0 auto; text-align: left; }
.cc-landing-foot { margin-top: 40px; }
@media (max-width: 760px) { .cc-landing-top, .cc-landing-hero, .cc-landing-projects { padding-left: 18px; padding-right: 18px; } }

/* Home "Create" card (composer + quick-create chips) */
.cc-create { display: flex; flex-direction: column; gap: 12px; }
.cc-create-top { display: flex; align-items: center; gap: 12px; }
.cc-create-actions { display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--cc-line); padding-top: 12px; }
.cc-create-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--cc-surface-2); border: 0; border-radius: var(--cc-radius-pill); padding: 8px 14px; font: 600 13px/1 var(--cc-font-soft); color: var(--cc-ink); cursor: pointer; }
.cc-create-chip:hover { background: var(--cc-chip); }
.cc-create-chip i { color: var(--cc-accent); }
.cc-avail-preview { background: var(--cc-surface-2); border-radius: var(--cc-radius-md); padding: 11px 13px; font: 500 13.5px/1.4 var(--cc-font-soft); color: var(--cc-ink); }
/* Sidebar relevant-gig links + "browse all" */
.cc-rline.cc-rlink { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--cc-surface-2); cursor: pointer; text-align: left; display: flex; align-items: center; padding: 7px 0; font-size: 13px; }
.cc-rline.cc-rlink:hover { color: var(--cc-accent-ink); }
.cc-rmore { display: inline-block; background: none; border: 0; color: var(--cc-accent-ink); font: 600 12.5px/1 var(--cc-font-soft); cursor: pointer; padding: 9px 0 2px; }
.cc-rmore:hover { text-decoration: underline; }

/* Inline profile editing (own profile, public layout) */
.cc-pedit { display: flex; flex-direction: column; gap: 8px; max-width: 440px; }
.cc-pedit-name { font-size: 18px; font-weight: 700; }
.cc-strip .cc-cell input.cc-input { max-width: 120px; }

/* Post-a-tour (CSV batch) */
.cc-tourlink { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: var(--cc-accent-tint); border: 1px solid var(--cc-accent-border); border-radius: var(--cc-radius-md); padding: 12px 14px; margin-bottom: 16px; cursor: pointer; color: var(--cc-ink); font: 500 13.5px/1.4 var(--cc-font-soft); }
.cc-tourlink i { color: var(--cc-accent); flex-shrink: 0; }
.cc-tourlink b { font-weight: 700; }
.cc-tour-steps { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-top: 14px; }
.cc-tour-steps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--cc-soft); font-family: var(--cc-font-soft); flex-wrap: wrap; }
.cc-tour-steps .n { width: 22px; height: 22px; border-radius: 50%; background: var(--cc-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 12px/1 var(--cc-font); flex-shrink: 0; }
.cc-tour-steps code { background: var(--cc-surface-2); border-radius: 4px; padding: 2px 6px; font: 500 12px/1.4 var(--cc-font-soft); color: var(--cc-ink); }
.cc-filebtn { display: inline-flex; align-items: center; gap: 7px; background: var(--cc-surface-2); border-radius: var(--cc-radius-pill); padding: 8px 14px; cursor: pointer; font: 600 13px/1 var(--cc-font-soft); }
.cc-filebtn:hover { background: var(--cc-chip); }
.cc-err { display: flex; align-items: center; gap: 7px; color: var(--cc-danger-ink); background: var(--cc-danger-bg); border-radius: var(--cc-radius-md); padding: 9px 12px; margin-top: 12px; font-size: 13px; }
.cc-tbl-wrap { overflow-x: auto; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); }

/* Price tier ($–$$$$$) — public stand-in for a private day rate */
.cc-price { font: 700 16px/1 var(--cc-font); letter-spacing: 1.5px; color: var(--cc-faint); }
.cc-price.big { font-size: 20px; }
.cc-price .on { color: var(--cc-accent-ink); }
.cc-price.muted { font: 600 12.5px/1 var(--cc-font-soft); color: var(--cc-muted); letter-spacing: 0; }
.cc-tierpick { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.cc-tierbtn { background: var(--cc-surface-2); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); padding: 7px 11px; font: 700 13px/1 var(--cc-font); letter-spacing: 1px; color: var(--cc-faint); cursor: pointer; }
.cc-tierbtn:hover { border-color: var(--cc-faint); }
.cc-tierbtn.on { background: var(--cc-accent-tint); border-color: var(--cc-accent-border); color: var(--cc-accent-ink); }
/* DateField rests as a normal text field (app font); pointer cursor to invite the picker */
input[readonly].cc-input, .cc-disc-when input[readonly] { cursor: pointer; }

/* Clickable feed post / comment author */
.cc-post-author { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; color: inherit; border-radius: var(--cc-radius-sm); }
.cc-post-author:hover .nm { text-decoration: underline; }
.cc-comment > a { flex-shrink: 0; line-height: 0; }
.cc-comment .cn:hover { text-decoration: underline; }
/* Profile avatar with inline "change photo" while editing */
.cc-pavatar { position: relative; flex-shrink: 0; width: 84px; height: 84px; }
.cc-pavatar.edit .cc-up { position: absolute; inset: 0; }
.cc-pavatar.edit .cc-drop { width: 84px; height: 84px; min-height: 0; border-radius: 50%; padding: 0; gap: 3px; background: rgba(0,0,0,.55); color: #fff; border: 2px dashed rgba(255,255,255,.65); }
.cc-pavatar.edit .cc-drop span { font-size: 10px; line-height: 1.15; text-align: center; max-width: 72px; }

/* ── Unified Airbnb split browser: Jobs + Events (Crew already used cc-split2) ── */
.cc-disc { max-width: 920px; }            /* search box centered (margin:auto) in the white space */
.cc-gigcard.sel, .cc-evcard.sel { outline: 2px solid var(--cc-accent); outline-offset: 0; box-shadow: 0 4px 14px rgba(20,18,12,.10); }
.cc-evcard { width: 100%; }
.cc-evlist { grid-template-columns: 1fr; gap: 14px; }      /* events stack in the list column */
.cc-giglist { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
/* Embedded gig brief = single column inside the right panel */
.cc-embed-gig { padding: 2px; }
.cc-embed-gig .cc-gd { grid-template-columns: 1fr; gap: 0; }
.cc-embed-gig .cc-gd-rail { position: static; top: auto; }
/* Event panel (right side of the Events split + the full /events/:id page) */
.cc-evpanel { background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: 18px; overflow: hidden; }
.cc-evpanel .cc-evhero-img { min-height: 168px; }
.cc-evpanel-body { padding: 2px 18px 22px; }
.cc-evpanel-body .cc-evhero-meta { padding: 12px 0 2px; }
.cc-evpanel .cc-card { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin-top: 18px !important; }

/* ════════════════ MOBILE POLISH (phones) ════════════════ */
@media (max-width: 640px) {
  /* Top bar: compact the persona switcher to avatar + chevron (the name/role
     wrapped to 2-3 lines and ate the bar). Search collapses to fill. */
  .cc-top .cc-chip .nm, .cc-top .cc-chip .md { display: none; }
  .cc-top .cc-chip { padding: 4px 6px; gap: 6px; }
  .cc-top { gap: 8px; }
  .cc-search { min-width: 0; }

  /* Mode banner: tighter so it doesn't dominate the first screen. */
  .cc-mbar { font-size: 12px; padding: 8px 14px; gap: 8px; line-height: 1.35; align-items: flex-start; }
  .cc-mbar > i { margin-top: 2px; }

  /* Section header rows (title + action button) wrap instead of squashing. */
  .cc-hdr { flex-wrap: wrap; gap: 10px 12px; }
  .cc-hdr h2 { font-size: 22px; }

  /* Any data table scrolls horizontally inside its card instead of being clipped. */
  .cc-tbl { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .cc-tbl thead, .cc-tbl tbody, .cc-tbl tr { width: 100%; }

  /* Filter / sort bar: one tidy scrollable row rather than a ragged wrap. */
  .cc-sortbar { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .cc-sortbar::-webkit-scrollbar { display: none; }
  .cc-sortbar .cc-sortopt, .cc-sortbar .cc-btn { flex: 0 0 auto; }

  /* Messages: stacked single-column (convos on top, thread fills the rest). */
  .cc-msg { grid-template-columns: 1fr; height: auto; }
  .cc-convos { max-height: 38vh; border-right: 0; border-bottom: 1px solid var(--cc-line); }
  .cc-thread { min-height: 56vh; }
  .cc-bubble { max-width: 86%; }

  /* Card grids go single-column so nothing is cramped. */
  .cc-cardgrid, .cc-clist, .cc-giglist, .cc-ev-grid, .cc-landing-grid { grid-template-columns: 1fr; }

  /* Modals: full-width sheets with breathing room. */
  .cc-modal { width: 100%; max-width: 100%; }
  .cc-modal-bg { padding: 12px; align-items: flex-end; }

  /* Body padding a touch tighter on phones. */
  .cc-body { padding-left: 14px; padding-right: 14px; }
  .cc-maxw, .cc-maxw.wide { max-width: 100%; }

  /* Profile head: stack avatar / name / actions so the action buttons stop
     overlapping the name and the meta gets full width. */
  .cc-phead { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cc-phead > .cc-avatar { width: 76px !important; height: 76px !important; font-size: 26px !important; }
  .cc-pname { flex-wrap: wrap; }
  .cc-pname h1 { font-size: 24px; line-height: 1.1; }
  .cc-roleline { font-size: 14px; }
  .cc-pmeta { gap: 5px 14px; }
  .cc-pactions { width: 100%; flex-wrap: wrap; gap: 8px; }
  .cc-pactions .cc-btn { flex: 1 1 auto; justify-content: center; }
  .cc-pactions .cc-btn.icon { flex: 0 0 auto; }

  /* List rows (gigs in an event, crew search): give the lead the full width and
     drop rate + action onto the next line, and keep each meta chip on one line
     so dates stop wrapping character-by-character. */
  .cc-row { flex-wrap: wrap; align-items: flex-start; gap: 8px 14px; }
  .cc-lead { flex: 1 1 100%; }
  .cc-ttl { white-space: normal; }
  /* meta chips stay whole + wrap as units (no character-by-character wrapping) */
  .cc-l2 span, .cc-gd-meta > span, .cc-crew-meta > span, .cc-pmeta > span { white-space: nowrap; }
  .cc-ratecol { flex: 0 0 auto; text-align: left; min-width: 0; }
  .cc-act { flex: 1 1 auto; text-align: left; min-width: 0; }
  .cc-act .cc-btn { width: auto; }
}

/* Tightest phones */
@media (max-width: 400px) {
  .cc-hdr h2 { font-size: 20px; }
  .cc-disc-seg .lbl { font-size: 10.5px; }
}

/* ════════════ JOBS: differentiated feed card + post flow ════════════ */
/* Job post card — deliberately a different shape from social posts */
.cc-jobpost { position: relative; background: var(--cc-surface); border: 1px solid var(--cc-line);
  border-left: 3px solid var(--cc-accent); border-radius: var(--cc-radius-lg); padding: 15px 16px 13px;
  margin-bottom: 14px; cursor: pointer; box-shadow: 0 1px 3px rgba(20,18,12,.05); transition: box-shadow .12s; }
.cc-jobpost:hover { box-shadow: 0 6px 20px rgba(20,18,12,.10); }
.cc-jobpost-tab { display: inline-flex; align-items: center; gap: 5px; font: 700 9.5px/1 var(--cc-font);
  letter-spacing: .07em; text-transform: uppercase; color: var(--cc-accent-ink); background: var(--cc-accent-tint);
  border-radius: var(--cc-radius-pill); padding: 4px 9px; margin-bottom: 9px; }
.cc-jobpost-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cc-jobflag { display: inline-flex; align-items: center; gap: 5px; font: 700 11px/1 var(--cc-font); color: #fff;
  background: var(--cc-ink); border: 0; border-radius: var(--cc-radius-sm); padding: 4px 8px; max-width: 100%; cursor: pointer; }
.cc-jobflag:hover { filter: brightness(1.14); text-decoration: underline; }
.cc-jobflag i { opacity: .9; }
.cc-jobflag.event { background: #6D3BD1; } .cc-jobflag.tour { background: #2D6FE0; }
.cc-jobflag.fulltime { background: #1F7A4D; } .cc-jobflag.house { background: #B4632A; }
.cc-jobflag.local, .cc-jobflag.oneoff { background: #4A453B; } .cc-jobflag.ongoing { background: #8A7A2E; }
.cc-jobpost-by { font: 500 12px/1.2 var(--cc-font-soft); color: var(--cc-muted); margin-left: auto; }
.cc-jobpost-role { font: 700 19px/1.15 var(--cc-font); letter-spacing: -.02em; color: var(--cc-ink); margin-top: 9px; }
.cc-jobpost-x { color: var(--cc-muted); font-weight: 600; font-size: 15px; }
.cc-jobpost-meta { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; margin-top: 7px;
  font: 500 13px/1 var(--cc-font-soft); color: var(--cc-soft); }
.cc-jobpost-meta > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.cc-jobpost-meta i { color: var(--cc-faint); }
.cc-jobpost-budget .cc-price { font-size: 15px; }
.cc-jobpost-slot { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 600 12.5px/1 var(--cc-font-soft);
  color: var(--cc-accent-ink); background: var(--cc-accent-tint); border-radius: var(--cc-radius-sm); padding: 5px 9px; }
.cc-jobpost-desc { margin-top: 10px; font: 400 13.5px/1.5 var(--cc-font-soft); color: var(--cc-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-jobpost-reqs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.cc-reqchip { display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px/1 var(--cc-font-soft); color: var(--cc-soft);
  background: var(--cc-surface-2); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-pill); padding: 5px 9px; }
.cc-reqchip i { color: var(--cc-faint); }
.cc-reqchip.ok { color: var(--cc-accent-ink); background: var(--cc-accent-tint); border-color: var(--cc-accent-border); }
.cc-reqchip.ok i { color: var(--cc-accent); }
.cc-reqchip-x { background: none; border: 0; cursor: pointer; color: var(--cc-muted); padding: 0 0 0 3px; display: inline-flex; align-items: center; }
.cc-jobpost-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px;
  padding-top: 11px; border-top: 1px solid var(--cc-line); }
.cc-jobpost-foot .cc-num { font-size: 12.5px; color: var(--cc-muted); }

/* Feed controls (jobs filter + sort) */
.cc-feedctl { display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; }
.cc-feedctl-seg { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--cc-font-soft); color: var(--cc-soft);
  background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-pill); padding: 8px 14px; cursor: pointer; }
.cc-feedctl-seg.on { background: var(--cc-accent-tint); border-color: var(--cc-accent-border); color: var(--cc-accent-ink); }
.cc-feedctl-sort { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--cc-muted); font-size: 13px; }
.cc-feedctl-sort select { border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); background: var(--cc-surface);
  padding: 7px 10px; font: 600 13px/1 var(--cc-font-soft); color: var(--cc-ink); cursor: pointer; }

/* Post-a-gig type chooser */
.cc-kindgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 6px; }
.cc-kindcard { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; background: var(--cc-surface);
  border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); padding: 18px; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.cc-kindcard:hover { border-color: var(--cc-accent); box-shadow: 0 6px 20px rgba(20,18,12,.08); }
.cc-kindcard .ic { width: 42px; height: 42px; border-radius: var(--cc-radius-md); background: var(--cc-accent-tint); color: var(--cc-accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 7px; }
.cc-kindcard .t { font: 700 16px/1.15 var(--cc-font); letter-spacing: -.01em; color: var(--cc-ink); }
.cc-kindcard .s { font: 500 12.5px/1.3 var(--cc-font-soft); color: var(--cc-muted); }

/* required/optional label pills */
.cc-req { font: 700 9.5px/1 var(--cc-font); text-transform: uppercase; letter-spacing: .04em; color: var(--cc-accent-ink);
  background: var(--cc-accent-tint); border-radius: 4px; padding: 2px 5px; margin-left: 6px; vertical-align: middle; }
.cc-opt { font: 500 11px/1 var(--cc-font-soft); color: var(--cc-muted); margin-left: 6px; }

/* gear tags input */
.cc-geartags-row { display: flex; gap: 8px; }
.cc-geartags-row .cc-input { flex: 1; }
.cc-geartags-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }

/* radio option rows */
.cc-radio { display: flex; flex-direction: column; gap: 8px; }
.cc-radioopt { display: flex; align-items: center; gap: 9px; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md);
  padding: 11px 13px; cursor: pointer; font: 500 13.5px/1.2 var(--cc-font-soft); color: var(--cc-ink); }
.cc-radioopt i { color: var(--cc-faint); }
.cc-radioopt.on { border-color: var(--cc-accent); background: var(--cc-accent-tint); color: var(--cc-accent-ink); }
.cc-radioopt.on i { color: var(--cc-accent); }
.cc-radioopt input { accent-color: var(--cc-accent); flex-shrink: 0; }

/* ════════════ Post-a-job popup (single modal, dynamic fields) ════════════ */
.cc-postmodal { width: 580px; max-width: 100%; max-height: 92vh; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.cc-postmodal-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid var(--cc-line); flex-shrink: 0; }
.cc-postmodal-head h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.cc-modal-x { background: none; border: 0; color: var(--cc-muted); cursor: pointer; display: inline-flex; padding: 4px; border-radius: var(--cc-radius-sm); }
.cc-modal-x:hover { background: var(--cc-surface-2); color: var(--cc-ink); }
.cc-postmodal-body { overflow-y: auto; padding: 16px 20px 8px; display: flex; flex-direction: column; gap: 14px; }
.cc-postmodal-body .cc-field { margin: 0; }
.cc-postmodal-foot { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--cc-line); flex-shrink: 0; }
.cc-postmodal-tour { margin-right: auto; background: none; border: 0; color: var(--cc-muted); font: 600 12.5px/1.2 var(--cc-font-soft); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; text-align: left; }
.cc-postmodal-tour:hover { color: var(--cc-accent-ink); }
/* type selector — pick first, fields below adapt */
.cc-typeseg { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; }
.cc-typeseg-opt { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: 600 13px/1 var(--cc-font-soft); color: var(--cc-soft); background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-md); padding: 10px 8px; cursor: pointer; }
.cc-typeseg-opt.on { background: var(--cc-accent-tint); border-color: var(--cc-accent); color: var(--cc-accent-ink); }
.cc-typeseg-opt i { color: var(--cc-faint); }
.cc-typeseg-opt.on i { color: var(--cc-accent); }
/* project line on the job card */
.cc-jobpost-project { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; font: 600 12.5px/1 var(--cc-font-soft); color: var(--cc-soft); }
.cc-jobpost-project i { color: var(--cc-faint); }

/* ════════ Browse grid → search "fly" to the split (Airbnb-style) ════════ */
.cc-browsehero { text-align: center; padding: 28px 12px 6px; }
.cc-browsehero h1 { font-size: 33px; font-weight: 800; letter-spacing: -.03em; color: var(--cc-ink); }
.cc-browsehero p { color: var(--cc-soft); font-size: 14.5px; font-family: var(--cc-font-soft); margin: 8px 0 20px; }
.cc-disc-hero { max-width: 760px; margin: 0 auto; }
.cc-disc-hero .cc-disc { max-width: 760px; box-shadow: 0 8px 26px rgba(20,18,12,.11); }
.cc-disc-hero .cc-disc-seg { padding: 14px 24px; }
.cc-disc-hero .cc-disc-seg .lbl { font-size: 12px; }
.cc-disc-hero .cc-disc-seg input { font-size: 15px; }
.cc-disc-hero .cc-disc-go { width: 52px; height: 52px; }
/* dense full-width browse grid (≈6–8 across) before you search */
.cc-browsegrid { grid-template-columns: repeat(auto-fill, minmax(152px, 1fr)); gap: 13px; margin-top: 6px; }
.cc-browsegrid.cc-giglist { grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); }
.cc-browsegrid.cc-evlist { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
/* fly-in when the split appears */
@keyframes cc-flyin { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.cc-fly { animation: cc-flyin .26s cubic-bezier(.22,.61,.36,1); }
.cc-linklike { background: none; border: 0; color: var(--cc-accent); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.cc-linklike:hover { text-decoration: underline; }

/* ════════ Composer images + messages badge ════════ */
.cc-create-media { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 2px; }
.cc-create-thumb { position: relative; width: 66px; height: 66px; border-radius: var(--cc-radius-md); overflow: hidden; border: 1px solid var(--cc-line); }
.cc-create-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-create-thumb button { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(0,0,0,.62); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cc-create-up { display: inline-flex; }
.cc-create-up .cc-up { display: inline-block; }
.cc-create-up .cc-drop { min-height: 0; padding: 8px 13px; border-radius: var(--cc-radius-pill); flex-direction: row; gap: 7px; font: 600 13px/1 var(--cc-font-soft); color: var(--cc-soft); background: var(--cc-surface); border: 1px solid var(--cc-line); }
.cc-create-up .cc-drop:hover { background: var(--cc-surface-2); }
/* Messages button unread badge */
.cc-msgbtn { position: relative; }
.cc-msgbadge { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--cc-accent); color: #fff; font: 700 10px/17px var(--cc-font); text-align: center; box-shadow: 0 0 0 2px var(--cc-chrome); }

/* ════════════════════ Apply credits ════════════════════ */
/* Header pill: a worker's weekly apply balance, in the dark top chrome. */
.cc-credpill { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--cc-chrome-line); background: none; color: var(--cc-chrome-soft); font-size: 13px; cursor: pointer; flex-shrink: 0; white-space: nowrap; }
.cc-credpill:hover { background: var(--cc-chrome-2); color: var(--cc-chrome-ink); }
.cc-credpill i { color: var(--cc-accent-onchrome); }
.cc-credpill b { color: var(--cc-chrome-ink); font-weight: 700; }
.cc-credpill-lbl { color: var(--cc-chrome-soft); }
.cc-credpill.empty { border-color: var(--cc-warn-ink); }
.cc-credpill.empty i, .cc-credpill.empty b { color: var(--cc-warn-ink); }
@media (max-width: 640px) { .cc-credpill .cc-credpill-lbl { display: none; } .cc-credpill { padding: 0 9px; } }
/* Out-of-tier subtext under a disabled Apply button (light content area). */
.cc-tierwarn { margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--cc-warn-ink); background: var(--cc-warn-bg); border: 1px solid var(--cc-warn-line); border-radius: var(--cc-radius-md); padding: 8px 10px; }

/* ════════════════════ Invoices ════════════════════ */
.cc-invstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.cc-invstat { background: var(--cc-surface); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); padding: 14px 16px; }
.cc-invstat .k { font: 600 11px/1 var(--cc-font); letter-spacing: .06em; text-transform: uppercase; color: var(--cc-faint); }
.cc-invstat .v { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; }
.cc-sortopt .cc-num { margin-left: 5px; color: var(--cc-muted); }
/* editor line items */
.cc-invlines { display: flex; flex-direction: column; gap: 7px; }
.cc-invline { display: grid; grid-template-columns: 1fr 60px 92px 92px 26px; gap: 8px; align-items: center; }
.cc-invline-h { font: 600 10.5px/1 var(--cc-font); letter-spacing: .04em; text-transform: uppercase; color: var(--cc-faint); padding: 0 2px; }
.cc-invline-h span:nth-child(2), .cc-invline-h span:nth-child(3), .cc-invline-h span:nth-child(4) { text-align: right; }
.cc-invline .cc-input { padding: 9px 11px; }
.cc-invamt { text-align: right; font-weight: 600; color: var(--cc-ink); }
.cc-invx { background: none; border: 0; color: var(--cc-muted); cursor: pointer; display: flex; justify-content: center; }
.cc-invx:hover { color: #b00; }
.cc-invcolors { display: flex; gap: 9px; }
.cc-invswatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.cc-invswatch.on { border-color: var(--cc-ink); }
.cc-inv-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
/* the invoice document (clean white, brand accent = --inv) */
.cc-invoice { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); overflow: hidden; max-width: 720px; box-shadow: 0 4px 20px rgba(20,18,12,.07); }
.cc-inv-band { height: 8px; background: var(--inv, var(--cc-accent)); }
.cc-inv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 26px 6px; }
.cc-inv-from { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #1a1a1a; }
.cc-inv-sub { color: #777; font-size: 13px; margin-top: 2px; }
.cc-inv-status { font: 700 11px/1 var(--cc-font); text-transform: uppercase; letter-spacing: .04em; padding: 6px 11px; border-radius: 999px; background: #f1f1f1; color: #666; flex-shrink: 0; }
.cc-inv-status.confirmed { background: #e6f4ec; color: #1f7a4d; }
.cc-inv-status.pending { background: #fdf2e3; color: #b4632a; }
.cc-inv-parties { display: flex; justify-content: space-between; gap: 16px; padding: 14px 26px; flex-wrap: wrap; }
.cc-inv-lbl { font: 600 10.5px/1 var(--cc-font); text-transform: uppercase; letter-spacing: .06em; color: #999; }
.cc-inv-strong { font-weight: 700; color: #1a1a1a; margin-top: 3px; }
.cc-inv-muted { color: #888; font-size: 13px; }
.cc-inv-dates { text-align: right; display: flex; flex-direction: column; gap: 4px; color: #333; font-size: 13px; }
.cc-inv-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.cc-inv-table th { text-align: left; font: 600 10.5px/1 var(--cc-font); text-transform: uppercase; letter-spacing: .05em; color: #999; padding: 10px 26px; border-bottom: 1px solid #eee; }
.cc-inv-table th.r, .cc-inv-table td.r { text-align: right; }
.cc-inv-table td { padding: 11px 26px; border-bottom: 1px solid #f2f2f2; color: #222; font-size: 14px; }
.cc-inv-totalrow { display: flex; justify-content: space-between; padding: 16px 26px; font-weight: 800; font-size: 18px; color: #1a1a1a; border-top: 2px solid var(--inv, var(--cc-accent)); }
.cc-inv-notes { padding: 2px 26px 24px; color: #666; font-size: 13px; white-space: pre-wrap; }
@media (max-width: 640px) { .cc-invstats { grid-template-columns: 1fr 1fr; } .cc-invline { grid-template-columns: 1fr 48px 78px 78px 24px; gap: 6px; } }

/* ── Visible slots ("3 of 5 filled") — makes applying feel finite ── */
.cc-slots { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font: 600 11px var(--cc-font-soft); color: var(--cc-accent-ink);
  background: var(--cc-accent-tint); border: 1px solid var(--cc-accent-border);
  border-radius: 20px; padding: 2px 9px; }
.cc-slots i { color: var(--cc-accent); }
.cc-slots .cc-num { font-size: 11px; color: inherit; }
.cc-slots.lg { font-size: 12.5px; padding: 4px 12px; }
.cc-slots.lg .cc-num { font-size: 12.5px; }
.cc-slots.full { color: var(--cc-ok-ink); background: var(--cc-ok-bg); border-color: transparent; }
.cc-slots.full i { color: var(--cc-ok-ink); }
.cc-jobpost-footmeta { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* GigDetail rail: a slim positions bar under the rate. */
.cc-slotbar-wrap { margin-top: 2px; }
.cc-slotbar { height: 6px; border-radius: 3px; background: var(--cc-line); overflow: hidden; margin: 6px 0 5px; }
.cc-slotbar-fill { display: block; height: 100%; border-radius: 3px; background: var(--cc-accent); transition: width .3s ease; }
.cc-slotbar-fill.full { background: var(--cc-ok-ink); }
.cc-slot-note { font: 500 11.5px var(--cc-font-soft); color: var(--cc-muted); display: flex; align-items: center; gap: 5px; }
.cc-slot-note.full { color: var(--cc-ok-ink); font-weight: 600; }
.cc-slot-note.full i { color: var(--cc-ok-ink); }

@media print {
  body * { visibility: hidden; }
  .cc-invoice, .cc-invoice * { visibility: visible; }
  .cc-invoice { position: absolute; left: 0; top: 0; box-shadow: none; border: 0; max-width: 100%; border-radius: 0; }
  .cc-side, .cc-top, .cc-mbar, .cc-inv-actions, .cc-back, .cc-nav-backdrop { display: none !important; }
}
