/* ── PILLS ── */
.pill {
  display: inline-block; font-size: 11px; padding: 2px 8px;
  border-radius: 4px; font-weight: 500; white-space: nowrap;
}
.pill-type-xl { background: var(--type-xl); color: var(--type-xl-text); }
.pill-type-l  { background: var(--type-l);  color: var(--type-l-text); }
.pill-type-m  { background: var(--type-m);  color: var(--type-m-text); }
.pill-fs      { background: var(--type-fs); color: var(--type-fs-text); }

.pill-inprogress { background: var(--status-inprogress-bg); color: var(--status-inprogress-text); }
.pill-todo       { background: var(--status-todo-bg);       color: var(--status-todo-text); }
.pill-done       { background: var(--status-done-bg);       color: var(--status-done-text); }
.pill-hold       { background: var(--status-hold-bg);       color: var(--status-hold-text); }

.pill-outline { background: transparent; border: 1px solid #333; color: var(--gray-300); }

/* generic status/tag pills used across Org/Contacts/Workload/Ongoing/Process tabs */
.pill-pink   { background: #2A1420; color: var(--momo-pink-light); }
.pill-green  { background: var(--status-done-bg); color: var(--status-done-text); }
.pill-yellow { background: var(--status-todo-bg); color: var(--status-todo-text); }
.pill-gray   { background: #222; color: #aaa; border: 1px solid #333; }
.pill-red    { background: #3D1A1A; color: #E88080; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card {
  background: var(--surface-2); border: 1px solid #2A2A2A;
  border-radius: 6px; padding: 20px;
}
.card-label { font-size: 10px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 8px; }
.card-value { font-size: 15px; font-weight: 500; color: var(--momo-white); margin-bottom: 4px; }
.card-sub { font-size: 12px; color: var(--text-secondary); }

/* ── TABLE ── */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th {
  text-align: left; padding: 10px 14px;
  font-size: 10px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-secondary);
  background: #161616; border-bottom: 1px solid #2A2A2A;
}
.tbl td { padding: 11px 14px; border-bottom: 1px solid #222; vertical-align: top; color: #ddd; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: #202020; }
.tbl-wrap { background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 6px; overflow: hidden; }
.tbl strong { color: var(--momo-white); font-weight: 500; }

/* ── INFO ROW ── */
.info-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #222; align-items: flex-start; }
.info-row:last-child { border-bottom: none; }
.info-key { font-size: 12px; font-weight: 500; color: var(--gray-300); min-width: 180px; flex-shrink: 0; }
.info-val { font-size: 13px; color: var(--momo-white); }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: #2A2A2A; }
.tl-item { position: relative; margin-bottom: 20px; }
.tl-dot { position: absolute; left: -22px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--momo-pink); border: 2px solid var(--surface-1); box-shadow: 0 0 0 1px var(--momo-pink); }
.tl-date { font-size: 11px; font-weight: 500; color: var(--text-secondary); margin-bottom: 2px; }
.tl-title { font-size: 13px; font-weight: 500; color: var(--momo-white); margin-bottom: 2px; }
.tl-desc { font-size: 12px; color: #aaa; }

/* ── CALLOUT ── */
.callout {
  background: var(--momo-pink-bg); background: #2A1420; border-left: 3px solid var(--momo-pink);
  border-radius: 0 6px 6px 0; padding: 12px 16px;
  font-size: 13px; color: #ddd; margin-bottom: 16px;
}
.callout strong { color: var(--momo-pink-light); }

/* ── PROCESS STEPS ── */
.steps { display: flex; flex-direction: column; gap: 12px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface-2); border: 1px solid #2A2A2A;
  border-radius: 6px; padding: 16px;
}
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--momo-pink); color: var(--momo-white);
  font-size: 12px; font-weight: 700; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.step-title { font-size: 13px; font-weight: 500; color: var(--momo-white); margin-bottom: 3px; }
.step-desc { font-size: 12px; color: #aaa; }

/* ── CONTACT CARD ── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.contact-card {
  background: var(--surface-2); border: 1px solid #2A2A2A; border-radius: 6px; padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.contact-name { font-size: 14px; font-weight: 500; color: var(--momo-white); }
.contact-role { font-size: 12px; color: var(--text-secondary); }
.contact-team { font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--momo-pink-light); margin-bottom: 2px; }
.contact-reach { font-size: 12px; color: #aaa; margin-top: 6px; padding-top: 6px; border-top: 1px solid #2A2A2A; }

/* ── WORKLOAD ── */
.rhythm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rhythm-card {
  background: var(--surface-2); border: 1px solid #2A2A2A; border-radius: 6px; overflow: hidden;
}
.rhythm-header {
  padding: 12px 16px; background: #161616;
  font-size: 11px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--momo-white);
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #2A2A2A;
}
.rhythm-header .rh-icon { font-size: 14px; }
.rhythm-body { padding: 12px 0; }
.rhythm-item {
  padding: 7px 16px; font-size: 12px; color: #aaa;
  border-bottom: 1px solid #222; display: flex; gap: 8px; align-items: flex-start;
}
.rhythm-item:last-child { border-bottom: none; }
.rhythm-item::before { content: '·'; color: var(--momo-pink-light); font-weight: 700; flex-shrink: 0; }

/* ── ORG CHART ── */
.org-wrap { overflow-x: auto; padding-bottom: 8px; }
.org { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-level { display: flex; gap: 12px; justify-content: center; position: relative; padding: 16px 0; }
.org-node {
  background: var(--surface-2); border: 1px solid #2A2A2A;
  border-radius: 6px; padding: 12px 16px; text-align: center;
  min-width: 140px;
}
.org-node.highlight { border-color: var(--momo-pink); background: #2A1420; }
.org-node-title { font-size: 12px; font-weight: 500; color: var(--momo-white); }
.org-node-sub { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
.org-connector { width: 1px; height: 20px; background: #2A2A2A; margin: 0 auto; }
.org-branch { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-node.dashed { border-style: dashed; opacity: 0.75; }
.org-caption { font-size: 11px; color: var(--text-secondary); margin-top: 10px; }

/* ── LINK ── */
a.doc-link {
  color: var(--momo-pink-light); text-decoration: none; font-weight: 500;
  font-size: 12px; display: inline-flex; align-items: center; gap: 4px;
}
a.doc-link::after { content: '↗'; font-size: 10px; }
a.doc-link:hover { text-decoration: underline; }

/* ── KANBAN BOARD (Campaigns) ── */
.kanban-board { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; align-items: flex-start; }
.kanban-col { width: 280px; flex-shrink: 0; }
.kanban-col-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.kanban-col-count { font-size: 12px; color: var(--text-secondary); }
.kanban-cards { display: flex; flex-direction: column; gap: 10px; }

.campaign-card {
  display: block; background: var(--surface-2); border: 1px solid #2A2A2A;
  border-radius: 6px; padding: 14px 16px; text-decoration: none;
  transition: border-color 0.15s;
}
.campaign-card:hover { border-color: var(--momo-pink); }
.campaign-card-name { font-family: var(--font-display); font-size: 15px; color: var(--momo-white); margin-bottom: 8px; }
.campaign-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.campaign-card-time { font-size: 12px; color: var(--text-secondary); }

/* ── CAMPAIGN DETAIL PAGE ── */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; margin-bottom: 20px;
}
.back-link:hover { color: var(--momo-pink-light); }

.detail-header { margin-bottom: 8px; }
.detail-title { font-family: var(--font-display); font-size: 36px; color: var(--momo-white); margin-bottom: 12px; }
.detail-badges { display: flex; gap: 8px; margin-bottom: 28px; }

.prop-row { display: flex; padding: 12px 0; border-bottom: 1px solid #222; align-items: center; gap: 12px; }
.prop-row:last-child { border-bottom: none; }
.prop-icon { font-size: 14px; color: #444; width: 24px; flex-shrink: 0; }
.prop-label { font-size: 13px; color: #555; min-width: 180px; flex-shrink: 0; }
.prop-value { font-size: 13px; color: var(--momo-white); display: flex; gap: 6px; flex-wrap: wrap; }
.prop-empty { color: #444; }

.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.report-card {
  background: var(--surface-2); border: 1px solid #2A2A2A; border-radius: 6px;
  padding: 18px; text-align: center;
}
.report-icon { font-size: 20px; margin-bottom: 10px; }
.report-label { font-size: 12px; font-weight: 500; color: var(--momo-white); margin-bottom: 8px; }
.report-status { font-size: 12px; color: var(--text-secondary); }

.notes-placeholder { font-size: 12px; color: #444; font-style: italic; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .rhythm-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .info-row { flex-direction: column; gap: 4px; }
  .info-key { min-width: unset; }
  .prop-row { flex-direction: column; gap: 4px; }
  .prop-label { min-width: unset; }
  .kanban-board { flex-direction: column; }
  .kanban-col { width: 100%; }
  .detail-title { font-size: 28px; }
}
