/* ============================================================
   STARTVEX — App Prototype
   ============================================================ */

:root {
  --bg:        #060708;
  --surface:   #0E1013;
  --surface-2: #14171C;
  --surface-3: #1A1E25;
  --text:      #F4F4F0;
  --text-2:    #D6D6D0;
  --muted:     #82847F;
  --blue:      #5AA8FF;
  --green:     #9EF3D1;
  --amber:     #F5C46C;
  --red:       #FF6B6B;
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.13);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --sidebar-w: 248px;
  --radius: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(90,168,255,0.3); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }

.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }

/* ============ APP SHELL ============ */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

/* ---------- Sidebar ---------- */
.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }
.sb-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 22px;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border);
  height: 65px;
}
.sb-brand img { height: 30px; width: auto; }

.sb-section { padding: 16px 14px; }
.sb-section + .sb-section { border-top: 1px solid var(--border); }
.sb-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 4px 10px 10px; }

.sb-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s;
  border: none; background: none; width: 100%; text-align: left;
}
.sb-item svg { width: 18px; height: 18px; flex: none; color: var(--muted); transition: color .15s; }
.sb-item:hover { background: rgba(255,255,255,0.03); color: var(--text); }
.sb-item:hover svg { color: var(--text-2); }
.sb-item.active { background: rgba(90,168,255,0.1); color: var(--blue); }
.sb-item.active svg { color: var(--blue); }
.sb-item .badge { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; padding: 2px 7px; border-radius: 100px; background: rgba(255,255,255,0.06); color: var(--text-2); }
.sb-item.active .badge { background: rgba(90,168,255,0.18); color: var(--blue); }

/* Empurra o rodapé (empresa, Pilot, admin, utilizador) sempre para o fundo,
   independentemente de quantos itens do menu estão visíveis */
.sb-spacer { flex: 1; min-height: 12px; }

/* Nenhum bloco da sidebar pode ser esmagado pelo flexbox quando o conteúdo
   excede a altura da janela — em vez disso a sidebar ganha scroll */
.sidebar > * { flex-shrink: 0; }

/* Botão Owner (área administrativa) — vermelho, mesma largura do STX Pilot */
.sb-owner {
  width: calc(100% - 24px) !important;
  margin: 0 12px 8px;
  padding: 9px 12px;
  font-size: 14px;
  background: rgba(255,107,107,0.12) !important;
  color: #ff6b6b !important;
  border: 1px solid rgba(255,107,107,0.3);
  border-radius: 10px;
  font-weight: 700;
}
.sb-owner:hover {
  background: rgba(255,107,107,0.22) !important;
  border-color: rgba(255,107,107,0.5);
}
.sb-owner svg { stroke: #ff6b6b; }

/* ── Tokenomics: etiqueta de fase (tier) junto ao nome ── */
.tk-tier-badge {
  display:inline-block; font-size:10px; font-weight:700; letter-spacing:.05em;
  padding:3px 9px; border-radius:20px; vertical-align:middle; margin-left:4px;
  background:rgba(255,204,0,.12); color:#ffcc00; border:1px solid rgba(255,204,0,.25);
}
.tk-tier-badge.done {
  background:rgba(52,199,89,.12); color:var(--green); border-color:rgba(52,199,89,.3);
}

/* ── Tokenomics: gráfico de pizza pós-confirmação ── */
#tk-pie-wrap { margin-top: 8px; }
.tk-pie-box { display:flex; align-items:center; gap:28px; padding:20px; background:rgba(255,255,255,0.02); border:1px solid var(--border); border-radius:14px; flex-wrap:wrap; }
.tk-pie-box svg { flex-shrink:0; }
.tk-pie-legs { flex:1; min-width:240px; display:flex; flex-direction:column; gap:8px; }
.tk-pie-leg { display:flex; align-items:center; gap:9px; font-size:13px; color:var(--text-2); }
.tk-pie-leg-name { flex:1; }
.tk-pie-leg-tok { font-family:var(--font-mono); font-size:11px; color:var(--muted); }
.tk-pie-leg b { color:var(--text); min-width:38px; text-align:right; }

.sb-company {
  margin: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.sb-company .sc-row { display: flex; align-items: center; gap: 11px; }
.sb-company .sc-logo {
  width: 36px; height: 36px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #04121f; font-size: 15px;
}
.sb-company .sc-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.sb-company .sc-meta { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); }
.sb-company .sc-switch { margin-top: 12px; width: 100%; font-size: 12.5px; color: var(--text-2); padding: 8px; border: 1px solid var(--border-2); border-radius: 8px; background: none; transition: border-color .15s; }
.sb-company .sc-switch:hover { border-color: rgba(255,255,255,0.25); }

.sb-user-row { display: flex; align-items: center; border-top: 1px solid var(--border); }
.sb-user { display: flex; align-items: center; gap: 11px; padding: 14px 20px; flex: 1; min-width: 0; border-top: none; }
.sb-user .ava { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #6b54ff, var(--blue)); flex: none; }
.sb-user .u-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-user .u-role { font-size: 11.5px; color: var(--muted); }
.sb-logout { display: flex; align-items: center; justify-content: center; width: 40px; height: 100%; min-height: 52px; flex-shrink: 0; background: var(--surface); border: none; border-left: 1px solid var(--border); color: var(--muted); cursor: pointer; transition: color .18s, background .18s; }
.sb-logout:hover { color: #ff5f5f; background: rgba(255,95,95,.10); }

/* ---------- Main ---------- */
.main { display: flex; flex-direction: column; min-width: 0; }

.topbar {
  height: 65px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  position: sticky; top: 0; z-index: 20;
  background: rgba(6,7,8,0.82);
  backdrop-filter: blur(16px);
}
.topbar h1 { font-size: 19px; font-weight: 700; }
.topbar .tb-sub { font-size: 12.5px; color: var(--muted); margin-top: 1px; font-family: var(--font-mono); }
.tb-actions { display: flex; align-items: center; gap: 12px; }

/* Carteira na topbar */
.tb-wallet {
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 10px;
  background: transparent; border: none;
  border-radius: 10px; cursor: pointer;
  transition: background .15s;
}
.tb-wallet:hover { background: transparent; }
.tb-wallet-icon { width: 22px; height: 22px; border-radius: 6px; background: rgba(16,185,129,.15); color: #ffffff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tb-wallet-info { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.tb-wallet-label { font-size: 10px; color: var(--muted); font-weight: 500; }
.tb-wallet-val { font-size: 12.5px; font-weight: 700; color: var(--text); font-family: var(--font-mono); }
.tb-wallet-eye { display: inline-flex; align-items: center; color: var(--muted); cursor: pointer; padding: 3px; border-radius: 4px; transition: color .15s; margin-left: 2px; }
.tb-wallet-eye:hover { color: var(--text); }

.search {
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 13px; width: 260px;
  color: var(--muted); font-size: 13.5px;
}
.search svg { width: 15px; height: 15px; flex: none; }
.search input { background: none; border: none; outline: none; color: var(--text); font-family: inherit; font-size: 13.5px; width: 100%; }
.search input::placeholder { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; line-height: 1;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 16px; height: 16px; }
.btn-icon { padding-left: 0; padding-right: 0; width: 36px; flex: none; }
.btn-primary { background: var(--blue); color: #04121f; }
.btn-primary:hover { background: #76b8ff; box-shadow: 0 8px 24px -8px rgba(90,168,255,0.5); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.03); }
.btn-soft { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-soft:hover { background: var(--surface-3); }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }

/* ---------- Content ---------- */
.content { padding: 28px; max-width: 1280px; width: 100%; }
.screen { display: none; }
.screen.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.page-intro { margin-bottom: 26px; }
.page-intro h2 { font-size: 24px; margin-bottom: 6px; }
.page-intro p { color: var(--text-2); font-size: 14.5px; }
.intro-flex { display: flex; align-items: center; gap: 18px; }
.intro-flex > div:first-child { flex: 1; min-width: 0; }

/* score gauge */
.score-gauge { position: relative; width: 92px; height: 92px; flex: none; }
.gauge-svg { width: 100%; height: 100%; transform: rotate(135deg); }
.gauge-track, .gauge-val { fill: none; stroke-width: 9; stroke-linecap: round; }
.gauge-track { stroke: var(--surface-3); stroke-dasharray: 198 264; }
.gauge-val { stroke: var(--green); stroke-dasharray: 166 264; transition: stroke-dasharray .8s cubic-bezier(.2,.7,.2,1); }
.gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-num { font-family: var(--font-mono); font-size: 26px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.gauge-max { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 2px; }
.score-meta { flex: none; }
.score-meta .sm-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.score-meta .sm-state { font-size: 14px; font-weight: 600; color: var(--green); margin-top: 6px; }
.score-meta .sm-sub { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); margin-top: 4px; }
@media (max-width: 680px) { .score-meta { display: none; } }

/* cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.card-pad { padding: 20px; }

.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title h3 { font-size: 16px; }
.section-title .link { font-size: 13px; color: var(--blue); font-weight: 500; }
.st-btns { display: flex; gap: 4px; background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 3px; }
.st-btn { padding: 6px 14px; border-radius: 7px; border: none; background: none; color: var(--muted); font-family: var(--font-body); font-size: 12.5px; font-weight: 600; transition: background .15s, color .15s; }
.st-btn:hover { color: var(--text-2); }
.st-btn.active { background: var(--surface-3); color: var(--text); }

/* dashboard objectives (roadmap view) */
.obj-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.obj-row:last-child { border-bottom: none; }
.obj-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--muted); }
.obj-ic svg { width: 17px; height: 17px; }
.obj-ic.done { background: rgba(158,243,209,0.12); color: var(--green); }
.obj-ic.active { background: rgba(90,168,255,0.12); color: var(--blue); }
.obj-main { flex: 1; min-width: 0; }
.obj-name { font-size: 14px; font-weight: 600; }
.obj-bar { height: 5px; border-radius: 100px; background: var(--surface-3); overflow: hidden; margin: 7px 0 6px; }
.obj-bar span { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.obj-meta { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); }
.obj-pct { font-family: var(--font-mono); font-size: 14px; font-weight: 600; flex: none; }

/* ============ DASHBOARD ============ */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.kpi .k-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.kpi .k-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.kpi .k-ic svg { width: 17px; height: 17px; }
.kpi .k-ic.blue { background: rgba(90,168,255,0.1); color: var(--blue); }
.kpi .k-ic.green { background: rgba(158,243,209,0.1); color: var(--green); }
.kpi .k-ic.amber { background: rgba(245,196,108,0.1); color: var(--amber); }
.kpi .k-ic.violet { background: rgba(150,130,255,0.12); color: #a99bff; }
.kpi .k-delta { font-family: var(--font-mono); font-size: 11.5px; padding: 2px 7px; border-radius: 100px; }
.kpi .k-delta.up { background: rgba(158,243,209,0.1); color: var(--green); }
.kpi .k-delta.down { background: rgba(255,107,107,0.1); color: var(--red); }
.kpi .k-val { font-family: var(--font-mono); font-size: 27px; font-weight: 600; letter-spacing: -0.02em; }
.kpi .k-lbl { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.dash-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; margin-bottom: 22px; }

/* chart */
.chart-card { padding: 20px; }
.chart-ctrl { display: flex; align-items: center; gap: 12px; }
.chart-period { font-size: 13px; color: var(--muted); }
.chart-toggle { display: flex; gap: 2px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 2px; }
.chart-toggle button { width: 30px; height: 26px; border-radius: 6px; border: none; background: none; color: var(--muted); display: grid; place-items: center; transition: background .15s, color .15s; }
.chart-toggle button svg { width: 15px; height: 15px; }
.chart-toggle button.active { background: var(--surface-3); color: var(--text); }
.chart-area { display: flex; gap: 12px; margin-top: 18px; }
.chart-figs { display: flex; gap: 28px; margin-top: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.chart-figs .cf-v { font-family: var(--font-mono); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.chart-figs .cf-l { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.chart-figs .cf-delta { font-size: 11px; font-weight: 500; margin-left: 4px; }
.chart-figs .cf-delta.up { color: var(--green); }
.chart-figs .cf-delta.down { color: var(--red); }
.chart-yaxis { display: flex; flex-direction: column; justify-content: space-between; height: 200px; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); text-align: right; flex: none; padding-bottom: 18px; }
.chart-plot { flex: 1; min-width: 0; }
.chart-plot .chart { margin-top: 0; }
.chart-plot svg { display: block; }
.chart-xlabels { display: flex; justify-content: space-between; margin-top: 7px; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.chart { display: flex; align-items: flex-end; gap: 9px; height: 200px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.chart .bar { width: 100%; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--blue), rgba(90,168,255,0.25)); transition: height .6s cubic-bezier(.2,.7,.2,1); }
.chart .col:nth-child(3n) .bar { background: linear-gradient(180deg, var(--green), rgba(158,243,209,0.2)); }
.chart .x { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }

/* tokenomics donut */
.token-legend { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.token-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.token-row .dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.token-row .t-name { color: var(--text-2); }
.token-row .t-pct { margin-left: auto; font-family: var(--font-mono); font-weight: 600; }
.token-bar { display: flex; height: 10px; border-radius: 100px; overflow: hidden; margin: 4px 0 18px; }
.token-bar span { height: 100%; }

/* activity / tasks list */
.act-list { display: flex; flex-direction: column; }
.act-item { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.act-item:last-child { border-bottom: none; }
.act-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--surface-2); }
.act-ic svg { width: 16px; height: 16px; color: var(--text-2); }
.act-main { min-width: 0; flex: 1; }
.act-title { font-size: 13.5px; font-weight: 500; }
.act-title b { font-weight: 600; }
.act-time { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); margin-top: 1px; }
.act-amt { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--green); }

/* task progress rows */
.task-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.task-row:last-child { border-bottom: none; }
.task-check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border-2); flex: none; }
.task-check.done { background: var(--green); border-color: var(--green); position: relative; }
.task-check.done::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #04121f; font-size: 12px; font-weight: 700; }
.task-info { flex: 1; min-width: 0; }
.task-name { font-size: 14px; font-weight: 500; }
.task-meta { font-size: 12px; color: var(--muted); font-family: var(--font-mono); margin-top: 2px; }
.task-reward { font-family: var(--font-mono); font-size: 13px; color: var(--amber); font-weight: 600; }
.pill { font-family: var(--font-mono); font-size: 10.5px; padding: 3px 9px; border-radius: 100px; font-weight: 500; }
.pill.progress { background: rgba(90,168,255,0.12); color: var(--blue); }
.pill.review { background: rgba(245,196,108,0.12); color: var(--amber); }
.pill.open { background: rgba(158,243,209,0.1); color: var(--green); }

/* ============ MARKETPLACE ============ */
.mk-tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 11px; width: fit-content; margin-bottom: 22px; }
.mk-tab { padding: 8px 18px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); border: none; background: none; transition: background .15s, color .15s; }
.mk-tab.active { background: var(--surface-3); color: var(--text); }

.mk-filters { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 500; transition: border-color .15s, color .15s; }
.chip.active { border-color: var(--blue); color: var(--blue); background: rgba(90,168,255,0.06); }
.chip:hover { color: var(--text); }

.mk-filters { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.mk-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.view-toggle { margin-left: auto; display: flex; gap: 3px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.vt-btn { width: 34px; height: 30px; border-radius: 7px; border: none; background: none; color: var(--muted); display: grid; place-items: center; transition: background .15s, color .15s; }
.vt-btn svg { width: 16px; height: 16px; }
.vt-btn:hover { color: var(--text-2); }
.vt-btn.active { background: var(--surface-3); color: var(--text); }

/* list view */
.sc-grid.list { grid-template-columns: 1fr; gap: 10px; }
.sc-grid.list .sc-card { display: flex; align-items: center; gap: 22px; padding: 14px 18px; }
.sc-grid.list .sc-card:hover { transform: none; }
.sc-grid.list .sc-head { margin-bottom: 0; flex: 0 0 210px; }
.sc-grid.list .sc-desc { margin: 0; min-height: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.sc-grid.list .sc-status { flex: none; order: 0; }
.sc-grid.list .sc-stats { border-top: none; padding-top: 0; flex: none; }
@media (max-width: 900px) {
  .sc-grid.list .sc-desc { display: none; }
  .sc-grid.list .sc-head { flex-basis: auto; }
}

.sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: border-color .2s, transform .2s; }
.sc-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.sc-card .sc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sc-card .sc-av { width: 44px; height: 44px; border-radius: 11px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #04121f; }
.sc-card .sc-nm { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.sc-card .sc-sec { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.sc-card .sc-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; margin-bottom: 16px; min-height: 38px; }
.sc-card .sc-stats, .scd-content .sc-stats { display: flex; gap: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.sc-card .sc-stat .v, .scd-content .sc-stat .v { font-family: var(--font-mono); font-size: 15px; font-weight: 600; }
.sc-card .sc-stat .l, .scd-content .sc-stat .l { font-size: 11px; color: var(--muted); margin-top: 1px; }
.sc-card .sc-status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; padding: 3px 9px; border-radius: 100px; margin-bottom: 16px; }
.sc-grid.list .sc-status { margin-bottom: 0; }
.sc-card .sc-status.raising { background: rgba(158,243,209,0.1); color: var(--green); }
.sc-card .sc-status.live { background: rgba(90,168,255,0.1); color: var(--blue); }
.sc-status .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* task list marketplace */
.tk-list { display: flex; flex-direction: column; gap: 12px; }
.tk-card { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: border-color .2s; }
.tk-card:hover { border-color: var(--border-2); }
.tk-av { width: 42px; height: 42px; border-radius: 10px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #04121f; }
.tk-body { flex: 1; min-width: 0; }
.tk-title { font-size: 15px; font-weight: 600; font-family: var(--font-display); }
.tk-co { font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); margin-top: 2px; }
.tk-tags { display: flex; gap: 7px; margin-top: 9px; flex-wrap: wrap; }
.tk-tag { font-size: 11px; padding: 3px 9px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); font-family: var(--font-mono); }
.tk-right { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.tk-reward { font-family: var(--font-mono); font-size: 18px; font-weight: 600; color: var(--amber); }
.tk-reward span { font-size: 11px; color: var(--muted); display: block; text-align: right; }

/* ============ CRIAR SC (WIZARD) ============ */
.wizard { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.wz-steps { display: flex; gap: 0; margin-bottom: 28px; }
.wz-step { display: flex; align-items: center; gap: 11px; flex: 1; }
.wz-step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; font-weight: 600; border: 1px solid var(--border-2); color: var(--muted); flex: none; transition: all .2s; }
.wz-step .t { font-size: 13px; color: var(--muted); font-weight: 500; }
.wz-step .line { flex: 1; height: 1px; background: var(--border-2); margin: 0 12px; }
.wz-step.active .n { background: var(--blue); border-color: var(--blue); color: #04121f; }
.wz-step.active .t { color: var(--text); }
.wz-step.done .n { background: rgba(158,243,209,0.15); border-color: var(--green); color: var(--green); }
.wz-step.done .t { color: var(--text-2); }

.wz-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.wz-panel h3 { font-size: 18px; margin-bottom: 5px; }
.wz-panel .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; font-family: var(--font-mono); }
.input, .textarea, .select {
  width: 100%; background: var(--bg); border: 1px solid var(--border-2); border-radius: 10px;
  padding: 11px 14px; color: var(--text); font-family: inherit; font-size: 14px; outline: none;
  transition: border-color .15s;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--blue); }
.textarea { resize: vertical; min-height: 84px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sector { padding: 14px; border: 1px solid var(--border-2); border-radius: 11px; background: var(--bg); text-align: center; transition: all .15s; }
.sector:hover { border-color: rgba(255,255,255,0.25); }
.sector.active { border-color: var(--blue); background: rgba(90,168,255,0.07); }
.sector .si { font-size: 20px; margin-bottom: 7px; }
.sector .sn { font-size: 12.5px; font-weight: 600; }

/* ============ PERFIL / ÁREA DE UTILIZADOR ============ */
.prof-header { overflow: hidden; margin-bottom: 22px; }
.prof-banner { height: 120px; background: linear-gradient(120deg, rgba(90,168,255,0.35), rgba(158,243,209,0.25) 50%, rgba(150,130,255,0.3)); }
.prof-id { display: flex; align-items: flex-end; gap: 18px; padding: 0 24px 22px; margin-top: -36px; }
.prof-ava { width: 84px; height: 84px; border-radius: 20px; border: 4px solid var(--surface); flex: none; background: linear-gradient(135deg, #6b54ff, var(--blue)); }
.prof-meta { flex: 1; min-width: 0; padding-bottom: 2px; }
.prof-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.prof-handle { font-size: 13px; color: var(--muted); font-family: var(--font-mono); margin-top: 2px; }
.prof-roles { display: flex; gap: 8px; margin-top: 11px; flex-wrap: wrap; }
.role-tag { font-family: var(--font-mono); font-size: 11px; padding: 4px 11px; border-radius: 100px; font-weight: 500; }
.role-tag.founder { background: rgba(90,168,255,0.12); color: var(--blue); }
.role-tag.contrib { background: rgba(158,243,209,0.1); color: var(--green); }
.role-tag.inv { background: rgba(245,196,108,0.12); color: var(--amber); }
.prof-actions { display: flex; gap: 10px; flex: none; padding-bottom: 2px; }

.hold-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.hold-row:last-child { border-bottom: none; }
.hold-av { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #04121f; font-size: 15px; }
.hold-info { flex: 1; min-width: 0; }
.hold-name { font-size: 14px; font-weight: 600; }
.hold-sub { font-size: 12px; color: var(--muted); font-family: var(--font-mono); margin-top: 1px; }
.hold-amt { text-align: right; flex: none; }
.hold-amt .ha-v { font-family: var(--font-mono); font-size: 14px; font-weight: 600; }
.hold-amt .ha-usd { font-size: 12px; color: var(--muted); font-family: var(--font-mono); margin-top: 1px; }

.rep-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.rep-row .rep-l { color: var(--text-2); }
.rep-row .rep-v { font-family: var(--font-mono); font-weight: 600; }
.rep-bar { height: 7px; border-radius: 100px; background: var(--surface-2); overflow: hidden; margin-bottom: 16px; }
.rep-bar span { display: block; height: 100%; border-radius: 100px; }

/* ============ EXECUÇÃO · Project → Mission → Task → Evidence → Reward ============ */
/* breadcrumb / project context */
.exec-ctx { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.exec-proj { display: flex; align-items: center; gap: 13px; }
.exec-proj-av { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #04121f; background: linear-gradient(135deg, var(--blue), var(--green)); }
.exec-proj-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.exec-proj-meta { font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); margin-top: 2px; }
.exec-state { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; padding: 4px 11px; border-radius: 100px; background: rgba(90,168,255,0.1); color: var(--blue); }
.exec-state .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.exec-ctx-spacer { flex: 1; }
.exec-ctx-stat { text-align: right; }
.exec-ctx-stat .v { font-family: var(--font-mono); font-size: 16px; font-weight: 600; }
.exec-ctx-stat .l { font-size: 11px; color: var(--muted); }

/* flow legend chain */
.exec-chain { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.exec-chain .ec-node { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.exec-chain .ec-node .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.exec-chain .ec-arrow { color: var(--muted); font-size: 13px; }
.exec-chain .ec-hint { margin-left: auto; font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); }

/* missions */
.mission-rail { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; margin-bottom: 20px; align-items: stretch; }
.mission-pill { text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 13px; transition: border-color .15s, background .15s; cursor: pointer; height: 97px; min-height: 97px; max-height: 97px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; box-sizing: border-box; }
.mission-pill:hover { border-color: var(--border-2); }
.mission-pill.active { border-color: var(--blue); background: rgba(90,168,255,0.06); }
.mission-pill .mp-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex: none; }
.mission-pill .mp-name { font-family: var(--font-display); font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mission-pill .mp-tag { font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; flex: none; }
.mission-pill .mp-bar { height: 5px; border-radius: 100px; background: var(--surface-3); overflow: hidden; flex: none; }
.mission-pill .mp-bar span { display: block; height: 100%; border-radius: 100px; background: var(--blue); }
.mission-pill.active .mp-bar span { background: var(--blue); }
.mission-pill .mp-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-family: var(--font-mono); flex: none; white-space: nowrap; overflow: hidden; }

/* kanban board */
.exec-board { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; align-items: start; }
.exec-col { min-width: 0; display: flex; flex-direction: column; }
.exec-col-head { display: flex; align-items: center; gap: 8px; padding: 0 4px 12px; flex: none; }
.exec-col-head .ch-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.exec-col-head .ch-name { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }
.exec-col-head .ch-count { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted); background: var(--surface-2); padding: 1px 8px; border-radius: 100px; }
.exec-col-add { background: none; border: none; color: var(--muted); font-size: 16px; cursor: pointer; padding: 0 2px; line-height: 1; transition: color .15s; margin-left: 6px; }
.exec-col-add:hover { color: var(--blue); }
.mission-pill--add { border-style: dashed; }
.mission-pill--add .mp-name { color: var(--blue); }
.mission-pill--add .mp-tag { color: var(--blue); }
.exec-col-body { display: flex; flex-direction: column; gap: 10px; min-height: 60px; }

/* state colors */
.st-todo   { color: var(--muted); }   .st-todo-bg { background: var(--muted); }
.st-prog   { color: var(--blue); }    .st-prog-bg { background: var(--blue); }
.st-review { color: var(--amber); }   .st-review-bg { background: var(--amber); }
.st-valid  { color: #a99bff; }        .st-valid-bg { background: #a99bff; }
.st-done   { color: var(--green); }   .st-done-bg { background: var(--green); }

/* task card */
.exec-card { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 13px; cursor: grab; transition: border-color .15s, transform .15s, background .15s; border-left: 3px solid var(--border-2); height: 97px; min-height: 97px; max-height: 97px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; box-sizing: border-box; }
.exec-card:active { cursor: grabbing; }
.exec-col-body.drag-over { background: rgba(90,168,255,0.06); border-radius: 11px; outline: 2px dashed var(--blue); outline-offset: -2px; }
.exec-card:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-2px); }
.exec-card.todo-l { border-left-color: var(--muted); }
.exec-card.prog-l { border-left-color: var(--blue); }
.exec-card.review-l { border-left-color: var(--amber); }
.exec-card.valid-l { border-left-color: #a99bff; }
.exec-card.done-l { border-left-color: var(--green); }
.exec-card .tc-id { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .06em; flex: none; }
.exec-card .tc-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; margin: 5px 0; font-family: var(--font-display); flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.exec-card .tc-foot { display: flex; align-items: center; gap: 8px; flex: none; }
.exec-card .tc-av { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.exec-card .tc-reward { margin-left: auto; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--amber); }
.exec-card .tc-flag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10px; padding: 2px 7px; border-radius: 100px; }
.exec-card .tc-flag.ev { background: rgba(150,130,255,0.12); color: #a99bff; }

/* ============ TASK DRAWER ============ */
.drawer-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.task-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 480px; max-width: 94vw; z-index: 91; background: var(--surface); border-left: 1px solid var(--border-2); transform: translateX(100%); transition: transform .3s cubic-bezier(.3,.7,.3,1); display: flex; flex-direction: column; box-shadow: -30px 0 80px -20px rgba(0,0,0,0.7); }
.task-drawer.open { transform: none; }
.dr-head { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.dr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.dr-crumb { font-family: var(--font-mono); font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dr-crumb .sep { opacity: .5; }
.dr-close { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border-2); background: none; color: var(--text-2); font-size: 17px; display: grid; place-items: center; flex: none; transition: border-color .15s, color .15s; }
.dr-close:hover { border-color: rgba(255,255,255,0.28); color: var(--text); }
.dr-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 14px 0 12px; line-height: 1.2; }
.dr-pills { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dr-state { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; padding: 4px 11px; border-radius: 100px; }
.dr-state .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dr-reward-pill { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--amber); margin-left: auto; }

.dr-body { flex: 1; overflow-y: auto; padding: 22px 24px; }

/* ── Evidence submit box ── */
.ev-submit-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; padding: 14px; margin-top: 12px; }
.ev-submit-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.ev-type-row { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.ev-type-btn { background: var(--surface-3); border: 1px solid var(--border); border-radius: 7px; padding: 5px 12px; font-size: 12px; color: var(--text-2); cursor: pointer; transition: border-color .15s, color .15s; }
.ev-type-btn.active { border-color: #a99bff; color: #a99bff; background: rgba(169,155,255,0.1); }
.ev-type-btn:hover { border-color: var(--border-2); }

/* ── Drawer action footer ── */
.dr-actions-footer { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--border); padding: 14px 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.btn-action-primary { flex: 1; background: var(--blue); color: #04121f; border: none; border-radius: 9px; padding: 10px 16px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s; }
.btn-action-primary:hover { background: #76b8ff; }
.btn-action-success { flex: 1; background: var(--green); color: #04121f; border: none; border-radius: 9px; padding: 10px 16px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s; }
.btn-action-success:hover { filter: brightness(1.1); }
.btn-action-danger { background: rgba(255,107,107,0.12); color: var(--red); border: 1px solid rgba(255,107,107,0.25); border-radius: 9px; padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s; }
.btn-action-danger:hover { background: rgba(255,107,107,0.2); }
.btn-action-ghost { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); border-radius: 9px; padding: 10px 14px; font-size: 13px; cursor: pointer; transition: background .15s; }
.btn-action-ghost:hover { background: var(--surface-3); }
.dr-status-popup { position: absolute; bottom: 60px; right: 24px; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 10px; overflow: hidden; z-index: 10; min-width: 160px; }
.dr-status-popup button { display: block; width: 100%; text-align: left; padding: 10px 16px; font-size: 13px; background: none; border: none; color: var(--text-1); cursor: pointer; }
.dr-status-popup button:hover { background: var(--surface-3); }
.dr-section { margin-bottom: 24px; }
.dr-sec-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.dr-sec-label .ix { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; color: #04121f; flex: none; }
.dr-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }

.dr-assignee { display: flex; align-items: center; gap: 11px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 11px; }
.dr-assignee .av { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.dr-assignee .nm { font-size: 13.5px; font-weight: 600; }
.dr-assignee .rl { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); }

/* acceptance criteria */
.crit { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 13px; color: var(--text-2); }
.crit .cbox { width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid var(--border-2); flex: none; margin-top: 1px; }
.crit.done .cbox { background: var(--green); border-color: var(--green); position: relative; }
.crit.done .cbox::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #04121f; font-size: 11px; font-weight: 700; }
.crit.done { color: var(--text); }

/* evidence */
.ev-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 11px; margin-bottom: 10px; }
.ev-ic { width: 36px; height: 36px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.ev-ic svg { width: 17px; height: 17px; }
.ev-main { flex: 1; min-width: 0; }
.ev-name { font-size: 13px; font-weight: 600; }
.ev-meta { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); margin-top: 2px; }
.ev-open { font-size: 12px; color: var(--blue); font-weight: 500; flex: none; }

/* validation box */
.valid-box { border: 1px solid rgba(150,130,255,0.3); background: rgba(150,130,255,0.05); border-radius: 12px; padding: 16px; }
.valid-box.approved { border-color: rgba(158,243,209,0.35); background: rgba(158,243,209,0.05); }
.valid-validator { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.valid-validator .av { width: 30px; height: 30px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #a99bff, var(--blue)); }
.valid-validator .vt { font-size: 12.5px; }
.valid-validator .vt b { font-weight: 600; }
.valid-validator .vt span { color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.valid-actions { display: flex; gap: 10px; margin-top: 4px; }
.valid-actions .btn { flex: 1; }
.btn-approve { background: var(--green); color: #04121f; border-color: var(--green); }
.btn-approve:hover { background: #b5f7dd; }
.btn-reject { background: transparent; color: var(--red); border-color: rgba(255,107,107,0.4); }
.btn-reject:hover { background: rgba(255,107,107,0.08); }
.valid-stamp { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--green); }
.valid-stamp .ck { width: 26px; height: 26px; border-radius: 50%; background: rgba(158,243,209,0.15); display: grid; place-items: center; flex: none; }

/* reward */
.reward-box { border: 1px solid var(--border); border-radius: 12px; padding: 18px; background: linear-gradient(180deg, rgba(245,196,108,0.05), transparent); position: relative; overflow: hidden; }
.reward-box.released { border-color: rgba(158,243,209,0.3); }
.reward-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.reward-row:last-child { margin-bottom: 0; }
.reward-row .rl { font-size: 12.5px; color: var(--muted); }
.reward-row .rv { font-family: var(--font-mono); font-weight: 600; font-size: 15px; }
.reward-row .rv.token { color: var(--amber); }
.reward-row .rv.rep { color: var(--green); }
.reward-locked { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); }

/* ============ EDITAR PERFIL ============ */
.edit-wrap { max-width: 1220px; }
.edit-back { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); font-weight: 500; margin-bottom: 20px; cursor: pointer; transition: color .15s; }
.edit-back svg { width: 16px; height: 16px; }
.edit-back:hover { color: var(--text); }
.edit-grid { display: grid; grid-template-columns: 184px 1fr 320px; gap: 20px; align-items: start; }
.edit-nav { display: flex; flex-direction: column; gap: 3px; position: sticky; top: 90px; }
.en-item { display: flex; align-items: center; text-align: left; padding: 10px 13px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--muted); background: none; border: none; cursor: pointer; font-family: inherit; transition: background .15s, color .15s, box-shadow .15s; }
.en-item:hover { color: var(--text); background: var(--surface-2); }
.en-item.active { color: var(--text); background: var(--surface-2); box-shadow: inset 2px 0 0 var(--blue); }
.edit-form { display: flex; flex-direction: column; gap: 16px; }
.edit-sec-title { font-size: 16px; margin-bottom: 4px; }
.edit-sec-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

.avatar-edit { display: flex; align-items: center; gap: 16px; }
.ae-preview { width: 64px; height: 64px; border-radius: 16px; flex: none; background: linear-gradient(135deg, #6b54ff, var(--blue)); }

.role-toggles { display: flex; gap: 10px; flex-wrap: wrap; }
.role-toggle { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--border-2); background: var(--bg); color: var(--text-2); font-family: var(--font-body); font-size: 13.5px; font-weight: 600; transition: all .15s; }
.role-toggle:hover { border-color: rgba(255,255,255,0.28); }
.role-toggle.active { border-color: var(--blue); background: rgba(90,168,255,0.08); color: var(--blue); }

/* toggle switch */
.sw { width: 44px; height: 25px; border-radius: 100px; background: var(--surface-3); position: relative; flex: none; border: none; cursor: pointer; transition: background .15s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--text-2); transition: transform .18s, background .15s; }
.sw.on { background: var(--blue); }
.sw.on::after { transform: translateX(19px); background: #04121f; }

/* anonymous toggle */
.anon-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--bg); }
.anon-t { font-size: 13.5px; font-weight: 600; }
.anon-s { font-size: 12px; color: var(--muted); margin-top: 3px; max-width: 90%; }

/* dynamic earned roles */
.role-earned { display: flex; flex-direction: column; gap: 10px; }
.re-row { display: flex; align-items: center; gap: 13px; padding: 13px 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--bg); }
.re-row.locked { opacity: .5; }
.re-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.re-ic svg { width: 18px; height: 18px; }
.re-main { flex: 1; min-width: 0; }
.re-name { font-size: 14px; font-weight: 600; }
.re-how { font-size: 12px; color: var(--muted); margin-top: 2px; font-family: var(--font-mono); }
.re-badge { font-family: var(--font-mono); font-size: 10.5px; padding: 3px 9px; border-radius: 100px; flex: none; }
.re-badge.on { background: rgba(158,243,209,0.12); color: var(--green); }
.re-badge.off { background: var(--surface-2); color: var(--muted); }

/* notifications */
.notif-list { display: flex; flex-direction: column; }
.notif-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.notif-row:last-child { border-bottom: none; }
.notif-main { flex: 1; min-width: 0; }
.notif-t { font-size: 13.5px; font-weight: 600; }
.notif-s { font-size: 12px; color: var(--muted); margin-top: 2px; }

.skills-edit { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.skill-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 13px; font-weight: 500; }
.skill-chip .sk-x { border: none; background: none; color: var(--muted); font-size: 15px; line-height: 1; padding: 0; transition: color .15s; }
.skill-chip .sk-x:hover { color: var(--red); }
.skill-add { display: flex; gap: 10px; }
.skill-input-wrap { position: relative; flex: 1; }
.skill-input-wrap .input { width: 100%; }
.skill-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 11px; padding: 5px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7); display: none; max-height: 240px; overflow-y: auto; }
.skill-suggest.open { display: block; }
.skill-suggest-item { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; cursor: pointer; font-size: 13.5px; color: var(--text-2); }
.skill-suggest-item:hover, .skill-suggest-item.active { background: rgba(90,168,255,0.1); color: var(--text); }
.skill-suggest-item .ssi-ic { width: 24px; height: 24px; border-radius: 6px; background: var(--surface-3); display: grid; place-items: center; flex: none; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--blue); }
.skill-suggest-item .ssi-add { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--blue); }
.skill-suggest-empty { padding: 12px; font-size: 13px; color: var(--muted); text-align: center; }

.skill-pop { margin-top: 16px; }
.skill-pop-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.skill-pop-list { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-pop-list .pop-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 100px; border: 1px dashed var(--border-2); background: none; color: var(--text-2); font-size: 12.5px; font-weight: 500; transition: border-color .15s, color .15s, background .15s; }
.skill-pop-list .pop-chip:hover { border-color: var(--blue); color: var(--blue); border-style: solid; background: rgba(90,168,255,0.05); }
.skill-pop-list .pop-chip.used { opacity: .4; pointer-events: none; }
.skill-pop-list .pop-chip::before { content: "+"; font-size: 14px; line-height: 1; color: inherit; }

.edit-foot { display: flex; justify-content: flex-end; gap: 10px; padding-top: 4px; }
.edit-preview { position: sticky; top: 90px; }

/* editar empresa — improved public card preview */
.ec-card { position: relative; background: var(--surface); border: 1px solid var(--border-2); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px -28px rgba(0,0,0,0.6); }
.ec-banner { position: relative; height: 92px; background: linear-gradient(120deg, #1b3a63, #1d5a48 60%, #3a2f63); overflow: hidden; }
.ec-banner-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000, transparent 75%); }
.ec-status { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; padding: 4px 10px; border-radius: 100px; background: rgba(6,7,8,0.5); backdrop-filter: blur(6px); color: var(--green); border: 1px solid rgba(158,243,209,0.25); }
.ec-status .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ec-logo { position: absolute; top: 62px; left: 20px; z-index: 2; width: 60px; height: 60px; border-radius: 16px; border: 3px solid var(--surface); background: linear-gradient(135deg, var(--blue), var(--green)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #04121f; }
.ec-body { padding: 36px 20px 20px; }
.ec-title-row { display: flex; align-items: center; gap: 8px; }
.ec-title-row .prev-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.ec-verified { color: var(--blue); display: grid; place-items: center; }
.ec-verified svg { width: 18px; height: 18px; }
.ec-sub { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.ec-sub .ec-dot { opacity: .5; }
.ec-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; margin: 14px 0 16px; }
.ec-tok { margin-bottom: 16px; }
.ec-tok-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.ec-stats { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ec-stat .v { font-family: var(--font-mono); font-size: 15px; font-weight: 600; }
.ec-stat .l { font-size: 11px; color: var(--muted); margin-top: 1px; }
.ec-cta { width: 100%; margin-top: 16px; padding: 11px; border-radius: 11px; border: 1px solid var(--border-2); background: none; color: var(--text); font-family: var(--font-body); font-size: 13.5px; font-weight: 600; transition: border-color .15s, background .15s; }
.ec-cta:hover { border-color: var(--blue); color: var(--blue); background: rgba(90,168,255,0.05); }

@media (max-width: 1080px) { .edit-grid { grid-template-columns: 1fr; } .edit-preview { display: none; } .edit-nav { flex-direction: row; flex-wrap: wrap; position: static; gap: 6px; } }

/* ============ TOKENOMICS MODULE ============ */
.tk-wrap { max-width: 1000px; }
.tk-header { padding: 22px 24px; margin-bottom: 18px; }
.tk-h-main { display: flex; align-items: center; gap: 16px; }
.tk-h-logo { width: 52px; height: 52px; border-radius: 14px; flex: none; background: linear-gradient(135deg, var(--blue), var(--green)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #04121f; }
.tk-h-id { flex: 1; min-width: 0; }
.tk-h-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tk-readonly { font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); padding: 3px 8px; border-radius: 100px; font-weight: 500; }
.tk-h-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.tk-save { flex: none; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; color: var(--green); transition: color .2s; }
.tk-save-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); transition: background .2s; }
.tk-save.flash { color: var(--blue); }
.tk-save.flash .tk-save-dot { background: var(--blue); }
.tk-h-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.tk-h-stat .l { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.tk-h-stat .v { font-family: var(--font-mono); font-size: 17px; font-weight: 600; margin-top: 4px; }

.tk-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.tk-tab { padding: 9px 15px; border-radius: 10px; border: 1px solid var(--border); background: none; color: var(--muted); font-family: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: all .15s; }
.tk-tab:hover { color: var(--text); border-color: var(--border-2); }
.tk-tab.active { color: var(--text); background: var(--surface-2); border-color: var(--blue); }

.tk-sec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 10px; }
.tk-budget { flex: none; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-2); background: var(--surface-2); padding: 7px 12px; border-radius: 9px; white-space: nowrap; }

/* budget meter */
.tk-budget-box { display: flex; align-items: center; gap: 20px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin: 6px 0 22px; }
.tkb-main { flex: none; text-align: center; min-width: 92px; }
.tkb-num { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.tkb-num.ok { color: var(--green); }
.tkb-num.bad { color: var(--red); }
.tkb-lbl { font-size: 11px; color: var(--muted); font-family: var(--font-mono); margin-top: 5px; }
.tkb-side { flex: 1; min-width: 0; }
.tkb-meta { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.tk-group-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 4px 0 4px; display: flex; align-items: center; gap: 9px; }
.tk-group-hint { text-transform: none; letter-spacing: 0; color: var(--muted); opacity: .8; font-size: 10.5px; }
.tk-fixed-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.tk-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }

.tk-alloc-list { display: flex; flex-direction: column; }
.tk-alloc { padding: 15px 0; border-bottom: 1px solid var(--border); }
.tk-alloc:last-child { border-bottom: none; }
.tk-a-top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.tk-a-name { font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.tk-a-rule { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.tk-a-val { margin-left: auto; font-family: var(--font-mono); font-size: 14px; color: var(--text); }
.tk-a-val b { color: var(--blue); }
.tk-a-tok { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 7px; }
.tk-a-desc { font-size: 11.5px; color: var(--text-2); line-height: 1.4; margin: -2px 0 10px 19px; }
.tk-alloc.fixed .tk-a-desc { margin: 4px 0 0 19px; }
.tk-alloc input[type=range] { width: 100%; accent-color: var(--blue); }
.tk-opt { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); padding: 2px 7px; border-radius: 100px; }
.tk-badge { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .04em; color: #a99bff; background: rgba(169,155,255,0.14); padding: 2px 7px; border-radius: 100px; }
.tk-a-cname { background: var(--bg); border: 1px solid var(--border-2); border-radius: 8px; padding: 5px 10px; color: var(--text); font-family: inherit; font-size: 13px; font-weight: 600; outline: none; max-width: 160px; }
.tk-a-cname:focus { border-color: var(--blue); }
.tk-alloc.fixed { background: var(--surface-2); border-radius: 12px; padding: 13px 14px; margin: 6px 0; border-bottom: none; }
.tk-alloc.fixed .tk-a-tok { margin-top: 4px; }
.tk-lock-ic { color: var(--muted); display: inline-grid; place-items: center; }
.tk-lock-ic svg { width: 15px; height: 15px; }

.tk-total { margin-top: 18px; }
.tk-total-bar { display: flex; height: 12px; border-radius: 100px; overflow: hidden; background: var(--surface-3); gap: 2px; }
.tk-total-bar span { display: block; height: 100%; }
.tk-total-row { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
#tk-total-val.bad { color: var(--red); }
#tk-total-val.ok { color: var(--green); }

.tk-devpool-mirror { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 15px; margin-bottom: 16px; }
.tk-devpool-note { display: flex; gap: 11px; background: rgba(90,168,255,0.06); border: 1px solid rgba(90,168,255,0.22); border-radius: 12px; padding: 13px 15px; margin-bottom: 18px; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.tk-devpool-note svg { width: 19px; height: 19px; color: var(--blue); flex: none; margin-top: 1px; }
.tk-dev-proj { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.tk-dev-proj b { color: var(--green); }

.tk-vest-head, .tk-vest-row { display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr 0.7fr; gap: 12px; align-items: center; }
.tk-vest-head { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-bottom: 11px; border-bottom: 1px solid var(--border); }
.tk-vest-row { padding: 11px 0; border-bottom: 1px solid var(--border); }
.tk-vest-row:last-child { border-bottom: none; }
.tk-vest-cat { font-size: 13px; font-weight: 600; }
.tk-mini { width: 100%; background: var(--bg); border: 1px solid var(--border-2); border-radius: 8px; padding: 7px 9px; color: var(--text); font-family: var(--font-mono); font-size: 13px; outline: none; }
.tk-mini:focus { border-color: var(--blue); }
select.tk-mini { font-family: inherit; font-size: 12.5px; }

.tk-mon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tk-mon { background: var(--surface-2); border: 1px solid var(--border); border-radius: 13px; padding: 15px; }
.tk-mon-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 11px; }
.tk-mon-top span:last-child { font-family: var(--font-mono); color: var(--blue); }
.tk-mon-bar { height: 8px; border-radius: 100px; background: var(--surface-3); overflow: hidden; }
.tk-mon-bar span { display: block; height: 100%; border-radius: 100px; width: 0; transition: width .3s; }
.tk-mon-meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 9px; }
.tk-mon-vest { margin-top: 22px; }
.tk-vest-active { display: flex; flex-direction: column; gap: 9px; }
.tk-va-row { display: flex; align-items: center; gap: 12px; font-size: 12.5px; }
.tk-va-name { flex: none; width: 160px; font-weight: 500; }
.tk-va-bar { flex: 1; height: 6px; border-radius: 100px; background: var(--surface-3); overflow: hidden; }
.tk-va-bar span { display: block; height: 100%; background: var(--blue); }
.tk-va-meta { flex: none; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
@media (max-width: 760px) { .tk-h-stats { grid-template-columns: 1fr 1fr; } .tk-mon-grid { grid-template-columns: 1fr; } .tk-vest-head { display: none; } .tk-vest-row { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* manage tiles (editar empresa) */
.manage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.manage-tile { display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 13.5px; font-weight: 600; transition: border-color .15s, background .15s, transform .15s; }
.manage-tile:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-2px); }
.manage-tile .mt-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--surface-2); }
.manage-tile .mt-ic svg { width: 17px; height: 17px; }

/* ============ CARTEIRA / WALLET ============ */
.wallet-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-bottom: 22px; }
.wallet-balance { background: linear-gradient(135deg, rgba(90,168,255,0.1), rgba(158,243,209,0.05)); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.wallet-balance .wb-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 85% 0%, rgba(90,168,255,0.18), transparent 60%); pointer-events: none; }
.wallet-balance > * { position: relative; }
.wb-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.wb-value { font-family: var(--font-mono); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.wb-change { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 13px; color: var(--green); margin-top: 12px; }
.wb-addr { display: flex; align-items: center; gap: 9px; margin-top: 18px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); }
.wb-addr .copy { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--border-2); background: none; color: var(--muted); display: grid; place-items: center; transition: border-color .15s, color .15s; }
.wb-addr .copy:hover { border-color: rgba(255,255,255,0.28); color: var(--text); }
.wb-addr .copy svg { width: 13px; height: 13px; }

.wallet-actions { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.wact { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; transition: border-color .15s, transform .15s, background .15s; text-align: left; width: 100%; }
.wact:hover { border-color: var(--border-2); transform: translateY(-2px); background: var(--surface-2); }
.wact .wa-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.wact .wa-ic svg { width: 19px; height: 19px; }
.wact .wa-ic.blue { background: rgba(90,168,255,0.1); color: var(--blue); }
.wact .wa-ic.green { background: rgba(158,243,209,0.1); color: var(--green); }
.wact .wa-ic.amber { background: rgba(245,196,108,0.1); color: var(--amber); }
.wact .wa-t { font-size: 14px; font-weight: 600; }
.wact .wa-s { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); margin-top: 1px; }

/* vesting bar on holdings */
.hold-vest { margin-top: 8px; }
.hold-vest .hv-bar { height: 5px; border-radius: 100px; background: var(--surface-3); overflow: hidden; }
.hold-vest .hv-bar span { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.hold-vest .hv-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); margin-top: 5px; }

.hold-row.detailed { align-items: flex-start; flex-direction: column; gap: 0; }
.hold-row.detailed .hr-top { display: flex; align-items: center; gap: 13px; width: 100%; }

/* transactions */
.tx-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.tx-row:last-child { border-bottom: none; }
.tx-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--surface-2); }
.tx-ic svg { width: 16px; height: 16px; }
.tx-ic.in { color: var(--green); }
.tx-ic.out { color: var(--red); }
.tx-ic.reward { color: var(--amber); }
.tx-main { flex: 1; min-width: 0; }
.tx-title { font-size: 13.5px; font-weight: 600; }
.tx-sub { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); margin-top: 1px; }
.tx-amt { font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; text-align: right; flex: none; }
.tx-amt.in { color: var(--green); }
.tx-amt.out { color: var(--text-2); }
.tx-amt .tx-usd { font-size: 11px; color: var(--muted); font-weight: 400; display: block; margin-top: 1px; }

@media (max-width: 1080px) { .wallet-hero { grid-template-columns: 1fr; } }

/* ============ RIGHT EXPANDABLE PANEL (Social + Deal Room) ============ */
/* topbar toggle button */
.tb-panel-toggle {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  border: 1px solid var(--border-2); background: var(--surface);
  color: var(--text-2); display: grid; place-items: center; position: relative;
  transition: border-color .15s, color .15s, background .15s;
}
.tb-panel-toggle svg { width: 18px; height: 18px; }
.tb-panel-toggle:hover { border-color: rgba(255,255,255,0.28); color: var(--text); }
.tb-panel-toggle.active { background: rgba(90,168,255,0.12); border-color: rgba(90,168,255,0.4); color: var(--blue); }
.tb-panel-toggle .tb-dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); border: 2px solid var(--surface); }
.tb-panel-toggle.active .tb-dot { display: none; }

/* topbar icon buttons */
.tb-icon { width: 38px; height: 38px; border-radius: 10px; flex: none; border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); display: grid; place-items: center; position: relative; transition: border-color .15s, color .15s, background .15s; }
.tb-icon svg { width: 18px; height: 18px; }
.tb-icon:hover { border-color: rgba(255,255,255,0.28); color: var(--text); }
.tb-icon.active { background: rgba(90,168,255,0.12); border-color: rgba(90,168,255,0.4); color: var(--blue); }
.tb-icon .tb-dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); border: 2px solid var(--surface); }

/* notifications dropdown */
.notif-pop { position: fixed; top: 60px; right: 96px; width: 340px; max-width: calc(100vw - 32px); z-index: 60; background: var(--surface); border: 1px solid var(--border-2); border-radius: 14px; box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7); overflow: hidden; display: none; }
.notif-pop.open { display: block; animation: fade .2s ease; }
.notif-pop-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.notif-pop-head .nh-t { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.notif-pop-head .nh-clear { font-size: 12px; color: var(--blue); background: none; border: none; }
.notif-pop-list { max-height: 360px; overflow-y: auto; }
.np-item { display: flex; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.np-item:last-child { border-bottom: none; }
.np-item.unread { background: rgba(90,168,255,0.04); }
.np-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.np-ic svg { width: 16px; height: 16px; }
.np-main { flex: 1; min-width: 0; }
.np-txt { font-size: 13px; line-height: 1.45; color: var(--text-2); }
.np-txt b { color: var(--text); font-weight: 600; }
.np-time { font-size: 11px; color: var(--muted); font-family: var(--font-mono); margin-top: 3px; }
.np-foot { padding: 12px 16px; text-align: center; border-top: 1px solid var(--border); }
.np-foot a { font-size: 12.5px; color: var(--blue); font-weight: 500; }

.right-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: 374px; max-width: 100vw; z-index: 44;
  background: var(--surface); border-left: 1px solid var(--border);
  transform: translateX(110%); transition: transform .3s cubic-bezier(.3,.7,.3,1);
  display: flex; flex-direction: column;
  box-shadow: -30px 0 80px -28px rgba(0,0,0,0.7);
}
.right-panel.open { transform: none; }

.rp-head { padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rp-tabs { display: flex; gap: 4px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.rp-tabbtn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 8px; border: none; background: none; color: var(--muted); font-family: var(--font-body); font-size: 13px; font-weight: 600; transition: background .15s, color .15s; }
.rp-tabbtn svg { width: 15px; height: 15px; }
.rp-tabbtn:hover { color: var(--text-2); }
.rp-tabbtn.active { background: var(--surface-3); color: var(--text); }
.rp-collapse { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border-2); background: none; color: var(--text-2); display: grid; place-items: center; flex: none; transition: border-color .15s, color .15s; }
.rp-collapse:hover { border-color: rgba(255,255,255,0.28); color: var(--text); }
.rp-collapse svg { width: 15px; height: 15px; }

.rp-body { flex: 1; overflow-y: auto; }
.rp-tab { display: none; }
.rp-tab.active { display: block; }

/* Slack-style chat channel */
#panel-dealroom.active { display: flex; flex-direction: column; height: 100%; }
.chat-channels { display: flex; gap: 6px; padding: 12px 16px; overflow-x: auto; border-bottom: 1px solid var(--border); flex: none; }
.chat-channels .chx { flex: none; padding: 6px 12px; border-radius: 8px; border: none; background: var(--bg); color: var(--text-2); font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; transition: background .15s, color .15s; position: relative; }
.chat-channels .chx:hover { color: var(--text); }
.chat-channels .chx.active { background: rgba(90,168,255,0.12); color: var(--blue); }
.chat-channels .chx-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-left: 4px; vertical-align: middle; }
.chat-stream { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.chat-day { display: flex; align-items: center; gap: 12px; color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.chat-day::before, .chat-day::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.msg { display: flex; gap: 11px; }
.msg-av { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #04121f; }
.msg-body { flex: 1; min-width: 0; }
.msg-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.msg-head b { font-size: 13.5px; font-weight: 600; }
.msg-time { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.msg-txt { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.msg-reacts { display: flex; gap: 6px; margin-top: 7px; }
.msg-reacts .rx { font-size: 11.5px; padding: 2px 8px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); }
.msg-card { display: flex; align-items: center; gap: 11px; margin-top: 9px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; }
.msg-card .mc-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; color: var(--text-2); flex: none; }
.msg-card .mc-ic svg { width: 15px; height: 15px; }
.msg-card .mc-t { font-size: 12.5px; font-weight: 600; }
.msg-card .mc-s { font-size: 11px; color: var(--muted); font-family: var(--font-mono); margin-top: 1px; }
.chat-composer { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); flex: none; }
.chat-composer input { flex: 1; background: var(--bg); border: 1px solid var(--border-2); border-radius: 10px; padding: 10px 14px; color: var(--text); font-family: var(--font-body); font-size: 13.5px; outline: none; transition: border-color .15s; }
.chat-composer input:focus { border-color: var(--blue); }
.chat-composer input::placeholder { color: var(--muted); }
.chat-send { width: 40px; flex: none; border: none; border-radius: 10px; background: var(--blue); color: #04121f; display: grid; place-items: center; transition: background .15s; }
.chat-send svg { width: 17px; height: 17px; }
.chat-send:hover { background: #76b8ff; }

/* right panel — bottom menu */
.rp-foot { display: flex; align-items: stretch; border-top: 1px solid var(--border); background: var(--surface); flex: none; }
.rpf-btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 11px; border: none; background: none; color: var(--muted); position: relative; transition: color .15s; }
.rpf-btn svg { width: 21px; height: 21px; }
.rpf-btn span:last-child { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .03em; }
.rpf-btn:hover { color: var(--text-2); }
.rpf-btn.active { color: var(--blue); }
.rpf-btn .rpf-dot { position: absolute; top: 8px; right: calc(50% - 14px); width: 7px; height: 7px; border-radius: 50%; background: var(--green); border: 2px solid var(--surface); }
.rpf-create svg { background: var(--blue); color: #04121f; border-radius: 9px; padding: 3px; box-sizing: content-box; width: 17px; height: 17px; }
.rpf-create.active, .rpf-create { color: var(--text-2); }
.rpf-create:hover { color: var(--text); }

/* ---- Social: stories ---- */
.stories { display: flex; gap: 13px; padding: 16px 20px; overflow-x: auto; border-bottom: 1px solid var(--border); }
.story { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 58px; }
.story .ring { width: 50px; height: 50px; border-radius: 15px; padding: 2px; background: linear-gradient(135deg, var(--blue), var(--green)); }
.story.seen .ring { background: var(--border-2); }
.story .ring .av { width: 100%; height: 100%; border-radius: 13px; border: 2px solid var(--surface); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #04121f; }
.story.add .ring { background: var(--border-2); }
.story.add .av { background: var(--surface-2) !important; color: var(--blue) !important; font-size: 20px; }
.story .nm { font-size: 10.5px; color: var(--text-2); max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Social: composer ---- */
.composer { display: flex; gap: 10px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.composer .av { width: 32px; height: 32px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #6b54ff, var(--blue)); }
.composer input { flex: 1; background: var(--bg); border: 1px solid var(--border-2); border-radius: 100px; padding: 9px 15px; color: var(--text); font-family: inherit; font-size: 13px; outline: none; }
.composer input::placeholder { color: var(--muted); }

/* ---- Social: feed ---- */
.feed { padding: 6px 0; }
.feed-item { padding: 15px 20px; border-bottom: 1px solid var(--border); }
.fi-head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.fi-av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #04121f; }
.fi-meta { flex: 1; min-width: 0; }
.fi-name { font-size: 13.5px; font-weight: 600; }
.fi-name .fi-handle { color: var(--muted); font-weight: 400; font-family: var(--font-mono); font-size: 11.5px; margin-left: 5px; }
.fi-time { font-size: 11px; color: var(--muted); font-family: var(--font-mono); margin-top: 1px; }
.fi-follow { font-family: var(--font-mono); font-size: 11px; color: var(--blue); border: 1px solid rgba(90,168,255,0.3); background: rgba(90,168,255,0.06); border-radius: 100px; padding: 4px 11px; flex: none; transition: background .15s; }
.fi-follow:hover { background: rgba(90,168,255,0.14); }
.fi-follow.following { color: var(--muted); border-color: var(--border-2); background: none; }
.fi-body { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.fi-body b { color: var(--text); font-weight: 600; }
.fi-event { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 10px 13px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; }
.fi-event .ev-tag { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.fi-event .ev-tag svg { width: 15px; height: 15px; }
.fi-event .ev-txt { font-size: 12.5px; }
.fi-event .ev-txt b { font-weight: 600; }
.fi-event .ev-amt { margin-left: auto; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; }
.fi-actions { display: flex; gap: 20px; margin-top: 11px; }
.fi-act { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); background: none; border: none; transition: color .15s; }
.fi-act svg { width: 15px; height: 15px; }
.fi-act:hover { color: var(--text-2); }
.fi-act.liked { color: var(--red); }

/* ---- Deal Room ---- */
.dr-summary { display: flex; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.dr-sum-card { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; }
.dr-sum-card .v { font-family: var(--font-mono); font-size: 17px; font-weight: 600; }
.dr-sum-card .l { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.dealroom { padding: 14px 20px; display: flex; flex-direction: column; gap: 14px; }
.deal { background: var(--bg); border: 1px solid var(--border); border-radius: 13px; padding: 16px; transition: border-color .18s; }
.deal:hover { border-color: var(--border-2); }
.deal-head { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.deal-av { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #04121f; }
.deal-nm { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.deal-sub { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); margin-top: 1px; }
.deal-stage { font-family: var(--font-mono); font-size: 10px; padding: 3px 9px; border-radius: 100px; background: rgba(158,243,209,0.1); color: var(--green); flex: none; }
.deal-prog { height: 7px; border-radius: 100px; background: var(--surface-3); overflow: hidden; margin-bottom: 8px; }
.deal-prog span { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.deal-meta { display: flex; justify-content: space-between; font-size: 11.5px; font-family: var(--font-mono); color: var(--muted); margin-bottom: 14px; }
.deal-meta b { color: var(--text-2); }
.deal-foot { display: flex; align-items: center; gap: 10px; }
.deal-ticket { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); }
.deal-ticket b { color: var(--text); font-size: 13px; }
.deal-foot .btn { margin-left: auto; }

/* hide panel on mobile */
@media (max-width: 760px) {
  .right-panel { width: 100vw; }
}

/* ============ SC DRAWER (company / project detail) ============ */
#sc-drawer { width: 460px; }
.sc-drawer-embed { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--surface); }
.sc-drawer-embed .scd-content { padding-bottom: 22px; }
.scd-banner { height: 110px; position: relative; }
.scd-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.2); background: rgba(6,7,8,0.4); backdrop-filter: blur(6px); color: #fff; font-size: 17px; display: grid; place-items: center; z-index: 2; transition: background .15s; }
.scd-close:hover { background: rgba(6,7,8,0.7); }
.scd-av { position: absolute; bottom: -30px; left: 24px; width: 64px; height: 64px; border-radius: 16px; border: 3px solid var(--surface); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: #04121f; z-index: 1; }
.scd-head { padding: 42px 24px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 14px; }
.scd-head-main { flex: 1; min-width: 0; }
.scd-follow { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.scd-follow.icon-only { width: 38px; height: 38px; padding: 0; gap: 0; }
.scd-follow .sf-ic { font-size: 15px; line-height: 1; }
.scd-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.scd-sub { display: flex; align-items: center; gap: 10px; margin-top: 5px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.scd-status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border-radius: 100px; }
.scd-status.live { background: rgba(90,168,255,0.1); color: var(--blue); }
.scd-status.raising { background: rgba(158,243,209,0.1); color: var(--green); }
.scd-status .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.scd-actions { display: flex; gap: 10px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.scd-actions .btn { flex: 1; }
.scd-actions .btn.icon-only { flex: 0 0 auto; width: 42px; padding: 0; }
.scd-content { padding: 22px 24px 32px; }
.scd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi-tile { background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; padding: 11px 9px; }
.kpi-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 8px; }
.kpi-ic svg { width: 14px; height: 14px; }
.kpi-ic.cap { background: rgba(245,196,108,0.14); color: var(--amber); }
.kpi-ic.tsk { background: rgba(90,168,255,0.12); color: var(--blue); }
.kpi-ic.clb { background: rgba(158,243,209,0.12); color: var(--green); }
.kpi-ic.prt { background: rgba(169,155,255,0.16); color: #a99bff; }
.kpi-v { font-family: var(--font-mono); font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.kpi-l { font-size: 10px; color: var(--muted); margin-top: 2px; }

/* drawer — participate tab */
.part-tasks { display: flex; flex-direction: column; gap: 8px; }
.part-task { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; }
.pt-info { flex: 1; min-width: 0; }
.pt-name { font-size: 13.5px; font-weight: 500; }
.pt-meta { font-size: 11px; color: var(--muted); font-family: var(--font-mono); margin-top: 3px; }
.pt-right { display: flex; align-items: center; gap: 12px; flex: none; }
.pt-reward { font-family: var(--font-mono); font-size: 12.5px; color: var(--amber); font-weight: 600; white-space: nowrap; }
.part-collab { background: rgba(169,155,255,0.06); border: 1px solid rgba(169,155,255,0.25); border-radius: 13px; padding: 16px; }
.pc-top { display: flex; gap: 12px; align-items: flex-start; }
.pc-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(169,155,255,0.16); color: #a99bff; flex: none; }
.pc-ic svg { width: 17px; height: 17px; }
.pc-title { font-size: 14px; font-weight: 600; }
.pc-sub { font-size: 12.5px; color: var(--text-2); margin-top: 3px; line-height: 1.45; }

/* drawer — expandable roadmap */
.scd-road { display: flex; flex-direction: column; }
.sr-item { position: relative; padding-left: 22px; }
.sr-item:not(:last-child)::before { content: ""; position: absolute; left: 4px; top: 14px; bottom: 0; width: 2px; background: var(--border-2); }
.sr-item.done:not(:last-child)::before { background: var(--green); }
.sr-dot { position: absolute; left: 0; top: 11px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--border-2); background: var(--surface); z-index: 1; }
.sr-item.done .sr-dot { background: var(--green); border-color: var(--green); }
.sr-item.active .sr-dot { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(90,168,255,0.2); }
.sr-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; }
.sr-t { font-size: 12.5px; color: var(--text-2); flex: 1; min-width: 0; }
.sr-item.active .sr-t, .sr-item.done .sr-t { color: var(--text); }
.sr-q { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); flex: none; }
.sr-chev { width: 14px; height: 14px; color: var(--muted); transition: transform .2s; flex: none; }
.sr-item.open .sr-chev { transform: rotate(180deg); }
.sr-detail { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.sr-item.open .sr-detail { max-height: 400px; }
.sr-detail-in { padding: 2px 0 14px; }
.rd-head { font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.rd-head.done { color: var(--green); }
.rd-head.muted { color: var(--muted); }
.rd-bar { height: 6px; border-radius: 100px; background: var(--surface-3); overflow: hidden; margin-bottom: 12px; }
.rd-bar span { display: block; height: 100%; background: var(--blue); border-radius: 100px; }
.rd-tasks { display: flex; flex-direction: column; gap: 8px; }
.rd-task { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.rd-tick { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }
.rd-tname { flex: 1; min-width: 0; color: var(--text-2); }
.rd-trew { font-family: var(--font-mono); font-size: 11px; color: var(--amber); flex: none; white-space: nowrap; }
.rd-note { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 0; }
.scd-round { border: 1px solid rgba(158,243,209,0.3); background: rgba(158,243,209,0.04); border-radius: 13px; padding: 16px; }
.scd-round-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.scd-round-top .rt-stage { font-family: var(--font-mono); font-size: 11px; padding: 3px 10px; border-radius: 100px; background: rgba(158,243,209,0.12); color: var(--green); }
.scd-round-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin: 9px 0 14px; }
.scd-round-meta b { color: var(--text-2); }
.round-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 13px; border-top: 1px solid var(--border); }
.round-metrics .rm { text-align: center; }
.round-metrics .rm-v { font-family: var(--font-mono); font-size: 14px; font-weight: 600; }
.round-metrics .rm-l { font-size: 10px; color: var(--muted); margin-top: 3px; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-mono); }
.scd-team { display: flex; align-items: center; gap: 0; }
.scd-team .av { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #04121f; font-family: var(--font-display); }
.scd-team .av:first-child { margin-left: 0; }
.scd-team .more { margin-left: 12px; font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }

/* SC drawer — technical spec list */
.spec-list { display: flex; flex-direction: column; }
.spec-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.spec-row:last-child { border-bottom: none; }
.spec-row .sp-l { font-size: 12.5px; color: var(--muted); }
.spec-row .sp-v { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); }

/* SC drawer — bottom trading bar */
.scd-trade { border-top: 1px solid var(--border-2); background: var(--surface-2); padding: 14px 24px 16px; flex: none; }
.trade-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.trade-price { font-family: var(--font-mono); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.trade-price small { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 3px; }
.trade-change { font-family: var(--font-mono); font-size: 12px; margin-left: 9px; }
.trade-change.up { color: var(--green); }
.trade-change.down { color: var(--red); }
.trade-tag { font-family: var(--font-mono); font-size: 10.5px; padding: 3px 9px; border-radius: 100px; }
.trade-tag.primary { background: rgba(90,168,255,0.1); color: var(--blue); }
.trade-tag.secondary { background: rgba(158,243,209,0.1); color: var(--green); }
.th-right { display: flex; align-items: center; gap: 8px; }
.trade-chart-btn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border-2); background: var(--bg); color: var(--muted); display: grid; place-items: center; flex: none; transition: border-color .15s, color .15s, background .15s; }
.trade-chart-btn svg { width: 15px; height: 15px; }
.trade-chart-btn:hover { color: var(--text-2); border-color: rgba(255,255,255,0.28); }
.trade-chart-btn.active { background: rgba(90,168,255,0.12); border-color: rgba(90,168,255,0.4); color: var(--blue); }
.trade-chart { display: none; margin-bottom: 12px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 11px; }
.trade-chart.open { display: block; animation: fade .25s ease; }
.tc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tc-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tc-right { display: flex; align-items: center; gap: 10px; }
.tc-val { font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.tc-toggle { display: flex; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 2px; }
.tc-toggle button { width: 26px; height: 22px; border-radius: 5px; border: none; background: none; color: var(--muted); display: grid; place-items: center; transition: background .15s, color .15s; }
.tc-toggle button svg { width: 14px; height: 14px; }
.tc-toggle button.active { background: var(--surface-3); color: var(--text); }
.tc-plot { width: 100%; }
.tc-times { display: flex; gap: 4px; margin-top: 8px; }
.tc-times button { flex: 1; padding: 5px 0; border-radius: 6px; border: none; background: var(--surface); color: var(--muted); font-family: var(--font-mono); font-size: 11px; font-weight: 500; transition: background .15s, color .15s; }
.tc-times button:hover { color: var(--text-2); }
.tc-times button.active { background: var(--blue); color: #04121f; }
.tc-axis { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: var(--muted); margin-top: 6px; }
.trade-toggle { display: flex; gap: 3px; background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 3px; flex: none; }
.trade-toggle button { padding: 6px 16px; border-radius: 7px; font-family: var(--font-body); font-size: 13px; font-weight: 600; border: none; background: none; color: var(--muted); transition: background .15s, color .15s; }
.trade-toggle button.active[data-side="buy"] { background: rgba(158,243,209,0.14); color: var(--green); }
.trade-toggle button.active[data-side="sell"] { background: rgba(255,107,107,0.14); color: var(--red); }
.trade-row { display: flex; gap: 10px; }
.trade-amount { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--border-2); border-radius: 10px; padding: 11px 14px; color: var(--text); font-family: var(--font-mono); font-size: 14px; outline: none; transition: border-color .15s; }
.trade-amount:focus { border-color: var(--blue); }
.trade-amount::placeholder { color: var(--muted); }
.trade-exec { flex: 0 0 auto; min-width: 132px; border: 1px solid transparent; }
.trade-exec.buy { background: var(--green); color: #04121f; }
.trade-exec.buy:hover { background: #b5f7dd; }
.trade-exec.sell { background: var(--red); color: #fff; }
.trade-exec.sell:hover { background: #ff8585; }
.trade-exec.done { background: var(--surface-3); color: var(--text-2); }
.trade-foot { margin-top: 9px; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); text-align: center; }

/* logo upload */
.logo-upload {
  display: flex; align-items: center; gap: 16px;
  border: 1px dashed var(--border-2); border-radius: 12px;
  padding: 16px; cursor: pointer; transition: border-color .15s, background .15s;
}
.logo-upload:hover { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.02); }
.logo-upload.drag { border-color: var(--blue); background: rgba(90,168,255,0.06); }

/* cover (banner) upload */
.cover-upload { position: relative; height: 88px; border: 1px dashed var(--border-2); border-radius: 12px; cursor: pointer; overflow: hidden; transition: border-color .15s, background .15s; display: grid; place-items: center; }
.cover-upload:hover { border-color: rgba(255,255,255,0.28); }
.cover-upload.drag { border-color: var(--blue); background: rgba(90,168,255,0.06); }
.cover-upload.has-cover { border-style: solid; border-color: var(--border); }
.cu-empty { display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 12.5px; color: var(--muted); text-align: left; }
.cu-empty svg { width: 22px; height: 22px; flex: none; color: var(--muted); }
.cu-link { color: var(--blue); }
.cu-clear { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); background: rgba(6,7,8,0.5); backdrop-filter: blur(6px); color: #fff; font-size: 13px; display: grid; place-items: center; cursor: pointer; }
.lu-preview {
  width: 56px; height: 56px; border-radius: 13px; flex: none;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #04121f;
}
.lu-preview img { width: 100%; height: 100%; object-fit: cover; }
.lu-title { font-size: 13.5px; font-weight: 600; }
.lu-title span { color: var(--blue); }
.lu-hint { font-size: 12px; color: var(--muted); font-family: var(--font-mono); margin-top: 3px; }

/* token allocation sliders */
.alloc { margin-bottom: 16px; }
.alloc-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.alloc-head .a-name { font-weight: 600; }
.alloc-head .a-val { font-family: var(--font-mono); color: var(--blue); }
.alloc input[type=range] { width: 100%; accent-color: var(--blue); }
.alloc-warn { font-family: var(--font-mono); font-size: 12px; padding: 10px 12px; border-radius: 8px; margin-top: 4px; }
.alloc-warn.ok { background: rgba(158,243,209,0.08); color: var(--green); }
.alloc-warn.bad { background: rgba(255,107,107,0.1); color: var(--red); }

/* tokenomics — supply selector */
.supply-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.supply-opt { position: relative; padding: 16px 12px 14px; border: 1px solid var(--border-2); border-radius: 12px; background: var(--bg); text-align: center; cursor: pointer; transition: all .15s; font-family: inherit; color: var(--text); }
.supply-opt:hover { border-color: rgba(255,255,255,0.25); }
.supply-opt.active { border-color: var(--blue); background: rgba(90,168,255,0.07); }
.supply-opt .su-amt { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -.01em; }
.supply-opt .su-desc { font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.supply-opt .su-tag { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10px; padding: 3px 10px; border-radius: 100px; background: var(--blue); color: #06121f; font-weight: 600; white-space: nowrap; }

/* captação alvo */
.raise-input { position: relative; display: flex; align-items: center; }
.raise-input .ri-pre { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-family: var(--font-mono); font-size: 14px; pointer-events: none; z-index: 1; line-height: 1; }
.raise-input .input { padding-left: 30px; padding-right: 12px; font-family: var(--font-mono); width: 100%; letter-spacing: 0.3px; }

/* tier projection */
.tier-proj { border: 1px solid var(--border-2); border-radius: 12px; background: var(--bg); padding: 4px 16px 8px; margin-bottom: 14px; }
.tp-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--border); }
.tp-head span:last-child { font-family: var(--font-mono); font-weight: 500; color: var(--blue); font-size: 12px; }
.tier-list { display: flex; flex-direction: column; }
.tier-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.tier-row:last-child { border-bottom: none; }
.tier-badge { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 600; font-size: 12px; flex: none; }
.tier-badge.t1 { background: rgba(90,168,255,0.14); color: var(--blue); }
.tier-badge.t2 { background: rgba(158,243,209,0.12); color: var(--green); }
.tier-badge.t3 { background: rgba(245,196,108,0.14); color: var(--amber); }
.tier-mid { flex: 1; min-width: 0; }
.tier-name { font-size: 13px; font-weight: 600; }
.tier-meta { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); margin-top: 3px; }
.tier-nums { text-align: right; flex: none; }
.tn-raise { font-size: 14px; font-weight: 600; font-family: var(--font-mono); }
.tn-fdv { font-size: 11px; color: var(--muted); font-family: var(--font-mono); margin-top: 3px; }

/* roadmap milestones */
.mile-ic { width: 24px; height: 24px; flex: none; display: grid; place-items: center; color: var(--muted); }
.mile-ic svg { width: 17px; height: 17px; }
.pill.fixed { background: rgba(255,255,255,0.06); color: var(--muted); }
.mile-edit { padding: 7px 11px; font-size: 14px; font-weight: 500; }
.mile-edit:focus { border-color: var(--blue); }
.mile-desc { margin-top: 6px; padding: 6px 11px; font-size: 12.5px; color: var(--muted); }
.mile-desc:focus { border-color: var(--blue); color: var(--text); }
.mile-del { border: none; cursor: pointer; }
.mile-confirm { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: rgba(90,168,255,0.1); border: 1px solid var(--border-2); color: var(--blue); cursor: pointer; transition: all .15s; }
.mile-confirm svg { width: 18px; height: 18px; }
.mile-confirm:hover { border-color: var(--blue); }
.mile-confirm.done { background: var(--green); border-color: var(--green); color: #04121f; }
.mile-edit[readonly], .mile-desc[readonly] { border-color: var(--border); background: transparent; cursor: default; }
.r-scid-val { font-family: var(--font-mono); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.r-scid-val .scid-chip { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 100px; background: rgba(158,243,209,0.1); color: var(--green); }

.wz-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.wz-price { font-size: 13px; color: var(--muted); }
.wz-price b { font-family: var(--font-mono); color: var(--text); font-size: 15px; }
.wz-foot-btns { display: flex; gap: 10px; }

/* live preview */
.wz-preview { position: sticky; top: 90px; }
.prev-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.prev-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.prev-banner { height: 76px; background: linear-gradient(120deg, var(--blue), var(--green)); position: relative; }
.prev-av { width: 56px; height: 56px; border-radius: 14px; border: 3px solid var(--surface); position: absolute; bottom: -28px; left: 20px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #04121f; background: var(--amber); }
.prev-body { padding: 38px 20px 20px; }
.prev-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.prev-sec { font-size: 12px; color: var(--muted); font-family: var(--font-mono); margin-bottom: 12px; }
.prev-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; margin-bottom: 16px; }
.prev-stats { display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.prev-stat .v { font-family: var(--font-mono); font-size: 14px; font-weight: 600; }
.prev-stat .l { font-size: 10.5px; color: var(--muted); }

/* preview — sc-id */
.prev-scid { display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-2); margin-bottom: 12px; }
.prev-scid svg { width: 13px; height: 13px; color: var(--muted); flex: none; }
.prev-scid .scid-chip { margin-left: auto; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 100px; background: rgba(158,243,209,0.1); color: var(--green); }

/* preview — blocks */
.prev-block { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--border); }
.prev-team { display: flex; gap: 0; }
.prev-team .pt-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #04121f; border: 2px solid var(--surface); margin-left: -7px; }
.prev-team .pt-av:first-child { margin-left: 0; }
.pb-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; }
.pb-head span:last-child { color: var(--text-2); letter-spacing: 0; }

/* preview — token chart */
.prev-token-bar { display: flex; height: 8px; border-radius: 100px; overflow: hidden; margin-bottom: 11px; }
.prev-token-bar span { height: 100%; transition: width .35s ease; }
.prev-token-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 10px; }
.prev-token-legend span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.prev-token-legend i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.prev-token-legend b { color: var(--text-2); font-family: var(--font-mono); font-weight: 600; margin-left: auto; }

/* preview — roadmap */
.prev-road { display: flex; flex-direction: column; }
.pr-item { display: flex; align-items: center; gap: 10px; position: relative; padding: 5px 0; }
.pr-item .pr-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--border-2); background: var(--surface); flex: none; z-index: 1; }
.pr-item:not(:last-child)::before { content: ""; position: absolute; left: 4px; top: 50%; width: 2px; height: 100%; background: var(--border-2); }
.pr-item.done .pr-dot { background: var(--green); border-color: var(--green); }
.pr-item.done:not(:last-child)::before { background: var(--green); }
.pr-item.active .pr-dot { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(90,168,255,0.2); }
.pr-item .pr-t { font-size: 12px; color: var(--text-2); flex: 1; min-width: 0; }
.pr-item.active .pr-t, .pr-item.done .pr-t { color: var(--text); }
.pr-item .pr-q { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); flex: none; }

/* success modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.show { display: flex; animation: fade .25s ease; }
.modal {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: 20px; padding: 40px; max-width: 440px; width: 100%; text-align: center;
  position: relative; overflow: hidden;
}
.modal .m-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(158,243,209,0.16), transparent 65%); pointer-events: none; }
.modal > * { position: relative; }
.modal .m-check { width: 64px; height: 64px; border-radius: 50%; background: rgba(158,243,209,0.12); border: 1px solid rgba(158,243,209,0.4); display: grid; place-items: center; margin: 0 auto 22px; color: var(--green); font-size: 30px; }
.modal h3 { font-size: 22px; margin-bottom: 10px; }
.modal p { font-size: 14px; color: var(--text-2); margin-bottom: 24px; }
.modal .m-btns { display: flex; gap: 10px; }
.modal .m-btns .btn { flex: 1; }

/* responsive */
@media (max-width: 1080px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid, .wizard { grid-template-columns: 1fr; }
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
  .wz-preview { display: none; }
}
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .kpi-grid, .sc-grid { grid-template-columns: 1fr; }
  .search { display: none; }
}

/* ── Read-only banner ────────────────────────────────── */
.read-only-banner { display:flex;align-items:center;gap:8px;background:rgba(169,155,255,0.08);border:1px solid rgba(169,155,255,0.25);border-radius:9px;padding:10px 14px;font-size:12.5px;color:#a99bff; }

/* ── Card label ──────────────────────────────────────── */
.card-label { font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:4px; }

/* ── "novo" badge na sidebar ─────────────────────────── */
.sb-new-badge { font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:linear-gradient(135deg,#f59e0b,#d97706);color:#000;border-radius:4px;padding:1px 5px;margin-left:auto;flex-shrink:0; }

/* ══════════════════════════════════════════════════════
   DOCK FINANCEIRO — Carteira + Loja na sidebar
══════════════════════════════════════════════════════ */
.sb-finance-dock {
  margin:0 10px 8px;
  border:1px solid rgba(16,185,129,.2);
  border-radius:12px;
  overflow:hidden;
  background:rgba(16,185,129,.04);
}
.sb-finance-btn {
  display:flex;align-items:center;gap:10px;width:100%;
  padding:10px 13px;background:transparent;border:none;
  cursor:pointer;text-align:left;transition:background .15s;
}
.sb-finance-btn:hover { background:rgba(255,255,255,.05); }
.sfd-div { height:1px;background:rgba(255,255,255,.07);margin:0; }
.sfd-icon { width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0; }
.sfd-green { background:rgba(16,185,129,.15);color:#10b981; }
.sfd-amber { background:rgba(245,158,11,.15);color:#f59e0b; }
.sfd-info { flex:1;min-width:0; }
.sfd-label { font-size:12px;font-weight:600;color:var(--fg); }
.sfd-val { font-size:10.5px;color:var(--muted);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.sfd-arr { color:var(--muted);flex-shrink:0; }
.sfd-hide-btn { background:none;border:none;cursor:pointer;color:var(--muted);padding:4px;border-radius:5px;display:inline-flex;align-items:center;flex-shrink:0;transition:color .15s; }
.sfd-hide-btn:hover { color:var(--fg); }

/* ══════════════════════════════════════════════════════
   LOJA — cards de ferramentas, produtos e serviços
══════════════════════════════════════════════════════ */
.loja-card {
  background:var(--surface-1);border:1px solid var(--border);border-radius:14px;
  padding:16px;display:flex;flex-direction:column;gap:10px;
  transition:border-color .18s,transform .14s;cursor:default;
}
.loja-card:hover { border-color:rgba(255,255,255,.18);transform:translateY(-2px); }
.loja-card-coming { opacity:.6; }
.loja-card-icon { width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0; }
.loja-card-info { flex:1; }
.loja-card-name { font-size:14px;font-weight:700;color:var(--fg); }
.loja-card-sub { font-size:11.5px;color:var(--muted);margin-top:2px; }
.loja-card-foot { display:flex;align-items:center;justify-content:space-between;margin-top:4px; }
.loja-price { font-size:13px;font-weight:700;color:var(--green); }
.loja-card-service { gap:0; }

/* ══════════════════════════════════════════════════════
   STX PILOT — botão sidebar + painel de chat
══════════════════════════════════════════════════════ */

/* Botão na sidebar */
.sb-pilot {
  display:flex;align-items:center;gap:10px;
  width:calc(100% - 24px);margin:0 12px 8px;
  padding:9px 12px;
  font-size:14px;
  background:linear-gradient(135deg,rgba(99,102,241,.15),rgba(139,92,246,.12));
  border:1px solid rgba(99,102,241,.3);border-radius:10px;
  color:#a99bff;cursor:pointer;text-align:left;
  transition:background .18s,border-color .18s,transform .12s;
}
.sb-pilot:hover { background:linear-gradient(135deg,rgba(99,102,241,.25),rgba(139,92,246,.2));border-color:rgba(99,102,241,.55);transform:translateY(-1px); }
.sb-pilot-icon { display:flex;align-items:center;flex-shrink:0; }
.sb-pilot-label { flex:1;font-size:14px;font-weight:600;color:#c4b5fd; }
.sb-pilot-badge { font-size:10px;font-weight:700;letter-spacing:.05em;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border-radius:5px;padding:2px 6px;flex-shrink:0; }

/* Overlay */
.pilot-overlay { display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:999;backdrop-filter:blur(2px); }
.pilot-overlay.open { display:block; }

/* Painel */
.pilot-panel {
  position:fixed;bottom:0;left:260px;width:360px;max-height:520px;
  background:#13161b;border:1px solid rgba(99,102,241,.3);border-bottom:none;
  border-radius:14px 14px 0 0;display:flex;flex-direction:column;
  z-index:1000;box-shadow:0 -8px 40px rgba(0,0,0,.55);
  transform:translateY(110%);transition:transform .28s cubic-bezier(.4,0,.2,1);
}
.pilot-panel.open { transform:translateY(0); }

/* Header */
.pilot-header { display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.07);flex-shrink:0; }
.pilot-header-left { display:flex;align-items:center;gap:10px; }
.pilot-avatar { width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0; }
.pilot-title { font-size:14px;font-weight:700;color:var(--fg); }
.pilot-subtitle { font-size:11px;color:var(--muted);margin-top:1px; }
.pilot-close { width:28px;height:28px;border-radius:7px;background:transparent;border:none;color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color .15s,background .15s; }
.pilot-close:hover { color:var(--fg);background:rgba(255,255,255,.07); }

/* Mensagens */
.pilot-messages { flex:1;overflow-y:auto;padding:14px 14px 6px;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.1) transparent; }
.pilot-msg { display:flex;flex-direction:column;gap:6px; }
.pilot-msg-user { align-items:flex-end; }
.pilot-msg-bot  { align-items:flex-start; }
.pilot-bubble { max-width:90%;padding:9px 13px;border-radius:12px;font-size:13px;line-height:1.55; }
.pilot-msg-user .pilot-bubble { background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border-bottom-right-radius:3px; }
.pilot-msg-bot  .pilot-bubble { background:rgba(255,255,255,.06);color:var(--fg);border-bottom-left-radius:3px; }
.pilot-msg-actions { display:flex;flex-wrap:wrap;gap:6px;padding:0 2px; }
.pilot-suggestion { font-size:11.5px;padding:5px 10px;border-radius:20px;background:rgba(99,102,241,.12);border:1px solid rgba(99,102,241,.3);color:#a99bff;cursor:pointer;transition:background .15s,border-color .15s; }
.pilot-suggestion:hover { background:rgba(99,102,241,.25);border-color:rgba(99,102,241,.55); }

/* Typing */
.pilot-thinking { padding:8px 18px;display:flex;align-items:center;gap:4px;flex-shrink:0; }
.pilot-thinking span { width:6px;height:6px;border-radius:50%;background:#a99bff;animation:pilotDot 1.2s infinite ease-in-out; }
.pilot-thinking span:nth-child(2) { animation-delay:.2s; }
.pilot-thinking span:nth-child(3) { animation-delay:.4s; }
@keyframes pilotDot { 0%,80%,100%{opacity:.25;transform:scale(.8)} 40%{opacity:1;transform:scale(1.1)} }

/* Input */
.pilot-input-row { display:flex;align-items:center;gap:8px;padding:10px 12px;border-top:1px solid rgba(255,255,255,.07);flex-shrink:0; }
.pilot-input { flex:1;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:9px;padding:9px 12px;color:var(--fg);font-size:13px;outline:none;transition:border-color .15s; }
.pilot-input:focus { border-color:rgba(99,102,241,.5); }
.pilot-input::placeholder { color:var(--muted); }
.pilot-send { width:36px;height:36px;border-radius:9px;flex-shrink:0;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .15s,transform .12s; }
.pilot-send:hover { opacity:.85;transform:scale(1.05); }
.pilot-send:active { transform:scale(.95); }

/* ── Equipa — secções Core / Open ───────────────────────── */
.eq-section { margin-bottom: 4px; }
.eq-section-header { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.eq-section-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.eq-section-title { font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--text-2); margin: 0; }
.eq-section-count { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--surface-2); padding: 2px 8px; border-radius: 20px; }
.eq-section-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }

/* ── Equipa — tabs ──────────────────────────────────────── */
.eq-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.eq-tab { display: flex; align-items: center; gap: 7px; padding: 10px 16px; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .15s, border-color .15s; margin-bottom: -1px; }
.eq-tab:hover { color: var(--text); }
.eq-tab.active { color: var(--text); border-bottom-color: var(--blue); }
.eq-tab[data-eq-tab="open"].active { border-bottom-color: var(--green); }
.eq-tab-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.eq-tab-badge { font-size: 11px; font-weight: 700; background: var(--surface-2); color: var(--muted); padding: 1px 7px; border-radius: 20px; }
.eq-tab.active .eq-tab-badge { background: rgba(90,168,255,.15); color: var(--blue); }
.eq-tab[data-eq-tab="open"].active .eq-tab-badge { background: rgba(16,185,129,.15); color: var(--green); }

/* ── Equipa — cards ─────────────────────────────────────── */
.eq-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.eq-card-top { display: flex; gap: 12px; align-items: center; }
.eq-card-info { flex: 1; min-width: 0; }
.eq-card-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eq-card-email { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eq-card-tokens { font-size: 12px; color: var(--muted); }
.eq-status { font-size: 11px; flex-shrink: 0; }
.eq-status-active { color: var(--green); }
.eq-status-pending { color: var(--amber); }
.eq-card-actions { display: flex; align-items: center; gap: 8px; padding-top: 6px; border-top: 1px solid var(--border); }
.eq-role-badge { flex: 1; font-size: 12px; font-weight: 600; background: var(--surface-2); padding: 5px 10px; border-radius: 7px; color: var(--text-2); }
.eq-card-actions .btn { font-size: 12px; }

/* ── Marketplace Tasks — acordeão por empresa ───────────── */
.mkt-co-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; margin-bottom: 6px; transition: border-color .15s, background .15s; user-select: none; }
.mkt-co-row:hover { border-color: var(--border-2); background: var(--surface-2); }
.mkt-co-row--open { border-color: rgba(90,168,255,.35); background: rgba(90,168,255,.04); border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; }
.mkt-co-av { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--green)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #04121f; flex-shrink: 0; }
.mkt-co-info { flex: 1; min-width: 0; }
.mkt-co-name { font-weight: 600; font-size: 14px; }
.mkt-co-meta { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.mkt-co-badge { font-size: 11.5px; font-weight: 600; background: var(--surface-2); color: var(--muted); padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.mkt-co-chevron { color: var(--muted); transition: transform .2s; flex-shrink: 0; }
.mkt-co-row--open .mkt-co-chevron { transform: rotate(180deg); }
.mkt-co-body { border: 1px solid rgba(90,168,255,.25); border-top: none; border-radius: 0 0 12px 12px; padding: 8px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 6px; background: var(--surface); }

/* ── Meu Trabalho — task cards ──────────────────────────── */
.mt-task-card { display: flex; align-items: center; gap: 14px; background: var(--surface-1); border: 1px solid var(--border); border-radius: 11px; padding: 14px 16px; transition: border-color .15s; }
.mt-task-card:hover { border-color: var(--border-2); }
.mt-task-main { flex: 1; min-width: 0; }
.mt-task-title { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-task-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.mt-task-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mt-task-reward { font-family: var(--font-mono); font-size: 12px; color: var(--amber); font-weight: 600; }
.mt-task-status { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; white-space: nowrap; }

/* ══════════════════════════════════════════════════════════
   LOJA — App Store style
   ══════════════════════════════════════════════════════════ */
#screen-loja { padding: 0 !important; }

/* Search bar */
.loja-topbar { padding: 20px 28px 0; }
.loja-search-wrap { display: flex; align-items: center; gap: 10px; background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.loja-search-wrap svg { color: var(--muted); flex-shrink: 0; }
.loja-search-wrap input { background: none; border: none; outline: none; color: var(--text); font-family: inherit; font-size: 13.5px; width: 100%; }
.loja-search-wrap input::placeholder { color: var(--muted); }

/* Categorias */
.loja-cats-wrap { overflow-x: auto; scrollbar-width: none; padding: 18px 28px 0; }
.loja-cats-wrap::-webkit-scrollbar { display: none; }
.loja-cats { display: flex; gap: 12px; min-width: max-content; }
.loja-cat { display: flex; flex-direction: column; align-items: center; gap: 7px; background: none; border: none; cursor: pointer; padding: 4px 6px; border-radius: 10px; transition: background .15s; min-width: 64px; }
.loja-cat:hover { background: var(--surface-2); }
.loja-cat-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.3); transition: transform .15s; }
.loja-cat:hover .loja-cat-ic { transform: scale(1.05); }
.loja-cat.active .loja-cat-ic { box-shadow: 0 4px 18px rgba(99,102,241,.4); }
.loja-cat span { font-size: 11px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.loja-cat.active span { color: var(--text); font-weight: 600; }

/* Body */
.loja-body { padding: 20px 28px 40px; display: flex; flex-direction: column; gap: 32px; }

/* Hero Banner */
.loja-hero { position: relative; }
.loja-hero-card { border-radius: 18px; overflow: hidden; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; position: relative; min-height: 160px; }
.loja-hero-bg { position: absolute; inset: 0; z-index: 0; }
.loja-hero-content { position: relative; z-index: 1; }
.loja-hero-badge { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.loja-hero-title { font-size: 24px; font-weight: 800; color: #fff; font-family: var(--font-display); margin-bottom: 8px; }
.loja-hero-sub { font-size: 13px; color: rgba(255,255,255,.75); max-width: 380px; line-height: 1.55; margin-bottom: 18px; }
.loja-hero-btn { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(8px); }
.loja-hero-btn:hover { background: rgba(255,255,255,.3); }
.loja-hero-icon { position: relative; z-index: 1; opacity: .6; flex-shrink: 0; }
.loja-hero-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.loja-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-2); transition: background .2s; }
.loja-dot.active { background: var(--blue); width: 18px; border-radius: 3px; }

/* Secções */
.loja-section { display: flex; flex-direction: column; gap: 14px; }
.loja-section-header { display: flex; align-items: center; justify-content: space-between; }
.loja-section-title { font-size: 17px; font-weight: 700; margin: 0; }
.loja-see-all { background: none; border: none; font-size: 13px; color: var(--blue); cursor: pointer; font-weight: 500; padding: 0; }
.loja-see-all:hover { opacity: .75; }

/* App cards (horizontal scroll row) */
.loja-row { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.loja-row::-webkit-scrollbar { display: none; }
.loja-app-card { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100px; flex-shrink: 0; cursor: pointer; }
.loja-app-card:hover .loja-app-icon { transform: scale(1.04); }
.loja-app-icon { width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: transform .15s; flex-shrink: 0; }
.loja-app-name { font-size: 12px; font-weight: 600; text-align: center; color: var(--text); line-height: 1.3; }
.loja-app-dev { font-size: 10.5px; color: var(--muted); text-align: center; }
.loja-app-stars { font-size: 10px; color: var(--amber); text-align: center; }
.loja-app-btn { font-size: 11px; font-weight: 700; background: var(--surface-2); border: none; border-radius: 20px; padding: 4px 12px; color: var(--blue); cursor: pointer; transition: background .15s; white-space: nowrap; }
.loja-app-btn:hover { background: rgba(90,168,255,.15); }
.loja-app-btn-soon { color: var(--muted); cursor: default; }
.loja-app-coming .loja-app-icon { box-shadow: none; border: 1px solid var(--border); }
.loja-app-coming .loja-app-name, .loja-app-coming .loja-app-dev { color: var(--muted); }

/* Serviços grid */
.loja-services-grid { display: flex; flex-direction: column; gap: 10px; }
.loja-svc-card { display: flex; align-items: center; gap: 14px; background: var(--surface-1); border: 1px solid var(--border); border-radius: 14px; padding: 16px; transition: border-color .15s; }
.loja-svc-card:hover { border-color: var(--border-2); }
.loja-svc-av { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #04121f; flex-shrink: 0; }
.loja-svc-info { flex: 1; min-width: 0; }
.loja-svc-name { font-weight: 600; font-size: 14px; }
.loja-svc-who { font-size: 11.5px; color: var(--muted); margin: 2px 0; }
.loja-svc-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.loja-svc-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.loja-svc-price { font-size: 13px; font-weight: 700; color: var(--text); font-family: var(--font-mono); }
.loja-stars { color: var(--amber); }

/* ── Tesouraria ──────────────────────────────────────── */
.tr-movement { display:flex; align-items:center; gap:12px; background:var(--surface-1); border:1px solid var(--border); border-radius:12px; padding:12px 16px; transition:border-color .15s; }
.tr-movement:hover { border-color:var(--border-2); }
.tr-mv-icon { width:36px; height:36px; border-radius:10px; display:grid; place-items:center; flex-shrink:0; }
.tr-mv-icon.income  { background:rgba(16,185,129,.12); color:var(--green); }
.tr-mv-icon.expense { background:rgba(239,68,68,.10);  color:var(--red);   }
.tr-mv-info { flex:1; min-width:0; }
.tr-mv-desc { font-weight:600; font-size:13.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tr-mv-meta { font-size:11.5px; color:var(--muted); margin-top:2px; }
.tr-mv-amt { font-weight:700; font-size:14px; font-family:var(--font-mono); flex-shrink:0; }
.tr-mv-amt.income  { color:var(--green); }
.tr-mv-amt.expense { color:var(--red);   }
.tr-mv-del { background:none; border:none; color:var(--muted); cursor:pointer; padding:4px; border-radius:6px; opacity:.5; transition:opacity .15s; }
.tr-mv-del:hover { opacity:1; color:var(--red); }
.k-ic.red { background:rgba(239,68,68,.12); color:var(--red); }

/* ── Equipa — barra de convite ──────────────────────── */
.eq-invite-bar { display:flex; align-items:center; gap:10px; margin-bottom:20px; flex-wrap:wrap; }
.eq-invite-bar .input { flex:1; min-width:180px; }

/* ── Equipa card — role select ───────────────────────── */
.eq-role-select { font-size:12px; font-weight:600; background:var(--surface-2); border:1px solid var(--border); border-radius:8px; padding:4px 8px; color:var(--text); cursor:pointer; height:28px; }
.eq-role-select:focus { outline:none; border-color:var(--blue); }
.eq-card-actions { display:flex; align-items:center; gap:8px; margin-top:10px; }

/* ── Topbar clock ────────────────────────────────────── */
.tb-clock { display:flex; flex-direction:column; align-items:flex-end; justify-content:center; padding:0 10px; cursor:default; line-height:1.2; }
.tb-clock-time { font-size:13px; font-weight:700; font-family:var(--font-mono); color:var(--text); letter-spacing:.5px; }
.tb-clock-tz { font-size:9.5px; color:var(--muted); font-weight:500; letter-spacing:.3px; }

/* ── Validação de campos ─────────────────────────────── */
.input-error { border-color: #ef4444 !important; box-shadow: 0 0 0 2px rgba(239,68,68,.15) !important; }
.input-error:focus { border-color: #ef4444 !important; }
.field-error-msg { font-size:12px; color:#ef4444; margin-top:5px; font-weight:500; display:flex; align-items:center; gap:4px; }
.field-error-msg::before { content:'⚠'; font-size:11px; }

/* ── Equipa — modelo de pagamento ────────────────────── */
.eq-pay-model { display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:600; padding:3px 8px; border-radius:20px; margin-bottom:8px; }
.eq-pay-core  { background:rgba(90,168,255,0.1); color:var(--blue); }
.eq-pay-open  { background:rgba(52,199,89,0.1);  color:var(--green); }

/* ── VESTING TIERS ─────────────────────────────────────── */
.tk-sec-divider { display:flex; align-items:center; gap:12px; margin:24px 0 8px; }
.tk-sec-divider span { font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); white-space:nowrap; }
.tk-sec-divider::before,.tk-sec-divider::after { content:''; flex:1; height:1px; background:var(--border); }

.vesting-tiers { display:flex; flex-direction:column; gap:12px; margin-bottom:16px; }

.vt-row { border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.vt-row:hover { border-color:var(--border-hover,rgba(255,255,255,.18)); }

.vt-header { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; background:rgba(255,255,255,.03); cursor:pointer; }
.vt-summary { font-size:12px; color:var(--text-muted); font-family:var(--font-mono); }

.vt-badge { font-size:11px; font-weight:700; padding:3px 10px; border-radius:20px; letter-spacing:.04em; }
.vt-low    { background:rgba(52,199,89,.12);  color:#34c759; }
.vt-med    { background:rgba(255,204,0,.12);  color:#ffcc00; }
.vt-high   { background:rgba(255,107,107,.12);color:#ff6b6b; }
.vt-custom { background:rgba(175,124,255,.12);color:#af7cff; }

.vt-fields { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px; padding:16px; border-top:1px solid var(--border); }
.vt-custom-row .vt-fields { grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); }

/* ── Estrela de favoritos nos cards do marketplace ── */
.sc-fav {
  background:none; border:none; cursor:pointer; font-size:16px;
  color:var(--muted); padding:2px 6px; border-radius:8px; line-height:1;
  margin-left:6px; flex-shrink:0; transition:transform .12s;
}
.sc-fav:hover { transform:scale(1.25); }
.sc-fav.on { color:#ffcc00; }

/* ── Editar empresa: tags de áreas & serviços ── */
.ec-tags { display:flex; flex-wrap:wrap; gap:6px; }
.ec-tag {
  font-size:12px; padding:5px 11px; border-radius:20px; cursor:pointer;
  background:var(--surface-2); border:1px solid var(--border); color:var(--text-2);
  transition:all .12s; user-select:none;
}
.ec-tag:hover { border-color:rgba(255,255,255,.3); }
.ec-tag.on { background:rgba(90,168,255,.12); border-color:var(--blue); color:var(--blue); font-weight:600; }

/* autocomplete das áreas */
.ec-tag-suggest {
  position:absolute; top:calc(100% + 4px); left:0; right:0; z-index:50;
  background:var(--surface-2); border:1px solid var(--border); border-radius:10px;
  max-height:180px; overflow-y:auto; box-shadow:0 8px 24px rgba(0,0,0,.4);
}
.ec-tag-suggest div { padding:8px 12px; font-size:13px; cursor:pointer; color:var(--text-2); }
.ec-tag-suggest div:hover, .ec-tag-suggest div.hl { background:rgba(90,168,255,.1); color:var(--blue); }
.ec-tag .x { margin-left:6px; opacity:.6; font-weight:700; }
.ec-tag:hover .x { opacity:1; }

/* ── Milestones Core: barra de distribuição ── */
.tk-mile-dist .tkmd-bar { display:flex; height:26px; border-radius:8px; overflow:hidden; border:1px solid var(--border); }
.tk-mile-dist .tkmd-bar span { display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; color:#04121f; min-width:0; }
.tk-mile-dist .tkmd-legend { display:flex; flex-wrap:wrap; gap:10px 16px; margin-top:10px; }
.tk-mile-dist .tkmd-leg { display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--text-2); }
.tk-mile-dist .tkmd-leg .tk-dot { flex-shrink:0; }

/* ── Equipa: badge de hierarquia Core ── */
.eq-hier { display:inline-block; font-size:10px; font-weight:700; letter-spacing:.04em; padding:3px 8px; border-radius:20px; margin-bottom:8px; margin-right:4px; }

/* ── Equipa: tag de cargo no card Core ── */
.eq-cargo-tag { font-size:11px; font-weight:600; padding:4px 10px; border-radius:20px; background:rgba(90,168,255,.1); color:var(--blue); border:1px solid rgba(90,168,255,.25); }
.eq-card-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.eq-level-select { font:inherit; font-size:12px; background:var(--surface-2); border:1px solid var(--border); color:var(--text); border-radius:8px; padding:6px 8px; }
