/* Tokenized Agentics Marketplace (TAP) – styles */
.tpmp{
  --tp-accent:#1E88E5;
  --tp-bg1:#070f1a;
  --tp-bg2:#0b1a2a;
  --tp-card:#0f2236;
  --tp-card2:#0c1b2b;
  --tp-line:rgba(255,255,255,.10);
  --tp-text:rgba(255,255,255,.92);
  --tp-muted:rgba(255,255,255,.74);
  --tp-dim:rgba(255,255,255,.58);
  --tp-shadow:0 18px 60px rgba(0,0,0,.35);

  color:var(--tp-text);
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(30,136,229,.35), rgba(30,136,229,0) 55%),
    radial-gradient(720px 420px at 80% 10%, rgba(0,255,200,.18), rgba(0,255,200,0) 60%),
    linear-gradient(180deg,var(--tp-bg1),var(--tp-bg2));
  border-radius:18px;
  box-shadow:var(--tp-shadow);
  padding:18px;
  margin:18px auto;
  max-width: 1120px;
}
.tpmp *{ box-sizing:border-box; }

.tpmp-shell{ max-width:1120px; margin:0 auto; }
.tpmp-hero{
  display:flex; gap:14px; align-items:flex-start; justify-content:space-between;
  padding:10px 10px 16px 10px;
}
.tpmp-kicker{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--tp-dim); }
.tpmp-title{ margin:6px 0 6px; font-size:28px; line-height:1.15; }
.tpmp-sub{ color:var(--tp-muted); font-size:14px; max-width: 780px; }

.tpmp-hero-actions{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.tpmp-btn{
  appearance:none; border:1px solid rgba(255,255,255,.15);
  background: linear-gradient(180deg, rgba(30,136,229,.95), rgba(30,136,229,.75));
  color:white; padding:10px 14px; border-radius:14px;
  font-weight:700; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; gap:8px;
  box-shadow: 0 10px 24px rgba(30,136,229,.22);
}
.tpmp-btn:hover{ filter:brightness(1.03); transform: translateY(-1px); }
.tpmp-btn:active{ transform: translateY(0px); }
.tpmp-btn-ghost{
  background: rgba(255,255,255,.06);
  box-shadow:none;
}
.tpmp-search{
  display:flex; gap:10px; padding:10px; margin: 0 0 14px;
}
.tpmp-search input{
  flex:1; padding:12px 12px; border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--tp-text);
}
.tpmp-search input::placeholder{ color:rgba(255,255,255,.40); }

.tpmp-search select{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--tp-text);
  min-width: 190px;
}
.tpmp-search select option{ background:#0b1a2a; color:var(--tp-text); }


.tpmp-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 980px){
  .tpmp-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .tpmp-grid{ grid-template-columns: 1fr; }
  .tpmp-hero{ flex-direction:column; }
}
.tpmp-card{
  display:block;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:14px;
  text-decoration:none;
  color:var(--tp-text);
  box-shadow: 0 10px 34px rgba(0,0,0,.22);
}
.tpmp-card:hover{ border-color: rgba(255,255,255,.20); transform: translateY(-1px); }
.tpmp-card-pad{ padding:16px; }
.tpmp-card-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
.tpmp-card-title{ font-size:16px; font-weight:800; line-height:1.2; }
.tpmp-card-desc{ margin-top:8px; color:var(--tp-muted); font-size:13px; }
.tpmp-card-meta{ margin-top:10px; color:var(--tp-dim); font-size:12px; display:flex; gap:10px; flex-wrap:wrap; }

.tpmp-pill{
  padding:6px 10px;
  border-radius:999px;
  background: rgba(30,136,229,.15);
  border:1px solid rgba(30,136,229,.35);
  color: rgba(255,255,255,.92);
  font-weight:800;
  white-space:nowrap;
}
.tpmp-chip{
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.80);
  font-size:12px;
}

.tpmp-two{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  margin-top:14px;
}
@media (max-width: 980px){ .tpmp-two{ grid-template-columns:1fr; } }

.tpmp-meta-row{ margin-top:10px; display:flex; gap:10px; flex-wrap:wrap; align-items:center; }

.tpmp-content{ color:rgba(255,255,255,.86); }
.tpmp-content p{ color:rgba(255,255,255,.86); }
.tpmp-content a{ color: rgba(130, 200, 255, .95); }

.tpmp-divider{ height:1px; background: rgba(255,255,255,.12); margin:14px 0; }

.tpmp-kv{ margin-top:10px; }
.tpmp-k{ font-size:12px; color: var(--tp-dim); margin-bottom:6px; }
.tpmp-v{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.tpmp-code{
  background: rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.12);
  padding:8px 10px;
  border-radius:12px;
  color: rgba(255,255,255,.88);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}
.tpmp-copy{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  padding:8px 10px;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
}
.tpmp-copy:hover{ border-color: rgba(255,255,255,.2); }

.tpmp-note{
  margin-top:12px;
  color: rgba(255,255,255,.64);
  font-size:12px;
}

.tpmp-unlock{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:10px; }
.tpmp-input{
  flex:1; min-width: 260px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--tp-text);
}
.tpmp-small{ color: rgba(255,255,255,.70); font-size:12px; margin-top:10px; }

.tpmp-prompt{
  margin-top:10px;
  border-radius:14px;
  background: rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.12);
  padding:14px;
  color: rgba(255,255,255,.90);
  overflow:auto;
  max-height: 420px;
  white-space: pre-wrap;
}
.tpmp-blur{
  filter: blur(4px);
  user-select:none;
}
.tpmp-lock{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
  font-size:12px;
  font-weight:800;
}

.tpmp-toast{
  border-radius:14px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  margin: 10px 0;
  font-weight:700;
}
.tpmp-ok{ border-color: rgba(0,255,200,.35); background: rgba(0,255,200,.08); }
.tpmp-bad{ border-color: rgba(255,90,90,.35); background: rgba(255,90,90,.10); }

.tpmp-form{ max-width: 820px; }
.tpmp-row{ margin-top: 12px; }
.tpmp-row label{ display:block; margin-bottom:6px; color: rgba(255,255,255,.78); font-weight:700; }
.tpmp-row input, .tpmp-row textarea, .tpmp-row select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--tp-text);
}
.tpmp-row textarea{ resize:vertical; }
.tpmp-req{ color: rgba(255,120,120,.92); font-weight:900; }

.tpmp-cols{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
@media (max-width: 760px){ .tpmp-cols{ grid-template-columns:1fr; } }

.tpmp-footnote{ margin-top: 14px; color: rgba(255,255,255,.60); font-size:12px; }

.tpmp-pagination{ margin-top: 16px; }

/* Extra UI helpers */
.tpmp-link{
  color: rgba(130, 200, 255, .95);
  text-decoration:none;
  font-weight:800;
}
.tpmp-link:hover{ text-decoration:underline; }

.tpmp-details{
  margin-top:10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background: rgba(255,255,255,.04);
}
.tpmp-details summary{
  cursor:pointer;
  padding:10px 12px;
  font-weight:800;
  color: rgba(255,255,255,.86);
}
.tpmp-details[open] summary{ border-bottom:1px solid rgba(255,255,255,.10); }
.tpmp-details pre{ margin:0; border:0; border-radius:0 0 14px 14px; }
.tpmp-pagination a, .tpmp-pagination span{
  display:inline-block;
  margin: 0 6px 6px 0;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  text-decoration:none;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.04);
}
.tpmp-pagination .current{
  background: rgba(30,136,229,.20);
  border-color: rgba(30,136,229,.35);
}

.tpmp-seo{
  margin: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.tpmp-seo summary{
  cursor:pointer;
  font-weight: 800;
  color: rgba(255,255,255,.88);
}
.tpmp-seo-grid{
  margin-top:10px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
@media (max-width: 760px){ .tpmp-seo-grid{ grid-template-columns: 1fr; } }
.tpmp-seo-item{
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
}
.tpmp-seo-item a{ color: rgba(130,200,255,.95); text-decoration:none; font-weight:800; }
.tpmp-seo-meta{ margin-top:6px; color: rgba(255,255,255,.62); font-size:12px; display:flex; gap:10px; flex-wrap:wrap; }
.tpmp-seo-desc{ margin-top:6px; color: rgba(255,255,255,.74); font-size:12px; }

.tpmp-review-meta{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:6px; }
.tpmp-rating{ padding:4px 8px; border-radius:999px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); font-size:12px; font-weight:800; }
.tpmp-verified{ padding:4px 8px; border-radius:999px; border:1px solid rgba(0,255,200,.30); background: rgba(0,255,200,.08); font-size:12px; font-weight:800; }
.tpmp-comments .comment-body{ border-top:1px solid rgba(255,255,255,.10); padding-top:12px; margin-top:12px; }


/* Review form extras */
.tpmp-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:10px 0; }
@media (max-width: 720px){ .tpmp-grid2{ grid-template-columns:1fr; } }
.tpmp-review input.tpmp-input, .tpmp-review textarea, .tpmp-review select{
  width:100%;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color: var(--tp-text);
  border-radius:14px;
  padding:10px 12px;
}
.tpmp-review label{ display:block; margin-top:10px; margin-bottom:6px; font-weight:700; color: rgba(255,255,255,.88); }
.tpmp-outcomes{ display:flex; flex-wrap:wrap; gap:10px; margin-top:6px; }
.tpmp-outcomes label{
  margin:0;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  font-weight:600;
  color: rgba(255,255,255,.86);
  display:flex;
  gap:8px;
  align-items:center;
}
.tpmp-review-meta .tpmp-chip{
  display:inline-block;
  margin-left:8px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  font-size:12px;
}


.tpmp-subtitle{opacity:.8;font-size:13px;margin-top:2px}


/* Purpose preset chips (submission form) */
.tpmp-chipset{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}
.tpmp-chip{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.35);
  color:rgba(255,255,255,.9);
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
  font:600 13px/1.1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  transition:transform .08s ease, background .12s ease, border-color .12s ease;
}
.tpmp-chip:hover{ transform:translateY(-1px); border-color:rgba(255,255,255,.28); }
.tpmp-chip.is-selected{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.35);
}
.tpmp-chip-other{
  border-style:dashed;
}
.tpmp-purpose-custom{ margin-top:10px; }
.tpmp-hint{ margin-top:6px; font-size:12px; opacity:.75; }

/* App shell tabs */
.tpmp-tabs{
  display:flex; gap:8px; flex-wrap:wrap;
  justify-content:flex-end;
}
.tpmp-tab{
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--tp-line);
  background: rgba(255,255,255,.06);
  color: var(--tp-muted);
  text-decoration:none;
  font-size:13px;
}
.tpmp-tab:hover{ border-color: rgba(255,255,255,.22); color: var(--tp-text); }
.tpmp-tab.is-active{
  border-color: rgba(30,136,229,.55);
  background: rgba(30,136,229,.18);
  color: var(--tp-text);
}
.tpmp-alert{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--tp-muted);
  margin: 10px 0 14px;
}


/* Topbar (tabs + wallet) */
.tpmp-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin: 8px 0;
}
.tpmp-topbar-right{
  display:flex;
  align-items:center;
  gap:10px;
}
.tpmp-wallet-addr{
  font-size:13px;
  color: var(--tp-muted);
}

/* Dexi bubble */
.tpmp-dexi-btn{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:99999;
  width:54px;
  height:54px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(30,136,229,.22);
  backdrop-filter: blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.tpmp-dexi-btn span{ font-weight:700; color: var(--tp-text); }

.tpmp-dexi-panel{
  position:fixed;
  right:18px;
  bottom:84px;
  z-index:99999;
  width: 360px;
  max-width: calc(100vw - 36px);
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(8,12,18,.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 55px rgba(0,0,0,.35);
  overflow:hidden;
  display:none;
}
.tpmp-dexi-panel.is-open{ display:block; }
.tpmp-dexi-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.tpmp-dexi-title{ font-weight: 700; color: var(--tp-text); }
.tpmp-dexi-body{
  max-height: 320px;
  overflow:auto;
  padding: 10px 12px;
}
.tpmp-dexi-msg{
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  color: var(--tp-text);
  font-size: 13px;
  line-height: 1.35;
  white-space: pre-wrap;
}
.tpmp-dexi-msg.user{ background: rgba(255,255,255,.06); }
.tpmp-dexi-msg.bot{ background: rgba(30,136,229,.14); }
.tpmp-dexi-foot{
  display:flex;
  gap:8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.tpmp-dexi-input{
  flex:1;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--tp-text);
  outline: none;
}

/* Hide WP footer credit on Agentics pages (plugin enqueued) */
body.tpmp-hide-wpfooter.page-slug-agentics .site-info,
body.tpmp-hide-wpfooter.page-slug-agentics .site-footer .site-info,
body.tpmp-hide-wpfooter.page-slug-agentics .powered-by,
body.tpmp-hide-wpfooter.page-slug-agentics .powered-by-wordpress,
body.tpmp-hide-wpfooter.post-type-archive-tp_prompt .site-info,
body.tpmp-hide-wpfooter.post-type-archive-tp_prompt .site-footer .site-info,
body.tpmp-hide-wpfooter.post-type-archive-tp_prompt .powered-by,
body.tpmp-hide-wpfooter.post-type-archive-tp_prompt .powered-by-wordpress,
body.tpmp-hide-wpfooter.single-tp_prompt .site-info,
body.tpmp-hide-wpfooter.single-tp_prompt .site-footer .site-info,
body.tpmp-hide-wpfooter.single-tp_prompt .powered-by,
body.tpmp-hide-wpfooter.single-tp_prompt .powered-by-wordpress,
body.tpmp-hide-wpfooter.tax-tp_prompt_purpose .site-info,
body.tpmp-hide-wpfooter.tax-tp_prompt_purpose .site-footer .site-info,
body.tpmp-hide-wpfooter.tax-tp_prompt_purpose .powered-by,
body.tpmp-hide-wpfooter.tax-tp_prompt_purpose .powered-by-wordpress { display:none !important; }


/* Theme: data-science-specialist uses #footer role=contentinfo */
body.tpmp-hide-wpfooter.page-slug-agentics #footer p,
body.tpmp-hide-wpfooter.post-type-archive-tp_prompt #footer p,
body.tpmp-hide-wpfooter.single-tp_prompt #footer p { display:none !important; }


/* When we render the app shell on standalone pages, hide the theme's page title area */
body.tpmp-shell-page h1.entry-title,
body.tpmp-shell-page .entry-title,
body.tpmp-shell-page .page-title { display:none !important; }
body.tpmp-shell-page .entry-header { display:none !important; }


/* Ensure Dexi is visible even if a theme applies aggressive button styles */
#tpmpDexiBtn{ display:flex !important; }


/* WOTA accent (blue/yellow) */
:root{ --tpmp-wota-blue:#1e5eff; --tpmp-wota-yellow:#ffd400; }
.tpmp-shell.tpmp-accent-wota .tpmp-btn-primary{ background: linear-gradient(135deg,var(--tpmp-wota-blue),var(--tpmp-wota-yellow)); color:#0b1220; }
.tpmp-shell.tpmp-accent-wota .tpmp-link{ color: var(--tpmp-wota-blue); }
.tpmp-shell.tpmp-accent-wota .tpmp-tab.is-active{ background: rgba(30,94,255,.10); border-color: rgba(30,94,255,.25); }

/* Dexi bottom-right assistant */
#tpmpDexiFab{ position:fixed; right:18px; bottom:92px; z-index:2147483647; display:flex; align-items:center; gap:10px; }
#tpmpDexiFab button{ border:0; border-radius:999px; padding:10px 14px; cursor:pointer; box-shadow:0 10px 30px rgba(0,0,0,.18); font:600 14px/1 system-ui; }
#tpmpDexiFab .tpmp-dexi-bubble{ width:48px; height:48px; border-radius:999px; display:grid; place-items:center; background: linear-gradient(135deg,var(--tpmp-wota-blue),var(--tpmp-wota-yellow)); color:#0b1220; }
#tpmpDexiFab .tpmp-dexi-label{ background:#0b1220; color:#fff; opacity:.9; }
#tpmpDexiPanel{ position:fixed; right:18px; bottom:152px; width:min(360px, calc(100vw - 36px)); height:460px; max-height: calc(100vh - 120px); z-index:2147483647; border-radius:18px; overflow:hidden; box-shadow:0 18px 55px rgba(0,0,0,.25); background:#0b1220; color:#fff; display:none; }
#tpmpDexiPanel.is-open{ display:block; }
#tpmpDexiPanel .tpmp-dexi-head{ padding:12px 14px; display:flex; align-items:center; justify-content:space-between; background: rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.10); }
#tpmpDexiPanel .tpmp-dexi-head .title{ display:flex; align-items:center; gap:10px; font-weight:700; }
#tpmpDexiPanel .tpmp-dexi-head .dot{ width:10px; height:10px; border-radius:50%; background: var(--tpmp-wota-yellow); box-shadow:0 0 0 4px rgba(255,212,0,.15); }
#tpmpDexiPanel .tpmp-dexi-body{ padding:12px 12px 0; height: calc(100% - 108px); overflow:auto; }
#tpmpDexiPanel .tpmp-dexi-msg{ padding:10px 12px; border-radius:14px; margin:8px 0; max-width: 92%; }
#tpmpDexiPanel .tpmp-dexi-msg.bot{ background: rgba(255,255,255,.08); }
#tpmpDexiPanel .tpmp-dexi-msg.user{ background: rgba(30,94,255,.25); margin-left:auto; }
#tpmpDexiPanel .tpmp-dexi-quick{ display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 14px; }
#tpmpDexiPanel .tpmp-dexi-quick button{ border:1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color:#fff; border-radius:999px; padding:8px 10px; cursor:pointer; font:600 12px/1 system-ui; }
#tpmpDexiPanel .tpmp-dexi-foot{ padding:10px 12px 12px; border-top:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03); }
#tpmpDexiPanel .tpmp-dexi-foot form{ display:flex; gap:8px; }
#tpmpDexiPanel .tpmp-dexi-foot input{ flex:1; border-radius:12px; border:1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color:#fff; padding:10px 10px; outline:none; }
#tpmpDexiPanel .tpmp-dexi-foot button{ border:0; border-radius:12px; padding:10px 12px; background: linear-gradient(135deg,var(--tpmp-wota-blue),var(--tpmp-wota-yellow)); color:#0b1220; font-weight:800; cursor:pointer; }
#tpmpDexiPanel a{ color: var(--tpmp-wota-yellow); text-decoration: none; }


/* Ensure Dexi is clickable even under aggressive theme overlays */
#tpmpDexiFab, #tpmpDexiFab * { pointer-events: auto !important; }
#tpmpDexiPanel, #tpmpDexiPanel * { pointer-events: auto !important; }
#tpmpDexiFab button{ cursor:pointer !important; }


/* Dexi Tour overlay */
#tpmpTourOverlay{ position:fixed; inset:0; z-index:2147483646; pointer-events:auto; }
#tpmpTourOverlay .shade{ position:absolute; background:rgba(2,6,23,.62); }
#tpmpTourOverlay .highlight{ position:absolute; border:2px solid rgba(255, 204, 0, .95); border-radius:14px; box-shadow:0 0 0 6px rgba(0, 153, 255, .18); }
#tpmpTourOverlay .popover{
  position:absolute; width:min(380px, calc(100vw - 28px));
  background: linear-gradient(180deg, rgba(14, 26, 46, .98), rgba(9, 18, 32, .98));
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:14px 14px 12px 14px;
  color:#fff;
  box-shadow:0 22px 70px rgba(0,0,0,.35);
}
#tpmpTourOverlay .kicker{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; opacity:.75; }
#tpmpTourOverlay .title{ font-size:16px; font-weight:800; margin-top:6px; }
#tpmpTourOverlay .text{ font-size:13px; opacity:.92; line-height:1.4; margin-top:8px; }
#tpmpTourOverlay .actions{ display:flex; gap:8px; justify-content:flex-end; margin-top:12px; flex-wrap:wrap; }
#tpmpTourOverlay .btn{
  appearance:none; border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color:#fff; border-radius:999px;
  padding:9px 12px; font-weight:700; font-size:13px; cursor:pointer;
}
#tpmpTourOverlay .btn.primary{
  background: linear-gradient(90deg, rgba(0, 153, 255, .95), rgba(255, 204, 0, .90));
  color:#081224; border:none;
}
#tpmpTourOverlay .btn.link{ background:transparent; border:none; opacity:.85; }
#tpmpTourOverlay .tip{ margin-top:10px; font-size:12px; opacity:.75; }


/* Provider / Type / Output filter UI */
.tpmp-filterbar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:flex-start;
  margin-top:10px;
}
.tpmp-filterbar .tpmp-filter-inline{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:180px;
}
.tpmp-filter-label{
  font-size:12px;
  opacity:.8;
}
.tpmp-filter{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  border-radius:14px;
  padding:10px 12px;
  min-width:220px;
}
.tpmp-filter > summary{
  cursor:pointer;
  font-weight:600;
  list-style:none;
}
.tpmp-filter > summary::-webkit-details-marker{display:none;}
.tpmp-filter-group{margin-top:10px;}
.tpmp-filter-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
.tpmp-filter-kicker{
  font-size:12px;
  opacity:.75;
  margin:10px 0 6px;
}
.tpmp-filter-more summary{
  cursor:pointer;
  margin-top:10px;
  font-weight:600;
  opacity:.9;
}
.tpmp-filter-subgroup{margin-top:10px;}
.tpmp-checkpill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  user-select:none;
}
.tpmp-checkpill input{margin:0;}
.tpmp-checkpill span{font-size:13px;opacity:.95;}

