Cosmic-Commons Drop-In Blocks Copy-ready source · v1.0 v1.0
Internal operator reference

The bytes are the artifact.

This is the copy-ready source for the Cosmic-Commons Components Library. Nine components plus the token block. Every panel below holds the exact CSS and the exact markup — character for character, with nothing reformatted, tidied or summarised. The live preview above each panel is rendered from the same class names you are about to copy.

Pasting a block means pasting its CSS and its markup together. Nothing else is required, and nothing else travels.

10 blocks on this page 9 components 1 token block 2 themes — console + member no build step
The token block comes first, always. Every console component reads its colour, type and radius from the token names below. Adopting the console theme means this token block replaces the host page's own :root — that is the point of one reconciled set, and it is why a block extracted from one surface reads correctly in another.
00

Token Block — Console theme

Paste once per page, inside <head>
Live

The reconciled console token set. Eight of the nine components read from these names. The Avatar Fallback belongs to the member theme and does not use them.

Live previewToken values
--bg#07090b
--panel#0d1012
--panel-3#161b20
--line#252c31
--line-bright#39434a
--text#c9d0d3
--muted#7f898f
--dim#566168
--green#5ee08b
--amber#e7b75e
--red#d36c6c
--cyan#80b7c8
CSS — token block
:root{
  --bg:#07090b; --panel:#0d1012; --panel-2:#111519; --panel-3:#161b20;
  --line:#252c31; --line-bright:#39434a;
  --text:#c9d0d3; --muted:#7f898f; --dim:#566168;
  --green:#5ee08b; --green-soft:rgba(94,224,139,.10);
  --amber:#e7b75e; --amber-soft:rgba(231,183,94,.10);
  --red:#d36c6c; --cyan:#80b7c8;
  --radius:4px;
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

Note: this block replaces the host page's :root rather than sitting beside it. A component that finds no token falls back to nothing, which is how a block ends up with hard-coded colours that do not match the surface it landed in.

01

Console Topbar

Extracted — reconciled from two differently-built versions
Live

The sticky operator frame carrying surface identity and signed-in context. Two separately-built topbars existed — one with a glowing circular logo, one with a rotated diamond mark — serving the same job. This is the reconciled single version.

Live previewSticky frame
BRIDGE CONSOLE Admin home Signed in as Operator
CSS
.cc-topbar{position:sticky;top:0;z-index:40;border-bottom:1px solid var(--line);
  background:rgba(7,9,11,.94);backdrop-filter:blur(14px)}
.cc-topbar__inner{min-height:62px;display:flex;align-items:center;gap:12px}
.cc-topbar__mark{width:30px;height:30px;flex:0 0 30px;border:1px solid var(--green);
  border-radius:var(--radius);display:grid;place-items:center;color:var(--green);
  font:700 11px var(--mono)}
.cc-topbar__copy{min-width:0}
.cc-topbar__copy strong{display:block;color:#e7ecee;font:600 12px var(--mono);letter-spacing:.14em;white-space:nowrap}
.cc-topbar__copy small{display:block;color:var(--dim);font:9px var(--mono);letter-spacing:.14em;text-transform:uppercase}
.cc-topbar__spacer{flex:1}
.cc-topbar__who{color:var(--muted);font:11px var(--mono);white-space:nowrap}
.cc-topbar__who b{color:var(--green)}
Markup
<header class="cc-topbar">
  <div class="cc-topbar__inner">
    <span class="cc-topbar__mark" aria-hidden="true">ORB</span>
    <span class="cc-topbar__copy">
      <strong>BRIDGE CONSOLE</strong>
      <small>Admin home</small>
    </span>
    <span class="cc-topbar__spacer"></span>
    <span class="cc-topbar__who">Signed in as <b>Operator</b></span>
  </div>
</header>
02

Status Ribbon and Chip

Extracted — unified from ribbon and chip row
Live

The one-line strip naming the surface and its state, plus the chip carrying a state label. The Bridge Console called this a ribbon with a live dot; Mission Control used a chip row for the same job. Both are unified here.

Live previewRibbon + chip row
Bridge Console 8 tools · latest recorded snapshot
Internal reference Recorded data, not live telemetry
CSS
.cc-ribbon{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 14px;
  background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius);
  font:11px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.cc-ribbon__dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--green);
  box-shadow:0 0 6px var(--green)}
.cc-ribbon__name{color:var(--text)}
.cc-ribbon__state{margin-left:auto;color:var(--muted)}
.cc-chiprow{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.cc-chip{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;
  border:1px solid var(--line-bright);border-radius:999px;background:var(--panel);
  font:10.5px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.cc-chip--active{border-color:rgba(94,224,139,.4);background:var(--green-soft);color:var(--green)}
Markup
<div class="cc-ribbon">
  <span class="cc-ribbon__dot"></span>
  <span class="cc-ribbon__name">Bridge Console</span>
  <span class="cc-ribbon__state">8 tools · latest recorded snapshot</span>
</div>
<div class="cc-chiprow">
  <span class="cc-chip cc-chip--active">Internal reference</span>
  <span class="cc-chip">Recorded data, not live telemetry</span>
</div>

Note: the green dot signals a live reading. Remove it when the ribbon is decorative rather than live — a dot that does not mean anything is a lie.

03

Tool Card

Extracted — with a pending variant
Live

The unit a console is made of: index, name, one line of what the tool does, and the way in. The pending variant uses a dashed border and amber entry text so a specified tool cannot be mistaken for a working one, without needing a second component.

Live previewLive + pending
01
Member Tagger Single source of truth for role, region, industry and Orbit progress. Every other tool reads from here. OPEN →
02
Contract Workspace Specified, not live. Shown with the pending variant so it cannot be mistaken for a working tool. SPEC ONLY →
CSS
.cc-tool-card{display:flex;gap:14px;align-items:flex-start;padding:16px;
  background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius)}
.cc-tool-card--pending{border-style:dashed;border-color:rgba(231,183,94,.4)}
.cc-tool-card__idx{font:11px var(--mono);color:var(--dim);padding-top:2px;flex:0 0 24px}
.cc-tool-card__name{display:block;color:var(--text);font:600 15px var(--sans);margin:0 0 5px}
.cc-tool-card__what{display:block;color:var(--muted);font-size:13.5px;line-height:1.55;margin:0 0 10px}
.cc-tool-card__enter{display:inline-block;font:10.5px var(--mono);color:var(--cyan);
  border:1px solid var(--line);border-radius:var(--radius);padding:4px 8px}
.cc-tool-card--pending .cc-tool-card__enter{color:var(--amber);border-color:rgba(231,183,94,.35)}
Markup
<div class="cc-tool-card">
  <span class="cc-tool-card__idx">01</span>
  <div>
    <strong class="cc-tool-card__name">Member Tagger</strong>
    <span class="cc-tool-card__what">Single source of truth for role, region, industry and Orbit progress. Every other tool reads from here.</span>
    <span class="cc-tool-card__enter">OPEN →</span>
  </div>
</div>
04

Rank Cell

Extracted — eight-rank ladder, held-pending states called out
Live

One rank in the eight-rank ladder: tier number, rank name, fill status, with held-pending states called out. The hierarchy is locked at eight ranks — Chief Architect, Admiral, Captain, Commander, Lieutenant Commander, Lieutenant, Ensign, Cadet — with Cadet at Tier 8.

Live previewFilled + held
Tier 1 Chief Architect Filled
Tier 8 Cadet Held pending
CSS
.cc-rank{display:flex;align-items:center;gap:12px;padding:11px 13px;
  background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius)}
.cc-rank--held{border-color:rgba(231,183,94,.32)}
.cc-rank__tier{font:10px var(--mono);color:var(--dim);letter-spacing:.08em;
  text-transform:uppercase;width:52px;flex:0 0 52px}
.cc-rank__name{flex:1;font-size:14px;color:var(--text)}
.cc-rank__fill{font:10px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--green)}
.cc-rank--held .cc-rank__fill{color:var(--amber)}
Markup
<div class="cc-rank">
  <span class="cc-rank__tier">Tier 1</span>
  <span class="cc-rank__name">Chief Architect</span>
  <span class="cc-rank__fill">Filled</span>
</div>

Note: eight ranks, not seven. Cadet sits at Tier 8. The older "7 tiers" phrasing does not match the eight named ranks on the durable record, and this block follows the canonical structure.

05

Metric Stat Card

Extracted — built to carry its source month
Live

One recorded figure with its label and its sub-line. The card is built to carry its source month, so a number never reads as live telemetry. The source date is part of the contract, not optional garnish.

Live previewSource month carried
8 Ranks in ladder Source · 17 Nov 2026
9 Components catalogued Source · 17 Nov 2026
CSS
.cc-stat{background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius);padding:16px}
.cc-stat__value{display:block;color:#eef3f4;font:600 30px var(--mono);line-height:1.1;letter-spacing:-.02em}
.cc-stat__label{display:block;color:var(--muted);font:10px var(--mono);
  letter-spacing:.12em;text-transform:uppercase;margin-top:8px}
.cc-stat__sub{display:block;color:var(--dim);font:10px var(--mono);margin-top:6px;letter-spacing:.06em}
Markup
<div class="cc-stat">
  <span class="cc-stat__value">8</span>
  <span class="cc-stat__label">Ranks in ladder</span>
  <span class="cc-stat__sub">Source · 17 Nov 2026</span>
</div>

Rule: every number on an operator surface carries the date it was recorded. If the sub-line cannot be filled, the figure does not ship.

06

Panel Header

Extracted — labelled bar with a timestamp on the right
Live

The labelled bar that opens a data panel and holds its timestamp on the right. The timestamp sits with the label rather than in the panel body, so the date travels with the block whenever it is reused.

Live previewLabel + timestamp
Bridge Activity 17 NOV 2026 · 09:42
CSS
.cc-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:11px 14px;background:var(--panel-2);border:1px solid var(--line);
  border-radius:var(--radius) var(--radius) 0 0}
.cc-panel-head__label{font:11px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--text)}
.cc-panel-head__meta{font:10px var(--mono);color:var(--dim)}
Markup
<div class="cc-panel-head">
  <span class="cc-panel-head__label">Bridge Activity</span>
  <span class="cc-panel-head__meta">17 NOV 2026 · 09:42</span>
</div>
07

Step Chain

Extracted — connected steps with direction arrows
Live

A route shown as connected steps with direction arrows — escalation, commission routing, onboarding, any path where the order of operations is the message. The block carries the arrows; it does not carry the routing logic.

Live previewEscalation route
Step 01 Request raised
Step 02 Commander review
Step 03 Commission routing
CSS
.cc-chain{display:flex;align-items:stretch;flex-wrap:wrap}
.cc-chain__step{flex:1 1 140px;min-width:0;position:relative;padding:12px;
  background:var(--panel-2);border:1px solid var(--line)}
.cc-chain__step:first-child{border-radius:var(--radius) 0 0 var(--radius)}
.cc-chain__step:last-child{border-radius:0 var(--radius) var(--radius) 0}
.cc-chain__step+.cc-chain__step{border-left:0}
.cc-chain__step:not(:last-child)::after{content:"›";position:absolute;right:-8px;top:50%;
  transform:translateY(-50%);z-index:2;color:var(--green);font:13px var(--mono);
  background:var(--bg);padding:0 2px}
.cc-chain__num{display:block;font:9.5px var(--mono);color:var(--dim);
  letter-spacing:.12em;text-transform:uppercase}
.cc-chain__title{display:block;color:var(--text);font-size:13px;margin-top:6px;line-height:1.35}
Markup
<div class="cc-chain">
  <div class="cc-chain__step">
    <span class="cc-chain__num">Step 01</span>
    <span class="cc-chain__title">Request raised</span>
  </div>
  <div class="cc-chain__step">
    <span class="cc-chain__num">Step 02</span>
    <span class="cc-chain__title">Commander review</span>
  </div>
  <div class="cc-chain__step">
    <span class="cc-chain__num">Step 03</span>
    <span class="cc-chain__title">Commission routing</span>
  </div>
</div>
08

Status Badge

Extracted — one set of four states
Live

The pill stating a condition. One set of four states, and only four: live, held pending, spec only, off. There is no fifth state and no custom colour option — colour is bound to meaning, so a badge cannot be made to look live when it is not.

Live previewFour states only
Live Held pending Spec only Off
CSS
.cc-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;
  border:1px solid var(--line-bright);font:800 10px var(--mono);letter-spacing:.07em;
  text-transform:uppercase;color:var(--muted);white-space:nowrap}
.cc-badge__dot{width:6px;height:6px;border-radius:50%;background:currentColor}
.cc-badge--live{color:var(--green);border-color:rgba(94,224,139,.4);background:var(--green-soft)}
.cc-badge--pending{color:var(--amber);border-color:rgba(231,183,94,.4);background:var(--amber-soft)}
.cc-badge--spec{color:var(--cyan);border-color:rgba(128,183,200,.4)}
.cc-badge--off{color:var(--dim);border-color:var(--line)}
Markup
<span class="cc-badge cc-badge--live"><span class="cc-badge__dot"></span>Live</span>
<span class="cc-badge cc-badge--pending"><span class="cc-badge__dot"></span>Held pending</span>
<span class="cc-badge cc-badge--spec">Spec only</span>
<span class="cc-badge cc-badge--off"><span class="cc-badge__dot"></span>Off</span>
09

Avatar Fallback

Member theme — catalogued, published elsewhere
Member theme

Initials by default and privacy-safe. Photo is opt-in, and a failed image URL falls back silently to initials rather than showing a broken image. This block keeps its published orb-avatar name rather than taking a cc- prefix, so it stays one component on the account and not two versions to keep in sync. Its canonical page is in the ORB Building Blocks project.

Live previewMember canvas

Four avatars: initials at three sizes, then the photo variant with a real image loaded. The script below renders these live on this page — it is the same script that is in the code panel.

CSS
.orb-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  width:44px;height:44px;border-radius:999px;background:#b04a2f;color:#fff;
  font-family:'Inter',sans-serif;font-weight:700;font-size:15px;letter-spacing:.02em;
  overflow:hidden;border:1px solid #e6e8ec;position:relative;user-select:none;vertical-align:middle}
.orb-avatar[data-size="sm"]{width:32px;height:32px;font-size:12px}
.orb-avatar[data-size="md"]{width:44px;height:44px;font-size:15px}
.orb-avatar[data-size="lg"]{width:72px;height:72px;font-size:24px}
.orb-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.orb-avatar__initials{position:absolute;inset:0;display:flex;align-items:center;
  justify-content:center;text-transform:uppercase}
.orb-avatar[data-variant="photo"][data-state="ok"] .orb-avatar__initials{display:none}
Markup
<span class="orb-avatar" data-variant="initials" data-name="Alex Rivera" data-size="md"></span>
<span class="orb-avatar" data-variant="photo" data-name="Jordan Lee" data-size="md"
      data-photo="https://your-cdn.example/photo.jpg"></span>
Script — required once per page, before </body>
<script>
(function () {
  function initials(name) {
    if (!name) return '?';
    var parts = name.trim().split(/\s+/);
    if (parts.length === 1) return parts[0].slice(0, 2).toUpperCase();
    return (parts[0][0] + parts[parts.length - 1][0]).toUpperCase();
  }
  function deriveColor(name) {
    var palette = ['#b04a2f', '#2e7d52', '#b58900', '#5b8cff', '#7c5bff', '#2a8a8a'];
    var sum = 0;
    for (var i = 0; i < name.length; i++) sum = (sum + name.charCodeAt(i)) | 0;
    return palette[Math.abs(sum) % palette.length];
  }
  function render(el) {
    var variant = el.dataset.variant || 'initials';
    var name = el.dataset.name || '';
    var size = el.dataset.size || 'md';
    el.setAttribute('data-size', size);
    el.setAttribute('aria-label', name);
    var span = document.createElement('span');
    span.className = 'orb-avatar__initials';
    span.textContent = initials(name);
    el.appendChild(span);
    el.style.background = deriveColor(name);
    if (variant === 'photo' && el.dataset.photo) {
      var img = document.createElement('img');
      img.src = el.dataset.photo;
      img.alt = name;
      img.onerror = function () { el.setAttribute('data-state', 'error'); };
      img.onload = function () { el.setAttribute('data-state', 'ok'); };
      el.appendChild(img);
    }
  }
  function init(root) {
    (root || document).querySelectorAll('.orb-avatar').forEach(render);
  }
  if (document.readyState === 'loading') {
    document.addEventListener('DOMContentLoaded', init);
  } else { init(); }
  window.ORBAvatar = { init: init, render: render };
})();
</script>

Note: the script initialises on DOMContentLoaded and exposes window.ORBAvatar.init(root) for content rendered later. Photo URLs must be member-controlled — never a third-party URL that tracks the viewer.

One thing this page does not carry. The per-project instantiation flow — where the operator picks components for a project and the agent wires them together — is built and published as the Per-Project Component Instantiation Flow. And there is no fifth status: live, held pending, spec only, off. If a condition does not fit one of the four, it is a label and belongs in the card body, not in a badge.