mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
/automations, /billing, /chrome, /cli, /commerce, /edge, /gateway, /idv, /ledger, /operative, /playground, /pubsub. /billing's Issued chip lost its solid fill in dark (now var(--primary) / var(--primary-foreground)). On the others the selected label sits on a sliding pill drawn by a sibling element; the label now carries the pill's own colour in dark, so it reads the same and James's darkcheck measures it correctly. Every rule is under html:not(.light): light mode is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdwj33XByFVTvu9bfci
586 lines
53 KiB
CSS
586 lines
53 KiB
CSS
/* ---------- /chrome: one window, inspector-led; then governance; deck greys only ---------- */
|
|
.xch { --soft: #525252; --faint: #737373; --card: #f2f2f2; --line: rgba(0, 0, 0, .1); }
|
|
/* dark (docs/DARK-MODE.md): this page's greys, and v2/AppType.css's fixed ones on .av, point at Hanzo's own tokens */
|
|
html:not(.light) .xch { --soft: var(--muted-foreground); --faint: var(--text-tertiary); --card: var(--glass-strong); --line: var(--border); --ac-soft: var(--x-fill); }
|
|
html:not(.light) .av.xch { background: var(--bg); color: var(--ink); }
|
|
html:not(.light) .xch .av-lede, html:not(.light) .xch .av-body { color: var(--soft); }
|
|
html:not(.light) .xch .av-kick, html:not(.light) .xch .av-spec dt { color: var(--faint); }
|
|
html:not(.light) .xch .av-kick b, html:not(.light) .xch .av-spec dd { color: var(--ink); }
|
|
html:not(.light) .xch .av-spec, html:not(.light) .xch .av-spec dt, html:not(.light) .xch .av-spec dd { border-color: var(--line); }
|
|
html:not(.light) .xch .av-obj { box-shadow: 0 0 0 1px var(--line); }
|
|
html:not(.light) .xch .av-card { background: var(--x-fill); }
|
|
html:not(.light) .xch .av-dark .av-body, html:not(.light) .xch .av-dark .av-lede { color: var(--white-78); }
|
|
html:not(.light) .xch .av-dark .av-kick { color: var(--white-55); }
|
|
.xch-cap-k { margin: 0; font: 600 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
|
|
|
|
/* hero: the h1 (7) and the lede with the ask (5), then the window on stage */
|
|
.xch-hero { padding: clamp(28px, 3.4vw, 56px) 0 clamp(48px, 4.4vw, 72px); }
|
|
.xch-top { align-items: end; }
|
|
.xch-h1 { grid-column: 1 / span 7; }
|
|
.xch-h1 > span { display: block; }
|
|
.xch-top-r { grid-column: 8 / -1; display: flex; flex-direction: column; gap: 18px; padding-bottom: 4px; }
|
|
.xch-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
|
|
.xch-acts .x-btn.solid { margin-right: 2px; }
|
|
.xch .x-arrow { min-height: 44px; font-size: 16px; }
|
|
/* text links answer: the underline draws in and the arrow slides 4px */
|
|
.xch .x-arrow > span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease-out-expo); }
|
|
.xch .x-arrow > svg { transition: transform .3s var(--ease-out-expo); }
|
|
@media (hover: hover) {
|
|
.xch .x-arrow:hover > span { background-size: 100% 1px; }
|
|
.xch .x-arrow:hover > svg { transform: translateX(4px); }
|
|
}
|
|
.xch .x-arrow:focus-visible > span { background-size: 100% 1px; }
|
|
.xch-stage { width: min(100%, 1152px); margin: clamp(40px, 4vw, 64px) auto 0; }
|
|
.xch-caption { margin: 16px 0 0; font-size: 13px; color: var(--faint); }
|
|
|
|
.xch-scene { position: relative; }
|
|
.xch-win { position: relative; }
|
|
.xch-tabs { display: flex; align-items: flex-end; gap: 2px; height: 48px; padding: 0 14px; background: light-dark(#ededed, var(--background)); overflow: hidden; }
|
|
.xch-lights { display: flex; gap: 8px; align-self: center; margin-right: 16px; }
|
|
.xch-lights i { width: 12px; height: 12px; border-radius: 50%; background: light-dark(#a3a3a3, var(--white-40)); }
|
|
.xch-lights i:nth-child(2) { background: light-dark(#d4d4d4, var(--white-20)); } .xch-lights i:nth-child(3) { background: light-dark(#d4d4d4, var(--white-20)); }
|
|
.xch-tab { flex: 0 1 220px; min-width: 0; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-radius: 12px 12px 0 0; font-size: 13px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.xch-tab.on { background: var(--x-raised); color: var(--ink); }
|
|
.xch-tab i { flex: none; width: 14px; height: 14px; border-radius: 4px; background: light-dark(#d4d4d4, var(--white-20)); }
|
|
.xch-tab.on i { background: var(--ink); }
|
|
.xch-tab.chan i { border-radius: 50%; background: none; box-shadow: inset 0 0 0 1.5px light-dark(#a3a3a3, var(--white-40)); transition: background .3s var(--ease-out-expo), box-shadow .3s; }
|
|
.xch-tab.chan.hit { color: var(--ink); font-weight: 500; }
|
|
.xch-tab.chan.hit i { background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
|
|
.xch-bar { display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); }
|
|
.xch-nav { display: flex; gap: 12px; color: var(--faint); }
|
|
.xch-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px; border-radius: 999px; background: light-dark(#f2f2f2, var(--glass-strong)); font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; }
|
|
.xch-url svg { flex: none; color: var(--soft); }
|
|
.xch-cdp { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); white-space: nowrap; }
|
|
.xch-cdp i, .xch-overlay i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
|
|
/* the window stays alive after the run rests: the connection dot breathes, the side panel's field waits with a caret */
|
|
.xch-cdp i { animation: xch-beat 2.4s ease-in-out infinite; }
|
|
.xch-ctl { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--x-raised); color: var(--ink); cursor: pointer; transition: transform var(--dur-press) var(--ease-out-expo); }
|
|
.xch-ctl:active { transform: scale(.97); }
|
|
.xch-ctl:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
|
|
.xch-split { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 360px); height: clamp(540px, min(46vw, 100svh - 210px), 660px); } /* the settled window fits the screen under the header */
|
|
.xch-left { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; min-width: 0; border-right: 1px solid var(--line); }
|
|
.xch-page { padding: clamp(24px, 2.6vw, 40px); overflow: hidden; }
|
|
.xch-page-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
|
|
.xch-tag { margin: 0; font-size: 12px; letter-spacing: .14em; color: var(--faint); }
|
|
.xch-overlay { display: inline-flex; align-items: center; gap: 8px; margin: 0; height: 30px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--ink); }
|
|
.xch-page h3 { margin: 0; font-size: clamp(24px, 2.2vw, 32px); font-weight: 497; letter-spacing: -.028em; line-height: 1.1; }
|
|
.xch-sub { margin: 8px 0 0; font-size: 15px; color: var(--soft); }
|
|
.xch-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; margin-top: 24px; align-items: start; }
|
|
.xch-target { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 46px 20px 18px; border-radius: 16px; background: var(--card); }
|
|
.xch-target::before { content: ''; position: absolute; inset: 34px 10px 46px; border: 1.5px dashed var(--ink); border-radius: 12px; opacity: 0; transition: opacity .3s var(--ease-out-expo); }
|
|
.xch-target.on::before, .xch-target.scan::before { opacity: 1; }
|
|
.xch-target.scan::before { animation: xch-scan 1.2s ease-in-out 3; }
|
|
@keyframes xch-scan { 50% { opacity: .35; } }
|
|
.xch-sel { position: absolute; left: 10px; top: 8px; max-width: calc(100% - 20px); padding: 4px 8px; border-radius: 6px; background: var(--ink); color: var(--x-on-ink); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
|
|
.js .xch-target:not(.on):not(.scan) .xch-sel { opacity: 0; }
|
|
.xch-ins { font-size: 13px; color: var(--soft); }
|
|
.xch-wcag { font-size: 13px; color: var(--ink); }
|
|
.xch-cta { display: inline-flex; align-items: center; height: 52px; padding: 0 22px; border-radius: 12px; background: light-dark(#525252, var(--muted-foreground)); color: var(--x-on-ink); font-size: 16px; font-weight: 500; transition: background .3s var(--ease-out-expo); }
|
|
.xch-cta.press { animation: xch-press .5s var(--ease-out-expo) .6s both; }
|
|
@keyframes xch-press { 0%, 100% { transform: none; } 30% { transform: scale(.97); } }
|
|
.xch-cta.hit { background: var(--ink); }
|
|
.xch-policy { padding: 18px; border-radius: 16px; background: var(--x-raised); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s var(--ease-out-expo); }
|
|
.xch-policy.check { box-shadow: inset 0 0 0 2px var(--ink); }
|
|
.xch-policy.ok { box-shadow: inset 0 0 0 1px light-dark(rgba(0, 0, 0, .4), var(--white-40)); }
|
|
.xch-policy b { display: block; font-size: 15px; font-weight: 600; }
|
|
.xch-seg { display: inline-flex; margin: 12px 0; padding: 3px; border-radius: 9px; background: var(--card); font-size: 13px; }
|
|
.xch-seg button { position: relative; padding: 6px 10px; border: 0; border-radius: 7px; background: none; color: var(--soft); font: inherit; cursor: pointer; transition: background-color var(--dur-hover) var(--ease-soft), color var(--dur-hover) var(--ease-soft), box-shadow var(--dur-hover), transform var(--dur-press) var(--ease-out-expo); -webkit-tap-highlight-color: transparent; }
|
|
.xch-seg button::before { content: ''; position: absolute; inset: -8px -2px; } /* a 44px tap area around the small pill */
|
|
.xch-seg button.on { background: var(--x-knob); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
|
|
.xch-seg button:active { transform: scale(.97); }
|
|
.xch-seg button:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
|
|
.xch-policy p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--soft); }
|
|
.xch-pol-line:not([data-on]) { display: none; }
|
|
.js .xch-pol-line[data-on] { animation: xch-pane .3s var(--ease-out-expo) both; }
|
|
|
|
/* the inspector drawer (fixed height: switching panes never moves anything) */
|
|
.xch-dev { border-top: 1px solid var(--line); background: var(--x-raised); }
|
|
.xch-dev-tabs { display: flex; align-items: center; gap: 2px; height: 44px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--x-sunk); }
|
|
.xch-dev-tabs button { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 0; background: none; color: var(--soft); font: 500 13px/1 var(--sans); cursor: pointer; }
|
|
.xch-dev-tabs button[aria-selected='true'] { color: var(--ink); }
|
|
.xch-dev-tabs button[aria-selected='true']::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); }
|
|
.xch-dev-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 8px; }
|
|
.xch-badge { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--x-on-ink); font: 600 12px/1 var(--sans); font-style: normal; }
|
|
.xch-badge:not([data-on]) { visibility: hidden; }
|
|
.xch-dev-k { margin-left: auto; font-size: 13px; color: var(--faint); }
|
|
.xch-dev-body { height: clamp(140px, 100svh - 640px, 184px); padding: 14px 20px; font-size: 13.5px; line-height: 1.7; overflow: hidden; }
|
|
.js .xch-pane:not([hidden]) { animation: xch-pane .3s var(--ease-out-expo) both; }
|
|
@keyframes xch-pane { from { opacity: 0; transform: translate3d(0, 6px, 0); } }
|
|
.xch-dom { margin: 0; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); background: light-dark(#f2f2f2, var(--glass-strong)); }
|
|
.xch-dom.d0 { border-radius: 6px 6px 0 0; }
|
|
.xch-dom.d1 { padding-left: 28px; }
|
|
.xch-dom.d2 { border-radius: 0 0 6px 6px; }
|
|
.xch-dom .t { color: var(--soft); } .xch-dom .a { color: var(--faint); } .xch-dom .v { color: var(--ink); }
|
|
.xch-warn, .xch-log, .xch-shot { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; padding: 6px 10px; border-radius: 6px; transition: opacity .3s, transform .3s var(--ease-out-expo); }
|
|
.js .xch-warn:not(.on), .js .xch-log:not(.on), .js .xch-shot:not(.on) { opacity: 0; transform: translate3d(0, 6px, 0); }
|
|
.xch-warn { color: var(--ink); background: light-dark(#f2f2f2, var(--glass-strong)); }
|
|
.xch-warn i, .xch-log i { flex: none; font-style: normal; font-weight: 700; }
|
|
.xch-log { margin-top: 6px; }
|
|
.xch-log.err { color: var(--ink); background: light-dark(#ededed, var(--glass-strong)); }
|
|
.xch-log.ok { color: var(--soft); }
|
|
.xch-net { display: grid; grid-template-columns: 52px minmax(0, 1fr) 76px 52px minmax(80px, 180px); align-items: center; gap: 12px; padding: 6px 10px; border-radius: 6px; color: var(--soft); transition: background .3s; }
|
|
.xch-net.on { background: light-dark(#f2f2f2, var(--glass-strong)); color: var(--ink); }
|
|
.xch-net .m { font-weight: 600; }
|
|
.xch-net:not(.on) .s, .xch-net:not(.on) .ms { visibility: hidden; }
|
|
.xch-fall { position: relative; height: 8px; border-radius: 4px; background: light-dark(#e9e9e9, var(--glass-strong)); overflow: hidden; }
|
|
.xch-fall b { position: absolute; left: 12%; top: 0; bottom: 0; width: 46%; border-radius: 4px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--ease-out-expo); }
|
|
.xch-net.wait .xch-fall b { transform: scaleX(.5); transition-duration: 2s; }
|
|
.xch-net.on .xch-fall b { transform: scaleX(1); }
|
|
.xch-shot { color: var(--soft); }
|
|
|
|
/* the side panel */
|
|
.xch-agent { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 18px; background: var(--x-sunk); overflow: hidden; }
|
|
.xch-agent-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
|
|
.xch-av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--x-on-ink); font-weight: 600; }
|
|
.xch-agent-top > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
.xch-agent-top b { font-size: 15px; font-weight: 600; }
|
|
.xch-agent-top span span { font-size: 13px; color: var(--soft); }
|
|
.xch-count { display: flex; gap: 4px; margin: 0; font-size: 13px; color: var(--faint); }
|
|
.xch-count span { display: inline-block; color: var(--ink); }
|
|
.xch-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
.xch-steps li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 8px 10px 10px; border-radius: 12px; transition: background .3s; }
|
|
.xch-steps li.now { background: var(--x-raised); box-shadow: inset 0 0 0 1px var(--line); }
|
|
.xch-steps li.wait b, .xch-steps li.wait .xch-arg { color: var(--faint); }
|
|
.xch-steps li > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
|
|
.xch-steps b { font-size: 14px; font-weight: 600; line-height: 1.3; }
|
|
.xch-arg { font-size: 13px; color: var(--soft); overflow-wrap: anywhere; }
|
|
.xch-res { max-height: 6em; overflow: hidden; font-size: 13px; line-height: 1.45; color: var(--ink); transition: max-height .5s var(--ease-out-expo), opacity .3s; }
|
|
.js .xch-steps li:not(.done) .xch-res { display: none; } /* the panel has a fixed height, so a result opening never moves the page */
|
|
/* only the latest finished step keeps its result open, so the ask field always fits inside the window */
|
|
.xch-steps li.old .xch-res { max-height: 0; opacity: 0; }
|
|
.xch-steps li.old { padding-bottom: 6px; }
|
|
.xch-dot { position: relative; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid light-dark(#a3a3a3, var(--white-40)); }
|
|
.xch-steps li.now .xch-dot { border-color: var(--ink); }
|
|
.xch-steps li.now .xch-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink); animation: xch-beat 1s ease-in-out infinite; }
|
|
@keyframes xch-beat { 50% { transform: scale(.55); opacity: .5; } }
|
|
.xch-steps li.done .xch-dot { border-color: var(--ink); background: var(--ink); }
|
|
.xch-steps li.done .xch-dot::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid var(--x-on-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
|
|
.xch-slot { display: none; }
|
|
.xch-ask { flex: none; margin-top: auto; display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 14px; background: var(--x-raised); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--soft); }
|
|
.xch-ask::before { content: ''; flex: none; width: 1.5px; height: 18px; margin-right: 8px; background: var(--ink); animation: xch-caret 1.1s steps(1) infinite; }
|
|
[data-off] .xch-scene *, [data-off] .xch-vis * { animation-play-state: paused !important; }
|
|
|
|
/* the facts under the window: a 4/8 spec */
|
|
.xch-facts-sec { padding: 0 0 clamp(64px, 7vw, 112px); }
|
|
.xch-facts { align-items: start; }
|
|
.xch-gov { grid-column: 1 / span 4; max-width: 24ch; }
|
|
.xch-facts ol { grid-column: 6 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
|
|
.xch-facts li { display: flex; gap: 14px; padding: 18px 0 22px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--soft); }
|
|
.xch-fn { flex: none; padding-top: 3px; font-size: 13px; color: var(--faint); }
|
|
|
|
/* paste and ship: one wide line */
|
|
.xch-paste-sec { padding: 0 0 clamp(24px, 3vw, 44px); }
|
|
.xch-paste { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; align-items: center; padding: 24px; border-radius: var(--r-hero); background: light-dark(#f5f5f5, var(--x-fill)); }
|
|
.xch-paste-l { display: flex; flex-direction: column; gap: 8px; padding-left: 8px; }
|
|
.xch-paste-d { margin: 0; font-size: 16px; line-height: 1.5; color: var(--soft); }
|
|
/* the prompt waits at a caret, as if just pasted into an agent's field */
|
|
.xch-prompt code::after { content: ''; display: inline-block; width: 8px; height: 1.05em; margin-left: 3px; vertical-align: -2px; background: var(--ink); animation: xch-caret 1.1s steps(1) infinite; }
|
|
.xch-prompt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; align-items: center; padding: 20px 20px 18px 24px; border-radius: 18px; background: light-dark(#fff, var(--secondary)); }
|
|
.xch-prompt code { font: 500 clamp(16px, 1.35vw, 19px)/1.45 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
|
|
.xch-prompt-k { grid-column: 1 / -1; font-size: 13px; color: var(--soft); }
|
|
.xch-prompt .x-copy { height: 44px; padding: 0 16px; font-size: 14px; }
|
|
|
|
/* the signature: the side panel's CDP session as a live terminal (7), the chapter it proves beside it (5) */
|
|
@keyframes xch-down { to { transform: translateY(60px); } }
|
|
.xch-term-sec.av-sec { padding: clamp(56px, 6vw, 96px) 0; }
|
|
.xch-term-sec .av-grid { align-items: start; }
|
|
.xch-term-l { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
|
|
.xch-term-l h2 { max-width: 16ch; }
|
|
.xch-chap { display: grid; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
|
|
.xch-chap-i { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; opacity: 0; visibility: hidden; transform: translate3d(0, 10px, 0); transition: opacity .3s var(--ease-out-expo), transform .45s var(--ease-out-expo), visibility 0s .3s; }
|
|
.xch-chap-i[data-on] { opacity: 1; visibility: visible; transform: none; transition-delay: .05s, .05s, 0s; }
|
|
.xch-chap-n { margin: 0; font-size: 13px; color: var(--faint); }
|
|
.xch-term { grid-column: 7 / -1; display: flex; flex-direction: column; border-radius: var(--r-hero); background: #0a0a0a; color: #fafafa; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .5); }
|
|
.xch-term-bar { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 8px 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
|
|
.xch-term-bar .xch-lights { margin-right: 0; }
|
|
.xch-term-bar .xch-lights i { background: #525252; }
|
|
.xch-term-bar .xch-lights i:first-child { background: #a3a3a3; }
|
|
.xch-term-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #a3a3a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.xch-term-t i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #fafafa; }
|
|
.xch-term-ctl { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: #d4d4d4; cursor: pointer; transition: background-color var(--dur-hover), color var(--dur-hover), transform var(--dur-press) var(--ease-out-expo); }
|
|
.xch-term-ctl:active { transform: scale(.97); }
|
|
.xch-term-ctl:focus-visible { outline: 2px solid #fafafa; outline-offset: -2px; }
|
|
.xch-term-log { height: 300px; padding: 18px 20px; font-size: 14px; line-height: 1.55; overflow: hidden; }
|
|
.xch-term-log p { margin: 0; }
|
|
.xch-term-cmd { display: flex; align-items: baseline; gap: 10px; color: #fafafa; font-weight: 500; }
|
|
.xch-term-cmd.rest { margin-top: 10px; }
|
|
.xch-term-ps { color: #737373; }
|
|
.xch-caret { display: inline-block; width: 8px; height: 1.1em; margin-left: 1px; vertical-align: -2px; background: #fafafa; animation: xch-caret 1s steps(1) infinite; }
|
|
.xch-term-cmd.rest .xch-caret { animation-iteration-count: 4; }
|
|
@keyframes xch-caret { 50% { opacity: 0; } }
|
|
.xch-term-out { display: grid; grid-template-columns: minmax(0, 15.5em) minmax(0, 1fr); gap: 12px; margin-top: 6px !important; color: #d4d4d4; animation: xch-line .3s var(--ease-out-expo) both; }
|
|
.xch-term-out:first-of-type { margin-top: 12px !important; }
|
|
@keyframes xch-line { from { opacity: 0; transform: translate3d(-6px, 0, 0); } }
|
|
.xch-term-tag { font-size: 12.5px; color: #737373; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.xch-term-out.err span:last-child { color: #fafafa; text-decoration: underline; text-decoration-color: #737373; text-underline-offset: 4px; }
|
|
.xch-term-out.hi span:last-child { color: #fafafa; }
|
|
.xch-term-pick { display: flex; flex-direction: column; padding: 8px; border-top: 1px solid rgba(255, 255, 255, .1); background: #171717; }
|
|
.xch-term-pk { margin: 4px 12px 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #737373; }
|
|
.xch-term-pick button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: #a3a3a3; font-size: 14px; text-align: left; cursor: pointer; transition: background-color var(--dur-hover), color var(--dur-hover), transform var(--dur-press) var(--ease-out-expo); -webkit-tap-highlight-color: transparent; }
|
|
.xch-term-pick button > span { color: #525252; transition: transform .3s var(--ease-out-expo), color var(--dur-hover); }
|
|
.xch-term-pick button > i { margin-left: auto; font-style: normal; color: #525252; opacity: 0; transition: opacity var(--dur-hover); }
|
|
.xch-term-pick button.on { background: #262626; color: #fafafa; }
|
|
.xch-term-pick button.on > span { color: #fafafa; }
|
|
.xch-term-pick button:active { transform: scale(.98); }
|
|
.xch-term-pick button:focus-visible { outline: 2px solid #fafafa; outline-offset: -2px; }
|
|
|
|
/* capabilities: hairline rows (7) beside one small product render (5) that changes with the row */
|
|
.xch-caps-sec { padding-top: clamp(40px, 4vw, 64px); }
|
|
/* no white band between the capability rows and the surfaces sheet: the next object peeks in */
|
|
.xch .xch-caps-sec.av-sec { padding-bottom: clamp(48px, 5vw, 80px); }
|
|
.xch .xch-surf.av-sec { padding-top: clamp(56px, 6vw, 96px); padding-bottom: clamp(40px, 4vw, 64px); }
|
|
.xch-caps-top { align-items: end; }
|
|
.xch-caps-l { grid-column: 1 / span 7; }
|
|
.xch-caps-r, .xch-surf-r { grid-column: 9 / -1; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
|
|
.xch-caps-body { margin-top: clamp(40px, 4vw, 64px); align-items: start; }
|
|
.xch-rows { grid-column: 1 / span 7; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
|
|
.xch-rows li { border-bottom: 1px solid var(--line); }
|
|
.xch-row-h { margin: 0; font: inherit; }
|
|
.xch-row-h button { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: 12px; width: 100%; min-height: 76px; padding: 0; border: 0; background: none; color: var(--faint); text-align: left; font: 497 24px/1.2 var(--sans); letter-spacing: -.02em; cursor: pointer; transition: color var(--dur-hover) var(--ease-soft); -webkit-tap-highlight-color: transparent; }
|
|
.xch-row-h button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
|
|
.xch-row-h button:active .xch-row-t { transform: translateY(1px); }
|
|
.xch-row-n { font-size: 13px; letter-spacing: 0; color: var(--faint); }
|
|
.xch-row-t { transition: transform .4s var(--ease-out-expo); }
|
|
.xch-row-a { color: var(--ink); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease-out-expo); }
|
|
.xch-rows li.on .xch-row-h button { color: var(--ink); }
|
|
.xch-rows li.on .xch-row-t { transform: translateX(6px); }
|
|
.xch-rows li.on .xch-row-a { opacity: 1; transform: none; }
|
|
.xch-row-d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out-expo); }
|
|
.xch-row-d > p { min-height: 0; overflow: hidden; margin: 0; padding-left: 52px; max-width: 58ch; font-size: 16px; line-height: 1.6; color: var(--soft); opacity: 0; transition: opacity .3s, padding-bottom .45s var(--ease-out-expo); } /* the padding eases with the row, so the rows between never jump 24px */
|
|
.xch-rows li.on .xch-row-d { grid-template-rows: 1fr; }
|
|
.xch-rows li.on .xch-row-d > p { padding-bottom: 24px; opacity: 1; transition-delay: .08s, 0s; }
|
|
.xch-render { grid-column: 8 / -1; position: sticky; top: 96px; display: grid; height: 360px; border-radius: var(--r-hero); background: light-dark(#f5f5f5, var(--x-fill)); overflow: hidden; }
|
|
.xch-render-f { grid-area: 1 / 1; display: grid; place-items: center; padding: 28px; opacity: 0; visibility: hidden; transform: translate3d(0, 10px, 0) scale(.98); transition: opacity .35s var(--ease-out-expo), transform .5s var(--ease-out-expo), visibility 0s .35s; }
|
|
.xch-render-f[data-on] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
|
|
.xch-render-k { position: absolute; left: 24px; bottom: 18px; margin: 0; font-size: 13px; color: var(--faint); }
|
|
.xch-render-k span { color: var(--ink); }
|
|
|
|
/* the small renders (shared by the capability rows and the handoff) */
|
|
.xcr { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; background: light-dark(#fff, var(--secondary)); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(0, 0, 0, .28); font-size: 14px; color: var(--ink); }
|
|
.xcr .x-mono { font-size: 13px; }
|
|
.xcr p { margin: 0; }
|
|
.xcr-foot { color: var(--faint); }
|
|
.xcr-pick { position: relative; padding: 34px 14px 14px; border-radius: 12px; background: var(--card); }
|
|
.xcr-pick::before { content: ''; position: absolute; inset: 26px 6px 6px; border: 1.5px dashed var(--ink); border-radius: 10px; }
|
|
.xcr-sel { position: absolute; left: 6px; top: 4px; padding: 2px 8px; border-radius: 6px; background: var(--ink); color: var(--x-on-ink); }
|
|
.xcr-btn, .xcr-mini-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px; background: var(--ink); color: var(--x-on-ink); font-size: 14px; font-weight: 500; }
|
|
.xcr-props p { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; }
|
|
.xcr-props p:first-child { background: light-dark(#ededed, var(--glass-strong)); }
|
|
.xcr-props i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 12px; }
|
|
.xcr-props .fix i { background: var(--ink); color: var(--x-on-ink); }
|
|
.xcr-err { display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px; background: light-dark(#ededed, var(--glass-strong)); }
|
|
.xcr-err i { font-style: normal; font-weight: 700; }
|
|
.xcr-req { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 8px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
|
|
.xcr-req em { font-style: normal; }
|
|
.xcr-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: light-dark(#ededed, var(--glass-strong)); overflow: hidden; }
|
|
.xcr-bar s { display: block; width: 58%; height: 100%; margin-left: 12%; border-radius: 3px; background: var(--ink); transform-origin: 0 50%; }
|
|
[data-on] > .xcr-qa .xcr-bar s { animation: xcr-grow .9s var(--ease-out-expo) .15s both; }
|
|
@keyframes xcr-grow { from { transform: scaleX(0); } }
|
|
.xcr-to { display: flex; align-items: flex-start; gap: 10px; color: var(--soft); }
|
|
.xcr-hash { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: var(--x-on-ink); }
|
|
.xcr-tabs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 10px; }
|
|
.xcr-tab { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px; border-radius: 12px; background: var(--card); }
|
|
.xcr-tab-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.xcr-tab-h i { flex: none; width: 10px; height: 10px; border-radius: 3px; background: light-dark(#a3a3a3, var(--white-40)); }
|
|
.xcr-tab.live .xcr-tab-h i { background: var(--ink); }
|
|
.xcr-tab .x-mono { overflow-wrap: anywhere; color: var(--soft); }
|
|
.xcr-tab .mark { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
|
|
.xcr-tab .xcr-mini-btn { align-self: flex-start; height: auto; padding: 6px 10px; border-radius: 8px; font-size: 13px; line-height: 1.3; }
|
|
.xcr-vs { align-self: center; font-size: 20px; color: var(--ink); }
|
|
[data-on] > .xcr-tabs .xcr-vs { animation: xcr-pop .5s var(--ease-out-expo) .2s both; }
|
|
@keyframes xcr-pop { from { opacity: 0; transform: scale(.4); } }
|
|
.xcr-panel { display: flex; align-items: center; gap: 10px; }
|
|
.xcr-panel > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
.xcr-panel b { font-size: 14px; }
|
|
.xcr-panel .x-mono { color: var(--soft); }
|
|
.xcr-av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--x-on-ink); font-size: 13px; font-weight: 600; }
|
|
.xcr-pipe { position: relative; width: 2px; height: 26px; margin-left: 14px; background: light-dark(#e4e4e7, var(--white-20)); overflow: hidden; }
|
|
.xcr-pipe s { position: absolute; left: 0; top: 0; width: 2px; height: 10px; background: var(--ink); }
|
|
[data-on] > .xcr-hand .xcr-pipe s { animation: xch-down 1.2s linear .1s 2 both; }
|
|
.xcr-post { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--card); font-weight: 500; }
|
|
.xcr-post i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--x-on-ink); }
|
|
.xcr-team { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 14fr); gap: 12px; }
|
|
.xcr-side { display: flex; flex-direction: column; gap: 6px; padding-right: 12px; border-right: 1px solid var(--line); color: var(--faint); }
|
|
.xcr-side b { padding: 4px 6px; margin: 0 -6px; border-radius: 6px; background: var(--card); color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
|
|
.xcr-msg { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
|
|
.xcr-team .xcr-msg p:last-child { padding: 10px 12px; border-radius: 10px; background: var(--card); line-height: 1.45; }
|
|
.xcr-chan { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 600; }
|
|
.xcr-chan i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: xch-beat 1.6s ease-in-out 3; }
|
|
.xcr-slack .xcr-msg { flex-direction: row; align-items: flex-start; gap: 10px; }
|
|
.xcr-slack .xcr-msg p { line-height: 1.5; }
|
|
.xcr-kit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
|
.xcr-kit span { display: flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--card); color: var(--ink); }
|
|
[data-on] > .xcr-bot .xcr-kit span { animation: xcr-in .4s var(--ease-out-expo) calc(.1s + var(--i) * .08s) both; }
|
|
@keyframes xcr-in { from { opacity: 0; transform: translate3d(0, 6px, 0); } }
|
|
|
|
/* act two: the black room, opening out of a rounded card */
|
|
.xch-pol.av-sec { padding: clamp(72px, 7vw, 104px) 0; }
|
|
.xch-pol .av-grid { align-items: start; }
|
|
.xch-pol-l { padding-top: 12px; }
|
|
.xch .xch-tester { gap: 12px; padding: 24px 28px; }
|
|
.xch .xch-verdict { min-height: 76px; padding-top: 12px; }
|
|
.xch .xch-verdict i { width: 48px; height: 48px; }.xch-pol-l { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 20px; }
|
|
.xch-pol-l .av-head { color: #fafafa; }
|
|
.xch-pm { display: flex; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
|
|
.xch-pm > div { display: flex; flex-direction: column; gap: 8px; }
|
|
.xch-pm .av-title { color: #fafafa; font-size: 18px; }
|
|
.xch-pm svg { flex: none; fill: none; stroke: #fafafa; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
.xch-tester { grid-column: 7 / -1; display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.4vw, 36px); border-radius: var(--r-hero); background: #171717; }
|
|
.xch-mode { align-self: flex-start; display: inline-flex; padding: 4px; border-radius: 999px; background: #262626; }
|
|
.xch-mode button { position: relative; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: #a3a3a3; font: 500 15px/1 var(--sans); cursor: pointer; transition: transform var(--dur-press) var(--ease-out-expo); }
|
|
.xch-mode button:active { transform: scale(.97); }
|
|
.xch-mode button[aria-checked='true'] { color: #0a0a0a; }
|
|
.xch-mode button span:not(.xch-mode-bg) { position: relative; }
|
|
.xch-mode button:focus-visible { outline: 2px solid #fafafa; outline-offset: 2px; }
|
|
.xch-mode-bg { position: absolute; inset: 0; border-radius: 999px; background: #fafafa; }
|
|
.xch-pats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
|
|
.xch-pats li { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 10px; background: #262626; font-size: 15px; color: #d4d4d4; transition: color .3s, box-shadow .3s, background .3s; }
|
|
.xch-pats li i { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #737373; transition: background .3s, box-shadow .3s; }
|
|
.xch-pats li.hit { color: #fafafa; box-shadow: inset 0 0 0 1.5px #fafafa; }
|
|
.xch-pats li.hit i { background: #fafafa; box-shadow: none; }
|
|
.xch-pats li.off { color: #737373; background: #171717; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
|
|
.xch-pats li.pm i { background: #a3a3a3; box-shadow: none; border-radius: 2px; }
|
|
.xch-rule { margin: 0; font-size: 13px; color: #a3a3a3; }
|
|
.xch-field { display: flex; align-items: center; height: 64px; padding: 0 20px; border-radius: 16px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
|
|
.xch-field:focus-within { box-shadow: inset 0 0 0 2px #fafafa; }
|
|
.xch-https { flex: none; font-size: 17px; color: #737373; }
|
|
.xch-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: #fafafa; font-size: clamp(17px, 1.5vw, 21px); caret-color: #fafafa; }
|
|
.xch-mirror { margin: -6px 0 0; padding: 0 20px; min-height: 1.5em; font-size: 15px; color: #a3a3a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.xch-mirror mark { background: none; color: #fafafa; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
|
|
.xch-try { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
.xch-try button { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px dashed rgba(255, 255, 255, .22); background: none; color: #a3a3a3; font-size: 14px; cursor: pointer; transition: color .15s, border-color .15s, transform var(--dur-press) var(--ease-out-expo); }
|
|
.xch-try button:active { transform: scale(.98); }
|
|
.xch-try button.on { border-style: solid; border-color: #fafafa; color: #fafafa; }
|
|
.xch-try button:focus-visible { outline: 2px solid #fafafa; outline-offset: 2px; }
|
|
.xch-verdict { min-height: 92px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
|
|
.xch-verdict p { display: flex; align-items: center; gap: 18px; margin: 0; }
|
|
.xch-verdict i { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-style: normal; font-size: 24px; font-weight: 700; }
|
|
.xch-verdict .ok i { background: #fafafa; color: #000; }
|
|
.xch-verdict .no i { background: none; box-shadow: inset 0 0 0 1.5px #a3a3a3; color: #fafafa; }
|
|
.xch-verdict p > span { display: flex; flex-direction: column; gap: 6px; }
|
|
.xch-verdict b { font-size: 26px; font-weight: 497; letter-spacing: -.02em; color: #fafafa; }
|
|
.xch-verdict .x-mono { font-size: 14px; color: #a3a3a3; }
|
|
|
|
/* connected surfaces */
|
|
.xch-surf-top { align-items: end; }
|
|
.xch-surf-l { grid-column: 1 / span 7; }
|
|
/* the handoff: a rail that walks Chrome → Team → Slack → Bot, and one card for the product it rests on */
|
|
.xch-hand-wrap { --g: 24px; margin-top: clamp(48px, 5vw, 72px); }
|
|
.xch-stops { position: relative; }
|
|
.xch-stops ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
|
|
.xch-rail { position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: light-dark(rgba(0, 0, 0, .14), var(--border-control)); pointer-events: none; }
|
|
.xch-rail s { position: absolute; left: 0; top: -.5px; height: 2px; width: calc((100% + var(--g)) * var(--k) / 4 + 6px); background: var(--ink); transition: width .7s var(--ease-out-expo); }
|
|
.xch-stop-h { margin: 0; font: inherit; }
|
|
.xch-stop-h button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; min-height: 44px; padding: 30px 0 4px; border: 0; background: none; color: var(--faint); text-align: left; font: 497 21px/1.25 var(--sans); letter-spacing: -.015em; cursor: pointer; transition: color var(--dur-hover) var(--ease-soft); -webkit-tap-highlight-color: transparent; }
|
|
.xch-stop-h button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
|
|
.xch-stop-h button:active .xch-stop-t { transform: translateY(1px); }
|
|
.xch-stop-dot { position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px light-dark(#a3a3a3, var(--white-40)); transition: background .3s, box-shadow .3s, transform .4s var(--ease-out-expo); }
|
|
.xch-stops li.past .xch-stop-dot { background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
|
|
.xch-stops li.on .xch-stop-dot { background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 5px var(--bg), 0 0 0 6.5px var(--ink); transition-delay: .35s; }
|
|
.xch-stops li.on button, .xch-stops li.past button { color: var(--ink); }
|
|
.xch-stops li.past button { color: var(--soft); }
|
|
.xch-surf-n { font-size: 13px; letter-spacing: 0; color: var(--faint); }
|
|
.xch-stop-t { transition: transform var(--dur-press) var(--ease-out-expo); }
|
|
.xch-hand { margin-top: clamp(32px, 3.4vw, 48px); align-items: center; }
|
|
.xch-hand-d { grid-column: 1 / span 6; display: grid; }
|
|
.xch-hand-d p { grid-area: 1 / 1; max-width: 30ch; color: var(--ink); opacity: 0; visibility: hidden; transform: translate3d(0, 12px, 0); transition: opacity .35s var(--ease-out-expo), transform .5s var(--ease-out-expo), visibility 0s .35s; }
|
|
.xch-hand-d p[data-on] { opacity: 1; visibility: visible; transform: none; transition-delay: .1s, .1s, 0s; }
|
|
.xch-hand-r { grid-column: 8 / -1; display: grid; height: 280px; border-radius: var(--r-hero); background: light-dark(#f5f5f5, var(--x-fill)); overflow: hidden; }
|
|
|
|
/* where else, and the deploy line: one hairline block, no boxes */
|
|
.xch-next { margin-top: clamp(72px, 8vw, 120px); border-top: 1px solid var(--line); }
|
|
.xch-next-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; padding: clamp(24px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line); }
|
|
.xch-next-l { display: flex; flex-direction: column; gap: 10px; }
|
|
.xch-next-r { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
|
|
.xch-get-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 0; font-size: 15px; color: var(--soft); }
|
|
.xch-get-line > span:first-child { color: var(--ink); font-weight: 500; }
|
|
.xch-more-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
|
|
.xch-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--x-raised); box-shadow: inset 0 0 0 1px light-dark(rgba(0, 0, 0, .16), var(--border-control)); font: 500 15px/1 var(--sans); color: var(--ink); text-decoration: none; transition: background-color var(--dur-hover) var(--ease-soft), color var(--dur-hover) var(--ease-soft), box-shadow var(--dur-hover), transform var(--dur-press) var(--ease-out-expo); -webkit-tap-highlight-color: transparent; }
|
|
.xch-pill-to { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; font-size: 13px; color: light-dark(#a3a3a3, var(--text-tertiary)); opacity: 0; transition: max-width .45s var(--ease-out-expo), margin .45s var(--ease-out-expo), opacity .3s; }
|
|
.xch-pill:active { transform: scale(.98); }
|
|
.xch-pill:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
|
|
|
|
/* the one ending: a quiet room with the one ask */
|
|
.xch .xch-close { background: light-dark(#f5f5f5, var(--x-fill)); color: var(--ink); text-align: left; padding: clamp(96px, 11vw, 188px) 0; }
|
|
.xch-close .av-grid { align-items: end; }
|
|
.xch-close-l { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: clamp(32px, 3.4vw, 48px); }
|
|
.xch .xch-close h2 { margin: 0; max-width: none; font-size: 44px; font-weight: 497; line-height: 1.04; letter-spacing: -.035em; color: var(--ink); }
|
|
.xch-rest { width: min(100%, 420px); border-radius: 18px; background: light-dark(#fff, var(--secondary)); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px rgba(0, 0, 0, .3); overflow: hidden; }
|
|
.xch-rest-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: light-dark(#ededed, var(--glass-strong)); font-size: 13px; color: var(--soft); }
|
|
.xch-rest-bar .xch-lights { margin-right: 0; gap: 6px; }
|
|
.xch-rest-bar .xch-lights i { width: 9px; height: 9px; }
|
|
.xch-rest-url { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
|
|
.xch-rest-cdp { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
|
|
.xch-rest-cdp i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: xch-beat 2s ease-in-out 3; }
|
|
.xch-rest-v { display: flex; align-items: center; gap: 14px; padding: 18px; }
|
|
.xch-rest-v > i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--x-on-ink); font-style: normal; font-size: 19px; font-weight: 700; }
|
|
.xch-rest-v > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
.xch-rest-v b { font-size: 21px; font-weight: 497; letter-spacing: -.02em; }
|
|
.xch-rest-v .x-mono { font-size: 13px; color: var(--soft); }
|
|
.xch-close-r { grid-column: 8 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 6px; }
|
|
.xch .xch-close p.av-lede { margin: 0; max-width: 36ch; font-size: 21px; color: var(--soft); }
|
|
.xch .xch-close .x-btn.solid { height: 52px; padding: 0 28px; font-size: 16px; background: var(--ink); border-color: var(--ink); color: var(--x-on-ink); }
|
|
.xch-close-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
|
|
|
|
/* the five entrances, once each (useEntrances sets data-in). Final state = no rule; start state only under html.js. */
|
|
.xch-close h2 > span { display: block; }
|
|
.xch [data-enter] { position: relative; }
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
/* 1 rack-focus: the terminal section pulls into focus */
|
|
.js .xch [data-enter='rack-focus']:not([data-in]) > .av-wrap { filter: blur(14px); opacity: .35; transform: scale(1.03); }
|
|
.js .xch [data-enter='rack-focus'][data-in] > .av-wrap { animation: xe-rack .85s var(--ease-out-expo) backwards; }
|
|
@keyframes xe-rack { from { filter: blur(14px); opacity: .35; transform: scale(1.03); } 60% { filter: blur(2px); opacity: 1; } to { filter: none; opacity: 1; transform: none; } }
|
|
/* 2 scroll-tilt: the black room arrives tipped back on rotateX, levels out, then leans with the scroll's speed */
|
|
.xch [data-enter='scroll-tilt'] { perspective: 1400px; }
|
|
.xch [data-enter='scroll-tilt'] > .av-wrap { transform: rotateX(var(--lean, 0deg)); transform-origin: 50% 0; transition: transform .5s var(--ease-out-expo); }
|
|
.js .xch [data-enter='scroll-tilt']:not([data-in]) > .av-wrap { transform: rotateX(18deg) translate3d(0, 40px, 0); opacity: .2; }
|
|
.js .xch [data-enter='scroll-tilt'][data-in] > .av-wrap { animation: xe-tilt .8s var(--ease-out-expo) backwards; }
|
|
@keyframes xe-tilt { from { transform: rotateX(18deg) translate3d(0, 40px, 0); opacity: .2; } }
|
|
/* 3 orbit-in: each capability row and the render swing into place on a curve around a far pivot */
|
|
.xch [data-enter='orbit-in'] .xch-rows li, .xch [data-enter='orbit-in'] .xch-render { transform-origin: -60% 50%; }
|
|
.xch [data-enter='orbit-in'] .xch-render { transform-origin: 160% 50%; }
|
|
.js .xch [data-enter='orbit-in']:not([data-in]) .xch-rows li { transform: rotate(-9deg); opacity: 0; }
|
|
.js .xch [data-enter='orbit-in']:not([data-in]) .xch-render { transform: rotate(9deg); opacity: 0; }
|
|
.js .xch [data-enter='orbit-in'][data-in] .xch-rows li { animation: xe-orbit-l .8s var(--ease-out-expo) calc(var(--o, 0) * 70ms) backwards; }
|
|
.js .xch [data-enter='orbit-in'][data-in] .xch-render { animation: xe-orbit-r .85s var(--ease-out-expo) .1s backwards; }
|
|
.xch .xch-rows li:nth-child(2) { --o: 1; } .xch .xch-rows li:nth-child(3) { --o: 2; } .xch .xch-rows li:nth-child(4) { --o: 3; }
|
|
@keyframes xe-orbit-l { from { transform: rotate(-9deg); opacity: 0; } }
|
|
@keyframes xe-orbit-r { from { transform: rotate(9deg); opacity: 0; } }
|
|
/* 4 cover-slide: the surfaces section slides up over the one before it, a sheet with a lifted top edge */
|
|
.xch [data-enter='cover-slide'] { z-index: 1; background: var(--bg); }
|
|
.js .xch [data-enter='cover-slide']:not([data-in]) { transform: translate3d(0, 160px, 0); border-radius: 32px 32px 0 0; box-shadow: 0 -24px 48px -24px rgba(0, 0, 0, .25); }
|
|
.js .xch [data-enter='cover-slide'][data-in] { animation: xe-cover .8s var(--ease-out-expo) backwards; }
|
|
@keyframes xe-cover { from { transform: translate3d(0, 160px, 0); border-radius: 32px 32px 0 0; box-shadow: 0 -24px 48px -24px rgba(0, 0, 0, .25); } to { transform: none; border-radius: 0; box-shadow: none; } }
|
|
/* 5 pull-back: the closing room starts zoomed right in on its product and pulls back to the whole */
|
|
.xch [data-enter='pull-back'] { overflow: hidden; }
|
|
.xch [data-enter='pull-back'] .xch-close-in { transform-origin: 20% 70%; }
|
|
.js .xch [data-enter='pull-back']:not([data-in]) .xch-close-in { transform: scale(1.6); opacity: .4; }
|
|
.js .xch [data-enter='pull-back'][data-in] .xch-close-in { animation: xe-pull .9s var(--ease-out-expo) backwards; }
|
|
@keyframes xe-pull { from { transform: scale(1.6); opacity: .4; } }
|
|
}
|
|
|
|
@media (hover: hover) {
|
|
.xch-ctl:hover { background: light-dark(#f2f2f2, var(--glass-strong)); }
|
|
.xch-term-ctl:hover { background: #262626; color: #fafafa; }
|
|
.xch-term-pick button:not(.on):hover { background: #1f1f1f; color: #fafafa; }
|
|
.xch-term-pick button:hover > span { transform: translateX(3px); color: #fafafa; }
|
|
.xch-term-pick button:hover > i { opacity: 1; }
|
|
.xch .x-btn.solid:hover { background: light-dark(#262626, var(--primary)); border-color: light-dark(#262626, var(--primary)); } /* the deck's ramp, not the shared off-ramp hover */
|
|
.xch-dev-tabs button:hover { color: var(--ink); }
|
|
.xch-mode button:hover { color: #fafafa; }
|
|
.xch-mode button[aria-checked='true']:hover { color: #0a0a0a; }
|
|
.xch-try button:hover { color: #fafafa; border-color: rgba(255, 255, 255, .45); }
|
|
.xch-pill:hover { background: var(--ink); color: var(--x-on-ink); box-shadow: inset 0 0 0 1px var(--ink); }
|
|
.xch-pill:hover .xch-pill-to { max-width: 120px; margin-left: 10px; opacity: 1; }
|
|
.xch-rows li:not(.on) .xch-row-h button:hover { color: var(--soft); }
|
|
.xch-stops li:not(.on) .xch-stop-h button:hover { color: var(--soft); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.xch *, .xch *::before, .xch *::after { animation: none !important; }
|
|
}
|
|
|
|
@media (max-width: 899px) {
|
|
.xch-hero { padding: 20px 0 56px; }
|
|
.xch-top { row-gap: 18px; }
|
|
.xch-top-r { gap: 14px; padding: 0; }
|
|
.xch-lede { font-size: 16px; } .xch-stage { margin-top: 28px; }
|
|
.xch-win { border-radius: 20px; }
|
|
.xch-tabs { height: 44px; padding: 0 10px; }
|
|
.xch-lights { margin-right: 8px; gap: 6px; }
|
|
.xch-lights i { width: 10px; height: 10px; }
|
|
.xch-tab { flex: 1; font-size: 13px; }
|
|
.xch-tab:not(.on):not(.chan) { display: none; }
|
|
.xch-bar { height: 56px; gap: 8px; padding: 0 6px 0 10px; }
|
|
.xch-nav { display: none; }
|
|
.xch-url { flex: 1; min-width: 0; padding: 0 12px; font-size: 13px; }
|
|
.xch-cdp { display: none; }
|
|
.xch-split { display: flex; flex-direction: column; height: auto; }
|
|
.xch-agent { order: -1; border-bottom: 1px solid var(--line); }
|
|
.xch-acts { gap: 0 18px; }
|
|
.xch-acts .x-btn.solid { flex-basis: 100%; max-width: max-content; margin-bottom: 6px; }
|
|
.xch-left { border-right: 0; }
|
|
/* the page pane is a cropped strip under the side panel, so the window stays about one screen tall */
|
|
.xch-page { position: relative; height: 124px; padding: 18px 16px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
|
|
/* phones: every step row has one fixed height (title only) and the latest detail sits in one fixed slot, so nothing
|
|
in the panel moves while the run plays; the ask field rests at the bottom */
|
|
.xch-agent { height: auto; flex: none; gap: 10px; }
|
|
.xch-steps li, .xch-steps li.old { height: 50px; padding: 6px 8px; align-items: center; }
|
|
.xch-steps li .xch-arg, .xch-steps li .xch-res { display: none; }
|
|
.xch-steps b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
|
|
.xch-steps li > span:last-child { justify-content: center; }
|
|
.xch-dot { margin-top: 0; }
|
|
.xch-slot { display: block; height: 132px; padding: 12px; border-radius: 12px; background: var(--x-raised); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
|
|
.xch-slot-in { display: flex; flex-direction: column; gap: 6px; }
|
|
.js .xch-slot-in { animation: xch-pane .35s var(--ease-out-expo) both; }
|
|
.xch-slot .xch-arg { overflow-wrap: anywhere; }
|
|
.xch-slot-res { font-size: 13px; line-height: 1.45; color: var(--ink); }
|
|
.xch-ask { margin-top: 0; }
|
|
.xch-sub { font-size: 14px; }
|
|
.xch-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
|
|
.xch-dev-tabs { padding: 0 4px; overflow-x: auto; }
|
|
.xch-dev-tabs button { font-size: 14px; }
|
|
.xch-dev-k { display: none; }
|
|
.xch-dev-body { height: 120px; padding: 12px; font-size: 13px; }
|
|
.xch-net { grid-template-columns: 44px minmax(0, 1fr) 60px; }
|
|
.xch-net .ms, .xch-net .xch-fall { display: none; }
|
|
.xch-agent { padding: 16px; }
|
|
.xch-caption { font-size: 12px; }
|
|
|
|
.xch-gov { max-width: none; }
|
|
.xch-facts ol { grid-template-columns: minmax(0, 1fr); }
|
|
.xch-fn { font-size: 14px; }
|
|
|
|
.xch-paste { grid-template-columns: minmax(0, 1fr); padding: 14px; border-radius: 20px; }
|
|
.xch-paste-l { padding: 6px 6px 0; }
|
|
.xch-prompt { grid-template-columns: minmax(0, 1fr); padding: 18px; }
|
|
.xch-prompt .x-copy { justify-self: start; }
|
|
.xch-prompt-k { font-size: 14px; }
|
|
|
|
.xch-term-l { padding: 0; }
|
|
.xch-term { border-radius: 20px; }
|
|
.xch-term-log { height: 336px; padding: 14px; font-size: 13px; }
|
|
.xch-term-out { display: block; }
|
|
.xch-term-tag { display: inline; margin-right: 8px; font-size: 12px; white-space: normal; }
|
|
.xch-term-pick button { padding: 8px 12px; font-size: 13px; line-height: 1.35; }
|
|
.xch-term-sec.av-sec { padding: 40px 0 56px; }
|
|
|
|
.xch-caps-r, .xch-surf-r { align-items: flex-start; }
|
|
.xch-render { order: -1; position: relative; top: auto; height: 300px; border-radius: 20px; }
|
|
.xch-render-f { padding: 16px 16px 40px; }
|
|
.xch-render-k { left: 16px; bottom: 12px; }
|
|
.xcr { padding: 14px; }
|
|
.xch-row-h button { grid-template-columns: 32px minmax(0, 1fr) 18px; min-height: 64px; padding: 12px 0; font-size: 19px; }
|
|
.xch-row-d > p { padding-left: 44px; }
|
|
.xch-rows li.on .xch-row-t { transform: none; }
|
|
|
|
.xch-tester { padding: 18px; border-radius: 20px; }
|
|
.xch-field { height: 60px; padding: 0 14px; }
|
|
.xch-https { font-size: 15px; }
|
|
.xch-mirror { padding: 0 14px; font-size: 14px; }
|
|
.xch-rule { font-size: 14px; }
|
|
.xch-verdict b { font-size: 21px; }
|
|
|
|
/* the handoff rail turns vertical: four 52px stops, the fill runs down */
|
|
.xch-stops ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
|
|
.xch-rail { left: 5px; right: auto; top: 26px; bottom: 26px; width: 1px; height: auto; }
|
|
.xch-rail s { left: -.5px; top: 0; width: 2px; height: calc(52px * var(--k)); transition-property: height; }
|
|
.xch-stop-h button { flex-direction: row; align-items: center; gap: 12px; min-height: 52px; padding: 0 0 0 28px; font-size: 18px; }
|
|
.xch-stop-dot { top: 50%; margin-top: -5.5px; }
|
|
.xch-surf-n { font-size: 14px; }
|
|
.xch-hand { margin-top: 24px; }
|
|
.xch-hand-d p { max-width: none; }
|
|
.xch-hand-r { height: 260px; border-radius: 20px; }
|
|
.xch-next-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
|
|
.xch-more-links { justify-content: flex-start; }
|
|
.xch-next-r { align-items: flex-start; }
|
|
.xch-close-l { gap: 28px; }
|
|
.xch .xch-close { padding: 96px 0; }
|
|
.xch .xch-close h2 { font-size: 32px; }
|
|
.xch .xch-close p.av-lede { font-size: 17px; }
|
|
}
|
|
|
|
/* dark: the selected tab's text sits on a sibling motion pill; its label carries the pill's own colour (after the pill has slid in) so the ancestor walk sees what the eye sees. Light untouched. */
|
|
html:not(.light) .xch-mode button[aria-checked='true'] > span:not(.xch-mode-bg) { background: #fafafa; transition: background-color 0s .3s; }
|