/*
 * Braintree MCI POE Builder . Phase 2 stylesheet.
 * Scoped under bt-mci__ . Braintree CI palette only . Rubik typography.
 *
 * Sections:
 *   1. Reset + tokens
 *   2. Layout shell (topbar, app, footer ribbon)
 *   3. Buttons + pills + tags
 *   4. Home view (5 tiles + drafts strip)
 *   5. Area list view (toolbar + rows)
 *   6. Detail view (tabs + spec + form + preview)
 *   7. Reference Library (accordion + TOC)
 *   8. Banners + status pills
 *   9. Form components (cards, fields, validation)
 *  10. Print stylesheet
 *  11. Responsive
 *  12. Auth gate
 *  13. Reduced motion
 */

/* ---------- 1. Reset + tokens ---------- */
:where(.bt-mci__app, .bt-mci__app *) {
  box-sizing: border-box;
  font-family: 'Rubik', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

/* WP theme override: every Braintree theme rule that paints text-decoration: underline on
 * .entry-content a (or page-id-scoped variants) bleeds through onto the inner spans of
 * tile/row/library anchors, even though the anchor itself sets text-decoration:none.
 * This rule is high-specificity (#id + !important) to defeat any theme variant. */
#bt-mci__app a,
#bt-mci__app a:link,
#bt-mci__app a:hover,
#bt-mci__app a:visited,
#bt-mci__app a:active,
#bt-mci__app a:focus,
#bt-mci__app a *,
#bt-mci__app button,
#bt-mci__app button * {
  text-decoration: none !important;
}

.bt-mci__app {
  --bt-dark:    #002E2D;
  --bt-dark-2:  #005A57;
  --bt-teal:    #00D59C;
  --bt-lime:    #7AD93B;
  --bt-warn:    #FF5000;
  --bt-bg:      #F5F7F6;
  --bt-bg-alt:  #F2F2F0;
  --bt-card:    #FFFFFF;
  --bt-border:  #E3E6EA;
  --bt-ink:     #1A1F1E;
  --bt-muted:   #5B6470;
  --bt-ok:      #087040;
  --bt-ok-bg:   #ECFBF4;
  --bt-danger:  #c0390a;
  --bt-danger-bg: #FFF4F0;
  --bt-form-bg: #FFFBE6;
  --bt-form-bd: #F0D860;
  --bt-rate-bg: #F2F2F0;
  --bt-rate-bd: #7AD93B;

  color: var(--bt-ink);
  background: var(--bt-bg);
  min-height: 80vh;
  margin: 0;
  padding: 0;
}

/* WP theme break-out . from fault-log Entry 008. */
body.page-id-136215 .site-main,
body.page-id-136215 .page-content,
body.page-id-136215 #primary,
body.page-id-136215 .content-area,
body.page-id-136215 article.page,
body.page-id-136215 .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.page-id-136215 .page-header { display: none !important; }

/* ---------- 2. Layout shell ---------- */
.bt-mci__topbar {
  background: var(--bt-dark);
  color: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.bt-mci__topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bt-mci__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.bt-mci__brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--bt-teal);
  box-shadow: 0 0 0 4px rgba(0,213,156,0.18);
}
.bt-mci__brand-name {
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 15px;
}
.bt-mci__brand-tag {
  font-size: 11px;
  color: var(--bt-lime);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 500;
}
.bt-mci__topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bt-mci__user-pill {
  font-size: 13px;
  color: #cfece4;
}
.bt-mci__shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.bt-mci__crumbs {
  font-size: 12px;
  color: var(--bt-muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.bt-mci__crumbs a {
  color: var(--bt-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.bt-mci__crumbs a:hover {
  color: var(--bt-dark);
  border-bottom-color: var(--bt-teal);
}
.bt-mci__crumbs .sep { margin: 0 8px; opacity: 0.6; }

.bt-mci__h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--bt-dark);
  letter-spacing: -0.2px;
}
.bt-mci__h1-sub {
  color: var(--bt-muted);
  font-size: 14px;
  margin: 0 0 24px;
}

/* ---------- 3. Buttons + pills + tags ---------- */
.bt-mci__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease-out, background 0.15s ease-out, box-shadow 0.15s ease-out;
  background: transparent;
  color: var(--bt-ink);
  font-family: inherit;
  line-height: 1.2;
}
.bt-mci__btn:disabled, .bt-mci__btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.bt-mci__btn-primary {
  background: var(--bt-dark);
  color: #fff;
}
.bt-mci__btn-primary:hover { background: var(--bt-dark-2); transform: translateY(-1px); }
.bt-mci__btn-ghost {
  background: transparent;
  color: var(--bt-dark);
  border-color: var(--bt-dark);
}
.bt-mci__btn-ghost:hover { background: var(--bt-dark); color: #fff; }
.bt-mci__btn-warn {
  background: var(--bt-warn);
  color: #fff;
}
.bt-mci__btn-warn:hover { filter: brightness(0.95); transform: translateY(-1px); }
.bt-mci__btn-sm { padding: 7px 12px; font-size: 12px; }
.bt-mci__btn-lg { padding: 14px 24px; font-size: 14px; }

.bt-mci__pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: var(--bt-bg-alt);
  color: var(--bt-muted);
  border: 1px solid var(--bt-border);
}
.bt-mci__pill--ok    { background: var(--bt-ok-bg); color: var(--bt-ok); border-color: #ace4c5; }
.bt-mci__pill--warn  { background: #fff4d6; color: #8a5a00; border-color: #f0d860; }
.bt-mci__pill--danger{ background: var(--bt-danger-bg); color: var(--bt-danger); border-color: #f5b0a0; }
.bt-mci__pill--mw    { background: rgba(0,213,156,0.15); color: var(--bt-dark); border-color: rgba(0,213,156,0.4); }
.bt-mci__pill--sec   { background: var(--bt-danger-bg); color: var(--bt-danger); border-color: #f5b0a0; }
.bt-mci__pill--azure { background: rgba(122,217,59,0.18); color: #2f6b14; border-color: rgba(122,217,59,0.5); }
.bt-mci__pill--ba    { background: rgba(0,90,87,0.12); color: var(--bt-dark-2); border-color: rgba(0,90,87,0.3); }
.bt-mci__pill--rate  { background: #ece8ff; color: #4f3a99; border-color: #d4cff0; }

.bt-mci__dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--bt-muted);
}
.bt-mci__dot--mw    { background: var(--bt-teal); }
.bt-mci__dot--sec   { background: var(--bt-danger); }
.bt-mci__dot--azure { background: var(--bt-lime); }
.bt-mci__dot--ba    { background: var(--bt-dark-2); }

/* ---------- 4. Home view ---------- */
.bt-mci__home-hero {
  background: var(--bt-dark);
  color: #fff;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.bt-mci__home-hero::after {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,213,156,0.18), transparent 70%);
  pointer-events: none;
}
.bt-mci__home-hero h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}
.bt-mci__home-hero p {
  margin: 0;
  color: #cfece4;
  font-size: 14px;
  max-width: 600px;
  line-height: 1.6;
}
.bt-mci__home-hero .bt-mci__home-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  color: #cfece4;
}
.bt-mci__home-hero .bt-mci__home-stat strong {
  font-size: 22px;
  color: var(--bt-teal);
  font-weight: 700;
}

.bt-mci__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.bt-mci__tile {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 12px;
  padding: 22px;
  text-decoration: none;
  color: var(--bt-ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
  cursor: pointer;
  border-left: 4px solid var(--bt-border);
}
.bt-mci__tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,46,45,0.08);
  border-left-color: var(--bt-teal);
}
.bt-mci__tile--mw    { border-left-color: var(--bt-teal); }
.bt-mci__tile--sec   { border-left-color: var(--bt-danger); }
.bt-mci__tile--azure { border-left-color: var(--bt-lime); }
.bt-mci__tile--ba    { border-left-color: var(--bt-dark-2); }
.bt-mci__tile--lib   { border-left-color: var(--bt-dark); background: linear-gradient(135deg, #fff, #fafbfa); }
.bt-mci__tile-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--bt-muted);
  font-weight: 500;
}
.bt-mci__tile-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--bt-dark);
}
.bt-mci__tile-desc {
  font-size: 13px;
  color: var(--bt-muted);
  margin: 0;
  line-height: 1.5;
}
.bt-mci__tile-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--bt-dark);
  font-weight: 500;
}
.bt-mci__tile-meta .arrow {
  color: var(--bt-teal);
  font-weight: 700;
}

.bt-mci__strip {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 24px;
}
.bt-mci__strip-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.bt-mci__strip-h h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--bt-dark);
}
.bt-mci__strip-h .count {
  font-size: 12px;
  color: var(--bt-muted);
}
.bt-mci__strip-rows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.bt-mci__strip-row {
  background: var(--bt-bg-alt);
  border: 1px solid var(--bt-border);
  border-radius: 8px;
  padding: 14px;
  text-decoration: none;
  color: var(--bt-ink);
  cursor: pointer;
  transition: background 0.15s ease-out;
}
.bt-mci__strip-row:hover {
  background: #fff;
  border-color: var(--bt-teal);
}
.bt-mci__strip-row .title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--bt-dark);
}
.bt-mci__strip-row .meta {
  font-size: 11px;
  color: var(--bt-muted);
  display: flex;
  gap: 8px;
}
.bt-mci__strip-empty {
  background: var(--bt-bg-alt);
  border: 1px dashed var(--bt-border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: var(--bt-muted);
  font-size: 13px;
}

.bt-mci__home-foot {
  border-top: 1px solid var(--bt-border);
  padding-top: 20px;
  font-size: 12px;
  color: var(--bt-muted);
  line-height: 1.6;
}

/* ---------- 5. Area list view ---------- */
.bt-mci__toolbar {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  position: sticky;
  top: 60px;
  z-index: 30;
}
.bt-mci__search {
  flex: 1 1 260px;
  position: relative;
}
.bt-mci__search input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1px solid var(--bt-border);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  color: var(--bt-ink);
  background: #fff;
}
.bt-mci__search input:focus {
  outline: 2px solid var(--bt-teal);
  outline-offset: -1px;
  border-color: var(--bt-teal);
}
.bt-mci__search::before {
  content: 'q';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%) scaleX(-1) rotate(45deg);
  color: var(--bt-muted);
  font-weight: 700;
  pointer-events: none;
}
.bt-mci__select {
  padding: 9px 14px;
  border: 1px solid var(--bt-border);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  color: var(--bt-ink);
  background: #fff;
  cursor: pointer;
}
.bt-mci__chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.bt-mci__chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--bt-border);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  color: var(--bt-ink);
  transition: background 0.15s, border-color 0.15s;
}
.bt-mci__chip:hover { border-color: var(--bt-dark-2); }
.bt-mci__chip--active {
  background: var(--bt-dark);
  color: #fff;
  border-color: var(--bt-dark);
}

.bt-mci__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bt-mci__row {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 10px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 16px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  text-decoration: none;
  color: var(--bt-ink);
}
.bt-mci__row:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,46,45,0.06);
  border-color: var(--bt-dark-2);
}
.bt-mci__row-name {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--bt-dark);
}
.bt-mci__row-summary {
  font-size: 12px;
  color: var(--bt-muted);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bt-mci__row-pay {
  font-size: 13px;
  font-weight: 700;
  color: var(--bt-dark);
  text-align: right;
  white-space: nowrap;
}
.bt-mci__row-pay-label {
  font-size: 10px;
  color: var(--bt-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 500;
}
.bt-mci__row-arrow {
  color: var(--bt-teal);
  font-weight: 700;
  font-size: 16px;
}

.bt-mci__empty {
  background: var(--bt-card);
  border: 1px dashed var(--bt-border);
  border-radius: 10px;
  padding: 60px 24px;
  text-align: center;
  color: var(--bt-muted);
  font-size: 14px;
}
.bt-mci__empty strong {
  display: block;
  font-size: 16px;
  color: var(--bt-dark);
  margin-bottom: 6px;
}

/* ---------- 6. Detail view ---------- */
.bt-mci__detail {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 12px;
  overflow: hidden;
}
.bt-mci__detail-h {
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--bt-border);
}
.bt-mci__detail-h .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.bt-mci__detail-h h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--bt-dark);
}
.bt-mci__detail-h .summary {
  margin: 0;
  color: var(--bt-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 800px;
}
.bt-mci__tabs {
  display: flex;
  border-bottom: 1px solid var(--bt-border);
  background: var(--bt-bg-alt);
  padding: 0 28px;
  gap: 0;
}
.bt-mci__tab {
  background: none;
  border: none;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--bt-muted);
  font-family: inherit;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.bt-mci__tab:hover { color: var(--bt-dark); }
.bt-mci__tab--active {
  color: var(--bt-dark);
  border-bottom-color: var(--bt-teal);
  font-weight: 600;
}
.bt-mci__tab--disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.bt-mci__tabpanel { padding: 24px 28px 32px; }
.bt-mci__tabpanel[hidden] { display: none; }

.bt-mci__sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.bt-mci__size-btn {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--bt-border);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  color: var(--bt-ink);
  transition: all 0.15s;
  font-weight: 500;
}
.bt-mci__size-btn:hover { border-color: var(--bt-dark-2); }
.bt-mci__size-btn--active {
  background: var(--bt-dark);
  color: #fff;
  border-color: var(--bt-dark);
}
.bt-mci__size-btn-pay {
  font-size: 11px;
  opacity: 0.8;
  margin-left: 6px;
  font-weight: 400;
}

.bt-mci__kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.bt-mci__kpi {
  background: var(--bt-bg-alt);
  border: 1px solid var(--bt-border);
  border-radius: 8px;
  padding: 16px;
}
.bt-mci__kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--bt-muted);
  letter-spacing: 0.4px;
  margin-bottom: 6px;
  font-weight: 500;
}
.bt-mci__kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--bt-dark);
  line-height: 1.2;
}
.bt-mci__kpi-sub {
  font-size: 11px;
  color: var(--bt-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.bt-mci__section {
  margin-bottom: 24px;
}
.bt-mci__section h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bt-dark);
  margin: 0 0 10px;
  letter-spacing: 0.4px;
}
.bt-mci__section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bt-mci__section li {
  padding: 8px 0 8px 22px;
  font-size: 13px;
  border-bottom: 1px solid var(--bt-border);
  color: var(--bt-ink);
  position: relative;
}
.bt-mci__section li:last-child { border-bottom: none; }
.bt-mci__section li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--bt-teal);
  font-weight: 700;
}
.bt-mci__section--exclusion li::before { content: 'x'; color: var(--bt-danger); }
.bt-mci__section--limit    li::before { content: 'i'; color: var(--bt-muted); font-style: italic; font-family: serif; }

.bt-mci__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.bt-mci__rate-card {
  background: var(--bt-rate-bg);
  border: 1px solid var(--bt-rate-bd);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
.bt-mci__rate-card h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--bt-dark);
  letter-spacing: 0.4px;
}
.bt-mci__rate-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.bt-mci__rate-tbl th, .bt-mci__rate-tbl td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--bt-border);
}
.bt-mci__rate-tbl th {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--bt-muted);
}
.bt-mci__rate-tbl tbody tr:last-child td { border-bottom: none; }
.bt-mci__rate-tbl .rate { font-weight: 700; color: var(--bt-dark); white-space: nowrap; }

/* Stages diagram */
.bt-mci__stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--bt-border);
}
.bt-mci__stage {
  background: var(--bt-bg-alt);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  position: relative;
}
.bt-mci__stage::after {
  content: '>';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  color: var(--bt-teal);
  font-weight: 700;
}
.bt-mci__stage:last-child::after { display: none; }
.bt-mci__stage-num {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--bt-teal);
  font-weight: 700;
}
.bt-mci__stage-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--bt-dark);
  margin: 4px 0;
}
.bt-mci__stage-desc {
  font-size: 11px;
  color: var(--bt-muted);
  line-height: 1.4;
}

/* ---------- 7. Reference Library ---------- */
.bt-mci__lib-toc {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 16px;
}
.bt-mci__lib-toc h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--bt-muted);
  margin: 0 0 10px;
  font-weight: 600;
}
.bt-mci__lib-toc-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.bt-mci__lib-toc-links a {
  font-size: 13px;
  color: var(--bt-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.bt-mci__lib-toc-links a:hover {
  border-bottom-color: var(--bt-teal);
}

.bt-mci__lib-section {
  margin-bottom: 28px;
}
.bt-mci__lib-section-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bt-dark);
}
.bt-mci__lib-section-h h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--bt-dark);
}
.bt-mci__lib-section-h .count {
  font-size: 12px;
  color: var(--bt-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.bt-mci__lib-entry {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}
.bt-mci__lib-entry-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 18px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  font-size: 14px;
  color: var(--bt-ink);
  font-weight: 500;
}
.bt-mci__lib-entry-toggle:hover { background: var(--bt-bg-alt); }
.bt-mci__lib-entry-chevron {
  color: var(--bt-teal);
  transition: transform 0.2s ease-out;
  font-weight: 700;
  font-size: 16px;
}
.bt-mci__lib-entry[data-open="true"] .bt-mci__lib-entry-chevron { transform: rotate(90deg); }
.bt-mci__lib-entry-body {
  display: none;
  padding: 18px;
  border-top: 1px solid var(--bt-border);
  background: var(--bt-bg-alt);
}
.bt-mci__lib-entry[data-open="true"] .bt-mci__lib-entry-body { display: block; }

.bt-mci__lib-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.bt-mci__lib-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--bt-border);
  border-radius: 6px;
  overflow: hidden;
}
.bt-mci__lib-table th, .bt-mci__lib-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--bt-border);
}
.bt-mci__lib-table th {
  background: var(--bt-bg-alt);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bt-muted);
}
.bt-mci__lib-poe {
  background: var(--bt-form-bg);
  border: 1px solid var(--bt-form-bd);
  border-radius: 6px;
  padding: 14px;
  margin-top: 12px;
  font-size: 13px;
}
.bt-mci__lib-poe h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0 0 8px;
  font-weight: 600;
  color: #8a5a00;
}
.bt-mci__lib-poe ol { margin: 0; padding-left: 20px; }
.bt-mci__lib-poe li { padding: 3px 0; font-size: 12px; }

/* ---------- 8. Banners + status pills ---------- */
.bt-mci__banner {
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 13px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid;
}
.bt-mci__banner-icon {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.bt-mci__banner-body { flex: 1; }
.bt-mci__banner-body strong { display: block; margin-bottom: 2px; }
.bt-mci__banner--warn   { background: #fff8e6; color: #6a4a00; border-color: #f0d860; }
.bt-mci__banner--info   { background: #ecf6ff; color: #0a3a7a; border-color: #b8dafc; }
.bt-mci__banner--danger { background: var(--bt-danger-bg); color: var(--bt-danger); border-color: #f5b0a0; }

.bt-mci__deadline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bt-bg-alt);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  border: 1px solid var(--bt-border);
}
.bt-mci__deadline strong { font-size: 14px; font-weight: 700; color: var(--bt-dark); }
.bt-mci__deadline--ok     { background: var(--bt-ok-bg); border-color: #ace4c5; color: var(--bt-ok); }
.bt-mci__deadline--amber  { background: #fff8e6; border-color: #f0d860; color: #8a5a00; }
.bt-mci__deadline--danger { background: var(--bt-danger-bg); border-color: #f5b0a0; color: var(--bt-danger); }

/* ---------- 9. Form components ---------- */
.bt-mci__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bt-mci__form-card {
  background: var(--bt-form-bg);
  border: 1px solid var(--bt-form-bd);
  border-radius: 8px;
  padding: 18px 20px;
}
.bt-mci__form-card-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.bt-mci__form-card-h h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0;
  color: var(--bt-dark);
}
.bt-mci__form-card-h .helper {
  font-size: 12px;
  color: var(--bt-muted);
  font-weight: 400;
}
.bt-mci__form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.bt-mci__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bt-mci__field--full { grid-column: 1 / -1; }
.bt-mci__field label {
  font-size: 11px;
  font-weight: 500;
  color: var(--bt-dark);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.bt-mci__field label .req { color: var(--bt-danger); margin-left: 2px; }
.bt-mci__field input,
.bt-mci__field select,
.bt-mci__field textarea {
  padding: 9px 12px;
  border: 1px solid var(--bt-border);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
  color: var(--bt-ink);
}
.bt-mci__field input:focus,
.bt-mci__field select:focus,
.bt-mci__field textarea:focus {
  outline: 2px solid var(--bt-teal);
  outline-offset: -1px;
  border-color: var(--bt-teal);
}
.bt-mci__field textarea { min-height: 70px; resize: vertical; line-height: 1.5; }
.bt-mci__field-help {
  font-size: 11px;
  color: var(--bt-muted);
  line-height: 1.4;
}
.bt-mci__field--error input,
.bt-mci__field--error select,
.bt-mci__field--error textarea { border-color: var(--bt-danger); }
.bt-mci__field-error {
  font-size: 11px;
  color: var(--bt-danger);
}

.bt-mci__activity {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--bt-border);
  font-size: 13px;
}
.bt-mci__activity:last-child { border-bottom: none; }
.bt-mci__activity input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--bt-teal);
  width: 16px; height: 16px;
}

.bt-mci__attendees {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.bt-mci__attendees th, .bt-mci__attendees td {
  padding: 6px 8px;
  border: 1px solid var(--bt-border);
}
.bt-mci__attendees th { background: #fff; font-size: 11px; text-transform: uppercase; }
.bt-mci__attendees input {
  width: 100%;
  border: none;
  padding: 6px 4px;
  font-size: 12px;
  font-family: inherit;
  background: transparent;
}
.bt-mci__attendees input:focus { background: #fff; outline: 1px solid var(--bt-teal); }
.bt-mci__attendees .row-num { width: 28px; text-align: center; color: var(--bt-muted); }
.bt-mci__attendees .row-del {
  width: 36px;
  text-align: center;
  background: none;
  border: none;
  color: var(--bt-danger);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

.bt-mci__evidence-row {
  display: grid;
  grid-template-columns: 140px 1fr 2fr 36px;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}
.bt-mci__evidence-row select,
.bt-mci__evidence-row input {
  padding: 7px 10px;
  border: 1px solid var(--bt-border);
  border-radius: 5px;
  font-size: 12px;
  font-family: inherit;
  background: #fff;
}
.bt-mci__evidence-del {
  background: none;
  border: 1px solid var(--bt-border);
  color: var(--bt-danger);
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 4px;
}

.bt-mci__form-actions {
  position: sticky;
  bottom: 0;
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 -2px 12px rgba(0,46,45,0.04);
  z-index: 10;
}
.bt-mci__autosave {
  font-size: 12px;
  color: var(--bt-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.bt-mci__autosave-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--bt-muted);
}
.bt-mci__autosave[data-state="saving"] .bt-mci__autosave-dot { background: var(--bt-warn); animation: bt-mci-pulse 1s ease-in-out infinite; }
.bt-mci__autosave[data-state="saved"]  .bt-mci__autosave-dot { background: var(--bt-ok); }
.bt-mci__autosave[data-state="error"]  .bt-mci__autosave-dot { background: var(--bt-danger); }
@keyframes bt-mci-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.bt-mci__form-actions-r { display: flex; gap: 8px; flex-wrap: wrap; }

/* Preview document (Phase 2 = HTML; Phase 3 = jsPDF) */
.bt-mci__preview-doc {
  background: #fff;
  padding: 36px;
  font-size: 12px;
  line-height: 1.5;
  color: #000;
}
.bt-mci__preview-doc h1 {
  font-size: 18px;
  margin: 0 0 4px;
  color: #000;
  font-weight: 700;
}
.bt-mci__preview-doc h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid #888;
  padding-bottom: 4px;
  margin: 24px 0 10px;
  color: #000;
}
.bt-mci__preview-doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  margin-bottom: 8px;
}
.bt-mci__preview-doc th, .bt-mci__preview-doc td {
  padding: 4px 6px;
  border: 1px solid #888;
  text-align: left;
  vertical-align: top;
}
.bt-mci__preview-doc th { background: #f0f0f0; font-weight: 600; }
.bt-mci__preview-doc .doc-meta {
  font-size: 10px;
  color: #444;
  margin-bottom: 18px;
}
.bt-mci__preview-doc .sig-box {
  border: 1px solid #888;
  height: 50px;
  margin-top: 10px;
}
.bt-mci__preview-doc .doc-foot {
  font-size: 10px;
  color: #444;
  border-top: 1px solid #888;
  padding-top: 8px;
  margin-top: 24px;
}

/* ---------- 10. Print ---------- */
@media print {
  body * { visibility: hidden; }
  .bt-mci__preview-doc, .bt-mci__preview-doc * { visibility: visible; }
  .bt-mci__preview-doc {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    padding: 12px 18px;
    background: #fff;
  }
  .bt-mci__topbar, .bt-mci__shell .bt-mci__home-foot,
  .bt-mci__form-actions, .bt-mci__tabs, .bt-mci__detail-h,
  .bt-mci__crumbs, .bt-mci__toolbar, .bt-mci__banner { display: none !important; }

  /* Library print (body class set by Print Library button) */
  body.bt-mci-print-library .bt-mci__lib-section,
  body.bt-mci-print-library .bt-mci__lib-section *,
  body.bt-mci-print-library .bt-mci__h1,
  body.bt-mci-print-library .bt-mci__h1-sub { visibility: visible; }
  body.bt-mci-print-library .bt-mci__lib-entry-toggle,
  body.bt-mci-print-library .bt-mci__lib-entry-chevron { display: none !important; }
  body.bt-mci-print-library .bt-mci__lib-entry-body { display: block !important; padding: 6px 12px; }
  body.bt-mci-print-library .bt-mci__lib-entry { page-break-inside: avoid; border-radius: 0; }
  body.bt-mci-print-library .bt-mci__lib-section { page-break-before: always; }
  body.bt-mci-print-library .bt-mci__lib-section:first-of-type { page-break-before: auto; }
}

/* ---------- 11. Responsive ---------- */
@media (max-width: 800px) {
  .bt-mci__shell { padding: 20px 16px 60px; }
  .bt-mci__topbar-inner { padding: 0 16px; }
  .bt-mci__brand-tag { display: none; }
  .bt-mci__row {
    grid-template-columns: 12px 1fr auto;
    gap: 10px;
  }
  .bt-mci__row .bt-mci__row-pay { display: none; }
  .bt-mci__stages { grid-template-columns: 1fr 1fr; gap: 6px; }
  .bt-mci__stages .bt-mci__stage::after { display: none; }
  .bt-mci__form-grid { grid-template-columns: 1fr; }
  .bt-mci__evidence-row { grid-template-columns: 1fr; }
  .bt-mci__home-hero { padding: 22px; }
  .bt-mci__detail-h, .bt-mci__tabpanel { padding: 18px; }
  .bt-mci__tabs { padding: 0 18px; overflow-x: auto; }
  .bt-mci__form-actions { flex-direction: column; align-items: stretch; }
}

/* ---------- 12. Auth gate ---------- */
.bt-mci__gate {
  background: var(--bt-bg);
  padding: 64px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.bt-mci__gate-card {
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--bt-border);
  border-radius: 10px;
  padding: 32px;
  text-align: left;
}
.bt-mci__gate-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--bt-muted);
  margin-bottom: 8px;
}
.bt-mci__gate-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--bt-dark);
}
.bt-mci__gate-card p {
  margin: 0 0 20px;
  color: var(--bt-ink);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- 13. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .bt-mci__app *,
  .bt-mci__app *::before,
  .bt-mci__app *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 14. Start Here + Glossary (v1.1.0) ---------- */

/* Topbar plain-English links */
.bt-mci__topbar-link {
  color: #cfece4;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease-out, border-color 0.15s ease-out;
}
.bt-mci__topbar-link:hover {
  color: #fff;
  border-bottom-color: var(--bt-teal);
}

/* Home: Start Here tile + hero CTA */
.bt-mci__tile--start {
  border-left-color: var(--bt-teal);
  background: linear-gradient(135deg, #ECFBF4, #fff 55%);
}
.bt-mci__dot--start { background: var(--bt-teal); }
.bt-mci__home-hero-cta {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.bt-mci__home-hero-cta .bt-mci__btn-primary {
  background: var(--bt-teal);
  color: var(--bt-dark);
  font-weight: 600;
}
.bt-mci__home-hero-cta .bt-mci__btn-primary:hover {
  background: #fff;
  color: var(--bt-dark);
}
.bt-mci__btn-ghost--inv {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.bt-mci__btn-ghost--inv:hover {
  background: #fff;
  color: var(--bt-dark);
  border-color: #fff;
}

/* Start Here hero */
.bt-mci__start-hero {
  background: var(--bt-dark);
  color: #fff;
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.bt-mci__start-hero::after {
  content: '';
  position: absolute;
  right: -100px; bottom: -140px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,217,59,0.16), transparent 70%);
  pointer-events: none;
}
.bt-mci__start-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--bt-teal);
  font-weight: 600;
  margin-bottom: 10px;
}
.bt-mci__start-hero h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
  max-width: 620px;
}
.bt-mci__start-hero p {
  margin: 0;
  color: #cfece4;
  font-size: 14px;
  line-height: 1.6;
  max-width: 580px;
}

/* Start Here sections */
.bt-mci__start-sec { margin-bottom: 36px; }
.bt-mci__start-sec-h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.bt-mci__start-sec-num {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--bt-dark);
  color: var(--bt-teal);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bt-mci__start-sec-h h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--bt-dark);
}
.bt-mci__start-sec-intro {
  font-size: 14px;
  color: var(--bt-muted);
  margin: 0 0 16px;
  line-height: 1.6;
  max-width: 720px;
}
.bt-mci__prose p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--bt-ink);
  margin: 0 0 12px;
  max-width: 760px;
}
.bt-mci__prose strong { color: var(--bt-dark); font-weight: 600; }

/* Start Here numbered steps */
.bt-mci__start-steps {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
.bt-mci__start-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--bt-ink);
}
.bt-mci__start-step .n {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--bt-teal);
  color: var(--bt-dark);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Start Here callout */
.bt-mci__start-callout {
  background: var(--bt-ok-bg);
  border: 1px solid #ace4c5;
  border-left: 4px solid var(--bt-ok);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 14px;
  color: var(--bt-ink);
}
.bt-mci__start-callout strong { color: var(--bt-ok); }

/* Start Here cards */
.bt-mci__start-cards { display: grid; gap: 14px; }
.bt-mci__start-cards--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.bt-mci__start-cards--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.bt-mci__start-card {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 10px;
  padding: 18px 20px;
}
.bt-mci__start-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--bt-dark);
}
.bt-mci__start-card > p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--bt-muted);
  margin: 0;
}
.bt-mci__start-card--warn {
  background: #fff8e6;
  border-color: #f0d860;
  border-left: 4px solid var(--bt-warn);
}
.bt-mci__start-card--warn h3 { color: #6a4a00; }
.bt-mci__start-card--warn > p { color: #6a4a00; }
.bt-mci__start-card-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.bt-mci__start-card-h h3 { margin: 0; }
.bt-mci__start-card-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 0;
  border-top: 1px solid var(--bt-border);
}
.bt-mci__start-card-row:first-of-type { border-top: none; padding-top: 0; }
.bt-mci__start-card-row .k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
  color: var(--bt-muted);
}
.bt-mci__start-card-row .v {
  font-size: 13px;
  line-height: 1.55;
  color: var(--bt-ink);
}

/* Start Here stages */
.bt-mci__start-stages { display: grid; gap: 10px; }
.bt-mci__start-stage {
  display: flex;
  gap: 16px;
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 10px;
  padding: 18px 20px;
}
.bt-mci__start-stage-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--bt-teal);
  flex-shrink: 0;
  width: 36px;
}
.bt-mci__start-stage-body { flex: 1; min-width: 0; }
.bt-mci__start-stage-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--bt-dark);
}
.bt-mci__start-stage-body > p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--bt-ink);
  margin: 0 0 12px;
}
.bt-mci__start-stage-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bt-mci__start-stage-meta > div {
  background: var(--bt-bg-alt);
  border-radius: 6px;
  padding: 8px 12px;
}
.bt-mci__start-stage-meta .k {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
  color: var(--bt-muted);
  margin-bottom: 2px;
}
.bt-mci__start-stage-meta .v {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--bt-ink);
}

/* Start Here engagement types */
.bt-mci__start-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.bt-mci__start-type {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 10px;
  padding: 16px 18px;
}
.bt-mci__start-type h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--bt-dark);
}
.bt-mci__start-type p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--bt-muted);
  margin: 0 0 10px;
}
.bt-mci__start-type-poe {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--bt-dark-2);
  background: var(--bt-bg-alt);
  border-radius: 6px;
  padding: 8px 10px;
}

/* Start Here roles */
.bt-mci__start-roles { display: grid; gap: 6px; }
.bt-mci__start-role {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 8px;
  padding: 12px 16px;
  align-items: baseline;
}
.bt-mci__start-role .role {
  font-size: 13px;
  font-weight: 700;
  color: var(--bt-dark);
}
.bt-mci__start-role .owns {
  font-size: 13px;
  color: var(--bt-muted);
  line-height: 1.5;
}

/* Start Here / Glossary footer CTA */
.bt-mci__start-foot {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: 10px;
  padding: 22px;
  margin-top: 28px;
  text-align: center;
}
.bt-mci__start-foot p {
  font-size: 14px;
  color: var(--bt-muted);
  margin: 0 0 14px;
}
.bt-mci__start-foot-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Glossary grid */
.bt-mci__gloss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.bt-mci__gloss-card {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-left: 4px solid var(--bt-teal);
  border-radius: 10px;
  padding: 16px 18px;
}
.bt-mci__gloss-term {
  font-size: 15px;
  font-weight: 700;
  color: var(--bt-dark);
}
.bt-mci__gloss-expand {
  font-size: 12px;
  color: var(--bt-dark-2);
  font-weight: 500;
  margin-top: 1px;
}
.bt-mci__gloss-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--bt-muted);
  margin: 8px 0 0;
}

/* Engagement detail: plain-English type note */
.bt-mci__type-note {
  background: var(--bt-ok-bg);
  border: 1px solid #ace4c5;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.bt-mci__type-note-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.bt-mci__type-note-tag {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #fff;
  background: var(--bt-ok);
  padding: 3px 8px;
  border-radius: 4px;
}
.bt-mci__type-note-h strong {
  font-size: 14px;
  color: var(--bt-dark);
}
.bt-mci__type-note p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--bt-ink);
  margin: 0 0 8px;
}
.bt-mci__type-note-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bt-ok);
  text-decoration: none;
}
.bt-mci__type-note-link:hover { text-decoration: underline; }

/* Engagement detail: stages header */
.bt-mci__stages-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.bt-mci__stages-h h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--bt-dark);
}
.bt-mci__stages-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bt-dark-2);
  text-decoration: none;
}
.bt-mci__stages-link:hover { text-decoration: underline; }

/* v1.1.0 responsive */
@media (max-width: 800px) {
  .bt-mci__topbar-link { display: none; }
  .bt-mci__start-hero { padding: 24px; }
  .bt-mci__start-hero h1 { font-size: 22px; }
  .bt-mci__start-stage { flex-direction: column; gap: 8px; }
  .bt-mci__start-stage-meta { grid-template-columns: 1fr; }
  .bt-mci__start-role { grid-template-columns: 1fr; gap: 3px; }
}
