/*
 * SPID — Universal Switchboard Portal
 * portail.css — §1 STYLES
 *
 * Same naming convention as passport.css: modular source file,
 * inlined into the deploy artifact by build.cjs.
 */

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

:root {
  --bg-dark:    #14171c;
  --gold:       #c9a961;
  --gold-bright:#e8c877;
  --text:       #eee;
  --text-dim:   #999;
  --red:        #c94961;
  --green:      #6fbf73;
  --panel:      rgba(20, 23, 28, 0.74);
  --panel-border: rgba(201, 169, 97, 0.35);
}

html, body {
  height: 100%;
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
}

.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.bg-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.55) saturate(0.9);
}

.bg-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10, 12, 15, 0.1) 0%,
    rgba(10, 12, 15, 0.22) 55%,
    rgba(10, 12, 15, 0.55) 100%);
}

.content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 24px;
}

.panel {
  width: 100%;
  max-width: 420px;
  background: rgba(20, 23, 28, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 28px 26px 32px;
  margin-bottom: 48px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 44px rgba(0,0,0,0.55);
}

.brand { text-align: center; margin-bottom: 20px; }
.brand .mark {
  font-size: 11px; letter-spacing: 0.35em; color: var(--gold); text-transform: uppercase;
}
.brand h1 {
  font-size: 22px; font-weight: 400; letter-spacing: 0.05em; color: var(--text); margin-top: 6px;
}
.brand .sub {
  font-size: 12px; color: var(--text-dim); font-style: italic; margin-top: 4px; letter-spacing: 0.02em;
}

/* ── Language switch — round flag buttons (inline SVG, no asset) ──── */
.lang-bar { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.lang-btn {
  width: 26px; height: 26px; padding: 0; line-height: 0; cursor: pointer;
  border-radius: 50%; overflow: hidden; background: none;
  border: 1px solid rgba(201,169,97,0.5);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.lang-btn svg { width: 100%; height: 100%; display: block; }
.lang-btn:hover { transform: translateY(-1px); }
.lang-btn[aria-pressed="true"] { border-color: var(--green); box-shadow: 0 0 0 2px rgba(111,191,115,0.35), 0 0 12px rgba(111,191,115,0.55); }

/* ── Service tabs ─────────────────────────────────────────────────── */
.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin: 18px 0 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  overflow: visible;
}
.tab {
  min-width: 0;
  padding: 8px 5px 7px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: 'Georgia', serif;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.tab:hover { color: var(--text); }
.tab:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
/* Active state uses shape + weight, never colour alone. */
.tab[aria-selected="true"] {
  color: var(--gold-bright);
  font-weight: 700;
  border-bottom-color: var(--gold);
  background: rgba(201, 169, 97, 0.08);
}

.portal-scope-bar {
  margin: 14px 0 0;
}
.portal-scope-bar label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.portal-scope-bar .bb-select { width: 100%; }

.tab-panel { padding-top: 18px; outline: none; }
.tab-panel:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.service-soon {
  padding: 30px 14px;
  text-align: center;
  font-style: italic;
  font-size: 13px;
  color: var(--text-dim);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 10px;
}

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 6px;
}

.did-display {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: 'Courier New', monospace;
  font-size: 12.5px;
  color: var(--gold-bright);
  word-break: break-all;
}
.did-display.empty {
  color: var(--text-dim); font-style: italic; font-family: 'Georgia', serif; font-size: 13px;
}

.pw-input, .did-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Georgia', serif;
}
.did-input { font-family: 'Courier New', monospace; font-size: 12.5px; }
.pw-input:focus, .did-input:focus { border-color: var(--gold); }
.pw-input::placeholder, .did-input::placeholder { color: var(--text-dim); font-style: italic; }

select.svc-select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a961' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.2s;
}
select.svc-select:focus { border-color: var(--gold); }
select.svc-select option { background: #1a1d22; color: var(--text); }
select.svc-select:disabled { opacity: 0.45; cursor: not-allowed; }

.btn {
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  border: none;
  border-radius: 8px;
  font-family: 'Georgia', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.12s, box-shadow 0.12s, opacity 0.12s;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #1a1508; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(201, 169, 97, 0.35); }
.btn-gold:active { transform: translateY(0); }
.btn-gold:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg { width: 16px; height: 16px; }

.msg {
  margin-top: 14px; padding: 11px 14px; border-radius: 8px;
  font-size: 12.5px; line-height: 1.5; display: none;
}
.msg.show { display: block; }
.msg.error   { background: rgba(201, 73, 97, 0.12);  border: 1px solid rgba(201, 73, 97, 0.35);  color: #e79aa8; }
.msg.success { background: rgba(111, 191, 115, 0.1); border: 1px solid rgba(111, 191, 115, 0.35); color: #a3d9a5; }
.msg.info    { background: rgba(255,255,255, 0.04);  border: 1px solid rgba(255,255,255,0.12);   color: var(--text-dim); }

.result-box {
  margin-top: 14px; padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--text-dim);
  word-break: break-all;
  max-height: 160px;
  overflow-y: auto;
  display: none;
  white-space: pre-wrap;
}
.result-box.show { display: block; }

.divider {
  display: flex; align-items: center; gap: 10px; margin: 16px 0;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim);
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }

.footer-note {
  text-align: center; font-size: 10.5px; color: var(--text-dim);
  margin-top: 18px; letter-spacing: 0.03em;
}
.footer-note a { color: var(--gold); text-decoration: none; }

.spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(0,0,0,0.25);
  border-top-color: #1a1508;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.doors-list { display: flex; flex-direction: column; gap: 12px; padding: 4px 0; }

.door-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(201, 169, 97, 0.07);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  color: var(--gold-bright);
  text-decoration: none;
  font-family: 'Georgia', serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.door-link::before { content: '✦'; font-size: 11px; color: var(--gold); }
.door-link::after  { content: '✦'; font-size: 11px; color: var(--gold); }
.door-link:hover {
  background: rgba(201, 169, 97, 0.14);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 169, 97, 0.25);
}
.door-link:active { transform: translateY(0); }

.door-empty {
  padding: 12px 14px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--text-dim);
  text-align: center;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 10px;
}
@media (max-width: 480px) {
  .panel { max-width: 100%; margin-bottom: 24px; }
  .tab { font-size: 9.5px; letter-spacing: 0.02em; padding: 8px 4px 7px; }
}

/* ── Embedded mode (?embed=1) — transparent, fits the MduSL host UI ── */
html.embed,
html.embed body { background: transparent; }
html.embed .bg-wrap { display: none; }
html.embed .content { min-height: 0; padding: 0; justify-content: center; }
html.embed .panel { margin-bottom: 0; }

/* ── Billboard ─────────────────────────────────────────────────────── */
.bb-toolbar { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 8px; }
.bb-toolbar .btn { width: auto; }
.bb-note { font-size: 12px; color: var(--text-dim); font-style: italic; margin: 4px 0 10px; }
.bb-cluster-field { margin-bottom: 8px; }
.bb-select {
  width: 100%;
  min-width: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 11px 38px 11px 14px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a961' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.bb-select:focus { border-color: var(--gold); }
.bb-select option { background: #1a1d22; color: var(--text); }

.rel-share-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.rel-share-actions .btn { width: auto; margin: 0; text-decoration: none; }

/* Messages — explicit community picker (not a fake select arrow). */
.ms-picker {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.ms-picker summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 38px 11px 14px;
  font-size: 14px;
  color: var(--text);
  position: relative;
}
.ms-picker summary::-webkit-details-marker { display: none; }
.ms-picker summary::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  transition: transform 0.15s;
}
.ms-picker[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.ms-picker-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 6px 12px 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ms-picker-section + .ms-picker-section {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
  padding-top: 4px;
}
.ms-picker-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 9px 0 4px;
}
.ms-picker-group-actions { display: flex; gap: 6px; }
.ms-picker-tiny {
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: var(--text);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 9px;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-family: inherit;
}
.ms-picker-tiny:hover { border-color: var(--gold); }
.ms-picker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  font-size: 12.5px;
  color: var(--text);
}
.ms-picker-row input { accent-color: var(--gold); }
.rel-qr { margin-top: 10px; }
.rel-qr-btn { border: 0; padding: 0; background: #fff; border-radius: 8px; cursor: zoom-in; }
.rel-qr-btn svg { display: block; width: 360px; height: 360px; max-width: 100%; }
.qr-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(8,11,18,0.94);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.qr-overlay-card {
  position: relative; background: #fff; border-radius: 12px; padding: 14px;
  width: min(94vw, 560px); max-height: 94vh; overflow: auto; text-align: center;
}
.qr-overlay-close {
  position: absolute; top: 4px; right: 4px; width: 34px; height: 34px;
  padding: 0; color: #111; background: #fff; border-color: #ccc;
}
.qr-overlay-svg svg { display: block; width: min(88vw, 520px); height: auto; max-height: 80vh; margin: 0 auto; }
.qr-overlay-link { font-size: 10px; color: #333; word-break: break-all; margin-top: 10px; }

.bb-status { font-size: 12.5px; color: var(--green); margin: 8px 0; }
/* Pending indicator — a small spinner before the status text. */
.bb-status.loading { color: var(--text-dim); }
.bb-status.loading::before {
  content: ''; display: inline-block; width: 11px; height: 11px; margin-right: 7px;
  border: 2px solid rgba(255,255,255,0.25); border-top-color: var(--gold-bright);
  border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: -1px;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.bb-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.bb-empty { font-size: 12.5px; color: var(--text-dim); font-style: italic; text-align: center; padding: 16px 8px; }
.bb-list .btn { width: auto; margin: 0 auto; }
.bb-row .btn { margin: 0; }
.bb-post {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 14px;
}
.bb-post-title { font-size: 15px; color: var(--text); margin-bottom: 6px; font-weight: 400; }
.bb-post-body { font-size: 13px; color: var(--text); line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.bb-post-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: 10.5px; color: var(--text-dim); }
.bb-post-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.bb-post-actions .btn { width: auto; padding: 6px 14px; font-size: var(--text-xs); }
.bb-form { margin-top: 8px; }
.bb-count { float: right; font-size: 10px; color: var(--text-dim); letter-spacing: 0; text-transform: none; }
.bb-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  font-family: 'Georgia', serif;
  resize: vertical;
}
.bb-textarea.files-code-area {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.35;
  white-space: pre;
}
.files-unassigned-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 2px;
  font-size: 11.5px;
  color: var(--text-dim);
}
.files-unassigned-toggle input { accent-color: var(--gold); }

.bb-textarea.files-prompt-area {
  font-size: 12px;
  line-height: 1.4;
}

.bb-textarea:focus { border-color: var(--gold); }
.bb-confirm { margin-top: 8px; }
.bb-confirm-row { display: flex; gap: 10px; font-size: 12.5px; margin-bottom: 8px; }
.bb-confirm-row > span { color: var(--text-dim); min-width: 64px; }
.bb-confirm-row > strong,
.bb-confirm-row > div { color: var(--text); word-break: break-word; white-space: pre-wrap; }
.bb-actions { display: flex; gap: 8px; }
.bb-actions .btn { width: auto; flex: 1; }

/* ── Agenda — day strip + continuous, day-grouped list ────────────────
   Generic (reused by the future Messages view). Colour = the scope
   (personal DID / cluster) an entry belongs to. */
.agenda { margin-top: 4px; }
.agenda-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.agenda-month {
  flex: 1; text-align: center; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-bright);
}
.agenda-nav {
  flex: 0 0 34px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; color: var(--text); cursor: pointer; font-size: 15px; line-height: 1;
}
.agenda-nav:hover { border-color: var(--gold); color: var(--gold-bright); }
.agenda-today {
  flex: 0 0 auto; width: auto; margin: 0; padding: 9px 12px;
  font-size: 10px; letter-spacing: 0.08em;
}
.agenda-strip {
  display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden;
  padding: 4px 2px 10px; scrollbar-width: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.agenda-strip::-webkit-scrollbar { display: none; }
.agenda-day {
  flex: 0 0 auto; width: 46px; padding: 8px 0 6px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: transparent; border: 1px solid transparent; border-radius: 10px;
  color: var(--text-dim); cursor: pointer; font-family: 'Georgia', serif;
}
.agenda-day:hover { border-color: rgba(255,255,255,0.14); }
.agenda-day.is-today { border-color: rgba(201,169,97,0.4); }
.agenda-day.is-sel { background: rgba(201,169,97,0.10); border-color: var(--gold); }
.agenda-dow { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.agenda-num { font-size: 15px; color: var(--text); }
.agenda-day.is-today .agenda-num,
.agenda-day.is-sel .agenda-num { color: var(--gold-bright); font-weight: 700; }
.agenda-dots { display: flex; gap: 3px; height: 6px; align-items: center; }
.agenda-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--text-dim); }
.agenda-list { margin-top: 10px; display: flex; flex-direction: column; }
.agenda-day-head {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); margin: 14px 0 2px; padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.agenda-day-head:first-child { margin-top: 0; }
.agenda-day-head.is-today { color: var(--gold); }
.agenda-item {
  display: flex; gap: 10px; margin-top: 6px; overflow: hidden;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
}
.agenda-bar { flex: 0 0 4px; background: var(--text-dim); }
.agenda-body { flex: 1; min-width: 0; padding: 8px 12px 8px 0; }
.agenda-line { display: flex; align-items: baseline; gap: 8px; }
.agenda-time { font-size: 11px; color: var(--text-dim); flex: 0 0 auto; }
.agenda-title { font-size: 14px; color: var(--text); word-break: break-word; }
.agenda-scope {
  display: block; margin-top: 3px; font-size: 10px; font-style: italic;
  color: var(--text-dim); word-break: break-word;
}
.agenda-empty {
  padding: 24px 12px; text-align: center; font-style: italic;
  font-size: 12.5px; color: var(--text-dim);
  border: 1px dashed rgba(255,255,255,0.15); border-radius: 10px;
}

/* ── Messages (DID-centric) ─────────────────────────────────────── */
/* Unread dot on the tab. */
.tab-dot {
  display: inline-block; width: 7px; height: 7px; margin-left: 5px; vertical-align: 1px;
  border-radius: 50%; background: var(--green);
  box-shadow: 0 0 6px rgba(111,191,115,0.8);
  animation: dotpulse 1.6s ease-in-out infinite;
}
@keyframes dotpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.ms-bar { display: flex; gap: 8px; margin-bottom: 10px; }
.ms-bar .btn { width: auto; flex: 1; }
.ms-bar .btn[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-bright); }
.ms-msg {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 10px 12px;
}
.ms-msg.unread { border-color: rgba(111,191,115,0.45); }
.ms-msg .ms-peer {
  font-size: 10.5px; color: var(--text-dim); font-family: 'Courier New', monospace;
  word-break: break-all;
}
.ms-msg .ms-body { font-size: 13.5px; color: var(--text); margin-top: 5px; white-space: pre-wrap; word-break: break-word; }
.ms-msg .ms-meta { display: flex; align-items: center; gap: 10px; margin-top: 7px; font-size: 10.5px; color: var(--text-dim); }
.ms-msg .ms-meta .btn { width: auto; padding: 5px 12px; font-size: 10px; }

/* Relations — shared contract UI */
.bb-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bb-row:last-child { border-bottom: 0; }
.bb-title { font-size: 13px; color: var(--text); }
