/* Callsheet app styles — every value references tokens.css (var(--cc-*)). */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  /* Body / UI / labels ride Onest (--cc-font-soft); the display face (Schibsted
     Grotesk, --cc-font) is reserved for headings, names, numbers, and buttons —
     the two-face contract from the design bible. Headings + buttons opt back into
     the display face just below so unreskinned screens keep their type hierarchy. */
  font-family: var(--cc-font-soft);
  background: var(--cc-canvas);
  color: var(--cc-ink);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .cc-btn, .cc-num { font-family: var(--cc-font); }
#root { display: flex; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Keyboard focus ring — the app's own accent, never a generic blue halo.
   :focus-visible so it never fires on mouse/touch, only keyboard/AT. */
:where(button, a, [role="button"], input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--cc-accent);
  outline-offset: 2px;
}

/* ── 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); }

/* ── 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-chip .nm { font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--cc-chrome-ink); display: inline-block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.cc-chip .md { font-size: 11px; color: var(--cc-accent-onchrome); font-weight: 600; }
.cc-top .cc-avatar { background: var(--cc-ink); 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 { background: var(--cc-chrome); color: var(--cc-chrome-ink); font-weight: 600; }
.cc-menu-i .sub { font-size: 11px; color: var(--cc-muted); }

/* Identity-card stats row (RoleSwitcher menu) — whichever sides have real
   activity, shown as quiet number+label pairs. Monochrome (no accent — this
   is a status readout, not a call to action; the row's own click affordance
   is enough). */
.cc-menu-stats { display: flex; gap: 14px; width: 100%; padding: 10px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--cc-line); background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; }
.cc-menu-stats:hover { background: var(--cc-surface-2); }
.cc-menu-stat { display: flex; flex-direction: column; gap: 1px; }
.cc-menu-stat b { font-size: 15px; font-weight: 700; color: var(--cc-ink); line-height: 1.1; }
.cc-menu-stat i { font-style: normal; font-size: 10.5px; color: var(--cc-muted); font-weight: 500; }

/* Theme picker — Settings (labelled grid) */

/* ── Page body ───────────────────────────────────────── */
.cc-body { padding: 24px 28px 40px; overflow: auto; }
.cc-maxw { max-width: 1060px; margin-inline: auto; }
.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; }

/* Back arrow lives in the top bar (.cc-topback) — see the chrome/topicon
   styles further down; no page-level furniture here anymore. */

/* Travel quick-logger + vendor rows (reuse the expense list/stat styles). */
.cc-travel-types { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-travel-total { margin-right: auto; font: 700 15px/1 var(--cc-font); color: var(--cc-ink); }
.cc-check { display: inline-flex; align-items: center; gap: 7px; font: 600 13px/1 var(--cc-font-soft); color: var(--cc-soft); cursor: pointer; }
.cc-check input { width: 15px; height: 15px; accent-color: var(--cc-accent); }
.cc-travel-reimb { align-self: flex-end; padding-bottom: 11px; white-space: nowrap; }
.cc-exp-reimb { font: 600 11px/1 var(--cc-font); color: var(--cc-accent-ink); background: var(--cc-accent-tint); padding: 3px 7px; border-radius: var(--cc-radius-sm); }
.cc-vendor-name { font: 600 14px/1.2 var(--cc-font-soft); letter-spacing: -.01em; color: var(--cc-ink); }

/* ── 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-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; }
/* Active = raised white pill (the selected thing is always the white one),
   with a neutral hairline since these sit directly on white, not a track. */
.cc-f.on, .cc-f.toggle.on { background: var(--cc-surface); color: var(--cc-ink); border-color: var(--cc-line); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.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-chrome); border-color: var(--cc-chrome); color: var(--cc-chrome-ink); }
.cc-cat.on i { color: var(--cc-chrome-ink); }

/* ── Event cards ─────────────────────────────────────── */

.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); }
/* The artwork lives on .cc-evimg, an absolutely-positioned fade-in layer —
   the dark chrome bg is the instant placeholder, name/dates render on top
   from the first paint (finding 8: no more blank slab while images load). */
.cc-evcard-img { position: relative; overflow: hidden; background-color: var(--cc-chrome); min-height: 132px; padding: 11px 13px; display: flex; flex-direction: column; justify-content: space-between; }
.cc-evimg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .4s ease; }
.cc-evimg.on { opacity: 1; }
.cc-evcard-tags { position: relative; 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 { position: relative; 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-featured { margin-left: auto; font: 600 10px/1 var(--cc-font-soft); letter-spacing: .06em; text-transform: uppercase; color: var(--cc-accent); }
.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; min-width: 0; max-width: 100%; }
.cc-ev-chip > span:first-of-type { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-ev-chip i, .cc-ev-chip .cred { flex-shrink: 0; }
.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; }

/* ── 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; }
/* Full-screen boot loader (the auth-resolving gate on refresh): centre the
   spinner on the whole viewport over a clean canvas, not off in the content
   column beside the sidebar. */
.cc-bootload { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: var(--cc-canvas); }
.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); } }

/* ── Skeleton loading ────────────────────────────────────
   Placeholder shapes that mirror the loaded layout so content lands without
   a jump. Bars are the neutral chip fill breathing via a soft opacity pulse —
   monochrome only (accent is money-or-go), no gradient sweeps. Works across
   every theme because --cc-chip is defined per palette, midnight included. */
.cc-skel { display: block; background: var(--cc-chip); border-radius: 6px; animation: cc-skel 1.1s ease-in-out infinite alternate; }
.cc-skel.r { border-radius: var(--cc-radius-pill); }
@keyframes cc-skel { from { opacity: 1; } to { opacity: .45; } }
/* The wrapper fades in after a beat so fast (cached) responses never flash
   a skeleton frame before real content. pointer-events: none keeps hover
   lifts/highlights off placeholder cards and rows — interactive chrome
   (search bars, back buttons, nav) renders OUTSIDE the wrap. */
.cc-skelwrap { opacity: 0; animation: cc-skel-in .2s ease .12s forwards; pointer-events: none; }
@keyframes cc-skel-in { to { opacity: 1; } }
/* Skeleton bars in a sortbar keep the real pills' no-shrink footprint (the
   bar overflow-scrolls at mobile widths instead of crushing the pills). */
.cc-sortbar > .cc-skel { flex: 0 0 auto; }
/* The blurred crew-search intro wall is decoration behind a 9px blur — a
   static skeleton reads identically and skips the per-frame re-raster of
   ~80 animating shapes under filter(). */
.cc-crewsearch-bg .cc-skel { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .cc-skel { animation: none; opacity: .65; }
  /* Keep the 120ms anti-flash delay, lose the motion: a zero-length steps()
     animation snaps the wrap visible after the same delay with no fade. */
  .cc-skelwrap { animation: cc-skel-in .01s steps(1, end) .12s forwards; }
  /* Image fade-ins (event artwork, feed photos) snap instead of fading. */
  .cc-evimg, .cc-imgfade { transition: none; }
}

/* ── Image loading beats (findings 8/14) ──
   .cc-imgfade / .cc-imgfade-sk pair (see views.js FadeImg): the shimmer
   holds the aspect box, the photo fades in over it once decoded. */
.cc-imgfade { opacity: 0; transition: opacity .3s ease; }
.cc-imgfade.on { opacity: 1; }
.cc-imgfade-sk { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border-radius: 0; }

/* ── 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); }

/* ── Crew browser (cards) ────────────────────────────── */
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; align-content: start; }

/* The text column must be allowed to shrink (min-width:0) or long names can't
   contract and overflow the card past the avatar. */

.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: var(--cc-radius-pill); 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: var(--cc-surface); 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; align-items: flex-start; }
/* Block confirm popover (sweep finding 2) — same floating-card family as
   .cc-fpop (chip popovers) and .cc-themepop (top-bar popovers): monochrome,
   Cancel + a destructive second action, no window.confirm. */
.cc-pact-wrap { position: relative; }
.cc-blockconfirm { width: 240px; }
.cc-blockconfirm-copy { font: 500 12px/1.45 var(--cc-font-soft); color: var(--cc-soft); padding: 0 6px 8px; }
.cc-blockconfirm-acts { display: flex; justify-content: flex-end; gap: 7px; padding: 0 4px; }
/* Reusable "armed" (destructive-confirm) treatment — same tone as the
   Withdraw 2-click arm (.cc-bk-armcancel), generalized so any confirm
   popover/2-click control can use it (block, and future destructive asks). */
.cc-btn.cc-armed { color: var(--cc-danger-ink); background: var(--cc-danger-bg); border-color: var(--cc-danger-ink); font-weight: 700; }
.cc-btn.cc-armed:hover { color: var(--cc-danger-ink); background: var(--cc-danger-bg); filter: brightness(.97); }
/* Post-block state — replaces the whole action row with a quiet banner
   (sweep finding 2: "visible blocked state on that profile"). */
.cc-blockedbar {
  display: flex; align-items: center; gap: 8px; font: 600 13px/1.3 var(--cc-font-soft); color: var(--cc-soft);
  background: var(--cc-surface-2); border-radius: var(--cc-radius-md); padding: 8px 12px;
}
.cc-blockedbar i { color: var(--cc-faint); }
.cc-blockedbar span { margin-right: 4px; }
.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); overflow-wrap: anywhere; }
.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; }
/* Work history (WorkHistoryRow, public/app/views.js) — shared by the public
   profile's read-only section and Settings' editable list; .cc-tl-actions
   only ever has content in the Settings context (Edit/Delete icon buttons). */
.cc-tl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cc-tl-desc { font-size: 12.5px; color: var(--cc-muted); margin-top: 4px; line-height: 1.5; }
.cc-tl-actions { display: flex; gap: 4px; flex-shrink: 0; }

/* Claim-vouching (phase C) — rides in WorkHistoryRow's .cc-tl-actions slot.
   Unvouched entries render NOTHING extra here (plainly visible, just
   visually lesser); a vouched entry gets the summary strip + a solid black
   tag — the one distinction, monochrome per the design bible. */
.cc-vouch-slot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.cc-vouch-summary { display: flex; align-items: center; gap: 0; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.cc-vouch-avstack { display: flex; align-items: center; }
.cc-vouch-av { display: block; margin-left: -8px; border-radius: 50%; box-shadow: 0 0 0 2px var(--cc-surface); }
.cc-vouch-av:first-child { margin-left: 0; }
.cc-vouch-more { font-size: 10.5px; font-weight: 600; color: var(--cc-muted); margin-left: 4px; }
.cc-vouch-tag { font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #fff; background: var(--cc-ink); border-radius: var(--cc-radius-pill); padding: 3px 9px; margin-left: 8px; }
.cc-vouch-mine { display: inline-flex; align-items: center; gap: 8px; }
.cc-vouch-mine-lbl { font-size: 12px; font-weight: 600; color: var(--cc-ink); white-space: nowrap; }
.cc-vouch-list { display: flex; flex-direction: column; margin: 6px 0; max-height: 50vh; overflow-y: auto; }
.cc-vouch-list-row { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--cc-line); }
.cc-vouch-list-row:last-child { border-bottom: 0; }
.cc-vouch-list-main { min-width: 0; }
.cc-vouch-list-main a { font-size: 13.5px; font-weight: 700; color: var(--cc-ink); }
.cc-vouch-list-main a:hover { color: var(--cc-accent); }
.cc-vouch-note { font-size: 12.5px; color: var(--cc-soft); margin-top: 2px; line-height: 1.5; }

.cc-gear-group { margin-bottom: 12px; }
.cc-gear-group:last-child { margin-bottom: 0; }
.cc-gear-cat { font-size: 11px; 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); }

/* ── Help & Support (static content page — dense pairs, no accent at rest,
   monochrome numbered guideline list; accent only on link hover, same
   convention as .cc-links above) ──────────────────────────────────────── */
.cc-support-rows { display: flex; flex-direction: column; }
.cc-support-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--cc-line); font-size: 13.5px; }
.cc-support-row:last-child { border-bottom: 0; }
.cc-support-row .q { color: var(--cc-soft); font-weight: 500; }
.cc-support-row a, .cc-support-mail { color: var(--cc-ink); font-weight: 600; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.cc-support-row a:hover, .cc-support-mail:hover, .cc-guide-list a:hover { color: var(--cc-accent); }
.cc-support-mail { display: inline-block; margin-top: 8px; }
.cc-guide-list { list-style: none; counter-reset: guide; display: flex; flex-direction: column; gap: 12px; }
.cc-guide-list li { position: relative; padding-left: 26px; font-size: 13px; line-height: 1.55; color: var(--cc-soft); counter-increment: guide; }
.cc-guide-list li::before { content: counter(guide); position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--cc-chip); color: var(--cc-muted); font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cc-guide-list li b { color: var(--cc-ink); font-weight: 600; }
.cc-guide-list li a { color: var(--cc-ink); font-weight: 600; }

/* ── Verify your account (the hub — unverified / pending / rejected states)
   Black/white text only, hairline cards, accent reserved for the submit/
   resubmit CTA (money-or-go). Responsive tweaks appended at file end. ──── */
.cc-verify-calm h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.cc-verify-reason { margin: 10px 0; }
.cc-verify-checklist { display: flex; flex-direction: column; }
.cc-verify-check-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--cc-line); }
.cc-verify-check-row:last-child { border-bottom: 0; }
.cc-verify-check-dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--cc-line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--cc-ok-ink); }
.cc-verify-check-row.done .cc-verify-check-dot { background: var(--cc-ok-bg); border-color: var(--cc-ok-bg); }
.cc-verify-check-label { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--cc-ink); }
.cc-verify-check-row.done .cc-verify-check-label { color: var(--cc-soft); font-weight: 500; }
.cc-verify-jump { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--cc-ink); text-decoration: underline; cursor: pointer; flex-shrink: 0; }
.cc-verify-credits { display: flex; flex-direction: column; }
.cc-verify-credit-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--cc-line); }
.cc-verify-credit-row:last-child { border-bottom: 0; }
.cc-verify-credit-title { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-verify-igcode { display: inline-block; font: 700 16px/1 var(--cc-font); letter-spacing: .04em; background: var(--cc-chip); border-radius: var(--cc-radius-sm); padding: 8px 12px; margin: 8px 0; cursor: pointer; }
.cc-verify-sublabel { font-size: 12px; color: var(--cc-muted); margin-top: 8px; }

/* ── 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-ink); }
.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: var(--cc-radius-sm); 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; }

/* ── Messages (two-pane) ─────────────────────────────── */
/* The Messages page is the one screen that must NOT let the whole page
   scroll: the composer has to stay pinned in view like any normal
   messenger. A calc(100vh - Npx) on .cc-msg alone is a brittle magic
   number — it silently breaks the moment another banner (onboarding
   nudge, demo notice) stacks above it, pushing the composer off-screen
   with the page scrolling instead of the message list. Fix: bound the
   whole column (.cc-main) to the viewport and make it a non-scrolling
   flex column; .cc-body/.cc-maxw/.cc-msgs pass the remaining space down
   as flex:1 + min-height:0, and .cc-msg is the final flex:1 pane — no
   calc() needed, and it self-corrects for however tall the chrome above
   it happens to be. Scoped with :has() to the Messages route only, so
   every other page keeps its normal page-level scroll. */
.cc-main:has(.cc-msgs) { height: 100vh; overflow: hidden; }
.cc-body:has(> .cc-maxw.cc-msgs) { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
.cc-maxw.cc-msgs { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cc-msgs .cc-hdr, .cc-msgs .cc-tabs { flex-shrink: 0; }
.cc-msg { display: grid; grid-template-columns: 300px minmax(0,1fr); grid-template-rows: minmax(0,1fr); border: 1px solid var(--cc-line); border-radius: var(--cc-radius-lg); overflow: hidden; background: var(--cc-surface); flex: 1; min-height: 0; }
.cc-convos { border-right: 1px solid var(--cc-line); overflow: auto; min-height: 0; }
.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-chip); box-shadow: inset 3px 0 0 var(--cc-chrome); }
.cc-convo .meta { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.cc-convo .nm { font-size: 13.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
/* The name is a flex child next to the fixed timestamp: it must yield (ellipsis),
   the timestamp must not shrink — otherwise a long display name escapes the row. */
.cc-convo .nm .nmv { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-convo .nm .t { font-size: 11px; color: var(--cc-faint); font-weight: 500; white-space: nowrap; flex-shrink: 0; }
/* display:block so overflow/ellipsis actually apply (an inline span ignores them),
   clipping long last-message previews to the row width instead of overflowing it. */
.cc-convo .snip { display: block; font-size: 12px; color: var(--cc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

.cc-thread { display: flex; flex-direction: column; min-width: 0; min-height: 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: var(--cc-radius-sm); 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; }
/* Typing bubble — a quiet skeleton placeholder standing in for the incoming
   message, not a text caption. Same "them" shell as a real bubble so it
   occupies the exact spot the message will land in; the three dots reuse
   .cc-skel's opacity-pulse animation (and its prefers-reduced-motion:
   reduce override) so this needs no separate motion handling of its own. */
.cc-typing-bubble { padding: 12px 13px; display: inline-flex; align-items: center; }
.cc-typing-dots { display: inline-flex; align-items: center; gap: 4px; }
.cc-typing-dot { animation-delay: 0s; }
.cc-typing-dot:nth-child(2) { animation-delay: .15s; }
.cc-typing-dot:nth-child(3) { animation-delay: .3s; }
.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-ink); box-shadow: 0 0 0 1px var(--cc-ink); } /* ink focus, the app-wide dialect */
.cc-composer input:disabled { color: var(--cc-faint); cursor: default; }

/* Message request banner — quiet accept/decline notice atop a request thread. */
.cc-req-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 18px; background: var(--cc-chip); border-bottom: 1px solid var(--cc-line); font-size: 13px; color: var(--cc-soft); }
.cc-req-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── 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: var(--cc-radius-pill); 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) ───────────────────────── */

/* two-column home: feed + context rail */

/* Large monitors (48" etc.): centered content grows a step so it uses the space
   instead of hugging the left with a wall of dead pixels. Normal screens unchanged. */
@media (min-width: 1700px) { .cc-maxw { max-width: 1220px; }  }

.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-ract { font-size: 12px; color: var(--cc-soft); padding: 3px 0; line-height: 1.4; }

/* section header used by GuestHome + feed lists */

/* ── 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: var(--cc-radius-sm); 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-chrome-ink); background: var(--cc-chrome); }
.cc-sortopt i { font-size: 14px; }

/* ── 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); }
/* DateField's wrapper never itself receives focus (its native date input,
   nested inside, does) — :focus-within stands in for the plain :focus ring
   above so a DateField carrying className="cc-input" still rings on focus. */
.cc-datefield:focus-within { 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-field-row-4 { grid-template-columns: repeat(4, 1fr); }
.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-chrome); }

/* ── 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-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-ink); border-bottom-color: var(--cc-ink); }
.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: var(--cc-surface); 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: #fff; 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-chrome); 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-chrome); color: var(--cc-chrome-ink); 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-ink); }
.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 ──────────────────────────────── */

/* ── Crew search-first entry ─────────────────────────── */

/* ── 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-ink); }

/* ── 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: var(--cc-chrome); background-image: linear-gradient(180deg, rgba(16,13,9,.55), rgba(16,13,9,.82)), url('../img/landing-hero.svg'); background-size: cover; background-position: 65% 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-ink); box-shadow: 0 0 0 1px var(--cc-ink); } /* ink focus everywhere — the forest theme this orange ring matched is gone. */
.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; }
/* This bare <input> (AuthField — login/signup) had no ::placeholder rule
   anywhere, so it fell back to the browser default (~45% black) instead of
   --cc-ph — the darkest placeholder in the app, on the exact screen Tomas
   flagged as "looks filled in". Bring it onto the same token as every other
   field (app.css:2458, calm.css:241). */
.cc-fld input::placeholder { color: var(--cc-ph); font-weight: 400; }
.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: var(--cc-surface); 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) {
  /* No sideways PAGE scroll on mobile — any stray overflow is clipped at the
     viewport. Intentional inner scrollers (.cc-rail, tables, .cc-sortbar) keep
     their own overflow-x:auto, so they still swipe horizontally; only the page
     itself stops drifting. */
  html, body { overflow-x: hidden; max-width: 100%; }
  .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: minmax(0,1fr); }
  .cc-gd-rail { position: static; }
  /* Mobile Messages: same stacked pane-switch (convos capped up top, thread
     fills the rest), but .cc-msg keeps flex:1/min-height:0 from the base
     rule above instead of height:auto — the composer must stay reachable
     without page scroll here too, it just has less room to work with. */
  .cc-msg { grid-template-columns: 1fr; }
  .cc-convos { max-height: 240px; flex-shrink: 0; border-right: 0; border-bottom: 1px solid var(--cc-line); }
  .cc-thread { flex: 1; min-height: 0; }
  .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; }
.cc-note-link { background: none; border: 0; width: 100%; text-align: left; cursor: pointer; font: inherit; }
/* Real notifications (sweep finding 3) — unread rows get a quiet accent dot
   (no loud badge-per-row; the bell's own count already carries that signal)
   and slightly heavier body text so the list scans at a glance. */
.cc-notemenu { min-width: 320px; max-width: 360px; max-height: 420px; overflow-y: auto; }
.cc-note.unread .t { font-weight: 600; color: var(--cc-ink); }
.cc-note.unread { position: relative; }
.cc-note.unread::before { content: ''; position: absolute; left: 3px; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--cc-accent); }
.cc-note-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 12px; color: var(--cc-muted); font-size: 12.5px; text-align: center; }
.cc-note-empty i { color: var(--cc-faint); }
/* Home "Activity" tab — same .cc-note row language as the Bell dropdown,
   just stacked full-width inside a card instead of a small popover. */
.cc-activitylist { display: flex; flex-direction: column; gap: 2px; }
.cc-activitylist .cc-note { padding: 12px 10px; }
.cc-activitylist .cc-note + .cc-note { border-top: 1px solid var(--cc-line-soft); }
/* Bell unread badge — same numeric-pill treatment as the message button's,
   nudged to sit flush on the smaller bell icon. */
.cc-bell-badge { top: 1px; right: 1px; }

/* ── 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-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; }

/* Editorial landing hero (logged-out) */
/* Photo is a static asset we own (no stock hotlinks); the left→right scrim
   keeps copy legible on the dark side. */
.cc-herobig { position: relative; border-radius: var(--cc-radius-lg); overflow: hidden; margin-bottom: 10px;
  background-color: var(--cc-chrome); background-position: center; background-size: cover; background-repeat: no-repeat;
  background-image: linear-gradient(90deg, rgba(16,13,9,.94) 0%, rgba(16,13,9,.35) 100%), url('../img/landing-hero.svg');
  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: var(--cc-radius-sm); 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-ph); font-weight: 500; }
.cc-disc-when { display: flex; align-items: center; gap: 6px; }
.cc-disc-when input { width: 7.6em; }
.cc-disc-when .cc-datefield { 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-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); }

/* ═══════════════ 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; }
/* isolation: the card grid contains its own z-indexes (e.g. .cc-gc-role z-index:1
   sits above each card's media). Without this, those positive z-indexes leak to
   the ROOT stacking context and paint ABOVE the sticky detail panel — including
   any modal rendered inside it (z-index:50 is trapped local to the sticky panel).
   That was the "card title bleeds through the Share/Apply modal" bug. */
.cc-split2-list { padding-right: 22px; isolation: isolate; }
.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-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 */

/* ═══════════ 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: var(--cc-radius-lg);
  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-pcols-below (round-4: Activity moved below the 2-col grid, see
   views.js CrewProfile) is a sibling of .cc-pcols, not one of its column
   divs — include it here so Activity keeps the same hairline divider as
   every other stacked section-card in the embedded profile panel. */
.cc-embed .cc-pcols > div > .cc-card, .cc-embed .cc-pcols-below > .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);
}

