aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / public / assets / hive.css
| 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 <style> in the artifact |
| 221 | attaches the animations, inside a prefers-reduced-motion:no-preference |
| 222 | query and behind the native motion checkbox, so with motion off the |
| 223 | base values below are what the reader sees: one frame of the sequence, the |
| 224 | two holes at a visible separation (t = 7000 ms of the 19000 ms cycle), no |
| 225 | merged hole and no ripple. |
| 226 | Units: 1em is one unit of Allen's picture (a0 is 270 of them), and the |
| 227 | scene's font-size is that unit, so the whole scene scales on one number. */ |
| 228 | .hive-masthead > .hive-scene { |
| 229 | position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; |
| 230 | font-size:var(--hive-u,1px); contain:paint; |
| 231 | } |
| 232 | .hive-stage { position:absolute; left:74%; top:44%; width:0; height:0; } |
| 233 | .hive-hole, .hive-merge { |
| 234 | position:absolute; left:0; top:0; width:0; height:0; |
| 235 | transform:translateZ(0); will-change:transform; |
| 236 | } |
| 237 | /* The bend: the region whose light a hole bends (night.c's Einstein radius, |
| 238 | 60 units). A page cannot warp starlight with a transform, so the timing of |
| 239 | this halo is Allen's, the 2600 to 5200 ms ramp, and the shape is the |
| 240 | page's: it is the one place the scene simplifies. */ |
| 241 | .hive-bend, .hive-mglow { |
| 242 | position:absolute; left:0; top:0; border-radius:50%; |
| 243 | background:radial-gradient(circle closest-side, |
| 244 | color-mix(in srgb, var(--accent-blue) 20%, transparent) 0%, |
| 245 | color-mix(in srgb, var(--accent-blue) 8%, transparent) 46%, |
| 246 | transparent 74%); |
| 247 | } |
| 248 | .hive-bend { width:180em; height:180em; margin:-90em 0 0 -90em; } |
| 249 | .hive-mglow { width:254em; height:254em; margin:-127em 0 0 -127em; } |
| 250 | /* The shadow: night.c draws an opaque disc of radius rs (20 units), a thin |
| 251 | ring at 1.04 rs, and a glow that dies out by 1.5 rs. The box is 60em |
| 252 | across, 3 rs, so each stop below is one of those radii as a share of the |
| 253 | box, and scaling the box scales all three together. */ |
| 254 | .hive-plate, .hive-mplate { |
| 255 | position:absolute; left:0; top:0; width:60em; height:60em; margin:-30em 0 0 -30em; |
| 256 | border-radius:50%; |
| 257 | background:radial-gradient(circle closest-side, |
| 258 | var(--bg-base) 0 65.8%, |
| 259 | color-mix(in srgb, var(--accent-amber) 62%, var(--text-primary)) 68.9% 69.7%, |
| 260 | color-mix(in srgb, var(--accent-amber) 30%, transparent) 70.6%, |
| 261 | transparent 100%); |
| 262 | } |
| 263 | /* The ring that wobbles after the merger, inside the merged shadow's own |
| 264 | scale so it always sits just outside the shadow it belongs to. */ |
| 265 | .hive-ring { |
| 266 | position:absolute; inset:0; border-radius:50%; |
| 267 | background:radial-gradient(circle closest-side, transparent 0 66.4%, |
| 268 | color-mix(in srgb, var(--text-primary) 56%, transparent) 68.6% 70%, |
| 269 | transparent 72%); |
| 270 | } |
| 271 | /* The ripple: one circle from the merge point, out to 1000 units, drawn in |
| 272 | night.c's shape (a band a tenth of the radius wide) and its envelope. */ |
| 273 | .hive-ripple { |
| 274 | position:absolute; left:0; top:0; width:2em; height:2em; margin:-1em 0 0 -1em; |
| 275 | border-radius:50%; |
| 276 | background:radial-gradient(circle closest-side, transparent 0 64%, |
| 277 | color-mix(in srgb, var(--accent-blue) 34%, transparent) 82% 94%, |
| 278 | transparent 100%); |
| 279 | } |
| 280 | /* The two parts that exist only after the merger. With motion off the frame is |
| 281 | the pair, so both stay hidden; the emitted keyframes are what turn them on, |
| 282 | and they win over these declarations while they run. */ |
| 283 | .hive-merge, .hive-ripple { opacity:0; } |
| 284 | @media (max-width:600px) { |
| 285 | /* The prose is bottom aligned on a phone, so the pair rides in the upper |
| 286 | fifth: at 0.86 of the unit the discs bottom out at about 457 CSS px, above |
| 287 | the first line at 464, and the scrim over the prose is untouched. */ |
| 288 | .hive-masthead > .hive-scene { --hive-u:.86px; } |
| 289 | .hive-stage { left:50%; top:15%; } |
| 290 | } |
| 291 | .hive-masthead > * { position:relative; z-index:2; } |
| 292 | /* Scrim. The prose always sits over --bg-base at a token-derived alpha, never |
| 293 | straight over the sky. It is an ellipse that dies out to transparent on |
| 294 | every side, so the band has no top, bottom or right edge: the sky runs |
| 295 | straight through. Inside the inner 68% of the ellipse (where the prose is) |
| 296 | it stays at 0.90 or more of --bg-base, and against the brightest pixel the |
| 297 | sky could produce (white) 0.90 leaves --text-primary at 14.7:1, |
| 298 | --text-secondary at 6.2:1 and --text-muted at 6.0:1. |
| 299 | scripts/test-hive-cosmic.py checks the stop contract. */ |
| 300 | .hive-masthead::after { |
| 301 | content:""; position:absolute; inset:0; z-index:1; pointer-events:none; |
| 302 | background:radial-gradient(ellipse 72% 95% at 24% 52%, color-mix(in srgb, var(--bg-base) 92%, transparent) 0%, color-mix(in srgb, var(--bg-base) 90%, transparent) 68%, color-mix(in srgb, var(--bg-base) 55%, transparent) 86%, transparent 100%); |
| 303 | } |
| 304 | .hive-masthead .hive-eyebrow { color:var(--text-secondary); font-size:.65rem; letter-spacing:.24em; margin-bottom:22px; } |
| 305 | .hive h1 { font-size:clamp(4rem,9vw,8.5rem); font-weight:400; letter-spacing:-.065em; margin:0 0 24px; } |
| 306 | .hive-period { color:var(--accent-blue); } |
| 307 | .hive-intro { max-width:34ch; font-size:clamp(1.1rem,1.8vw,1.4rem); line-height:1.5; } |
| 308 | .hive-welcome { max-width:43ch; font-size:.85rem; margin-top:16px; } |
| 309 | .hive-learn { align-self:flex-start; margin-top:25px; padding:12px 19px; border:1px solid var(--border-subtle); border-radius:30px; text-decoration:none; font-size:.76rem; background:var(--bg-surface); } |
| 310 | .hive-learn:hover { border-color:var(--border-active); background:var(--bg-card); } |
| 311 | |
| 312 | /* Provenance: this page is generated by Omega, and that is the point of the |
| 313 | page, so it says so above the fleet rather than in a footnote. */ |
| 314 | .hive-omega { |
| 315 | display:grid; gap:6px; margin:0 0 22px; padding:18px 20px 18px 22px; |
| 316 | border:1px solid var(--border-subtle); border-left:3px solid var(--accent-blue); |
| 317 | border-radius:10px; background:var(--bg-surface); |
| 318 | } |
| 319 | .hive-omega-kicker { font-family:var(--font-mono); font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:var(--accent-green); } |
| 320 | .hive-omega-line { font-size:1rem; line-height:1.5; color:var(--text-primary); } |
| 321 | .hive-omega-note { font-size:.85rem; line-height:1.55; color:var(--text-secondary); } |
| 322 | .hive-omega-source { justify-self:start; margin-top:4px; font-family:var(--font-mono); font-size:.72rem; } |
| 323 | /* Sections are glass over the sky, not opaque slabs: 86% of --bg-surface |
| 324 | keeps the text contrast (0.86 over white) and lets the galaxy run on. */ |
| 325 | .hive-section { border-radius:16px; padding:32px; background:color-mix(in srgb, var(--bg-surface) 86%, transparent); } |
| 326 | .hive-section .hive-eyebrow { font-size:.61rem; letter-spacing:.18em; } |
| 327 | .hive h2 { font-size:1.5rem; font-weight:450; letter-spacing:-.025em; } |
| 328 | .hive-note { font-size:.78rem; } |
| 329 | /* The Signal band reads top to bottom in three short groups: the heading, |
| 330 | the connection state beside the two timestamps, then counts and coverage. |
| 331 | Each group gets its own line and room around it. */ |
| 332 | #hive-strip { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; } |
| 333 | #hive-strip > * { margin-top:0; } |
| 334 | .hive-head-row { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:16px; row-gap:6px; } |
| 335 | .hive-head-row .hive-eyebrow { margin:0; } |
| 336 | .hive-head-row h2 { margin:0; } |
| 337 | .hive-head-row .hive-note { flex:1 1 100%; margin:0; } |
| 338 | .hive-strip-facts { display:flex; flex-wrap:wrap; gap:12px 48px; align-items:start; } |
| 339 | .hive-strip-facts .hive-times { gap:4px 16px; } |
| 340 | .hive-strip-facts .hive-strip-status { gap:4px; flex:1 1 24ch; } |
| 341 | .hive-strip-foot { display:grid; gap:8px; padding-top:16px; border-top:1px solid var(--border-subtle); } |
| 342 | .hive-strip-foot .hive-counts, .hive-strip-foot .hive-coverage { min-width:0; } |
| 343 | .hive input.hive-motion-check { width: 1.1rem; min-height: 1.1rem; padding: 0; margin: 0 8px 14px 0; accent-color: var(--accent-blue); } |
| 344 | .hive-motion-label { color: var(--text-muted); font-size: var(--hive-micro); cursor: pointer; } |
| 345 | @media (min-width:901px) { |
| 346 | /* One line of context above the facts; the text is short enough to fit. */ |
| 347 | .hive-head-row .hive-note { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:1; overflow:hidden; } |
| 348 | } |
| 349 | .hive button { min-height:44px; border-radius:22px; font-size:.78rem; padding:9px 14px; } |
| 350 | .hive input { min-height:44px; border-radius:22px; padding:10px 15px; } |
| 351 | .hive-search { max-width:none; } |
| 352 | .hive-search label { font-size:.71rem; } |
| 353 | .hive-chip { font-size:.66rem; } |
| 354 | .hive-pill,.hive-elapsed { font-size:.63rem; } |
| 355 | .hive-activity { font-size:.76rem; } |
| 356 | .hive-node[data-selected="true"] > details > .hive-record { background:var(--bg-card); border-radius:8px; } |
| 357 | .hive-children { margin-left:10px; padding-left:15px; } |
| 358 | .hive-message { border-radius:10px; padding:16px 18px; } |
| 359 | .hive-message-text { font-size:.88rem; line-height:1.75; } |
| 360 | .hive-closing { font-size:.78rem; } |
| 361 | /* Desktop rhythm. The masthead keeps its trimmed hero (smaller display size, |
| 362 | tighter padding) without touching the scene; below it the sections get |
| 363 | room rather than a fold budget, because a crowded first screen read worse |
| 364 | than one scroll. */ |
| 365 | @media (min-width:901px) { |
| 366 | .hive { padding-top:14px; } |
| 367 | .hive-masthead { min-height:380px; margin:0 -4vw 22px; padding:40px 8vw 32px; } |
| 368 | .hive h1 { font-size:clamp(3rem,5.6vw,5.2rem); margin:0 0 12px; } |
| 369 | .hive-masthead .hive-eyebrow { margin-bottom:14px; } |
| 370 | .hive-welcome { margin-top:10px; } |
| 371 | .hive-learn { margin-top:14px; } |
| 372 | .hive-jumps { padding:8px 0; } |
| 373 | .hive-sections { gap:48px; } |
| 374 | } |
| 375 | |
| 376 | @media (max-width:900px) { |
| 377 | .hive-masthead { min-height:460px; padding:58px 7vw; } |
| 378 | .hive-section { padding:22px; } |
| 379 | } |
| 380 | @media (max-width:600px) { |
| 381 | .hive { padding:14px 20px 50px; } |
| 382 | .hive-jumps { gap:10px 20px; } |
| 383 | .hive-jumps a { font-size:.65rem; } |
| 384 | .hive-masthead { margin:0 -20px 22px; padding:54px 28px 48px; min-height:520px; justify-content:flex-end; } |
| 385 | /* The prose is bottom-aligned here, so the scrim ellipse sits low. */ |
| 386 | .hive-masthead::after { |
| 387 | background:radial-gradient(ellipse 110% 70% at 50% 82%, color-mix(in srgb, var(--bg-base) 94%, transparent) 0%, color-mix(in srgb, var(--bg-base) 90%, transparent) 55%, color-mix(in srgb, var(--bg-base) 60%, transparent) 80%, transparent 100%); |
| 388 | } |
| 389 | .hive h1 { font-size:clamp(3.7rem,17vw,5rem); margin-bottom:18px; } |
| 390 | .hive-intro { font-size:1rem; } |
| 391 | .hive-welcome { font-size:.78rem; } |
| 392 | .hive-sections { gap:32px; } |
| 393 | .hive-section { padding:20px 16px; border-radius:12px; } |
| 394 | #hive-strip { display:block; padding:16px; } |
| 395 | #hive-strip > * + * { margin-top:12px; } |
| 396 | .hive-times { grid-template-columns:1fr; font-size:.67rem; gap:2px; } |
| 397 | .hive-times dd { margin-bottom:8px; } |
| 398 | .hive-chip { max-width:100%; } |
| 399 | .hive-conversation-controls button { flex:1; } |
| 400 | } |
| 401 | @media (prefers-reduced-motion:reduce) { .hive *, .hive *::before, .hive *::after { animation:none !important; transition:none !important; } } |
| 402 | |
| 403 | /* Universe: every agent as a world (drawn by the Omega-generated /js/hive.js). Still by design: motion belongs to the .om scene. */ |
| 404 | .hive-universe { position: relative; } |
| 405 | .hive-universe-tools { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; } |
| 406 | .hive-universe-tools button { font: inherit; font-size: var(--hive-micro); min-width: 36px; min-height: 32px; color: var(--text-primary); background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 999px; padding: 2px 12px; cursor: pointer; } |
| 407 | .hive-universe-tools button:hover, .hive-universe-tools button:focus-visible { border-color: var(--accent-blue); outline: none; } |
| 408 | .hive-universe-count { font-family: var(--font-mono); font-size: var(--hive-micro); color: var(--text-muted); margin-left: auto; } |
| 409 | .hive-universe-sky { display: block; width: 100%; height: min(70vh, 560px); border: 1px solid var(--border-subtle); border-radius: 12px; touch-action: pan-y; cursor: grab; |
| 410 | background: radial-gradient(ellipse at 30% 20%, var(--accent-blue-glow), transparent 60%), var(--bg-base); } |
| 411 | .hive-universe-sky:active { cursor: grabbing; } |
| 412 | .hive-orbit-path { fill: none; stroke: var(--border-subtle); stroke-width: 0.6; stroke-dasharray: 2 4; } |
| 413 | .hive-world circle { fill: var(--text-muted); stroke: var(--bg-base); stroke-width: 1; } |
| 414 | .hive-world:hover circle, .hive-world:focus-visible circle { stroke: var(--text-primary); stroke-width: 2; } |
| 415 | .hive-world:focus-visible { outline: none; } |
| 416 | .hive-world.st-working circle { fill: var(--accent-blue); } |
| 417 | .hive-world.st-waiting circle { fill: var(--text-primary); } |
| 418 | .hive-world.st-idle circle { fill: var(--text-secondary); } |
| 419 | .hive-world.st-completed circle { fill: var(--accent-green); } |
| 420 | .hive-world.st-failed circle { fill: var(--bg-card); stroke: var(--text-muted); stroke-dasharray: 2 2; } |
| 421 | .hive-world.is-limited circle { stroke: var(--accent-amber); stroke-width: 3; } |
| 422 | .hive-world.is-capacity circle { stroke: var(--accent-amber); stroke-width: 3; stroke-dasharray: 3 2; } |
| 423 | .hive-world-label { fill: var(--text-secondary); font-family: var(--font-mono); font-size: 9px; text-anchor: middle; pointer-events: none; } |