/* Compliance strip pills */
.cb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  cursor: default;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.cb-off {
  background: #e8eaf0;
  color: #4a4a6a;
  border-color: #c8cade;
}

.cb-off .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a0a0c0;
  flex-shrink: 0;
}

.cb-on {
  background: var(--in);
  color: #fff;
  border-color: transparent;
}

.cb-on .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}/* ══════════════════════════════════════════════════════
   theme-headers.css — InvoiceFlow Pro v3
   Unified header system — Option C
   Scope: all card, panel, section, preview headers
   ══════════════════════════════════════════════════════ */

/* == SIDE PANEL HEADERS == */
.sp-head {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  background: rgba(245,158,11,.06);
  color: var(--s2);
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid rgba(245,158,11,.15);
  border-left: 3px solid var(--am);
  transition: background .15s;
}
.sp-head:hover { background: rgba(245,158,11,.1); }

.sp-head.client {
  background: rgba(245,158,11,.06);
  color: var(--s2);
  border-left-color: var(--am);
}

#impex-card .sp-head {
  background: rgba(184,134,11,.08);
  color: var(--s2);
  border-left-color: #b8860b;
  border-bottom-color: rgba(184,134,11,.2);
}
#impex-card .sp-head:hover { background: rgba(16,185,129,.11); }

/* == CARD HEADERS == */
.ch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: rgba(245,158,11,.06);
  border-left: 3px solid var(--am);
  border-bottom: 1px solid rgba(245,158,11,.15);
  border-radius: var(--radius) var(--radius) 0 0;
  cursor: pointer;
  user-select: none;
}
.ch:hover { background: rgba(99,102,241,.1); }

.ch-t {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--s2);
  display: flex;
  align-items: center;
  gap: 7px;
}

/* == ITEMS CARD — scoped fix only == */
#items-card .ch {
  background: rgba(245,158,11,.06);
  border-left: 3px solid var(--am);
  border-bottom: 1px solid rgba(245,158,11,.15);
}

/* == PREVIEW PANE HEADER == */
.pph {
  background: var(--shell);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 44px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.pph-t {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: .6px;
  text-transform: uppercase;
}

/* == COMPLIANCE STRIP == */
.cstrip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 14px;
  gap: 8px;
  background: var(--s2);
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-wrap:nowrap;
  min-height: 36px;
}

/* == BUYER SECTION SUB-HEADERS == */
.buyer-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--s2);
  user-select: none;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.buyer-sec-head:hover { color: var(--pu); }

/* == SECTION LABELS == */
.section-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--s4);
  margin: 12px 0 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(99,102,241,.15);
}

/* == CARD BADGES == */
.cb2 {
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
  background: rgba(99,102,241,.1);
  color: var(--pu);
  text-transform: none;
  letter-spacing: 0;
  border: none;
}
.cb2.gr { background:rgba(16,185,129,.1);  color:var(--gr); }
.cb2.bl { background:rgba(59,130,246,.1);  color:var(--bl); }
.cb2.te { background:rgba(6,182,212,.1);   color:var(--te); }
.cb2.am { background:rgba(245,158,11,.1);  color:var(--am); }

/* == SIDE PANEL BODY == */
.sp-body { padding: 14px; }

.chv { color:var(--muted);font-size:10px;transition:transform .2s; }
.chv.r { transform:rotate(180deg); }

.ppb { padding:18px 16px;flex:1;overflow-y:auto;font-size:11px;line-height:1.5; }

/* ImpEx card — deeper gold accent */
.impex-card .ch {
  border-left-color: #b8860b;
  background: rgba(184,134,11,.08);
}
