Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienos.com/blob/main/public/assets/hive.css # aienos.com Source of www.aienos.com, served from my own hardware Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienos.com / public / assets / hive.css` 423 lines ยท 28679 bytes Raw Blame History 1 /* Hive layout and look. Structure comes from om/hive-page/hive.om; this file 2 places it. Two layers live here and they are read in that order: layout and 3 state first (the bounded panels, the branch disclosure, the row grid, the 4 status pill and model chip, tabular numbers, the clamped activity line, the 5 focus rings), then the presentation layer at the end of the file (the 6 masthead scene, its scrim, the display type scale and the softer radii). 7 Palette tokens from assets/style.css only: no local hex, no bespoke near 8 black. Motion is compositor only, one transform transition, removed for 9 prefers-reduced-motion and whenever the page's own motion control is off. 10 The masthead scene is Allen's two black holes: its markup, its samples and 11 every keyframe of it are emitted by the Omega program into 12 om/hive-page/main.html, and this file only places the stage and paints the 13 discs. It animates nothing of its own. */ 14 .hive { 15 --hive-h1: clamp(2.4rem, 5.4vw, 4rem); 16 --hive-h2: clamp(1.2rem, 1.4vw, 1.45rem); 17 --hive-row: 0.95rem; 18 --hive-body: 0.85rem; 19 --hive-label: 0.7rem; 20 --hive-micro: 0.66rem; 21 --hive-scroll: clamp(360px, 74vh, 880px); 22 max-width: 1320px; 23 margin: 0 auto; 24 padding: 32px 5vw 72px; 25 color: var(--text-primary); 26 font-family: var(--font-sans); 27 } 28 29 .hive [hidden] { display: none !important; } 30 31 /* The masthead is one block of prose beside nothing: no scene, no stage. */ 32 .hive-masthead { max-width: 68ch; margin-bottom: 32px; } 33 .hive h1 { font-size: var(--hive-h1); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 16px; } 34 .hive h2 { font-size: var(--hive-h2); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; margin: 0; } 35 .hive h3 { font-family: var(--font-mono); font-size: var(--hive-label); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin: 18px 0 6px; } 36 .hive p { margin: 0; line-height: 1.6; } 37 .hive a { color: var(--accent-blue); text-underline-offset: 4px; } 38 .hive-period { color: var(--text-muted); } 39 40 /* Labels: mono, quiet, and never wider than the value they introduce. */ 41 .hive-eyebrow { font-family: var(--font-mono); font-size: var(--hive-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 6px; } 42 .hive-small, .hive-source-note, .hive-state { font-family: var(--font-mono); font-size: var(--hive-micro); line-height: 1.55; color: var(--text-muted); font-variant-numeric: tabular-nums; } 43 .hive-intro { font-size: 1.15rem; max-width: 46ch; margin-bottom: 12px; } 44 .hive-welcome { max-width: 62ch; color: var(--text-secondary); } 45 .hive-learn { display: inline-block; margin-top: 16px; } 46 47 .hive-jumps { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 12px 0; margin-bottom: 24px; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); } 48 .hive-jumps a { color: var(--text-secondary); font-size: var(--hive-body); text-decoration: none; } 49 .hive-jumps a:hover { color: var(--accent-blue); } 50 51 /* Below the masthead the page is one reading column: one idea per section, 52 in hive.om's order (Signal, Missions, Selected mission, Conversations), 53 with room between them. A side column made the manifest pin over the 54 conversations and crowded every row, so there is none. */ 55 .hive-omega, .hive-sections, .hive-closing { max-width: 920px; } 56 .hive-sections { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: start; } 57 .hive-section { min-width: 0; padding: 18px 20px; border: 1px solid var(--border-subtle); border-radius: 4px; background: var(--bg-surface); } 58 .hive-note { color: var(--text-secondary); font-size: var(--hive-body); line-height: 1.55; margin: 8px 0 0; max-width: 74ch; } 59 .hive-section > .hive-eyebrow + h2 + .hive-note { margin-bottom: 14px; } 60 61 /* A bounded panel: the head stays, the body is the only scroll box, so a fleet 62 of hundreds of agents is one viewport tall instead of thousands of pixels. */ 63 .hive-section.hive-panel { display: flex; flex-direction: column; max-height: var(--hive-scroll); padding: 0; overflow: hidden; } 64 .hive-panel-head { position: sticky; top: 0; flex: 0 0 auto; z-index: 2; padding: 16px 18px 0; background: var(--bg-surface); } 65 .hive-panel-head .hive-note { margin-bottom: 0; padding-bottom: 12px; border-bottom: 1px solid var(--border-subtle); } 66 .hive-panel-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 18px 16px; scroll-padding-top: 76px; } 67 .hive-panel-body > * + * { margin-top: 12px; } 68 69 /* The missions tools ride at the top of the scroll box, so search is reachable 70 while the tree scrolls under it. */ 71 .hive-tools { position: sticky; top: 0; z-index: 1; padding: 10px 0 8px; background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle); } 72 .hive-search { display: grid; gap: 5px; max-width: 44ch; } 73 .hive-search label { font-family: var(--font-mono); font-size: var(--hive-micro); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); } 74 .hive-tools .hive-small { margin-top: 6px; } 75 76 /* Status and freshness strip: two quiet columns of label and value. */ 77 .hive-times, .hive-fields { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 16px; margin: 0; } 78 .hive-times dt, .hive-fields dt { font-family: var(--font-mono); font-size: var(--hive-micro); color: var(--text-muted); } 79 .hive-times dd, .hive-fields dd { margin: 0; font-family: var(--font-mono); font-size: var(--hive-micro); color: var(--text-secondary); overflow-wrap: anywhere; } 80 .hive-times dd time, .hive-fields dd time, .hive-message-who time { font-variant-numeric: tabular-nums; } 81 .hive-strip-status { display: grid; gap: 4px; } 82 .hive-connection { font-size: var(--hive-body); color: var(--text-secondary); } 83 .hive-counts { font-family: var(--font-mono); font-size: var(--hive-micro); color: var(--text-secondary); } 84 .hive-coverage { font-family: var(--font-mono); font-size: var(--hive-micro); line-height: 1.55; color: var(--text-secondary); border-left: 2px solid var(--border-subtle); padding-left: 10px; } 85 .hive-coverage[data-complete="false"] { border-left-color: var(--accent-amber); } 86 /* Rewritten every second: clamped so the strip cannot reflow under the pointer. */ 87 .hive-connection, .hive-counts, .hive-coverage, .hive-strip-status .hive-small { 88 display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; 89 } 90 91 .hive button, .hive input { font: inherit; } 92 .hive button { color: var(--text-primary); background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 3px; padding: 6px 10px; min-height: 34px; font-size: var(--hive-body); cursor: pointer; } 93 .hive button:hover { border-color: var(--text-muted); } 94 .hive button[aria-pressed="true"] { border-color: var(--accent-blue); color: var(--accent-blue); } 95 .hive button:disabled { color: var(--text-muted); cursor: default; } 96 .hive button:disabled:hover { border-color: var(--border-subtle); } 97 .hive :is(a, button, input, [tabindex]):focus-visible { outline: 2px solid var(--accent-green); outline-offset: 2px; border-radius: 2px; } 98 .hive input { color: var(--text-primary); background: var(--bg-base); border: 1px solid var(--border-subtle); border-radius: 3px; padding: 6px 9px; width: 100%; font-size: var(--hive-body); } 99 .hive input::placeholder { color: var(--text-muted); } 100 101 /* The mission tree. One 1px separator per row and one indentation rail per 102 level carry the hierarchy. A row reads in three short lines: the task and 103 its state, what it is doing now, then the model in quiet type. Elapsed time 104 and the per-row observation lag are details, so they show on the selected 105 row only (the Signal section discloses the source lag for the whole page). */ 106 .hive-tree, .hive-children { list-style: none; margin: 0; padding: 0; } 107 .hive-children { margin-left: 12px; padding-left: 16px; border-left: 1px solid var(--border-subtle); } 108 .hive-node[hidden] { display: none !important; } 109 .hive-record { 110 position: relative; 111 display: grid; 112 grid-template-columns: 1.5rem minmax(0, 1fr) max-content; 113 gap: 4px 12px; 114 align-items: baseline; 115 padding: 14px 12px; 116 margin: 0 -12px; 117 border-bottom: 1px solid var(--border-subtle); 118 border-radius: 3px 3px 0 0; 119 } 120 .hive-record:hover { background: var(--bg-card-hover); } 121 summary.hive-record { list-style: none; cursor: pointer; } 122 summary.hive-record::-webkit-details-marker { display: none; } 123 summary.hive-record::before { content: ""; grid-area: 1 / 1; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(-45deg); transition: transform 140ms ease-out; } 124 details[open] > summary.hive-record::before { transform: rotate(45deg); } 125 .hive .hive-select { grid-area: 1 / 2; text-align: left; font-size: var(--hive-row); font-weight: 600; line-height: 1.35; color: var(--text-primary); background: transparent; border: 0; padding: 0; min-height: 0; overflow-wrap: anywhere; } 126 .hive-select:hover { border-color: transparent; color: var(--accent-blue); } 127 .hive-pill { grid-area: 1 / 3; font-family: var(--font-mono); font-size: var(--hive-micro); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--text-muted); border: 1px solid var(--border-subtle); border-radius: 999px; padding: 1px 8px; } 128 /* Rewritten as the source advances: one fixed line, so the row never resizes 129 and the pointer never falls off the row it is over. */ 130 .hive-activity { grid-area: 2 / 2 / 3 / -1; font-size: var(--hive-body); line-height: 1.4; color: var(--text-secondary); overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; min-height: 1.4em; } 131 .hive-chip { grid-area: 3 / 2; justify-self: start; font-family: var(--font-mono); font-size: var(--hive-micro); color: var(--text-muted); min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } 132 .hive-elapsed { grid-area: 3 / 3; font-family: var(--font-mono); font-size: var(--hive-micro); color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; } 133 .hive-node:not([data-selected="true"]) > details > .hive-record .hive-elapsed, 134 .hive-node:not([data-selected="true"]) > details > .hive-small { display: none; } 135 .hive-node > details > .hive-small { padding: 6px 0 10px 1.5rem; } 136 .hive-node[data-selected="true"] > details > .hive-record { background: var(--bg-card); } 137 .hive-node[data-selected="true"] > details > .hive-record .hive-select { color: var(--accent-blue); } 138 .hive-empty { color: var(--text-muted); font-size: var(--hive-body); line-height: 1.55; } 139 140 /* Selected-agent manifest: label and value pairs, no cards inside it. */ 141 .hive-manifest-name { font-size: 1rem; font-weight: 600; line-height: 1.35; margin: 12px 0 14px; overflow-wrap: anywhere; } 142 .hive-work { color: var(--text-secondary); font-size: var(--hive-body); overflow-wrap: anywhere; } 143 .hive-family { display: flex; flex-wrap: wrap; gap: 5px 14px; } 144 .hive-family-link { font-family: var(--font-mono); font-size: var(--hive-micro); } 145 .hive-panel-body #hive-show-selected { margin-top: 14px; } 146 147 /* The message feed. Only the list scrolls, and the page never jumps with it. */ 148 .hive-conversation-controls { display: flex; flex-wrap: wrap; gap: 8px; } 149 .hive-chat { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-height: min(64vh, 560px); overflow-y: auto; overscroll-behavior: contain; } 150 .hive-chat:focus-visible { outline: 2px solid var(--accent-green); outline-offset: 4px; } 151 .hive-message { display: grid; gap: 6px; padding: 8px 10px 8px 14px; border-left: 2px solid var(--border-subtle); } 152 .hive-message-who { display: flex; flex-wrap: wrap; gap: 3px 12px; font-family: var(--font-mono); font-size: var(--hive-micro); color: var(--text-muted); } 153 .hive-message-who strong { color: var(--text-primary); font-weight: 600; } 154 .hive-message-text { color: var(--text-secondary); font-size: var(--hive-body); max-width: 72ch; overflow-wrap: anywhere; white-space: pre-wrap; } 155 156 .hive-closing { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-subtle); } 157 .hive-closing p { color: var(--text-muted); } 158 159 @media (max-width: 900px) { 160 .hive { padding: 24px 4vw 56px; --hive-scroll: clamp(320px, 68vh, 640px); } 161 .hive-sections { gap: 40px; } 162 .hive-section { padding: 16px; } 163 .hive-section.hive-panel { padding: 0; } 164 .hive-panel-head { padding: 14px 14px 0; } 165 .hive-panel-body { padding: 0 14px 14px; } 166 .hive-record { grid-template-columns: 1.25rem minmax(0, 1fr) max-content; column-gap: 10px; padding: 12px 8px; margin: 0 -8px; } 167 } 168 169 @media (prefers-reduced-motion: reduce) { 170 .hive *, .hive *::before, .hive *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } 171 } 172 173 .hive:not(:has(#hive-motion:checked)) *, .hive:not(:has(#hive-motion:checked)) *::before, .hive:not(:has(#hive-motion:checked)) *::after { 174 transition: none !important; 175 animation: none !important; 176 scroll-behavior: auto !important; 177 } 178 179 /* Presentation layer, from #91. The sky is decorative: it never encodes agent 180 position, progress, topology or live activity, and it is inert (no script, 181 no animation, no external reference). Where a rule here collided with the 182 bounded panels or the row grid, the structure won: the record grid, the 183 panel scroll boxes and the manifest offset are set once, in the sections 184 above. */ 185 .hive { max-width:1600px; padding:22px 4vw 80px; } 186 .hive *, .hive *::before, .hive *::after { box-sizing:border-box; } 187 /* The sky sits behind the whole page, not inside a band: one fixed layer the 188 size of the viewport, so it has no edge to show and never scrolls. A fixed, 189 composited layer is rasterised once and only moved by the compositor; 190 the old band was a cover-sized layer at half opacity under a gradient scrim 191 that was repainted with the holes, which read as faded and flickering. 192 No negative z-index: under isolation Chromium rebuilt that layer on 193 scroll. The layer is at 0 and every child of .hive is lifted to 1. */ 194 .hive::before { 195 content:""; position:fixed; inset:0; z-index:0; pointer-events:none; 196 background:url('/assets/hive-universe.svg') 60% 45% / cover no-repeat; 197 transform:translateZ(0); will-change:transform; 198 } 199 .hive > * { position:relative; z-index:1; } 200 /* The site footer and, below 1100px, the site header (sticky only above it) 201 follow the static flow, so the fixed sky would paint over them; this sheet 202 only loads on /hive/, so lifting them here is local. */ 203 .aien-footer { position:relative; z-index:1; } 204 @media (max-width:1099px) { .aien-header { position:relative; z-index:50; } } 205 /* The jumps and the closing line are the only prose outside a section, scrim 206 or opaque card, so they get the sections' 86% --bg-surface glass rather 207 than sitting straight on the sky's bright core. */ 208 .hive-jumps { margin-bottom:0; border-top:0; padding:14px 18px; gap:12px 30px; border-radius:12px; background:color-mix(in srgb, var(--bg-surface) 86%, transparent); } 209 .hive-closing { padding:16px 18px; border-radius:12px; background:color-mix(in srgb, var(--bg-surface) 86%, transparent); } 210 .hive-jumps a { font-size:.73rem; letter-spacing:.04em; } 211 .hive-masthead { 212 position:relative; overflow:hidden; 213 max-width:none; min-height:520px; margin:0 -4vw 36px; 214 padding:80px 8vw 72px; display:flex; flex-direction:column; justify-content:center; 215 } 216 217 /* The scene: Allen's two black holes (native/kernel/ui/night.c and chirp.c, 218 ported by om/hive-page/hive.om). The markup, the samples and every keyframe 219 come from that program; this block only places the stage and paints the 220 discs, and it animates nothing. The emitted