/* ═══════════════════════════════════════════════════════════════════════════ */
/* PING APP THEME (logged-in app)                                              */
/* Brings the landing page's design language (landing.css tokens: Geist,       */
/* Instrument Serif, Geist Mono, lime on near-black) into the app. Loaded      */
/* after platform.css and overrides it. Views still carry some inline styles,  */
/* so a few form rules below use !important on purpose.                        */
/* ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --font-main: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Geist', 'Inter', sans-serif;
  --bg-deep: #0a0a0a;
  --bg-surface: #0f0f0f;
  --bg-elevated: #151515;
  --bg-card: #121212;
  --bg-card-hover: #161616;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-gold: rgba(230, 255, 26, 0.4);
  --text-pure: #f3f3ee;
  --text-muted: #a3a39c;
  --text-dim: #72726b;
  --gold-gradient: #e6ff1a;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: none;
  --blur: blur(14px);
}

body:not(.pre-auth) {
  background: #0a0a0a;
  color: var(--text-pure);
  font-family: var(--font-main);
  letter-spacing: -0.005em;
}
body:not(.pre-auth) .platform-glow { opacity: 0.5; }

.platform-viewport em, .platform-modal-window em, .platform-header em {
  font-family: var(--lp-serif);
  font-style: italic;
  font-weight: 400;
}

/* ─── Header ──────────────────────────────────────────────────────────────── */
.platform-header {
  height: 70px;
  padding: 0 28px;
  background: rgba(10, 10, 10, 0.78);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: none;
}
.platform-brand { gap: 10px; }
.platform-brand-mark { width: 30px; height: 30px; display: block; transition: transform 0.6s var(--lp-ease); }
.platform-brand:hover .platform-brand-mark { transform: rotate(-12deg); }
.platform-brand-text { font-size: 21px; font-weight: 600; letter-spacing: -0.04em; }
.platform-brand-badge {
  padding: 3px 8px;
  border: 1px solid var(--border-medium);
  background: transparent;
  font-family: var(--lp-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.platform-nav { padding: 4px; gap: 2px; background: rgba(255, 255, 255, 0.03); border-color: var(--border-subtle); }
.nav-pill-btn { padding: 9px 16px; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-muted); }
.nav-pill-btn i { font-size: 16px; }
.nav-pill-btn:hover { color: var(--text-pure); background: rgba(255, 255, 255, 0.06); }
.nav-pill-btn.active { background: var(--gold); color: #0a0a0a; box-shadow: none; }
.nav-badge { font-family: var(--lp-mono); font-weight: 500; }
.nav-pill-btn:not(.active) .nav-badge { background: var(--gold); color: #0a0a0a; }
.header-icon-btn { width: 40px; height: 40px; background: transparent; border-color: var(--border-subtle); color: var(--text-muted); }
.header-icon-btn:hover { background: rgba(255, 255, 255, 0.06); color: var(--text-pure); border-color: var(--border-medium); }
.header-avatar-btn { width: 40px; height: 40px; border: 1px solid var(--border-medium); box-shadow: none; transition: border-color 0.3s; }
.header-avatar-btn:hover { border-color: var(--gold); }

.notifications-dropdown { background: #121212; border: 1px solid var(--border-medium); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); }

/* ─── Page headings ───────────────────────────────────────────────────────── */
.platform-viewport { max-width: 1320px; padding: 36px 32px 96px; }
.section-header { margin-bottom: 28px; align-items: flex-end; }
.section-title {
  gap: 0;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text-pure);
}
.section-title em { color: var(--gold); letter-spacing: -0.02em; margin-left: 0.18em; }
.section-subtitle { margin-top: 10px; font-size: 15px; color: var(--text-muted); }

/* ─── Cards & buttons ─────────────────────────────────────────────────────── */
.glass-box { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.glass-box:hover { border-color: var(--border-subtle); }

.btn-gold {
  min-height: 44px;
  padding: 10px 20px;
  background: var(--gold);
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0a0a0a;
  transition: transform 0.4s var(--lp-ease), box-shadow 0.4s var(--lp-ease), opacity 0.2s;
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -12px rgba(230, 255, 26, 0.55); }
.btn-gold:disabled { box-shadow: none; }
.btn-glass {
  min-height: 42px;
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--border-medium);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-pure);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.28); }

/* ─── Forms (views still set inline input styles) ─────────────────────────── */
.platform-viewport :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea),
.platform-modal-window :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea) {
  padding: 12px 14px !important;
  border: 1px solid var(--border-medium) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  font-family: var(--font-main) !important;
  font-size: 14.5px !important;
  color: var(--text-pure) !important;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.platform-viewport :is(input, textarea)::placeholder, .platform-modal-window :is(input, textarea)::placeholder { color: var(--text-dim); }
.platform-viewport :is(input, textarea):focus, .platform-modal-window :is(input, textarea):focus {
  border-color: rgba(230, 255, 26, 0.7) !important;
  box-shadow: 0 0 0 4px rgba(230, 255, 26, 0.1);
}
.platform-viewport #dealMessageInput { border-radius: 999px !important; padding: 13px 20px !important; }
.platform-viewport label, .platform-modal-window label {
  font-family: var(--lp-mono) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
  color: var(--text-muted) !important;
}
.custom-select-trigger { border-radius: 12px !important; border-color: var(--border-medium) !important; font-family: var(--font-main) !important; }

/* ─── Modals & toast ──────────────────────────────────────────────────────── */
.platform-modal-backdrop { background: rgba(5, 5, 5, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.platform-modal-backdrop.active .platform-modal-window { animation: app-modal-in 0.5s var(--lp-ease); }
@keyframes app-modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.platform-modal-window { background: #111; border: 1px solid var(--border-medium); border-radius: 26px; padding: 34px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95); }
.platform-modal-close { top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--border-subtle); border-radius: 50%; font-size: 20px; line-height: 1; }
.platform-modal-close:hover { border-color: var(--border-medium); background: rgba(255, 255, 255, 0.05); }
.platform-modal-window .platform-brand-icon, .app-modal-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--gold);
  box-shadow: none;
  font-size: 20px;
  color: #0a0a0a;
}
.app-modal-title { font-size: 26px; font-weight: 500; line-height: 1.05; letter-spacing: -0.04em; color: var(--text-pure); }
.app-modal-title em { color: var(--gold); }
.app-modal-sub { margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--text-muted); }

.platform-toast {
  left: 50%;
  right: auto;
  bottom: 28px;
  padding: 12px 18px 12px 14px;
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  background: #151515;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, 120px);
}
.platform-toast.visible { transform: translate(-50%, 0); }

/* ─── Shared bits ─────────────────────────────────────────────────────────── */
.tag-filter-chip {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.tag-filter-chip:hover { color: var(--text-pure); border-color: rgba(255, 255, 255, 0.3); }
.tag-filter-chip.active { background: var(--gold); border-color: var(--gold); color: #0a0a0a; box-shadow: none; }
.view-mode-switch { padding: 4px; border: 1px solid var(--border-subtle); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.view-mode-btn { font-family: var(--font-main); font-weight: 500; border-radius: 999px; }
.view-mode-btn.active { background: var(--gold); color: #0a0a0a; box-shadow: none; }

.app-empty {
  max-width: 560px;
  margin: 48px auto;
  padding: 56px 32px;
  border: 1px dashed var(--border-medium);
  border-radius: 28px;
  text-align: center;
}
.app-empty-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 20px; background: var(--gold); font-size: 30px; color: #0a0a0a; }
.app-empty h2 { font-size: 30px; font-weight: 500; letter-spacing: -0.04em; color: var(--text-pure); }
.app-empty h2 em { color: var(--gold); }
.app-empty p { max-width: 420px; margin: 12px auto 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.app-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

/* ─── Explore ─────────────────────────────────────────────────────────────── */
.app-greet { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.app-greet-left { display: flex; align-items: center; gap: 16px; }
.app-greet-av { width: 56px; height: 56px; border: 1px solid var(--border-medium); border-radius: 50%; object-fit: cover; }
.app-greet-hi { margin: 0 0 8px; font-family: var(--lp-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.app-stats { display: flex; border: 1px solid var(--border-subtle); border-radius: 18px; background: var(--bg-card); }
.app-stat { display: flex; flex-direction: column; gap: 4px; padding: 12px 20px; }
.app-stat + .app-stat { border-left: 1px solid var(--border-subtle); }
.app-stat b { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-pure); white-space: nowrap; }
.app-stat b.is-lime { color: var(--gold); }
.app-stat span { font-family: var(--lp-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; }
.app-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--border-subtle); }
.app-chip-row { flex: 1; min-width: 0; display: flex; flex-wrap: nowrap !important; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 40px; }
.app-chip-row::-webkit-scrollbar { display: none; }
.executive-hud { display: none; }

.spotlight-card, .bento-member-card, .radar-card, .market-brief-card { border-radius: 26px; }
.spotlight-name, .bento-member-card [style*="font-heading"] { letter-spacing: -0.035em; }
.radar-card { background: var(--bg-card); border: 1px solid var(--border-subtle); box-shadow: none; }
.bento-member-card { background: var(--bg-card); border: 1px solid var(--border-subtle); }
.bento-member-card:hover { border-color: var(--border-medium); }
.metric-pill { border-radius: 14px; }
.metric-pill-label { font-family: var(--lp-mono); letter-spacing: 0.08em; }

/* ─── Briefs ──────────────────────────────────────────────────────────────── */
.market-brief-card { background: var(--bg-card); border: 1px solid var(--border-subtle); box-shadow: none; transition: border-color 0.3s, transform 0.4s var(--lp-ease); }
.market-brief-card:hover { border-color: var(--border-medium); transform: translateY(-2px); }
.brief-heading-title { font-size: 22px; font-weight: 500; letter-spacing: -0.035em; }
.brief-budget-badge-pill { background: var(--gold); color: #0a0a0a; border: 0; font-family: var(--lp-mono); font-weight: 500; }
.brief-reqs { margin: 18px 0; padding: 14px 16px; border: 1px solid var(--border-subtle); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.brief-reqs-title { margin-bottom: 8px; font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* ─── Deal Room ───────────────────────────────────────────────────────────── */
.deal-room-shell { border: 1px solid var(--border-subtle); border-radius: 26px; background: var(--bg-card); box-shadow: none; overflow: hidden; }
.deal-conversations-pane { border-right: 1px solid var(--border-subtle); background: transparent; }
.deal-conversations-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--lp-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.deal-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #0a0a0a; }
.deal-item-row { transition: background-color 0.2s; }
.deal-item-row:hover { background: rgba(255, 255, 255, 0.03) !important; }
.deal-item-row.active { background: rgba(230, 255, 26, 0.06) !important; box-shadow: inset 3px 0 0 var(--gold); }
.deal-room-top-bar { border-bottom: 1px solid var(--border-subtle); background: transparent; }
.deal-messages-scroller { display: flex; flex-direction: column; gap: 10px; }
.deal-bubble {
  align-self: flex-start;
  max-width: min(68%, 560px);
  padding: 11px 16px 9px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px 20px 20px 6px;
  background: #1a1a19;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text-pure);
  overflow-wrap: anywhere;
}
.deal-bubble.is-mine { align-self: flex-end; border: 0; border-radius: 20px 20px 6px 20px; background: var(--gold); color: #0a0a0a; }
.deal-bubble-time { display: block; margin-top: 3px; font-size: 10.5px; text-align: right; opacity: 0.55; }
.deal-proposal {
  align-self: flex-start;
  width: min(440px, 88%);
  padding: 18px;
  border: 1px solid var(--border-medium);
  border-radius: 22px;
  background: #151514;
}
.deal-proposal.is-mine { align-self: flex-end; border-color: var(--border-gold); }
.deal-proposal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.deal-proposal-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--gold); font-family: var(--lp-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #0a0a0a; }
.deal-proposal-status { font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.deal-proposal-status.is-accepted { color: var(--gold); }
.deal-proposal-status.is-declined { color: #f3b0b0; }
.deal-proposal h4 { margin: 0 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-pure); }
.deal-proposal-meta { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border-subtle); border-radius: 14px; }
.deal-proposal-meta div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; }
.deal-proposal-meta div + div { border-left: 1px solid var(--border-subtle); }
.deal-proposal-meta span { font-family: var(--lp-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.deal-proposal-meta b { font-size: 16px; font-weight: 600; color: var(--text-pure); }
.deal-proposal-meta div:first-child b { color: var(--gold); }
.deal-proposal p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--text-muted); white-space: pre-wrap; }
.deal-proposal-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border-subtle); font-size: 12px; color: var(--text-dim); }
#dealIcebreakersBar { background: transparent !important; }
#dealChatForm { background: transparent !important; }

/* ─── Media Kit ───────────────────────────────────────────────────────────── */
.mk-niche-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* ─── Operations ──────────────────────────────────────────────────────────── */
.ops-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 20px; box-shadow: none; }
.ops-label { font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.ops-num { font-weight: 500; letter-spacing: -0.04em; }
.ops-note { margin-top: 4px; font-size: 12px; color: var(--text-muted); }

/* ─── Phones: bottom tab bar ──────────────────────────────────────────────── */
/* Tablet widths: the labelled nav plus the brand and header icons need about
   1020px, so tighten spacing first and then drop to icon-only pills (labels
   stay available to screen readers, and each pill has a tooltip). */
@media (min-width: 769px) and (max-width: 1100px) {
  .platform-header { padding: 0 20px; gap: 14px; }
  .platform-brand-badge { display: none; }
  .nav-pill-btn { padding: 9px 12px; }
  .platform-header-right { gap: 8px; }
}
@media (min-width: 769px) and (max-width: 940px) {
  .nav-pill-btn { position: relative; padding: 10px 16px; }
  .nav-pill-btn i { font-size: 18px; }
  .nav-pill-btn span:not(.nav-badge) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav-pill-btn .nav-badge { position: absolute; top: 0; right: 2px; }
}

@media (max-width: 768px) {
  .platform-header {
    flex-wrap: nowrap;
    height: 62px;
    min-height: 62px;
    padding: 0 16px;
    background: rgba(10, 10, 10, 0.96);
    -webkit-backdrop-filter: none; /* fixed children must anchor to the viewport */
    backdrop-filter: none;
  }
  .platform-brand-badge { display: none; }
  .platform-header-right { flex-wrap: nowrap; gap: 8px; }
  .header-icon-btn, .header-avatar-btn { width: 36px; height: 36px; }
  .platform-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 150;
    width: auto;
    order: 0;
    justify-content: space-between;
    padding: 6px;
    border: 1px solid var(--border-medium);
    border-radius: 22px;
    background: rgba(18, 18, 18, 0.96);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9);
  }
  .nav-pill-btn { position: relative; flex: 1; flex-direction: column; gap: 3px; padding: 8px 4px; border-radius: 16px; font-size: 10.5px; }
  .nav-pill-btn span { display: block; }
  .nav-pill-btn i { font-size: 20px; }
  .nav-pill-btn .nav-badge { position: absolute; top: 4px; right: calc(50% - 22px); }
  .platform-viewport { padding: 22px 16px 120px; }
  .platform-toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); max-width: calc(100vw - 32px); }
  .notifications-dropdown { top: 70px; }
  .app-greet { align-items: flex-start; }
  .app-stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .app-stat { padding: 10px 14px; }
  .app-stat + .app-stat { border-left: 0; }
  .app-stat:nth-child(even) { border-left: 1px solid var(--border-subtle); }
  .app-stat:nth-child(n + 3) { border-top: 1px solid var(--border-subtle); }
  /* Spotlight card: stack the location/demo labels under the match badge. */
  .spotlight-media > div[style*="right:18px"] { top: 66px !important; left: 18px; right: auto !important; }
  .app-toolbar { flex-direction: column; align-items: stretch; }
  .app-chip-row { padding-right: 24px; }
  .platform-modal-window { padding: 26px 20px; border-radius: 24px; }
  .deal-bubble { max-width: 85%; }
}

/* Media kit "Print / Save as PDF": print only the kit card, in its real
   colours. Scoped to while the kit is open, so printing anything else in the
   app is unaffected. */
@media print {
  @page { margin: 12mm; }
  body:has(#modalPrintableMediaKit.active) > :not(#platformViewport),
  body:has(#modalPrintableMediaKit.active) #platformViewport > :not(#modalPrintableMediaKit),
  #modalPrintableMediaKit .platform-modal-close,
  #modalPrintableMediaKit #btnTriggerNativePrint { display: none !important; }
  body:has(#modalPrintableMediaKit.active) #platformViewport { margin: 0 !important; padding: 0 !important; max-width: none !important; }
  #modalPrintableMediaKit.active { position: static !important; display: block !important; padding: 0 !important; background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  #modalPrintableMediaKit .platform-modal-window { max-width: none !important; max-height: none !important; overflow: visible !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; animation: none !important; }
  #modalPrintableMediaKit .platform-modal-window > div { break-inside: avoid; }
  #modalPrintableMediaKit, #modalPrintableMediaKit * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* CAMPAIGN MATCHING FLOW: campaigns (brand), discover + applications (talent) */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Shared bits */
.cm-type { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid var(--border-medium); border-radius: 999px; font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-pure); white-space: nowrap; }
.cm-type i { font-size: 13px; color: var(--gold); }
.cm-status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.cm-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cm-status.is-open { background: rgba(230, 255, 26, 0.12); color: var(--gold); }
.cm-status.is-filled { background: rgba(255, 255, 255, 0.09); color: var(--text-pure); }
.cm-demo { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(157, 78, 221, 0.85); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.cm-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--border-medium); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-muted); white-space: nowrap; }
.cm-pill.is-wait { color: var(--text-pure); }
.cm-pill.is-yes { border-color: var(--gold); background: rgba(230, 255, 26, 0.1); color: var(--gold); }
.cm-pill.is-no { border-style: dashed; color: var(--text-dim); }
.cm-link { padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 500; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cm-clash-hint { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 12px; border: 1px solid rgba(255, 196, 0, 0.35); border-radius: 12px; background: rgba(255, 196, 0, 0.08); font-size: 12.5px; line-height: 1.45; color: #ffd66b; }
.cm-clash-hint i { flex: none; margin-top: 1px; font-size: 15px; }

/* How-it-works strip */
.cm-flow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cm-flow li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border: 1px solid var(--border-subtle); border-radius: 999px; font-size: 13px; color: var(--text-muted); }
.cm-flow li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); font-family: var(--lp-mono); font-size: 11px; color: var(--text-pure); }
.cm-flow li i { font-size: 15px; color: var(--gold); }
.cm-empty .cm-flow { justify-content: center; margin-top: 24px; }
.cm-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--border-subtle); }

/* Brand: campaign cards */
.cm-grid, .cm-brief-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.cm-card, .cm-brief { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--border-subtle); border-radius: 26px; background: var(--bg-card); transition: border-color 0.3s, transform 0.4s var(--lp-ease); }
.cm-card:hover, .cm-brief:hover { border-color: var(--border-medium); transform: translateY(-2px); }
.cm-card.is-filled, .cm-card.is-ended, .cm-card.is-closed { background: #0f0f0f; }
.cm-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cm-card-when { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12.5px; color: var(--text-muted); }
.cm-card-title { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.15; letter-spacing: -0.035em; color: var(--text-pure); }
.cm-card-deliv { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.cm-card-deliv i { margin-top: 2px; color: var(--gold); }
.cm-card-money { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.cm-card-money b { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: var(--gold); }
.cm-card-money span { font-size: 13px; color: var(--text-muted); }
.cm-card-money em { margin-left: auto; font-family: var(--lp-mono); font-size: 11.5px; font-style: normal; color: var(--text-dim); }
.cm-card-slots { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border-subtle); border-radius: 16px; background: rgba(255, 255, 255, 0.02); font-size: 13px; color: var(--text-muted); }
.cm-card-slots b { font-weight: 600; color: var(--text-pure); }
.cm-card-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.cm-card-foot .btn-gold, .cm-card-foot .btn-glass { flex: 1; justify-content: center; }
.cm-card-foot .btn-glass:disabled { opacity: 0.55; cursor: default; }

/* Slot dots (or a bar for big campaigns) */
.cm-slot-dots { display: flex; flex-wrap: wrap; gap: 5px; }
.cm-slot-dots i { width: 12px; height: 12px; border: 1.5px solid var(--border-medium); border-radius: 50%; }
.cm-slot-dots i.is-on { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 10px rgba(230, 255, 26, 0.45); }
.cm-slot-dots.is-big i { width: 16px; height: 16px; }
.cm-slot-bar { position: relative; flex: 1; min-width: 80px; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.cm-slot-bar span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--gold); }

/* Brand: reviewing applicants */
.cm-review-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 28px; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--border-subtle); }
.cm-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--border-medium); border-radius: 999px; background: transparent; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--text-pure); cursor: pointer; transition: background-color 0.2s; }
.cm-back:hover { background: rgba(255, 255, 255, 0.06); }
.cm-review-meta { flex: 1; min-width: 260px; }
.cm-review-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.cm-review-title { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 500; line-height: 1.05; letter-spacing: -0.045em; color: var(--text-pure); }
.cm-review-sub { margin: 8px 0 0; font-size: 14px; color: var(--text-muted); }
.cm-slotmeter { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--border-subtle); border-radius: 18px; background: var(--bg-card); }
.cm-slotmeter > span { font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.cm-slotmeter b { font-size: 18px; font-weight: 600; color: var(--text-pure); }
.cm-review-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.cm-apps-col { min-width: 0; }
.cm-apps-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.cm-apps-head h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-pure); }
.cm-apps-head h2 b { color: var(--gold); }
.cm-apps-head p { margin: 0; font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.cm-apps { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cm-applicant { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--border-medium); border-radius: 24px; background: #121212; transition: border-color 0.25s; }
.cm-applicant:hover { border-color: rgba(255, 255, 255, 0.22); }
.cm-applicant-head { display: flex; align-items: center; gap: 14px; }
.cm-applicant-av { flex: none; width: 60px; height: 60px; border: 2px solid var(--border-medium); border-radius: 50%; object-fit: cover; }
.cm-applicant-id { flex: 1; min-width: 0; }
.cm-applicant-id h3 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-pure); }
.cm-applicant-id h3 i { font-size: 17px; color: var(--gold); }
.cm-applicant-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; font-size: 12.5px; color: var(--text-muted); }
.cm-applicant-meta > span i { color: var(--text-dim); }
.cm-applicant-when { font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--text-dim); }
.cm-applicant .cm-app-stats { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.cm-applicant .cm-app-pitch p { -webkit-line-clamp: 6; }
.cm-applicant-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border-subtle); }
.cm-applicant-actions button { justify-content: center; min-width: 120px; }
.cm-applicant-actions button:disabled { opacity: 0.55; cursor: progress; }
.cm-connect i { font-size: 16px; }
.cm-pass.is-armed { border-color: #ff5c7a; color: #ff5c7a; }
/* Wider screens: name on the left, Pass / Connect on the right of the same
   row, and stats at their natural width. */
@media (min-width: 769px) {
  .cm-applicant { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 18px; }
  .cm-applicant > * { grid-column: 1 / -1; }
  .cm-applicant > .cm-applicant-head { grid-row: 1; grid-column: 1; }
  .cm-applicant > .cm-applicant-actions { grid-row: 1; grid-column: 2; align-self: center; padding-top: 0; border-top: 0; }
  .cm-applicant .cm-app-stats { grid-template-columns: repeat(auto-fill, minmax(120px, 170px)); }
}
.cm-deck-done { width: 100%; max-width: 480px; padding: 48px 28px; border: 1px dashed var(--border-medium); border-radius: 28px; text-align: center; }
.cm-deck-done h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.04em; color: var(--text-pure); }
.cm-deck-done h2 em { color: var(--gold); }
.cm-deck-done p { max-width: 380px; margin: 12px auto 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

/* Applicant details: stats, pitch, past work, links */
.cm-app-stats { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 8px; }
.cm-app-stats div { min-width: 0; padding: 9px 10px; border: 1px solid var(--border-subtle); border-radius: 14px; background: rgba(255, 255, 255, 0.03); text-align: center; }
.cm-app-stats b { display: block; overflow: hidden; font-size: 14.5px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-pure); text-overflow: ellipsis; white-space: nowrap; }
.cm-app-stats span { font-family: var(--lp-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.cm-app-pitch { padding: 12px 14px; border-left: 2px solid var(--gold); border-radius: 4px 14px 14px 4px; background: rgba(230, 255, 26, 0.05); }
.cm-app-pitch span { font-family: var(--lp-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.cm-app-pitch p { display: -webkit-box; margin: 4px 0 0; overflow: hidden; font-size: 14px; line-height: 1.5; color: var(--text-pure); -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.cm-app-pitch.is-empty { border-left-color: var(--border-medium); background: rgba(255, 255, 255, 0.02); }
.cm-app-pitch.is-empty span, .cm-app-pitch.is-empty p { color: var(--text-dim); }
.cm-app-work { display: flex; gap: 8px; }
.cm-app-work a { flex: 1; height: 64px; overflow: hidden; border-radius: 12px; }
.cm-app-work img { width: 100%; height: 100%; object-fit: cover; }
.cm-app-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-app-links a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--border-medium); border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--text-pure); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.cm-app-links a:hover { border-color: var(--gold); color: var(--gold); }
.cm-app-bio { display: -webkit-box; margin: 0; overflow: hidden; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

/* Review side panel */
.cm-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
.cm-side-box { padding: 18px; border: 1px solid var(--border-subtle); border-radius: 22px; background: var(--bg-card); }
.cm-side-box.is-muted { background: transparent; }
.cm-side-box h4 { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; font-family: var(--lp-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.cm-side-box h4 span { color: var(--gold); }
.cm-side-empty { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-dim); }
.cm-rules { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cm-rules li { display: flex; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.cm-rules i { flex: none; margin-top: 2px; color: var(--gold); }
.cm-picked { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cm-picked li { display: flex; align-items: center; gap: 10px; }
.cm-picked img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.cm-picked div { flex: 1; min-width: 0; text-align: left; }
.cm-picked b { display: block; overflow: hidden; font-size: 14px; font-weight: 600; color: var(--text-pure); text-overflow: ellipsis; white-space: nowrap; }
.cm-picked span { font-size: 12px; color: var(--text-dim); }
.cm-picked .btn-glass { width: 38px; min-height: 38px; padding: 0; justify-content: center; }
.cm-picked.is-wide { margin-top: 18px; }

/* Dialogs: clash, match, selected list */
.cm-dialog { max-width: 470px; text-align: center; }
.cm-dialog-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 18px; background: var(--gold); font-size: 28px; color: #0a0a0a; }
.cm-dialog-icon.is-warn { background: #ffd66b; }
.cm-dialog-text { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.cm-dialog-note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-dim); }
.cm-dialog-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.cm-clash-list { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; text-align: left; }
.cm-clash-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255, 196, 0, 0.3); border-radius: 14px; background: rgba(255, 196, 0, 0.06); }
.cm-clash-list b { font-size: 14px; font-weight: 600; color: var(--text-pure); }
.cm-clash-list span { flex: none; font-family: var(--lp-mono); font-size: 11.5px; color: #ffd66b; }
.cm-match-avs { display: flex; justify-content: center; align-items: center; margin-bottom: 18px; }
.cm-match-avs img { width: 84px; height: 84px; border: 3px solid #111; border-radius: 50%; object-fit: cover; }
.cm-match-avs span { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; margin: 0 -14px; border: 3px solid #111; border-radius: 50%; background: var(--gold); font-size: 18px; color: #0a0a0a; }
.cm-match-slots { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 14px; border: 1px solid var(--border-subtle); border-radius: 999px; font-size: 13px; color: var(--text-muted); }

/* New campaign form */
.cm-create { max-width: 640px; }
.cm-create-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-right: 36px; }
#cmCreateForm, #cmApplyForm { display: flex; flex-direction: column; gap: 18px; }
.cm-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cm-opt { text-transform: none; letter-spacing: 0; color: var(--text-dim); }
.cm-help { font-size: 12px; color: var(--text-dim); }
.cm-err { font-size: 12.5px; color: #ff8fa3; }
.cm-err:empty { display: none; }
.cm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cm-inline { display: flex; align-items: stretch; gap: 8px; }
.cm-inline input { flex: 1; min-width: 0; }
.cm-affix { display: grid; place-items: center; min-width: 46px; border: 1px solid var(--border-medium); border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--gold); }
.cm-detect { width: 48px; min-height: 0; padding: 0; justify-content: center; }
.cm-stepper { display: flex; align-items: stretch; gap: 8px; }
.cm-stepper button { display: grid; place-items: center; width: 46px; border: 1px solid var(--border-medium); border-radius: 12px; background: transparent; font-size: 16px; color: var(--text-pure); cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.cm-stepper button:hover { border-color: var(--gold); color: var(--gold); }
.cm-stepper input { flex: 1; min-width: 0; font-weight: 600 !important; text-align: center; }
.cm-total { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: -4px; padding: 12px 14px; border-radius: 14px; background: rgba(230, 255, 26, 0.06); font-size: 13.5px; color: var(--text-muted); }
.cm-total i, .cm-total b { color: var(--gold); }
.cm-choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-choice { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border: 1px solid var(--border-medium); border-radius: 999px; background: transparent; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.cm-choice i { font-size: 16px; }
.cm-choice:hover { border-color: rgba(255, 255, 255, 0.3); color: var(--text-pure); }
.cm-choice.is-on { border-color: var(--gold); background: var(--gold); color: #0a0a0a; }
.cm-choice-row.is-small .cm-choice { height: 34px; padding: 0 12px; font-size: 12.5px; }
.cm-submit { justify-content: center; width: 100%; min-height: 50px; font-size: 15px; }
.cm-create input[type="date"], .cm-create input[type="number"] { color-scheme: dark; }

/* Talent: the brief feed */
.cm-feed-bar { flex-wrap: wrap; }
.cm-for { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-muted); }
.cm-brief.is-focus { border-color: var(--gold); }
.cm-brief-brand { display: flex; align-items: center; gap: 12px; }
.cm-brief-brand img { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; }
.cm-brief-brand div { flex: 1; min-width: 0; }
.cm-brief-brand b { display: block; font-size: 15px; font-weight: 600; color: var(--text-pure); }
.cm-brief-brand span { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 2px; font-size: 12.5px; color: var(--text-dim); }
.cm-brief-brand em { margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: rgba(230, 255, 26, 0.12); font-family: var(--lp-mono); font-size: 10px; font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.cm-brief h3 { margin: 0; font-size: 21px; font-weight: 500; line-height: 1.2; letter-spacing: -0.035em; color: var(--text-pure); }
.cm-brief-desc { display: -webkit-box; margin: 0; overflow: hidden; font-size: 14px; line-height: 1.55; color: var(--text-muted); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.cm-brief-facts { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border: 1px solid var(--border-subtle); border-radius: 16px; }
.cm-brief-facts li { display: grid; grid-template-columns: 18px 104px 1fr; align-items: baseline; gap: 8px; padding: 10px 14px; font-size: 13.5px; }
.cm-brief-facts li + li { border-top: 1px solid var(--border-subtle); }
.cm-brief-facts i { color: var(--gold); }
.cm-brief-facts span { font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.cm-brief-facts b { font-weight: 500; color: var(--text-pure); }
.cm-brief-facts b small { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--text-dim); }
.cm-brief-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); font-size: 12px; color: var(--text-muted); }
.cm-brief-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-subtle); }
.cm-fee b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: var(--gold); }
.cm-fee span { font-family: var(--lp-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }

/* Talent: apply */
.cm-apply { max-width: 560px; }
.cm-apply-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-right: 36px; }
.cm-apply-head img { width: 52px; height: 52px; border-radius: 16px; object-fit: cover; }
.cm-apply-head span { font-size: 13px; color: var(--text-muted); }
.cm-apply-head .app-modal-title { font-size: 22px; }
.cm-apply-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--border-subtle); }
.cm-apply-terms div { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; background: #111; }
.cm-apply-terms .is-wide { grid-column: 1 / -1; }
.cm-apply-terms span { font-family: var(--lp-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.cm-apply-terms b { font-size: 15px; font-weight: 600; color: var(--text-pure); }
.cm-apply-terms b.is-lime { color: var(--gold); }
.cm-apply-fixed { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.cm-apply-fixed i { margin-top: 2px; color: var(--gold); }
.cm-apply .cm-clash-hint { margin-bottom: 14px; }
.cm-apply-note { margin: -6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-dim); text-align: center; }

/* Talent: my applications */
.cm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cm-tab { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--border-medium); border-radius: 999px; background: transparent; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--text-muted); cursor: pointer; }
.cm-tab b { font-family: var(--lp-mono); font-size: 11px; font-weight: 500; color: var(--text-dim); }
.cm-tab.is-on { border-color: var(--gold); background: var(--gold); color: #0a0a0a; }
.cm-tab.is-on b { color: rgba(10, 10, 10, 0.6); }
.cm-rows { display: flex; flex-direction: column; gap: 12px; }
.cm-rows-empty { padding: 40px 0; color: var(--text-dim); text-align: center; }
.cm-row { display: flex; align-items: flex-start; gap: 16px; padding: 18px; border: 1px solid var(--border-subtle); border-radius: 22px; background: var(--bg-card); }
.cm-row.is-yes { border-color: rgba(230, 255, 26, 0.35); }
.cm-row > img { flex: none; width: 52px; height: 52px; border-radius: 16px; object-fit: cover; }
.cm-row-main { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
.cm-row-brand { font-size: 12.5px; color: var(--text-dim); }
.cm-row h3 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -0.03em; color: var(--text-pure); }
.cm-row-meta { margin: 0; font-size: 13px; color: var(--text-muted); }
.cm-row-pitch { margin: 4px 0 0; font-size: 13px; font-style: italic; line-height: 1.5; color: var(--text-dim); }
.cm-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* Deal Room: the note that opens a campaign chat */
.deal-system { align-self: center; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: min(88%, 560px); margin: 6px 0; padding: 10px 16px; border: 1px solid var(--border-gold); border-radius: 16px; background: rgba(230, 255, 26, 0.06); font-size: 13px; line-height: 1.45; color: var(--text-pure); text-align: center; }
.deal-system i { color: var(--gold); }
.deal-system time { font-size: 11px; color: var(--text-dim); }

/* Media kit: talent type, details, past work */
.mk-type-row { margin-top: 12px; }
.mk-section { padding-top: 18px; border-top: 1px solid var(--border-subtle); }
.mk-section-title { margin-bottom: 12px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--gold); }
.mk-section-help { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-dim); }
.mk-talent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 14px; }
.mk-highlights { width: 100%; margin-bottom: 16px; padding: 14px 16px; border: 1px solid var(--border-subtle); border-radius: 16px; text-align: left; }
.mk-block-title { margin-bottom: 8px; font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.mk-hl-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13.5px; }
.mk-hl-row span { color: var(--text-muted); }
.mk-hl-row strong { color: var(--text-pure); text-align: right; }
.mk-hl-empty { margin: 0; font-size: 12.5px; color: var(--text-dim); }
.mk-highlights .cm-app-links { margin-top: 10px; }
.mk-work-row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 8px; margin-bottom: 8px; }
.mk-work-del { display: grid; place-items: center; width: 44px; border: 1px solid var(--border-medium); border-radius: 12px; background: transparent; color: var(--text-muted); cursor: pointer; }
.mk-work-del:hover { border-color: #ff5c7a; color: #ff5c7a; }
.mk-add-work { min-height: 38px; padding: 6px 14px; font-size: 13px; }

@media (max-width: 1080px) {
  .cm-review-body { grid-template-columns: 1fr; }
  .cm-side { position: static; }
}
@media (max-width: 768px) {
  .cm-grid, .cm-brief-grid { grid-template-columns: 1fr; }
  .cm-bar .btn-gold { justify-content: center; width: 100%; }
  .cm-flow li { height: 32px; font-size: 12px; }
  .cm-review-head { align-items: stretch; }
  .cm-slotmeter { justify-content: space-between; }
  .cm-grid-2 { grid-template-columns: 1fr; }
  .cm-brief-facts li { grid-template-columns: 18px 88px 1fr; }
  .cm-row { flex-wrap: wrap; }
  .cm-row-side { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
  .mk-work-row { grid-template-columns: 1fr auto; }
  .mk-work-row .mk-work-label { grid-column: 1 / -1; }
}

/* ─── Media kit: profile photo + verification ─────────────────────────────── */
.mk-avatar { position: relative; width: 116px; height: 116px; margin-bottom: 18px; overflow: hidden; border: 3px solid var(--gold); border-radius: 50%; box-shadow: 0 0 35px rgba(230, 255, 26, 0.25); }
.mk-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mk-avatar-edit { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; background: rgba(10, 10, 10, 0.62); font-size: 11px; font-weight: 600; color: #fff; opacity: 0; cursor: pointer; transition: opacity 0.25s; }
.mk-avatar-edit i { font-size: 22px; color: var(--gold); }
.mk-avatar:hover .mk-avatar-edit, .mk-avatar-edit:focus-within { opacity: 1; }
.mk-avatar.is-busy .mk-avatar-edit { opacity: 1; cursor: progress; }
.mk-avatar.is-busy .mk-avatar-edit i { animation: mk-spin 1s linear infinite; }
@keyframes mk-spin { to { transform: rotate(360deg); } }
@media (hover: none) { .mk-avatar-edit { top: auto; height: 34%; opacity: 1; } .mk-avatar-edit span { display: none; } .mk-avatar-edit i { font-size: 16px; } }
.mk-verify { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 20px; padding: 12px 14px; border: 1px solid var(--border-subtle); border-radius: 16px; text-align: left; }
.mk-verify > i { flex: none; font-size: 24px; color: var(--text-dim); }
.mk-verify div { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.mk-verify b { font-size: 14px; font-weight: 600; color: var(--text-pure); }
.mk-verify span { font-size: 12px; line-height: 1.4; color: var(--text-dim); }
.mk-verify .btn-glass { flex: none; min-height: 36px; padding: 6px 14px; font-size: 13px; }
.mk-verify.is-verified { border-color: rgba(230, 255, 26, 0.4); background: rgba(230, 255, 26, 0.05); }
.mk-verify.is-verified > i, .mk-verify.is-pending > i { color: var(--gold); }

/* ─── Operations: verification requests + announcements ──────────────────── */
.ops-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 20px; margin-bottom: 28px; }
.ops-panel { padding: 24px; }
.ops-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.ops-panel-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-pure); }
.ops-panel-head h3 i { color: var(--gold); }
.ops-panel-head .btn-glass { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.ops-empty { display: flex; align-items: center; gap: 8px; margin: 0; padding: 22px 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.ops-empty i { font-size: 22px; color: var(--accent-green); }
.ops-queue { display: flex; flex-direction: column; gap: 12px; }
.ops-req { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--border-subtle); border-radius: 16px; background: rgba(255, 255, 255, 0.02); }
.ops-req > img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ops-req-main { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.ops-req-main b { font-size: 15px; font-weight: 600; color: var(--text-pure); }
.ops-req-main > span { font-size: 12.5px; color: var(--text-muted); }
.ops-req-main p { display: -webkit-box; margin: 2px 0 4px; overflow: hidden; font-size: 13px; line-height: 1.45; color: var(--text-dim); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ops-req-nolinks { font-size: 12px; font-style: italic; color: var(--text-dim); }
.ops-req-actions { display: flex; flex-direction: column; gap: 8px; }
.ops-req-actions button { min-height: 36px; padding: 6px 14px; font-size: 13px; justify-content: center; }
.ops-ann { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ops-ann li { padding: 12px 14px; border: 1px solid var(--border-subtle); border-radius: 14px; }
.ops-ann b { font-size: 14px; font-weight: 600; color: var(--text-pure); }
.ops-ann p { margin: 4px 0 6px; font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.ops-ann time { font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--text-dim); }

/* ─── Deal Room: replying to a proposal ───────────────────────────────────── */
.deal-proposal-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; margin-top: 14px; }
.deal-proposal-actions button { justify-content: center; min-height: 42px; }
.deal-proposal-hint { margin: 8px 0 0 !important; font-size: 11.5px !important; line-height: 1.45; color: var(--text-dim) !important; }

@media (max-width: 768px) {
  .ops-two { grid-template-columns: 1fr; }
  .ops-req { flex-wrap: wrap; }
  .ops-req-actions { flex-direction: row; width: 100%; }
  .ops-req-actions button { flex: 1; }
}

/* Cloudflare Turnstile in Settings (password reset): only shown when a tick is needed. */
.platform-modal-window .auth-captcha { display: flex; justify-content: center; margin-top: 10px; }
.platform-modal-window .auth-captcha:empty { display: none; }

/* ─── "New version" bar (assets/js/updater.js) ─────────────────────────────── */
/* Solid and crisp on purpose: it should read as part of Ping, not a faded overlay. */
.ping-update {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 8px 8px 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: #161616;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(230, 255, 26, 0.06);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.3;
  color: #f3f3ee;
  transform: translateX(-50%);
  animation: ping-update-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes ping-update-in { from { opacity: 0; transform: translate(-50%, 18px); } }
.ping-update-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #e6ff1a; box-shadow: 0 0 12px rgba(230, 255, 26, 0.85); }
.ping-update-text { white-space: nowrap; }
.ping-update-text b { font-weight: 600; color: #fff; }
.ping-update-text span { color: #b9b9b2; }
.ping-update-btn { flex: none; min-height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: #e6ff1a; font: inherit; font-weight: 600; color: #0a0a0a; cursor: pointer; transition: box-shadow 0.2s; }
.ping-update-btn:hover { box-shadow: 0 0 22px rgba(230, 255, 26, 0.5); }
.ping-update-btn:focus-visible, .ping-update-close:focus-visible { outline: 2px solid #e6ff1a; outline-offset: 2px; }
.ping-update-close { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; font-size: 20px; line-height: 1; color: #9a9a93; cursor: pointer; }
.ping-update-close:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
@media (max-width: 768px) {
  /* Phones: under the header, clear of the tab bar, toasts and the chat box. */
  .ping-update { top: calc(72px + env(safe-area-inset-top, 0px)); bottom: auto; left: 12px; right: 12px; width: auto; max-width: none; border-radius: 18px; transform: none; animation-name: ping-update-in-phone; }
  .ping-update-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .ping-update-text span { display: none; }
}
@keyframes ping-update-in-phone { from { opacity: 0; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .ping-update { animation: none; } }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* PHONES & TOUCH                                                              */
/* ═══════════════════════════════════════════════════════════════════════════ */
/* Side-by-side field rows (media kit, proposal) may shrink below their
   content's natural width, and stack on phones (see below). */
.app-cols > *, .mk-print-stats > * { min-width: 0; }
.deal-back { display: none; }

@media (max-width: 1024px) {
  /* A plain 1fr column grows to fit wide content, past the screen edge. */
  .media-kit-grid { grid-template-columns: minmax(0, 1fr); }

  /* Deal Room on phones and tablets: the conversation list, or one open
     conversation (with a back button), instead of both squeezed together. */
  .deal-room-shell { display: block; height: auto; min-height: 0; }
  .deal-room-shell .deal-room-active-pane { display: none; }
  .deal-room-shell.is-thread .deal-conversations-pane { display: none; }
  .deal-room-shell.is-thread .deal-room-active-pane { display: flex; height: calc(100vh - 240px); height: calc(100dvh - 240px); min-height: 480px; }
  .deal-back { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-left: -6px; border: 0; border-radius: 50%; background: transparent; font-size: 20px; color: var(--text-pure); cursor: pointer; }
}

/* iOS zooms the whole page into any field whose text is under 16px. */
@media (max-width: 768px), (pointer: coarse) {
  .platform-viewport :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea),
  .platform-modal-window :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea) {
    font-size: 16px !important;
  }
}

@media (max-width: 768px) {
  /* Finger-sized targets (about 40px). */
  .header-icon-btn, .header-avatar-btn { width: 40px; height: 40px; }
  .platform-modal-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .cm-choice, .tag-filter-chip, .custom-select-trigger { min-height: 40px; }
  .mk-verify .btn-glass, .ops-panel-head .btn-glass, .ops-req-actions button { min-height: 40px; }
  /* Stacked toolbar: without this it sized itself to its full chip row. */
  .cm-feed-bar { flex-wrap: nowrap; }
  .notif-list { max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); }

  /* Applicant review: back and slots share a row, and a compact title. */
  .cm-review-head { align-items: center; gap: 10px 12px; margin-bottom: 14px; padding-bottom: 14px; }
  .cm-back { height: 40px; }
  .cm-slotmeter { order: 1; margin-left: auto; padding: 6px 12px; }
  .cm-review-meta { order: 2; flex: 1 1 100%; min-width: 0; }
  .cm-review-title { font-size: 24px; }
  /* Applicant list: full-width Pass / Connect under each profile. */
  .cm-applicant { padding: 14px; border-radius: 20px; }
  .cm-applicant-av { width: 52px; height: 52px; }
  .cm-applicant-actions { display: grid; grid-template-columns: 1fr 1.6fr; }
  .cm-applicant-actions button { min-width: 0; }
  .cm-applicant .cm-app-stats { grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); }
  .cm-applicant .cm-app-pitch p { -webkit-line-clamp: 4; }
  .cm-applicant .cm-app-work a { height: 56px; }

  /* Deal Room on phones: an open conversation fills the screen and the tab
     bar steps aside so the message box is never covered. */
  .deal-room-shell.is-thread .deal-room-active-pane { height: calc(100vh - 86px); height: calc(100dvh - 86px); min-height: 360px; }
  body.deal-thread-open .platform-nav { display: none; }
  body.deal-thread-open .platform-viewport { padding-top: 12px; padding-bottom: 12px; }
  body.deal-thread-open .platform-viewport > .section-header { display: none; }
  .deal-room-top-bar { gap: 8px; padding: 10px 12px; }
  .deal-top-who { flex: 1; gap: 10px !important; min-width: 0; }
  .deal-top-avatar { flex: none; width: 38px !important; height: 38px !important; }
  .deal-top-names { min-width: 0; }
  .deal-top-names > div { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .deal-top-actions { flex: none; gap: 6px !important; }
  #btnBlockUser { flex: none; }
  .deal-messages-scroller { padding: 16px 12px; }
  #dealIcebreakersBar { padding: 8px 12px !important; }
  #dealChatForm { gap: 8px !important; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important; }

  /* Remaining small controls */
  .cm-tab, .cm-app-links a { height: 40px; }
  .mk-add-work { min-height: 40px; }
  #btnDetectProfLocation { min-width: 44px; justify-content: center; }
  .cm-link { position: relative; }
  .cm-link::after { content: ""; position: absolute; inset: -12px -8px; }
}
@media (hover: none) { .mk-avatar-edit { height: 40%; } }
@media (max-width: 768px) {
  /* Fields sit in flex rows next to buttons; let them shrink instead of
     pushing the button off the screen. */
  .platform-viewport :is(input, textarea), .platform-modal-window :is(input, textarea) { min-width: 0; }
}
@media (max-width: 400px) {
  .platform-viewport .glass-box { padding: 20px !important; }
}

@media (max-width: 420px) {
  .deal-prop-label { display: none; }
  #btnOpenProposalDrawer { justify-content: center; width: 40px; height: 40px; min-height: 0; padding: 0 !important; }
  /* Proposal cards use the chat's full width, with one-line labels. */
  .deal-proposal { width: 100%; padding: 16px; }
  .deal-proposal-tag, .deal-proposal-status { white-space: nowrap; }
  .deal-proposal-tag { padding: 5px 9px; letter-spacing: 0.04em; }
  .deal-proposal-status { letter-spacing: 0.04em; }
}

/* Phones: forms open as sheets from the bottom of the screen, field rows
   stack, and the printable kit's stats wrap onto two rows. */
@media (max-width: 560px) {
  .platform-modal-backdrop { align-items: flex-end; padding: 0; }
  .platform-modal-window { width: 100%; max-width: none; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); padding: 24px 18px calc(24px + env(safe-area-inset-bottom, 0px)); border-bottom: 0; border-radius: 24px 24px 0 0; }
  .platform-modal-backdrop.active .platform-modal-window { animation-name: app-sheet-in; }
  /* Short confirmations ("You're connected", a scheduling clash) stay as cards. */
  .platform-modal-backdrop:has(> .cm-dialog) { align-items: center; padding: 16px; }
  .platform-modal-window.cm-dialog { border-bottom: 1px solid var(--border-medium); border-radius: 24px; }
  .app-cols { grid-template-columns: minmax(0, 1fr) !important; }
  .mk-print-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@keyframes app-sheet-in { from { opacity: 0; transform: translateY(48px); } }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* MEDIA KIT & BRAND PROFILE: checklist, edit / preview, public link,          */
/* availability, photos, save bar; the brand sheet; click-to-play players      */
/* ═══════════════════════════════════════════════════════════════════════════ */
.media-kit-grid[hidden], .mk-preview[hidden], .mk-section[hidden] { display: none !important; }
.mk-head-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Completeness */
.mk-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-bottom: 18px; padding: 18px 22px; }
.mk-progress-top { display: flex; align-items: center; gap: 16px; min-width: 250px; }
.mk-ring { position: relative; flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p, 0) * 1%), rgba(255, 255, 255, 0.08) 0); }
.mk-ring::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--bg-card); }
.mk-ring span { position: relative; font-family: var(--lp-mono); font-size: 13px; font-weight: 500; color: var(--text-pure); }
.mk-progress-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mk-progress-text b { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-pure); }
.mk-progress-text span { font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.mk-todo { display: flex; flex: 1; flex-wrap: wrap; gap: 8px; min-width: 0; }
.mk-todo-item { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 13px; border: 1px dashed var(--border-medium); border-radius: 999px; background: transparent; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
.mk-todo-item i { font-size: 12px; color: var(--gold); }
.mk-todo-item:hover { border-style: solid; border-color: var(--gold); background: rgba(230, 255, 26, 0.05); color: var(--text-pure); }

/* Edit / Preview */
.mk-modes { display: inline-flex; gap: 4px; max-width: 100%; margin-bottom: 20px; padding: 4px; border: 1px solid var(--border-subtle); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.mk-mode { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--text-muted); white-space: nowrap; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.mk-mode:hover { color: var(--text-pure); }
.mk-mode.is-on { background: var(--gold); color: #0a0a0a; }
.mk-preview { max-width: 780px; }
.mk-preview-note { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.mk-preview-note i { flex: none; margin-top: 2px; color: var(--gold); }
.mk-preview-note a { color: var(--gold); overflow-wrap: anywhere; }
.mk-preview-note b { font-weight: 600; color: var(--text-pure); }
.mk-preview .cm-apps + .mk-preview-note { margin: 16px 0 0; }
.mk-preview-brand { padding: 26px; }
.cm-applicant.is-preview .cm-applicant-actions button:disabled { opacity: 0.45; cursor: not-allowed; }
.cm-applicant.is-preview .cm-applicant-actions .btn-gold:hover { transform: none; box-shadow: none; }

/* Layout */
.mk-side, .mk-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mk-identity { display: flex; flex-direction: column; align-items: center; padding: 28px; text-align: center; }
.mk-name { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 24px; font-weight: 600; line-height: 1.15; letter-spacing: -0.035em; color: var(--text-pure); overflow-wrap: anywhere; }
.mk-name i { font-size: 21px; }
.mk-role { margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--gold); }
.mk-loc { margin-top: 4px; font-size: 12.5px; color: var(--text-dim); }
.mk-score { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; margin: 20px 0 14px; padding: 14px 18px; border: 1px solid var(--border-gold); border-radius: 16px; background: rgba(230, 255, 26, 0.05); text-align: left; }
.mk-score b { display: block; font-family: var(--lp-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.mk-score span { font-size: 12px; color: var(--text-muted); }
.mk-score strong { font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--gold); }
#mkVerify { width: 100%; }
#mkVerify .mk-verify { margin-bottom: 0; }
.mk-identity .mk-highlights { margin: 14px 0 0; }

/* Cards */
.mk-card { padding: 24px; }
.mk-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.mk-card-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-pure); }
.mk-card-head h3 i { color: var(--gold); }
.mk-card-help { margin: 0 0 14px; font-size: 12.5px; line-height: 1.5; color: var(--text-dim); }
.mk-selfrep { font-family: var(--lp-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }

/* On / off switch */
.mk-switch { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.mk-switch input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.mk-switch span { position: relative; width: 46px; height: 28px; border: 1px solid var(--border-medium); border-radius: 999px; background: rgba(255, 255, 255, 0.06); transition: background-color 0.2s, border-color 0.2s; }
.mk-switch span::after { content: ''; position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--text-muted); transition: transform 0.3s var(--lp-ease), background-color 0.2s; }
.mk-switch input:checked + span { border-color: var(--gold); background: var(--gold); }
.mk-switch input:checked + span::after { background: #0a0a0a; transform: translateX(18px); }
.mk-switch input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.mk-switch em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Public link */
.mk-handle { display: flex; align-items: stretch; overflow: hidden; border: 1px solid var(--border-medium); border-radius: 12px; background: rgba(255, 255, 255, 0.03); transition: border-color 0.3s, box-shadow 0.3s; }
.mk-handle:focus-within { border-color: rgba(230, 255, 26, 0.7); box-shadow: 0 0 0 4px rgba(230, 255, 26, 0.1); }
.mk-handle-pre { display: flex; align-items: center; padding-left: 14px; font-size: 14px; color: var(--text-dim); white-space: nowrap; }
.platform-viewport #mkHandle { flex: 1; min-width: 0; padding-left: 1px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.mk-handle-hint { margin: 8px 0 0; font-size: 12px; line-height: 1.45; color: var(--text-dim); overflow-wrap: anywhere; }
.mk-handle-hint.is-err { color: #ff8fa3; }
.mk-handle-hint.is-ok { color: var(--gold); }
/* Free / taken / checking, inside the field */
.mk-handle-state { display: none; }
.mk-handle-state.ph-bold { flex: none; display: grid; place-items: center; width: 40px; font-size: 17px; color: var(--text-dim); }
.mk-handle-state.is-ok { color: var(--gold); }
.mk-handle-state.is-err { color: #ff8fa3; }
.mk-handle:has(.mk-handle-state.is-err) { border-color: rgba(255, 143, 163, 0.55); }
.mk-handle-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.mk-handle-suggest[hidden] { display: none; }
.mk-handle-suggest > span { font-size: 12px; color: var(--text-dim); }
.mk-handle-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--border-medium); border-radius: 999px; background: transparent; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--text-pure); cursor: pointer; transition: border-color 0.2s, color 0.2s; overflow-wrap: anywhere; }
.mk-handle-chip:hover { border-color: var(--gold); color: var(--gold); }
.mk-public-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mk-public-actions .btn-glass { min-height: 38px; padding: 6px 14px; font-size: 13px; text-decoration: none; }

/* Availability */
.av-cal { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px 22px; }
.av-month-name { margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-pure); }
.av-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.av-dow { padding-bottom: 4px; font-family: var(--lp-mono); font-size: 10px; text-align: center; color: var(--text-dim); }
.av-day { display: grid; place-items: center; height: 30px; border-radius: 8px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--text-muted); }
.av-day.is-past { color: rgba(255, 255, 255, 0.2); }
.av-day.is-today { box-shadow: inset 0 0 0 1px var(--border-medium); font-weight: 600; color: var(--text-pure); }
.av-day.is-booked { background: var(--gold); font-weight: 600; color: #0a0a0a; }
.av-day.is-blocked, .av-day.is-busy { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0 3px, rgba(255, 255, 255, 0.04) 3px 7px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); color: var(--text-pure); }
.av-day.is-past:is(.is-booked, .is-blocked, .is-busy) { opacity: 0.4; }
.av-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: 12px; color: var(--text-muted); }
.av-legend span { display: inline-flex; align-items: center; gap: 7px; }
.av-legend i { width: 12px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--border-medium); }
.av-legend i.is-booked { background: var(--gold); box-shadow: none; }
.av-legend i.is-blocked, .av-legend i.is-busy { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0 2px, rgba(255, 255, 255, 0.06) 2px 4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
#mkAvailBody .av-legend + .mk-card-help { margin: 10px 0 0; }
.mk-block-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.mk-block-form label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mk-block-form input[type="date"] { width: 100%; color-scheme: dark; }
.mk-block-form .btn-glass { grid-column: 1 / -1; justify-content: center; min-height: 40px; font-size: 13px; }
.mk-blocked { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.mk-blocked li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 5px 5px 12px; border: 1px solid var(--border-subtle); border-radius: 12px; font-size: 13px; color: var(--text-pure); }
.mk-blocked li span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.mk-blocked li span i { color: var(--text-dim); }
.mk-blocked-del { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--text-muted); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.mk-blocked-del:hover { background: rgba(255, 92, 122, 0.12); color: #ff5c7a; }

/* Audience (side card) */
.mk-aud { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.mk-aud li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; font-size: 13.5px; }
.mk-aud li + li { border-top: 1px solid var(--border-subtle); }
.mk-aud li > span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--text-muted); }
.mk-aud li > span i { font-size: 16px; color: var(--gold); }
.mk-aud b, .mk-aud a { flex: none; font-weight: 600; color: var(--text-pure); }
.mk-aud a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; transition: color 0.2s; }
.mk-aud a i { font-size: 12px; color: var(--text-dim); transition: color 0.2s; }
.mk-aud a:hover, .mk-aud a:hover i { color: var(--gold); }

/* Ping AI + the form */
.mk-ai-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.mk-ai-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mk-ai-title .platform-brand-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 14px; background: var(--gold); box-shadow: none; font-size: 19px; color: #0a0a0a; }
.mk-ai-title h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-pure); }
.mk-ai-title span { font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
.mk-ai-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mk-ai-actions .custom-select-wrap { min-width: 172px; }
.mk-ai-actions .btn-gold { min-height: 42px; padding: 8px 16px; font-size: 13.5px; }
.mk-form { display: flex; flex-direction: column; gap: 18px; }
.mk-form-title { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-pure); }
.mk-form label { display: block; margin-bottom: 6px; }
.mk-form :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea) { width: 100%; }
.mk-form textarea { min-height: 112px; resize: vertical; }
.mk-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.mk-cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mk-cols + .mk-cols { margin-top: 14px; }
.mk-loc-row { display: flex; gap: 8px; }
.mk-loc-row input { flex: 1; min-width: 0; }
.mk-loc-row .btn-glass { flex: none; justify-content: center; width: 46px; padding: 0; }
.mk-status { min-height: 14px; margin-top: 5px; font-size: 11.5px; line-height: 1.4; color: var(--text-dim); }
.mk-status.is-ok { color: var(--accent-green); }
.mk-status.is-err { color: #ff8fa3; }
.mk-opt { font-family: var(--font-main); letter-spacing: 0; text-transform: none; color: var(--text-dim); }
.mk-section-title + .mk-section-help { margin: -6px 0 12px; }
.mk-links-title { margin-top: 24px; }
.mk-save-inline { align-self: flex-start; }
.mk-file { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; clip-path: inset(50%); }

/* Photos of work */
.mk-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.mk-photo { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: 14px; background: #0f0f0f; }
.mk-photo img { width: 100%; height: 100%; object-fit: cover; }
.mk-photo-del { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(10, 10, 10, 0.8); font-size: 13px; color: #fff; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.mk-photo-del:hover { background: #ff5c7a; color: #0a0a0a; }
.mk-photo.is-loading { display: grid; place-items: center; font-size: 22px; color: var(--gold); }
.mk-photo.is-loading i { animation: mk-spin 1s linear infinite; }
.mk-photos .mk-photo-add { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; aspect-ratio: 1; margin: 0; border: 1px dashed var(--border-medium); border-radius: 14px; background: rgba(255, 255, 255, 0.02); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.mk-photo-add i { font-size: 22px; color: var(--gold); }
.mk-photo-add span { font-family: var(--font-main); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--text-muted); }
.mk-photos .mk-photo-add:hover { border-color: var(--gold); background: rgba(230, 255, 26, 0.05); }
.mk-photos .mk-photo-add:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }

/* A checklist item was tapped: glow around the field or card it points to. */
@keyframes mk-flash { from { box-shadow: 0 0 0 8px rgba(230, 255, 26, 0.2); } to { box-shadow: 0 0 0 8px rgba(230, 255, 26, 0); } }
.mk-flash { animation: mk-flash 1.6s ease-out; }
.mk-flash:not(.glass-box) { border-radius: 12px; }

/* Unsaved changes bar: solid and crisp, like the update bar. */
.mk-savebar { position: fixed; left: 50%; bottom: 24px; z-index: 880; display: flex; align-items: center; gap: 16px; width: max-content; max-width: calc(100vw - 24px); padding: 8px 8px 8px 18px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: #161616; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(230, 255, 26, 0.06); visibility: hidden; transform: translate(-50%, calc(100% + 40px)); transition: transform 0.45s var(--lp-ease), visibility 0s linear 0.45s; }
.mk-savebar.is-on { visibility: visible; transform: translate(-50%, 0); transition: transform 0.45s var(--lp-ease), visibility 0s; }
.mk-savebar-text { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: #f3f3ee; white-space: nowrap; }
.mk-savebar-text i { font-size: 9px; color: var(--gold); filter: drop-shadow(0 0 5px rgba(230, 255, 26, 0.85)); }
.mk-savebar-actions { display: flex; gap: 8px; }
.mk-savebar .btn-glass, .mk-savebar .btn-gold { justify-content: center; min-height: 40px; padding: 8px 18px; font-size: 13.5px; }
body.mk-dirty .platform-toast { bottom: 92px; }
body.mk-dirty .ping-update { bottom: 92px; }

/* Printable media kit */
.mk-sheet { padding: 32px; border: 1px solid var(--gold); border-radius: 20px; background: linear-gradient(135deg, #181712 0%, #0c0c10 100%); box-shadow: 0 0 50px rgba(230, 255, 26, 0.18); }
.mk-sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.mk-sheet-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.mk-sheet-id img { flex: none; width: 68px; height: 68px; border: 2px solid var(--gold); border-radius: 50%; object-fit: cover; }
.mk-sheet-id div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mk-sheet-id b { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: #fff; overflow-wrap: anywhere; }
.mk-sheet-id span { font-size: 13.5px; font-weight: 600; color: var(--gold); }
.mk-sheet-id em { font-family: var(--font-main); font-size: 12px; font-style: normal; color: var(--text-muted); }
.mk-sheet-score { flex: none; text-align: right; }
.mk-sheet-score strong { display: block; font-size: 32px; font-weight: 600; line-height: 1; color: var(--gold); }
.mk-sheet-score span { font-family: var(--lp-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.mk-sheet-bio { margin: 0 0 20px; font-size: 14px; line-height: 1.55; color: var(--text-muted); white-space: pre-line; }
.mk-print-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 12px; margin-bottom: 12px; padding: 16px; border-radius: 14px; background: rgba(0, 0, 0, 0.5); }
.mk-print-stats div { text-align: center; }
.mk-print-stats b { display: block; font-size: 17px; font-weight: 700; color: #fff; }
.mk-print-stats span { font-size: 10.5px; color: var(--text-dim); }
.mk-sheet-note { margin: -2px 0 16px; font-family: var(--lp-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.mk-sheet-rates { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; font-size: 13px; color: var(--text-muted); }
.mk-sheet-rates b { color: var(--text-pure); }
.mk-sheet-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-sheet-tags span { padding: 3px 10px; border-radius: 999px; background: rgba(230, 255, 26, 0.1); font-size: 11px; color: var(--gold); }
.mk-sheet-link { margin: 16px 0 0; font-family: var(--lp-mono); font-size: 12px; color: var(--gold); }
.mk-sheet-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; }

/* Applicant card extras: busy on your dates, self-reported note, players */
.cm-busy { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.4; }
.cm-busy i { flex: none; font-size: 15px; }
.cm-busy.is-booked { border: 1px solid rgba(255, 92, 122, 0.4); background: rgba(255, 92, 122, 0.08); color: #ff9aae; }
.cm-busy.is-blocked { border: 1px solid rgba(255, 196, 0, 0.35); background: rgba(255, 196, 0, 0.08); color: #ffd66b; }
.cm-app-note { margin: -4px 0 0; font-family: var(--lp-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.cm-app-note a { color: var(--text-muted); text-decoration: none; }
.cm-app-note a:hover { color: var(--gold); }
.cm-app-players { display: flex; flex-direction: column; gap: 8px; }

/* Click-to-play players (applicant cards and the public media kit) */
.pk-embed { position: relative; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: 16px; background: #0f0f0f; }
.pk-embed-play { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 56px 10px 10px; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pk-embed-play:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 16px; }
.pk-embed-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); font-size: 17px; color: #0a0a0a; transition: transform 0.3s var(--lp-ease), box-shadow 0.3s; }
.pk-embed-play:hover .pk-embed-btn { box-shadow: 0 0 24px rgba(230, 255, 26, 0.45); transform: scale(1.06); }
.pk-embed-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pk-embed-text b { overflow: hidden; font-size: 14px; font-weight: 600; color: var(--text-pure); text-overflow: ellipsis; white-space: nowrap; }
.pk-embed-text em { display: inline-flex; align-items: center; gap: 5px; font-family: var(--lp-mono); font-size: 10.5px; font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.pk-embed-open { position: absolute; top: 50%; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border-subtle); border-radius: 50%; color: var(--text-muted); text-decoration: none; transform: translateY(-50%); transition: border-color 0.2s, color 0.2s; }
.pk-embed-open:hover { border-color: var(--gold); color: var(--gold); }
.pk-embed.is-playing { border-color: var(--border-medium); }
.pk-embed.is-playing iframe { display: block; width: 100%; border: 0; }
.pk-embed.is-video.is-playing iframe { height: auto; aspect-ratio: 16 / 9; }
.pk-embed.is-audio.is-playing iframe { height: 166px; }
.pk-embed.is-audio-sm.is-playing iframe { height: 152px; }

/* A brand's profile (talent's sheet, and the brand's own preview) */
.bp-sheet { max-width: 620px; }
.bp-head { display: flex; align-items: center; gap: 16px; padding-right: 40px; }
.bp-logo { flex: none; width: 64px; height: 64px; border: 1px solid var(--border-medium); border-radius: 18px; object-fit: cover; }
.bp-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 24px; font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; color: var(--text-pure); overflow-wrap: anywhere; }
.bp-head h2 i { font-size: 20px; color: var(--gold); }
.bp-head p { margin: 5px 0 0; font-size: 13.5px; color: var(--text-muted); }
.mk-preview-brand .bp-head { padding-right: 0; }
.bp-about { margin: 18px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--text-pure); white-space: pre-line; }
.bp-about.is-empty { color: var(--text-dim); }
.bp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bp-facts:not(:has(*)) { display: none; }
.bp-facts span, .bp-facts a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid var(--border-subtle); border-radius: 999px; font-size: 12.5px; color: var(--text-muted); text-decoration: none; }
.bp-facts i { color: var(--gold); }
.bp-facts a { color: var(--text-pure); transition: border-color 0.2s, color 0.2s; overflow-wrap: anywhere; }
.bp-facts a:hover { border-color: var(--gold); color: var(--gold); }
.bp-sub { display: flex; align-items: center; gap: 8px; margin: 24px 0 10px; font-family: var(--lp-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.bp-sub b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); font-weight: 500; color: #0a0a0a; }
.bp-campaigns { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bp-campaigns li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border: 1px solid var(--border-subtle); border-radius: 16px; background: rgba(255, 255, 255, 0.02); }
.bp-campaigns li > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bp-campaigns b { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-pure); }
.bp-campaigns span { font-size: 12.5px; color: var(--text-muted); }
.bp-campaigns .btn-gold { flex: none; min-height: 38px; padding: 8px 16px; font-size: 13px; }
.bp-campaigns .cm-pill { flex: none; height: 32px; padding: 0 12px; font-size: 12px; }
.bp-empty { margin: 0; padding: 14px 16px; border: 1px dashed var(--border-medium); border-radius: 16px; font-size: 13px; color: var(--text-dim); }

/* Brand names that open the brand's profile */
.cm-brand-link { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--text-pure); text-align: left; cursor: pointer; transition: color 0.2s; }
.cm-brand-link i { flex: none; font-size: 12px; color: var(--text-dim); transition: transform 0.3s var(--lp-ease), color 0.2s; }
.cm-brand-link:hover, .cm-brand-link:hover i { color: var(--gold); }
.cm-brand-link:hover i { transform: translateX(2px); }
.cm-brand-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.cm-row-brand.cm-brand-link { align-self: flex-start; font-size: 12.5px; font-weight: 500; color: var(--text-dim); }
.cm-brief-brand img[data-brand], .cm-row > img[data-brand] { cursor: pointer; }

/* Desktop side column: the two months side by side, as compact calendars. */
@media (min-width: 1025px) {
  .mk-side .av-cal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .mk-side .av-month-name { font-size: 12.5px; }
  .mk-side .av-grid { gap: 2px; }
  .mk-side .av-day { height: 24px; border-radius: 6px; font-size: 11px; }
  .mk-side .av-dow { font-size: 9.5px; }
}
/* Phones and tablets: one column, with the form near the top (identity and
   public link first, then Ping AI and the form, then availability). */
@media (max-width: 1024px) {
  .media-kit-grid { gap: 20px; }
  .mk-side, .mk-main { display: contents; }
  #mkIdentity { order: 1; }
  #mkPublic { order: 2; }
  #mkAi { order: 3; }
  #formEditProfile { order: 4; }
  #mkAvailability { order: 5; }
  #mkAudience { order: 6; }
}
@media (max-width: 768px) {
  .mk-switch { min-height: 40px; }
  .mk-handle-chip { min-height: 40px; }
  .mk-photo-del { top: 4px; right: 4px; width: 40px; height: 40px; font-size: 15px; }
  .mk-head-actions { width: 100%; }
  .mk-head-actions > * { flex: 1; justify-content: center; }
  .mk-progress { padding: 16px; }
  .mk-progress-top { min-width: 0; }
  .mk-ring { width: 54px; height: 54px; }
  .mk-modes { display: flex; width: 100%; }
  .mk-mode { flex: 1; justify-content: center; min-height: 40px; padding: 0 10px; }
  .mk-card, .mk-identity { padding: 20px; }
  .mk-preview-brand { padding: 20px; }
  .mk-todo-item, .mk-blocked-del { min-height: 40px; }
  .mk-blocked-del { width: 40px; }
  .mk-cols-3 { grid-template-columns: minmax(0, 1fr); }
  .mk-ai-actions { width: 100%; }
  .mk-ai-actions .custom-select-wrap { flex: 1; min-width: 0; }
  .mk-ai-actions .btn-gold { flex: 1; justify-content: center; }
  .mk-save-inline { align-self: stretch; justify-content: center; }
  /* Phones: the save bar sits just above the tab bar. */
  .mk-savebar { left: 12px; right: 12px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: none; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 18px; transform: translateY(calc(100% + 120px)); }
  .mk-savebar.is-on { transform: none; }
  .mk-savebar-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; }
  .mk-savebar .btn-glass, .mk-savebar .btn-gold { padding: 8px 14px; }
  body.mk-dirty .platform-toast { bottom: calc(158px + env(safe-area-inset-bottom, 0px)); }
  body.mk-dirty .platform-viewport { padding-bottom: 190px; }
  .mk-sheet { padding: 22px; }
  .mk-sheet-head { flex-wrap: wrap; }
  .bp-campaigns li { flex-wrap: wrap; }
  .bp-campaigns li > .btn-gold, .bp-campaigns li > .cm-pill { flex: 1 1 100%; justify-content: center; }
  .bp-campaigns .btn-gold { min-height: 40px; }
  .bp-facts span, .bp-facts a { min-height: 40px; }
  .pk-embed-open { width: 40px; height: 40px; }
}
/* Brand names are small text buttons: give them a finger-sized tap area. */
@media (pointer: coarse) {
  .cm-brand-link { position: relative; }
  .cm-brand-link::after { content: ""; position: absolute; inset: -11px -8px; }
}
/* Narrow phones: just "@" in front of the link name (the hint spells out the link). */
@media (max-width: 480px) {
  .mk-handle-host { display: none; }
}
@media (max-width: 400px) {
  .mk-savebar-text { display: none; }
  .mk-savebar-actions { flex: 1; }
  .mk-savebar-actions > * { flex: 1; }
}
