/* ============================================================
   NICO by Macrodeep — Settings / Marketplace / Skills shell
   Reuses tokens + chrome from nico.css. Adds a settings layout:
   left nav rail + scrolling content canvas.
   ============================================================ */

/* ---- settings body grid (sits under the 46px titlebar) ---- */
#settings-body {
  display: grid;
  grid-template-columns: 252px 1fr;
  min-height: 0;
  background: var(--bg);
}

/* titlebar tweaks for settings context */
.tl-center .crumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; color: var(--text-3);
  -webkit-app-region: no-drag;
}
.tl-center .crumb a { color: var(--text-3); text-decoration: none; transition: color .12s; }
.tl-center .crumb a:hover { color: var(--text); }
.tl-center .crumb .sep { color: var(--text-4); }
.tl-center .crumb .here { color: var(--text); font-weight: 500; }
.back-pill {
  display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px 0 9px;
  background: var(--surface-2); border: 0.5px solid var(--line); border-radius: 8px;
  font-family: var(--mono); font-size: 11.5px; color: var(--text-2);
  text-decoration: none; -webkit-app-region: no-drag; transition: all .12s;
}
.back-pill:hover { background: var(--hover); color: var(--text); border-color: var(--line-bright); }
.back-pill svg { width: 13px; height: 13px; }

/* ============================================================
   LEFT NAV RAIL
   ============================================================ */
.set-nav {
  background: linear-gradient(180deg, var(--surface-1), var(--bg) 70%);
  border-right: 0.5px solid var(--line);
  display: flex; flex-direction: column; min-height: 0;
  padding: 16px 12px 10px;
}
.set-nav-head { padding: 2px 8px 14px; }
.set-nav-head h1 {
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--text);
  display: flex; align-items: center; gap: 9px;
}
.set-nav-head h1 .gear {
  width: 24px; height: 24px; border-radius: 7px; flex: none;
  background: var(--surface-2); border: 0.5px solid var(--line);
  display: grid; place-items: center; color: var(--accent-text);
}
.set-nav-head .sub { font-family: var(--mono); font-size: 10.5px; color: var(--text-4); margin-top: 5px; padding-left: 1px; }

.nav-group { margin-top: 14px; }
.nav-group .ng-label {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-4);
  padding: 0 8px 6px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 9px; border-radius: var(--r-md); cursor: pointer;
  color: var(--text-2); font-size: 12.5px; font-weight: 450;
  text-decoration: none; position: relative; transition: background .12s, color .12s;
  border: 0.5px solid transparent;
}
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item .ni-ic { width: 17px; height: 17px; flex: none; display: grid; place-items: center; color: var(--text-3); }
.nav-item .ni-ic svg { width: 16px; height: 16px; }
.nav-item .ni-badge {
  margin-left: auto; font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  padding: 1px 7px; border-radius: 20px;
  background: var(--surface-3); color: var(--text-3); border: 0.5px solid var(--line-soft);
}
.nav-item.on { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.nav-item.on .ni-ic { color: var(--accent-text); }
.nav-item.on::before {
  content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px;
  width: 2.5px; border-radius: 2px; background: var(--accent);
}
.nav-item.on .ni-badge { background: var(--accent-dim); color: var(--accent-text); border-color: var(--accent-line); }

.set-nav .spacer { flex: 1; min-height: 12px; }
.set-nav-foot {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 9px; border-top: 0.5px solid var(--line-soft); margin-top: 8px;
}
.set-nav-foot .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-salestools), var(--c-clay));
  display: grid; place-items: center; color: #fff;
  font-family: var(--mono); font-size: 10px; font-weight: 700; flex: none;
}
.set-nav-foot .nm { font-size: 12px; color: var(--text-2); font-weight: 500; }
.set-nav-foot .role { font-family: var(--mono); font-size: 10px; color: var(--text-4); }

/* ============================================================
   MAIN CONTENT CANVAS
   ============================================================ */
.set-main { min-height: 0; overflow-y: auto; position: relative; }
.set-main-inner { max-width: 860px; margin: 0 auto; padding: 30px 40px 80px; }
.set-main.wide .set-main-inner { max-width: 1080px; }

.page-head { margin-bottom: 26px; display: flex; align-items: flex-end; gap: 18px; }
.page-head .ph-text { flex: 1; min-width: 0; }
.page-head h2 { font-size: 23px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.page-head .ph-sub { font-size: 13px; color: var(--text-3); margin-top: 6px; line-height: 1.5; max-width: 600px; }

.panel { display: none; }
.panel.on { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .panel.on { animation: panelIn .24s cubic-bezier(0.2,0,0,1); }
}
@keyframes panelIn { from { transform: translateY(7px); } to { transform: none; } }

/* ---- section block ---- */
.sec { margin-bottom: 34px; }
.sec-label {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-4);
  margin-bottom: 12px; display: flex; align-items: center; gap: 9px;
}
.sec-label .ln { flex: 1; height: 0.5px; background: var(--line-soft); }

.card-stack {
  background: var(--surface-1); border: 0.5px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}

/* setting row: label/desc left, control right */
.set-row {
  display: flex; align-items: center; gap: 18px;
  padding: 15px 18px; border-bottom: 0.5px solid var(--line-soft);
}
.set-row:last-child { border-bottom: none; }
.set-row .sr-text { flex: 1; min-width: 0; }
.set-row .sr-text .t { font-size: 13.5px; color: var(--text); font-weight: 500; letter-spacing: -0.005em; }
.set-row .sr-text .d { font-size: 12px; color: var(--text-4); margin-top: 3px; line-height: 1.45; }
.set-row .sr-text .d code { font-family: var(--mono); font-size: 11px; color: var(--accent-text); background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
.set-row .sr-ctrl { flex: none; display: flex; align-items: center; gap: 10px; }
.set-row.col { flex-direction: column; align-items: stretch; }
.set-row.col .sr-ctrl { margin-top: 14px; }

/* ---- toggle switch ---- */
.switch {
  width: 40px; height: 23px; border-radius: 20px; flex: none;
  background: var(--surface-3); border: 0.5px solid var(--line-bright);
  position: relative; cursor: pointer; transition: background .16s, border-color .16s;
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 17px; height: 17px; border-radius: 50%; background: var(--text-2);
  transition: transform .16s, background .16s;
}
.switch.on { background: var(--accent); border-color: var(--accent); }
.switch.on::after { transform: translateX(17px); background: var(--on-accent); }

/* ---- text inputs ---- */
.txt-input {
  background: var(--surface-2); border: 0.5px solid var(--line);
  border-radius: 8px; padding: 8px 11px; color: var(--text);
  font-family: var(--sans); font-size: 13px; outline: none; min-width: 220px;
  transition: border-color .14s, box-shadow .14s;
}
.txt-input:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-dim); }
.txt-input.mono { font-family: var(--mono); font-size: 12px; }
.txt-input::placeholder { color: var(--text-4); }
select.txt-input { cursor: pointer; appearance: none; padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5l3-3' stroke='%23888' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }
.field-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-4); margin-bottom: 7px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px;
  border-radius: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  cursor: pointer; border: 0.5px solid var(--line); background: var(--surface-2);
  color: var(--text-2); transition: all .12s; white-space: nowrap; text-decoration: none;
}
.btn:hover { background: var(--hover); color: var(--text); border-color: var(--line-bright); }
.btn svg { width: 14px; height: 14px; }
.btn.primary {
  background: var(--accent); color: var(--on-accent); border-color: transparent;
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.18) inset, 0 3px 12px var(--accent-dim);
}
.btn.primary:hover { filter: brightness(1.06); color: var(--on-accent); }
.btn.danger { color: var(--err); border-color: oklch(0.69 0.19 25 / 0.4); }
.btn.danger:hover { background: oklch(0.69 0.19 25 / 0.12); }
.btn.sm { height: 27px; padding: 0 11px; font-size: 11px; }

/* mono key cap */
.kbd { font-family: var(--mono); font-size: 10px; color: var(--text-4); border: 0.5px solid var(--line); border-radius: 4px; padding: 1px 5px; }

/* ============================================================
   MARKETPLACE (MCP connectors)
   ============================================================ */
.market-bar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.search-box {
  flex: 1; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px;
  background: var(--surface-1); border: 0.5px solid var(--line-bright); border-radius: var(--r-md);
  transition: border-color .14s, box-shadow .14s;
}
.search-box:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-dim); }
.search-box svg { width: 16px; height: 16px; color: var(--text-4); flex: none; }
.search-box input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-family: var(--sans); font-size: 13.5px; }
.search-box input::placeholder { color: var(--text-4); }
.search-box .esc { font-family: var(--mono); font-size: 10px; color: var(--text-4); border: 0.5px solid var(--line); border-radius: 5px; padding: 2px 6px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.fchip {
  font-family: var(--mono); font-size: 11px; padding: 6px 12px; border-radius: 20px;
  border: 0.5px solid var(--line); background: var(--surface-1); color: var(--text-3);
  cursor: pointer; transition: all .12s; white-space: nowrap;
}
.fchip:hover { color: var(--text); border-color: var(--line-bright); }
.fchip.on { background: var(--accent-dim); color: var(--accent-text); border-color: var(--accent-line); }
.fchip .ct { opacity: 0.6; margin-left: 4px; }

/* connector / app card grid */
.market-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.market-grid.tri { grid-template-columns: repeat(3, 1fr); }

.mk-card {
  background: var(--surface-1); border: 0.5px solid var(--line); border-radius: var(--r-lg);
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .14s, transform .1s, box-shadow .14s; position: relative;
}
.mk-card:hover { border-color: var(--line-bright); transform: translateY(-2px); box-shadow: 0 12px 30px oklch(0 0 0 / 0.22); }
.mk-card .mk-top { display: flex; align-items: flex-start; gap: 12px; }
.mk-ic {
  width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center;
  font-family: var(--mono); font-size: 14px; font-weight: 700; color: #fff;
  box-shadow: 0 2px 8px oklch(0 0 0 / 0.25);
}
.mk-card .mk-name { font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; display: flex; align-items: center; gap: 7px; }
.mk-card .mk-pub { font-family: var(--mono); font-size: 10.5px; color: var(--text-4); margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.mk-card .mk-pub .verified { color: var(--info); display: inline-flex; }
.mk-card .mk-kind { margin-left: auto; flex: none; }
.kind-tag {
  font-family: var(--mono); font-size: 9.5px; padding: 3px 8px; border-radius: 6px;
  background: var(--surface-2); border: 0.5px solid var(--line); color: var(--text-3); white-space: nowrap;
}
.mk-card .mk-desc { font-size: 12.5px; color: var(--text-3); line-height: 1.5; flex: 1; }
.mk-card .mk-tools { display: flex; flex-wrap: wrap; gap: 5px; }
.tool-pill {
  font-family: var(--mono); font-size: 10px; padding: 3px 8px; border-radius: 6px;
  background: var(--surface-2); border: 0.5px solid var(--line-soft); color: var(--text-3);
}
.mk-card .mk-foot { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 0.5px solid var(--line-soft); }
.mk-stat { display: flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10.5px; color: var(--text-4); }
.mk-stat svg { width: 12px; height: 12px; }
.mk-card .mk-foot .sp { flex: 1; }

/* install button states */
.install-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px;
  border-radius: 8px; font-family: var(--mono); font-size: 11px; font-weight: 600;
  cursor: pointer; border: 0.5px solid var(--accent-line); background: var(--accent-dim);
  color: var(--accent-text); transition: all .14s; white-space: nowrap;
}
.install-btn:hover { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.install-btn svg { width: 13px; height: 13px; }
.install-btn.installed {
  background: transparent; border-color: var(--line); color: var(--ok); cursor: default;
}
.install-btn.installed:hover { background: transparent; color: var(--ok); border-color: var(--line); }
.install-btn.installing { background: var(--surface-2); color: var(--text-3); border-color: var(--line); }
.mini-spin { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--line-bright); border-top-color: var(--accent-text); animation: spin 0.7s linear infinite; display: inline-block; }

.mk-card.is-installed { border-color: oklch(0.805 0.15 150 / 0.32); }
.mk-card.is-installed::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); pointer-events: none;
  box-shadow: inset 0 0 0 0.5px oklch(0.805 0.15 150 / 0.18);
}
.live-badge { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10px; color: var(--ok); }
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); }

/* featured hero card (full-width) */
.featured {
  display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center;
  background:
    radial-gradient(600px 300px at 85% -20%, var(--accent-dim), transparent 70%),
    var(--surface-1);
  border: 0.5px solid var(--accent-line); border-radius: var(--r-xl);
  padding: 22px 24px; margin-bottom: 28px;
}
.featured .ft-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 9px; }
.featured h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 7px; }
.featured p { font-size: 13px; color: var(--text-3); line-height: 1.55; max-width: 460px; }
.featured .ft-logos { display: flex; align-items: center; margin-top: 14px; }
.featured .ft-logos .fl {
  width: 30px; height: 30px; border-radius: 8px; margin-left: -6px;
  border: 1.5px solid var(--surface-1); display: grid; place-items: center;
  font-family: var(--mono); font-size: 10px; font-weight: 700; color: #fff;
}
.featured .ft-logos .fl:first-child { margin-left: 0; }
.featured .ft-cta { display: flex; flex-direction: column; gap: 9px; align-items: stretch; }

/* ============================================================
   SKILLS
   ============================================================ */
.skill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.skill-card {
  background: var(--surface-1); border: 0.5px solid var(--line); border-radius: var(--r-lg);
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .14s, transform .1s, box-shadow .14s; position: relative;
}
.skill-card:hover { border-color: var(--line-bright); transform: translateY(-2px); box-shadow: 0 12px 30px oklch(0 0 0 / 0.2); }
.skill-card .sk-top { display: flex; align-items: flex-start; gap: 12px; }
.sk-ic {
  width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--surface-2); border: 0.5px solid var(--line); color: var(--accent-text);
}
.sk-ic svg { width: 19px; height: 19px; }
.skill-card .sk-name { font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.skill-card .sk-by { font-family: var(--mono); font-size: 10.5px; color: var(--text-4); margin-top: 3px; }
.skill-card .sk-desc { font-size: 12.5px; color: var(--text-3); line-height: 1.5; flex: 1; }
.skill-card .sk-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.sk-flag {
  font-family: var(--mono); font-size: 9.5px; padding: 3px 8px; border-radius: 6px;
  background: var(--surface-2); border: 0.5px solid var(--line-soft); color: var(--text-3);
  display: inline-flex; align-items: center; gap: 5px;
}
.sk-flag .dt { width: 5px; height: 5px; border-radius: 50%; }
.skill-card .sk-foot { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 0.5px solid var(--line-soft); }
.skill-card .sk-foot .sp { flex: 1; }
.skill-card.is-on { border-color: var(--accent-line); }
.skill-card.is-on .sk-ic { background: var(--accent); border-color: transparent; color: var(--on-accent); }

/* installed skill row (settings list) */
.skill-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border-bottom: 0.5px solid var(--line-soft);
}
.skill-row:last-child { border-bottom: none; }
.skill-row .sr-ic { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--surface-2); border: 0.5px solid var(--line); color: var(--accent-text); }
.skill-row .sr-ic svg { width: 17px; height: 17px; }
.skill-row .sr-body { flex: 1; min-width: 0; }
.skill-row .sr-body .t { font-size: 13.5px; color: var(--text); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.skill-row .sr-body .d { font-size: 11.5px; color: var(--text-4); margin-top: 3px; }
.skill-row .sr-tools { display: flex; gap: 5px; flex: none; }

/* empty / nothing matched */
.empty-note { text-align: center; padding: 60px 20px; color: var(--text-4); font-family: var(--mono); font-size: 12px; }

/* usage meters (billing) */
.meter { height: 8px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 5px; background: var(--accent); }
.meter.warn i { background: var(--run); }
.usage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.usage-cell { background: var(--surface-1); border: 0.5px solid var(--line); border-radius: var(--r-md); padding: 14px 15px; }
.usage-cell .uv { font-family: var(--mono); font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.usage-cell .ul { font-size: 11px; color: var(--text-4); margin-top: 3px; margin-bottom: 10px; }

/* member rows */
.member-row { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 0.5px solid var(--line-soft); }
.member-row:last-child { border-bottom: none; }
.member-row .m-av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 700; color: #fff; }
.member-row .m-name { font-size: 13px; color: var(--text); font-weight: 500; }
.member-row .m-email { font-family: var(--mono); font-size: 11px; color: var(--text-4); margin-top: 2px; }
.member-row .m-role { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.role-tag { font-family: var(--mono); font-size: 10px; padding: 3px 9px; border-radius: 6px; border: 0.5px solid var(--line); color: var(--text-3); background: var(--surface-2); }
.role-tag.admin { color: var(--accent-text); border-color: var(--accent-line); background: var(--accent-dim); }

/* theme + accent rows reuse nico.css classes (.theme-grid, .accent-row, .opt-seg) */
.theme-grid.lg { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.theme-grid.lg .theme-prev { height: 70px; }

/* responsive collapse of marketplace grid at small scaled widths is fine — window is fixed 1440 */
@media (max-width: 0px) { .market-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ADD-MCP MODAL + native connector logos in marketplace
   ============================================================ */
.mk-modal-scrim {
  position: fixed; inset: 0; z-index: 200;
  background: oklch(0 0 0 / 0.55); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center;
}
.mk-modal-scrim.on { display: flex; }
.mk-modal {
  width: 460px; max-width: 92vw;
  background: var(--surface-1); border: 0.5px solid var(--line-bright);
  border-radius: var(--r-xl); box-shadow: 0 24px 70px oklch(0 0 0 / 0.5);
  overflow: hidden; animation: panelIn .18s ease;
}
.mk-modal-head { display: flex; align-items: center; padding: 16px 18px; border-bottom: 0.5px solid var(--line-soft); }
.mk-modal-head h3 { font-size: 14.5px; font-weight: 600; color: var(--text); flex: 1; }
.mk-modal-body { padding: 18px; }
.mk-field { margin-bottom: 14px; }
.mk-field .txt-input { width: 100%; min-width: 0; }
.mk-modal-foot { display: flex; align-items: center; gap: 9px; margin-top: 6px; }
.mcp-msg { font-family: var(--mono); font-size: 11.5px; }
.mcp-msg.ok { color: var(--ok); }
.mcp-msg.err { color: var(--err); }
.mcp-hint { font-size: 11px; color: var(--text-4); line-height: 1.5; }

/* logo fill inside marketplace icon tiles + featured logos.
   Neutral white chip so brand logos are always visible — a same-colour logo
   (e.g. the blue Salesforce cloud) would vanish on its brand-tinted tile. */
.mk-ic.has-logo, .featured .ft-logos .fl.has-logo { padding: 5px; overflow: hidden; background: #fff !important; box-shadow: inset 0 0 0 0.5px oklch(0 0 0 / 0.10); }
.mk-ic img.brand, .featured .ft-logos .fl img.brand { width: 100%; height: 100%; object-fit: contain; display: block; }

/* removing state on a card */
.mk-card.removing { opacity: 0.5; pointer-events: none; }

/* ---- Salestools Suite hero: deep native-integration chips ---- */
.suite-ints { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.suite-int {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--text-2);
  background: var(--surface-2); border: 0.5px solid var(--line);
  border-radius: 999px; padding: 3px 10px 3px 3px;
}
.suite-int .si-ic {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--mono);
  font-weight: 700; font-size: 8px; letter-spacing: -0.02em;
}
#installSalestoolsSuite.installed { border-color: oklch(0.805 0.15 150 / 0.4); background: oklch(0.805 0.15 150 / 0.1); }

/* MCP endpoint URL on connector cards (copyable) */
.mk-url { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--mono); font-size: 11px; color: var(--text-4); overflow: hidden; }
.mk-url svg { width: 12px; height: 12px; flex: none; }
.mk-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-url[data-url] { cursor: pointer; }
.mk-url[data-url]:hover { color: var(--accent-text); }

/* Model picker (Settings → Models) */
.model-row { cursor: pointer; }
.model-row:hover { background: var(--surface-2); }
.model-row .mtier { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-4); border: 0.5px solid var(--line); border-radius: 5px; padding: 1.5px 6px; margin-left: 7px; vertical-align: 2px; }
.model-row .model-on { display: none; align-items: center; gap: 5px; font-family: var(--mono); font-size: 11px; color: var(--ok); }
.model-row.on .model-on { display: inline-flex; }
.model-row.on { border-color: var(--accent-line); }

/* Autopilot section */
.ap-sched, .ap-run { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 0.5px solid var(--line-soft); }
.ap-sched:last-child, .ap-run:last-child { border-bottom: none; }
.ap-n { font-size: 12.5px; color: var(--text); font-weight: 500; }
.ap-e { font-family: var(--mono); font-size: 10px; color: var(--text-4); margin-left: 6px; }
.ap-p { font-size: 11.5px; color: var(--text-4); margin-top: 2px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ap-empty { font-family: var(--mono); font-size: 11px; color: var(--text-4); padding: 6px 0; }
.ap-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; margin-top: 5px; }
