jenkins b66c762f5d hermes(webui): add HUX card UI models with contract-locked suites
Standalone per-card browser model/security/view modules for HUX-01..10
plus node+pytest suites that read the hux.v1 contract schemas directly.
Reconciled drift found on integration: the activity model now accepts
all 32 hux.event.v1 kinds (delegation.*, memory.suppressed,
memory.retrieval_removed, budget.exhausted, side_effect.*), the
autonomy model carries the external_side_effect capability, and the
foundation boundary test now asserts the shipped static HUX surface
exists on disk and that images never bake activated HUX_FLAGS.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BvMSXH8VH2tMWXanb8SJdf
2026-08-24 04:12:03 -03:00

125 lines
2.5 KiB
CSS

/* Component-scoped HUX-09 presentation; importing it cannot recolor the page. */
.hux-onboarding {
background: color-mix(in srgb, #22d3ee 4%, transparent);
border: 1px solid color-mix(in srgb, #22d3ee 22%, currentColor 8%);
border-radius: 0.8rem;
color: inherit;
container-type: inline-size;
display: grid;
gap: 0.7rem 1rem;
grid-template-columns: minmax(0, 1fr) auto;
padding: 0.8rem 0.9rem;
}
.hux-onboarding-copy {
min-width: 0;
}
.hux-onboarding-kicker {
color: color-mix(in srgb, currentColor 60%, #22d3ee);
display: block;
font-size: 0.625rem;
font-weight: 700;
letter-spacing: 0.055em;
text-transform: uppercase;
}
.hux-onboarding h2 {
font-size: 0.8125rem;
font-weight: 680;
line-height: 1.35;
margin: 0.15rem 0 0;
}
.hux-onboarding-copy > p,
.hux-onboarding-why p {
color: color-mix(in srgb, currentColor 68%, transparent);
font-size: 0.6875rem;
line-height: 1.45;
margin: 0.2rem 0 0;
}
.hux-onboarding-why {
font-size: 0.625rem;
margin-top: 0.45rem;
}
.hux-onboarding-why summary {
color: color-mix(in srgb, currentColor 58%, transparent);
cursor: pointer;
width: fit-content;
}
.hux-onboarding-controls {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
justify-content: flex-end;
}
.hux-onboarding button {
background: transparent;
border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
border-radius: 0.55rem;
color: inherit;
cursor: pointer;
font: inherit;
font-size: 0.6875rem;
min-height: 2rem;
padding: 0.35rem 0.6rem;
}
.hux-onboarding .hux-onboarding-primary {
background: color-mix(in srgb, #22d3ee 12%, transparent);
border-color: color-mix(in srgb, #22d3ee 48%, currentColor);
font-weight: 650;
}
.hux-onboarding .hux-onboarding-never {
border-color: transparent;
color: color-mix(in srgb, currentColor 58%, transparent);
}
.hux-onboarding button:focus-visible,
.hux-onboarding summary:focus-visible {
outline: 2px solid #22d3ee;
outline-offset: 2px;
}
.hux-onboarding button:disabled {
cursor: not-allowed;
opacity: 0.5;
}
.hux-onboarding-status,
.hux-onboarding-error {
font-size: 0.625rem;
grid-column: 1 / -1;
margin: 0;
}
.hux-onboarding-status:empty {
display: none;
}
.hux-onboarding-error {
color: color-mix(in srgb, currentColor 82%, #fb7185);
}
@container (max-width: 38rem) {
.hux-onboarding {
grid-template-columns: 1fr;
}
.hux-onboarding-controls {
justify-content: flex-start;
}
}
@media (prefers-reduced-motion: reduce) {
.hux-onboarding * {
scroll-behavior: auto;
}
}