mirror of
https://github.com/hanzoai/site.git
synced 2026-11-20 21:21:13 +00:00
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P5YBdx19ukLv4B41yE4M3v
543 lines
44 KiB
CSS
543 lines
44 KiB
CSS
/* ---------- console v2 (cs-), on the Business grammar in components/v2/Biz.css ---------- */
|
|
/* greys and ink only (JAMES.md 7): inside the dark shell the live light is white (--hi), status always has a word too */
|
|
.cs { --hi: #f5f5f5; }
|
|
|
|
/* the hero: the page's one dark room */
|
|
.cs-hero { position: relative; margin-top: -60px; background: #000000; color: #f5f5f5; padding: clamp(150px, 12vw, 180px) 0 clamp(104px, 10vw, 152px); overflow: clip; }
|
|
.cs-top { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: end; }
|
|
.cs-h1 { grid-column: 1 / span 7; color: #ffffff; }
|
|
.cs-intro { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 24px; padding-bottom: 8px; }
|
|
.cs-intro .bz-acts { gap: 8px 28px; }
|
|
.cs-hero .x-arrow { color: #f5f5f5; min-height: 44px; }
|
|
.cs-intro .bz-lede { color: #f5f5f5; }
|
|
.cs-stage { position: relative; margin-top: clamp(48px, 4.4vw, 72px); }
|
|
|
|
/* the shell: dark product UI (in the hero it sits in the room; elsewhere it is an object on white) */
|
|
.cs-win { position: relative; border-radius: 28px; background: #0f0f0f; color: #e9e9e9; border: 1px solid rgba(255, 255, 255, .1); box-shadow: none; overflow: hidden; text-align: left; }
|
|
.cs-win.md { border-color: rgba(0, 0, 0, .1); }
|
|
.cs-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 56px; padding: 0 18px; background: #0a0a0a; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
|
.cs-lights { display: flex; gap: 8px; }
|
|
.cs-lights i { width: 12px; height: 12px; border-radius: 50%; background: #404040; }
|
|
.cs-url { min-width: 280px; padding: 7px 18px; border-radius: 8px; background: #171717; font-size: 13px; color: #a3a3a3; text-align: center; }
|
|
.cs-bar-r { justify-self: end; display: flex; align-items: center; gap: 14px; }
|
|
.cs-wt { font: 497 13px/1 var(--mono); color: #737373; text-decoration: none; white-space: nowrap; }
|
|
.cs-hold { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: #171717; color: #f5f5f5; cursor: pointer; transition: border-color .15s, transform .09s; }
|
|
@media (hover: hover) { .cs-hold:hover { border-color: rgba(255, 255, 255, .45); } }
|
|
.cs-hold:active { transform: scale(.97); }
|
|
.cs-hold:focus-visible { outline: 2px solid #f5f5f5; outline-offset: 2px; }
|
|
@media (hover: hover) { a.cs-wt:hover { color: #f5f5f5; } }
|
|
.cs-body { display: grid; grid-template-columns: 64px 236px minmax(0, 1fr); height: 600px; }
|
|
.cs-win.md .cs-body { grid-template-columns: 60px 196px minmax(0, 1fr); height: 456px; }
|
|
.cs-rail { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; background: #0a0a0a; border-right: 1px solid rgba(255, 255, 255, .08); }
|
|
.cs-ico { position: relative; display: grid; place-items: center; height: 44px; border-radius: 12px; color: #737373; transition: color .15s, background .15s; }
|
|
@media (hover: hover) { a.cs-ico:hover, .cs-ico.on { color: #f5f5f5; background: #262626; } }
|
|
.cs-tip { position: absolute; left: calc(100% + 10px); top: 50%; translate: 0 -50%; padding: 7px 10px; border-radius: 8px; background: #f5f5f5; color: #0a0a0a; font: 497 13px/1 var(--sans); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s, transform .3s var(--ease); z-index: 8; }
|
|
@media (hover: hover) { a.cs-ico:hover .cs-tip, a.cs-ico:focus-visible .cs-tip { opacity: 1; } }
|
|
.cs-nav { padding: 16px 14px; background: #0a0a0a; border-right: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
|
|
.cs-orgsw { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 10px; border-radius: 16px; background: #171717; border: 1px solid rgba(255, 255, 255, .06); }
|
|
.cs-ava { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--hi); color: #0a0a0a; font: 606 14px/1 var(--sans); text-transform: uppercase; }
|
|
.cs-orgsw-n { position: relative; flex: 1; height: 20px; overflow: hidden; }
|
|
.cs-orgsw-n b { position: absolute; left: 0; top: 0; font-size: 16px; font-weight: 497; line-height: 20px; color: #f5f5f5; }
|
|
.cs-oidc { padding: 4px 7px; border-radius: 6px; background: #262626; color: #a3a3a3; font-size: 13px; line-height: 1; }
|
|
.cs-mods { position: relative; list-style: none; margin: 18px 0 0; padding: 0; }
|
|
.cs-pill { position: absolute; left: 0; right: 0; top: 0; height: 44px; border-radius: 12px; background: #262626; }
|
|
.cs-pill::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 6px; background: var(--hi); }
|
|
.cs-mods li { position: relative; }
|
|
.cs-mods li > * { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; height: 44px; padding: 0 14px; border: 0; background: none; border-radius: 12px; color: #a3a3a3; font: 497 16px/1 var(--sans); text-align: left; white-space: nowrap; transition: color .3s; }
|
|
.cs-mods li > button { cursor: pointer; }
|
|
@media (hover: hover) { .cs-mods li > button:hover { color: #d4d4d4; } }
|
|
.cs-mods li > button:active { transform: scale(.97); }
|
|
.cs-mods svg { transition: transform .15s var(--ease); }
|
|
.cs-mods li > button:focus-visible { outline: 2px solid var(--hi); outline-offset: -2px; }
|
|
.cs-mods li.on > * { color: #ffffff; }
|
|
.cs-mods svg { flex: none; }
|
|
.cs-main { position: relative; display: flex; flex-direction: column; padding: 30px 40px 28px; min-width: 0; overflow: hidden; }
|
|
.cs-win.md .cs-main { padding: 22px 26px; }
|
|
.cs-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; min-height: 44px; }
|
|
.cs-head h3 { margin: 0; font-size: 26px; font-weight: 606; letter-spacing: -.03em; line-height: 1.1; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.cs-win.md .cs-head { margin-bottom: 18px; }
|
|
.cs-win.md .cs-head h3 { font-size: 21px; }
|
|
.cs-k { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: #171717; color: #a3a3a3; font: 497 14px/1 var(--sans); cursor: text; transition: border-color .15s, color .15s; }
|
|
@media (hover: hover) { .cs-k:hover { border-color: rgba(255, 255, 255, .3); color: #f5f5f5; } }
|
|
.cs-k:active { transform: scale(.97); }
|
|
.cs-k:focus-visible { outline: 2px solid var(--hi); outline-offset: 2px; }
|
|
.cs-k kbd, .cs-pal kbd { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; background: #262626; color: #f5f5f5; font: 497 13px/1 var(--mono); }
|
|
.cs-win.md .cs-k span { display: none; }
|
|
.cs-vw { flex: 1; min-height: 0; }
|
|
.cs-v { display: flex; flex-direction: column; }
|
|
.cs-vk { margin: 0 0 22px; font-size: 16px; line-height: 1.45; color: #a3a3a3; }
|
|
.cs-win.md .cs-vk { font-size: 16px; margin-bottom: 16px; }
|
|
|
|
/* projects */
|
|
.cs-tbl { border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; overflow: hidden; }
|
|
.cs-tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; height: 58px; margin: 0; padding: 0 22px; font-size: 16px; border-top: 1px solid rgba(255, 255, 255, .06); }
|
|
.cs-tr:first-child { border-top: 0; }
|
|
.cs-tr span { display: inline-flex; align-items: center; gap: 14px; color: #f5f5f5; min-width: 0; }
|
|
.cs-tr em { font-style: normal; color: #a3a3a3; }
|
|
.cs-th { height: 44px; background: #171717; }
|
|
.cs-th span { font: 497 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #737373; }
|
|
.cs-tr.on { background: #262626; }
|
|
.cs-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--hi); }
|
|
.cs-dot.b { background: transparent; border: 1.5px solid var(--hi); box-shadow: none; animation: cs-pulse 1.3s ease-in-out infinite; }
|
|
@keyframes cs-pulse { 50% { opacity: .25; } }
|
|
.cs-cap { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding: 16px 18px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .3); font-size: 16px; line-height: 1.45; color: #d4d4d4; }
|
|
.cs-cap b { flex: none; padding: 5px 9px; border-radius: 8px; background: var(--hi); color: #0a0a0a; font-size: 13px; font-weight: 497; }
|
|
|
|
/* keys */
|
|
.cs-key { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 20px; padding: 24px; border-radius: 16px; background: #171717; border: 1px solid rgba(255, 255, 255, .08); transition: border-color .4s; }
|
|
.cs-key-i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .08); color: var(--hi); transition: background .4s, color .4s; }
|
|
.cs-key-l { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
|
|
.cs-key-l b { font-size: 26px; font-weight: 497; letter-spacing: -.02em; line-height: 1; color: #ffffff; transition: color .4s; }
|
|
.cs-key-l span { font-size: 16px; color: #737373; }
|
|
.cs-key.off .cs-key-l b { color: #737373; text-decoration: line-through; text-decoration-thickness: 2px; }
|
|
.cs-key.off .cs-key-i { background: rgba(255, 255, 255, .06); color: #737373; }
|
|
.cs-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--hi); color: #0a0a0a; font: 497 13px/1 var(--mono); white-space: nowrap; transition: background .4s, color .4s; }
|
|
.cs-tag.off { background: transparent; border: 1px solid rgba(255, 255, 255, .22); color: #a3a3a3; }
|
|
.cs-key-b { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #f5f5f5; font: 497 16px/1 var(--sans); cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s; }
|
|
@media (hover: hover) { .cs-key-b:hover { border-color: rgba(255, 255, 255, .45); background: #262626; } }
|
|
.cs-key-b:active { transform: scale(.97); }
|
|
.cs-key-b.press { transform: scale(.97); background: #f5f5f5; color: #0a0a0a; }
|
|
.cs-key-n { margin: 16px 0 0; font: 400 14px/1.4 var(--mono); color: #737373; }
|
|
.cs-key-n.off { display: inline-flex; align-self: flex-start; padding: 6px 10px; border-radius: 8px; background: var(--hi); color: #0a0a0a; }
|
|
|
|
/* usage */
|
|
.cs-use { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; align-items: start; }
|
|
.cs-use-fig { display: flex; flex-direction: column; gap: 12px; }
|
|
.cs-roll { position: relative; display: block; height: 1em; min-width: .72em; font-size: 64px; overflow: hidden; }
|
|
.cs-roll b { position: absolute; left: 0; top: 0; line-height: 1; color: var(--hi); }
|
|
.cs-use-l { font-size: 16px; color: #d4d4d4; }
|
|
.cs-use-b { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 30px; padding: 0 12px; border-radius: 999px; background: #262626; color: #a3a3a3; font: 497 13px/1 var(--mono); }
|
|
.cs-use-b i { width: 7px; height: 7px; border-radius: 50%; background: var(--hi); }
|
|
.cs-use-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
.cs-use-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 54px; padding: 0 18px; border-radius: 12px; background: #171717; border: 1px solid rgba(255, 255, 255, .06); }
|
|
.cs-use-list li:first-child { border-color: rgba(255, 255, 255, .3); }
|
|
.cs-use-list span { font-size: 14px; color: #f5f5f5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.cs-use-list em { flex: none; font-style: normal; font-size: 13px; color: #737373; }
|
|
|
|
/* apps */
|
|
.cs-chain { list-style: none; margin: 18px 0 0; padding: 0; display: flex; }
|
|
.cs-chain li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: .2; transform: translateY(12px) scale(.97); transition: opacity .5s var(--ease), transform 0.7s var(--ease); }
|
|
.cs-chain li.on { opacity: 1; transform: none; }
|
|
.cs-node { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 28px; background: #171717; border: 1px solid rgba(255, 255, 255, .1); color: #f5f5f5; transition: color .5s, border-color .5s; }
|
|
.cs-chain li.on .cs-node { color: var(--hi); border-color: rgba(255, 255, 255, .45); }
|
|
.cs-chain b { font-size: 21px; font-weight: 497; letter-spacing: -.02em; color: #ffffff; }
|
|
.cs-link { position: absolute; top: 52px; right: calc(50% + 66px); width: calc(100% - 132px); height: 2px; background: var(--hi); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease) .09s; }
|
|
.cs-chain li.on .cs-link { transform: none; }
|
|
.cs-chain + .cs-cap { margin-top: 40px; border-color: rgba(255, 255, 255, .14); color: #a3a3a3; }
|
|
|
|
/* models */
|
|
.cs-prov { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
|
|
.cs-pv { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 230px; padding: 26px; border-radius: 24px; background: #171717; border: 1px solid rgba(255, 255, 255, .08); transition: border-color .5s, background .5s; }
|
|
.cs-pv-i { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 16px; background: #f5f5f5; color: #0a0a0a; font-size: 21px; font-weight: 606; transition: background .5s, color .5s; }
|
|
.cs-pv b { font-size: 21px; font-weight: 497; letter-spacing: -.02em; color: #ffffff; }
|
|
.cs-pv em { font-style: normal; font-size: 16px; color: #737373; }
|
|
.cs-pv .cs-tag { margin-top: auto; }
|
|
.cs-pv.yours { background: transparent; border: 1px dashed rgba(255, 255, 255, .22); }
|
|
.cs-pv.yours .cs-pv-i { background: transparent; border: 1px dashed rgba(255, 255, 255, .3); color: #a3a3a3; }
|
|
.cs-pv.yours.on { background: #171717; border: 1px solid rgba(255, 255, 255, .45); }
|
|
.cs-pv.yours.on .cs-pv-i { background: var(--hi); border-color: var(--hi); color: #0a0a0a; }
|
|
|
|
/* organization */
|
|
.cs-org { display: flex; align-items: center; gap: 20px; padding: 26px 28px; border-radius: 24px; background: #f5f5f5; color: #0a0a0a; }
|
|
.cs-org .cs-oidc { background: #0a0a0a; color: #ffffff; }
|
|
.cs-org-n { position: relative; display: block; height: 1em; min-width: 3.4em; font-size: 44px; overflow: hidden; }
|
|
.cs-org-n b { position: absolute; left: 0; top: 0; font-weight: 606; letter-spacing: -.04em; line-height: 1; }
|
|
.cs-org em { margin-left: auto; font-style: normal; font-size: 16px; color: #737373; text-align: right; }
|
|
.cs-orgs { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 10px; }
|
|
.cs-orgs li { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 12px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); color: #737373; font-size: 16px; transition: border-color .4s, color .4s; }
|
|
.cs-orgs li .cs-ava { background: #262626; color: #a3a3a3; transition: background .4s, color .4s; }
|
|
.cs-orgs li.on { border-color: rgba(255, 255, 255, .6); color: #ffffff; }
|
|
.cs-orgs li.on .cs-ava { background: var(--hi); color: #0a0a0a; }
|
|
|
|
/* the film's palette */
|
|
.cs-pal { position: absolute; left: 50%; top: 92px; translate: -50% 0; width: min(640px, calc(100% - 48px)); z-index: 6; border-radius: 16px; background: #262626; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .78); overflow: hidden; }
|
|
.cs-pal-in { display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 18px 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #737373; }
|
|
.cs-pal-q { flex: 1; min-width: 0; font-size: 21px; letter-spacing: -.01em; color: #ffffff; white-space: nowrap; }
|
|
.cs-pal-q em { font-style: normal; color: #737373; }
|
|
.cs-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--hi); animation: cs-blink 1s steps(2, start) infinite; }
|
|
@keyframes cs-blink { to { visibility: hidden; } }
|
|
.cs-pal kbd { transition: background .15s, color .15s, transform .15s var(--ease); }
|
|
.cs-pal kbd.on { background: var(--hi); color: #0a0a0a; transform: scale(.9); }
|
|
.cs-pal-hits { list-style: none; margin: 0; padding: 8px; }
|
|
.cs-pal-hits li { display: grid; grid-template-columns: 16px auto minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 50px; padding: 0 14px; border-radius: 12px; color: #a3a3a3; font-size: 16px; transition: background .15s, color .15s; }
|
|
.cs-pal-hits li em { font-style: normal; font-size: 13px; color: #737373; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.cs-pal-hits li > span.x-mono { font-size: 13px; color: #737373; }
|
|
.cs-pal-n { color: #e9e9e9; font-weight: 497; }
|
|
.cs-pal-hits mark, .cs-find mark { background: none; color: inherit; box-shadow: inset 0 -2px 0 currentColor; }
|
|
.cs-pal-hits li.hi { background: #262626; color: #ffffff; }
|
|
.cs-pal-hits li.hi mark { color: var(--hi); }
|
|
.cs-pal-hits li.go { background: var(--hi); color: #0a0a0a; }
|
|
.cs-pal-hits li.go .cs-pal-n, .cs-pal-hits li.go mark { color: #0a0a0a; }
|
|
.cs-pal-hits li.go em, .cs-pal-hits li.go > span.x-mono { color: rgba(0, 0, 0, .6); }
|
|
.cs-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 50px; padding: 0 12px 0 20px; background: #0a0a0a; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #737373; }
|
|
.cs-foot b { font-weight: 497; color: #d4d4d4; }
|
|
.cs-open { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #f5f5f5; text-decoration: none; font: 497 13px/1 var(--sans); white-space: nowrap; }
|
|
@media (hover: hover) { a.cs-open:hover { background: #f5f5f5; color: #0a0a0a; } }
|
|
|
|
/* the medium shell keeps its parts in proportion */
|
|
.cs-win.md .cs-tr { height: 50px; padding: 0 18px; }
|
|
.cs-win.md .cs-key { gap: 14px; padding: 18px; }
|
|
.cs-win.md .cs-key-i { width: 44px; height: 44px; }
|
|
.cs-win.md .cs-key-l b { font-size: 21px; }
|
|
.cs-win.md .cs-use { grid-template-columns: minmax(0, 1fr); gap: 16px; }
|
|
.cs-win.md .cs-use-fig { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 18px; row-gap: 8px; }
|
|
.cs-win.md .cs-roll { grid-row: span 2; font-size: 44px; }
|
|
.cs-win.md .cs-use-list li { height: 44px; }
|
|
.cs-win.md .cs-use-list li:nth-child(n + 4) { display: none; }
|
|
.cs-win.md .cs-node { width: 80px; height: 80px; border-radius: 24px; }
|
|
.cs-win.md .cs-link { top: 40px; right: calc(50% + 52px); width: calc(100% - 104px); }
|
|
.cs-win.md .cs-chain b { font-size: 17px; }
|
|
.cs-win.md .cs-chain + .cs-cap { margin-top: 28px; }
|
|
.cs-win.md .cs-pv { min-height: 200px; padding: 20px; }
|
|
.cs-win.md .cs-pv b { font-size: 17px; }
|
|
.cs-win.md .cs-org { padding: 20px; gap: 14px; flex-wrap: wrap; }
|
|
.cs-win.md .cs-org-n { font-size: 32px; }
|
|
.cs-win.md .cs-org em { margin-left: 0; flex-basis: 100%; text-align: left; }
|
|
|
|
/* the signature: the six modules on a dark canvas you pull around (components/pages/x-tender/PanCanvas) */
|
|
.cs .cs-cv { padding-top: clamp(72px, 8vw, 116px); }
|
|
.cs-cv-head { margin-bottom: 27px; }
|
|
.cs-pan { display: flex; flex-direction: column; border-radius: 28px; background: #0a0a0a; color: #e9e9e9; overflow: hidden; }
|
|
.cs-pan .xt-pan-bar { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 10px 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
|
|
.cs-cv-mods { flex: 1; min-width: 0; display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
|
|
.cs-cv-mods::-webkit-scrollbar { display: none; }
|
|
.cs-cv-mods button { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 12px; border: 0; border-radius: 12px; background: none; color: #a3a3a3; font: 497 15px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1); }
|
|
@media (hover: hover) { .cs-cv-mods button:hover { color: #f5f5f5; background: #171717; } }
|
|
.cs-cv-mods button:active { transform: scale(.97); }
|
|
.cs-cv-mods button[aria-pressed='true'] { color: #0a0a0a; background: #f5f5f5; }
|
|
@media (hover: hover) { .cs-cv-mods button[aria-pressed='true']:hover { color: #0a0a0a; background: #e5e5e5; } .cs-key-b:hover { transform: translateY(-1px); } }
|
|
.cs-cv-mods button:focus-visible, .cs-pan .xt-pan-reset:focus-visible { outline: 2px solid #f5f5f5; outline-offset: 2px; }
|
|
.cs-pan .xt-pan-tools { flex: none; display: flex; align-items: center; gap: 6px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .08); }
|
|
.cs-pan .xt-pan-hand { display: grid; place-items: center; width: 44px; height: 44px; color: #737373; }
|
|
.cs-pan .xt-pan-reset { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: #171717; color: #f5f5f5; cursor: pointer; transition: border-color .15s cubic-bezier(0, 0, .2, 1), transform .09s; }
|
|
@media (hover: hover) { .cs-pan .xt-pan-reset:hover { border-color: rgba(255, 255, 255, .45); } .cs-pan .xt-pan-reset:hover svg { transform: rotate(-40deg); } }
|
|
.cs-pan .xt-pan-reset svg { transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
|
|
.cs-pan .xt-pan-reset:active { transform: scale(.97); }
|
|
/* the view: a dot field that travels with the world */
|
|
.cs-pan .xt-pan-view { height: clamp(560px, 74vh, 660px); cursor: grab; outline: none; background-color: #000000; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px); background-size: 28px 28px; background-position: var(--pan-x, 0) var(--pan-y, 0); }
|
|
.cs-pan .xt-pan-view.is-drag { cursor: grabbing; }
|
|
.cs-pan .xt-pan-view:focus-visible { box-shadow: inset 0 0 0 2px #f5f5f5; }
|
|
/* the world: three columns, two rows, the middle column set lower so the canvas reads as laid out, not a grid */
|
|
.cs-world { display: grid; grid-template-columns: repeat(3, 820px); column-gap: 116px; row-gap: 116px; padding: 72px 96px 116px; }
|
|
.cs-world > :nth-child(3n + 2) { margin-top: 188px; margin-bottom: -188px; }
|
|
.cs-world > :nth-child(3n) { margin-top: 44px; margin-bottom: -44px; }
|
|
.cs-card { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 27px; align-items: start; padding: 27px; border-radius: 24px; background: #0a0a0a; border: 1px solid rgba(255, 255, 255, .1); opacity: .5; transition: opacity .4s cubic-bezier(.4, 0, .2, 1), border-color .4s cubic-bezier(.4, 0, .2, 1); }
|
|
.cs-card.on { opacity: 1; border-color: rgba(255, 255, 255, .3); }
|
|
.cs-card-copy { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
|
|
.cs-card-k { display: flex; gap: 10px; margin: 0; font: 606 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #a3a3a3; }
|
|
.cs-card-k .x-mono { color: #f5f5f5; }
|
|
.cs-card-t { margin: 0; font-size: 26px; font-weight: 497; line-height: 1.18; letter-spacing: -.02em; color: #ffffff; text-wrap: balance; }
|
|
.cs-card-d { margin: 0; font-size: 16px; line-height: 1.6; color: #a3a3a3; text-wrap: pretty; }
|
|
.cs-card .cs-ch-note { margin: 0; font-size: 13px; line-height: 1.5; color: #737373; }
|
|
.cs-win.cs-card-win { border-radius: 20px; border-color: rgba(255, 255, 255, .1); }
|
|
.cs-card-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: #0a0a0a; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: #737373; }
|
|
.cs-card-bar .cs-lights i { width: 9px; height: 9px; }
|
|
.cs-win.md.cs-card-win .cs-main { min-height: 360px; padding: 22px; overflow: visible; }
|
|
@media (prefers-reduced-motion: reduce) { .cs-card { transition: none; } }
|
|
|
|
/* beyond: find it by typing it */
|
|
.cs-find-top { align-items: end; margin-bottom: clamp(56px, 6vw, 88px); }
|
|
.cs-find-top .cs-tk { grid-column: 1 / span 7; }
|
|
.cs-find-top .bz-body { grid-column: 9 / span 4; }
|
|
.cs-find-obj { background: #ffffff; }
|
|
.cs-find-in { display: flex; align-items: center; gap: 20px; height: 116px; padding: 0 36px; border-bottom: 1px solid var(--line); color: var(--faint); }
|
|
.cs-find-in svg { width: 30px; height: 30px; flex: none; }
|
|
.cs-find-in input { --text-control: 32px; flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; padding: 0; font: 497 32px/1 var(--sans); letter-spacing: -.03em; color: var(--ink); caret-color: var(--acc); }
|
|
.cs-find-in input::placeholder { color: #d4d4d4; }
|
|
.cs-find-in kbd { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); font: 497 16px/1 var(--mono); color: var(--soft); }
|
|
.cs-find-x { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #ffffff; font: 497 13px/1 var(--mono); color: var(--soft); cursor: pointer; }
|
|
@media (hover: hover) { .cs-find-x:hover { border-color: rgba(0, 0, 0, .22); color: var(--ink); } }
|
|
.cs-find-obj:focus-within { border-color: var(--bz-ink); }
|
|
.cs-find-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
|
|
.cs-find-res { display: flex; flex-direction: column; height: 604px; padding: 14px; border-right: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; }
|
|
.cs-find-res ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
.cs-find-res li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 64px; padding: 8px 14px 8px 10px; border-radius: 16px; cursor: pointer; transition: background .15s; }
|
|
.cs-find-res li.hi { background: var(--card); }
|
|
.cs-find-res li.went { box-shadow: inset 0 0 0 1.5px var(--acc); }
|
|
.cs-find-i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--card); color: var(--ink); }
|
|
.cs-find-res li.hi .cs-find-i { background: var(--ink); color: #ffffff; }
|
|
.cs-find-n { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 17px; font-weight: 497; letter-spacing: -.01em; color: var(--ink); }
|
|
.cs-find-n em { font-style: normal; font-size: 14px; font-weight: 400; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.cs-find-n mark { color: var(--ink); font-weight: 606; }
|
|
.cs-find-k { font-size: 13px; color: var(--faint); white-space: nowrap; }
|
|
.cs-find-res li.hi .cs-find-k { color: var(--ink); }
|
|
.cs-find-res li:active { transform: scale(.97); }
|
|
.cs-find-res li.none { display: block; min-height: 0; padding: 22px 14px; color: var(--soft); font-size: 17px; cursor: default; }
|
|
.cs-find-hint { display: flex; align-items: center; gap: 6px; margin: auto 0 0; padding: 18px 12px 6px; font-size: 13px; color: var(--faint); }
|
|
.cs-find-hint kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 6px; border: 1px solid var(--line); font: 497 13px/1 var(--mono); color: var(--soft); }
|
|
.cs-find-hint kbd:nth-of-type(3), .cs-find-hint kbd:nth-of-type(4) { margin-left: 12px; }
|
|
.cs-find-shell { padding: 36px; background: var(--card); }
|
|
|
|
/* the client: four facts that open */
|
|
.cs-client-copy { grid-column: 1 / span 4; align-self: start; position: sticky; top: 140px; display: flex; flex-direction: column; gap: 24px; }
|
|
.cs-facts { grid-column: 6 / span 7; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
|
|
.cs-fact { min-height: 320px; padding: 32px; }
|
|
.cs-fact .bz-fig { font-size: 64px; color: var(--ink); white-space: nowrap; }
|
|
.cs-fact-t { margin-top: auto; padding-right: 56px; font-size: 21px; color: var(--soft); }
|
|
.cs-fact { transition: background-color .15s var(--bz-out); }
|
|
@media (hover: hover) { .cs-fact:hover { background: var(--bz-tile); } }
|
|
.cs-fact:active { scale: .97; }
|
|
.cs-fp { display: flex; flex-direction: column; gap: 28px; max-width: 64ch; }
|
|
.cs-fp.wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; max-width: none; align-items: start; }
|
|
.cs-fp-copy { display: flex; flex-direction: column; gap: 20px; padding-right: 40px; }
|
|
.cs-fp-copy .bz-fig { font-size: 84px; color: var(--ink); }
|
|
.cs-fp-x .cf-code { margin: 0; }
|
|
.cs-chips { display: flex; flex-wrap: wrap; gap: 10px; }
|
|
.cs-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font: 497 14px/1 var(--mono); color: var(--ink); text-decoration: none; }
|
|
.cs-chip span { color: var(--faint); }
|
|
@media (hover: hover) { a.cs-chip:hover { border-color: rgba(0, 0, 0, .22); } }
|
|
|
|
/* get console */
|
|
.cs-get { padding-bottom: 0; }
|
|
.cs-get .bz-grid { align-items: start; }
|
|
.cs-get-main { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
|
|
.cs-end-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; }
|
|
.cs-rel { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 18px; }
|
|
.cs-rel ul { list-style: none; margin: 0; padding: 0; }
|
|
.cs-rel a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; min-height: 56px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
|
|
.cs-rel li:last-child a { border-bottom: 1px solid var(--line); }
|
|
.cs-rel b { font-size: 17px; font-weight: 497; }
|
|
.cs-rel span { font-size: 16px; color: var(--soft); }
|
|
@media (hover: hover) { .cs-rel a:hover b { text-decoration: underline; text-underline-offset: 3px; } }
|
|
.cs-rel a:active { transform: translateY(1px); }
|
|
.cs-get-paste { margin-top: clamp(80px, 8vw, 120px); }
|
|
.cs-paste { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) !important; }
|
|
.cs-paste .cf-paste-t { font-size: 26px; }
|
|
|
|
/* the close: one sentence, one ask, one text row */
|
|
.cs-end-main { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
|
|
.cs-end-main .bz-lede { max-width: 44ch; }
|
|
.cs-end-main .bz-acts { margin-top: 12px; }
|
|
.cs-row { display: flex; justify-content: space-between; align-items: center; min-height: 56px; margin-top: clamp(72px, 8vw, 120px); padding: 0 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 497 17px/1.2 var(--sans); color: var(--ink); text-decoration: none; }
|
|
.cs-row svg { transition: transform .3s var(--ease); }
|
|
@media (hover: hover) { .cs-row:hover { background: var(--bz-room); } }
|
|
.cs-row:active { transform: translateY(1px); }
|
|
|
|
/* round 3 (critic, 7 Nov) */
|
|
/* the key row never stacks a letter per line: the name and its scope keep one line, and in the narrow chapter
|
|
windows the state chip drops under the name while the button holds the right edge */
|
|
.cs-key-l b, .cs-key-l span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.cs-win.md .cs-key { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 8px; }
|
|
.cs-win.md .cs-key-i { grid-row: 1 / span 2; }
|
|
.cs-win.md .cs-key .cs-tag { grid-column: 2; grid-row: 2; justify-self: start; }
|
|
.cs-win.md .cs-key-b { grid-column: 3; grid-row: 1 / span 2; }
|
|
/* the four facts: /v1 is the one big tile, with a peek of the code it opens to; the other three are medium */
|
|
.cs-facts > :first-child { grid-column: 1; grid-row: span 2; align-self: stretch; }
|
|
.cs-facts > :first-child .cs-fact-peek { max-height: 13em; }
|
|
.cs-facts > :first-child > .cs-fact { height: 100%; }
|
|
.cs-facts > :last-child { grid-column: 1 / -1; }
|
|
.cs-fact { min-height: 216px; }
|
|
.cs-fact .bz-fig { font-size: 44px; }
|
|
.cs-facts > :first-child .cs-fact .bz-fig, .cs-facts > .cs-fact:first-child .bz-fig { font-size: 64px; }
|
|
.cs-fact-peek { display: block; margin: 17px 0 0; max-height: 8.3em; overflow: hidden; white-space: pre; font-size: 13px; line-height: 1.65; color: var(--soft); text-align: left; mask-image: linear-gradient(#000 55%, transparent); }
|
|
/* text links answer a hover: the arrow steps forward and the words underline */
|
|
@media (hover: hover) {
|
|
.cs .x-arrow svg { transition: transform .15s cubic-bezier(0, 0, .2, 1); }
|
|
.cs .x-arrow:hover svg { transform: translateX(4px); }
|
|
.cs .x-arrow:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
|
|
}
|
|
.cs .x-arrow:active { transform: translateY(1px); }
|
|
/* 44px targets: the agent-prompt Copy and the window title link (the bar keeps its height) */
|
|
.cs-paste .x-copy { min-height: 44px; }
|
|
.cs-wt { display: inline-flex; align-items: center; min-height: 44px; margin: -14px 0; }
|
|
/* no void before Get Console */
|
|
.cs .cs-get { padding-top: clamp(44px, 5vw, 72px); }
|
|
/* the hero shell leans toward a fine pointer */
|
|
.cs-lean { --rx: 0deg; --ry: 0deg; transform: perspective(1600px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .4s cubic-bezier(0, 0, .2, 1); }
|
|
/* the close: words left, the organization switcher right */
|
|
.cs-end .bz-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 44px; align-items: center; }
|
|
.cs-end .cs-row { grid-column: 1 / -1; }
|
|
.cs-end-org { padding: 17px; border-radius: 24px; background: #f5f5f5; }
|
|
.cs-end-k { margin: 0 0 12px 6px; font-size: 12px; letter-spacing: .14em; color: #737373; }
|
|
.cs-end-org ul { position: relative; list-style: none; margin: 0; padding: 6px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
|
|
.cs-end-org li { position: relative; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 12px; z-index: 1; }
|
|
.cs-end-org li b { flex: 1; font-size: 17px; font-weight: 497; color: #0a0a0a; }
|
|
.cs-end-org li em { font-style: normal; font-size: 12px; color: #737373; }
|
|
.cs-end-org .cs-ava { background: #0a0a0a; color: #fafafa; }
|
|
.cs-end-pill { position: absolute; left: 6px; right: 6px; top: 6px; height: 56px; border-radius: 12px; background: #f2f2f2; box-shadow: inset 0 0 0 1px #0a0a0a; }
|
|
.cs-end-org.on .cs-end-pill { animation: cs-org 5s cubic-bezier(.4, 0, .2, 1) .6s 2 both; }
|
|
@keyframes cs-org { 0%, 38% { transform: none; } 50%, 88% { transform: translateY(56px); } 100% { transform: none; } }
|
|
@media (prefers-reduced-motion: reduce) { .cs-lean { transform: none; } .cs-end-org.on .cs-end-pill { animation: none; } }
|
|
|
|
/* the palette's preview is the target panel alone, larger, with no window chrome (not a third copy of the window) */
|
|
.cs-find-shell .cs-bar, .cs-find-shell .cs-foot, .cs-find-shell .cs-rail, .cs-find-shell .cs-nav { display: none; }
|
|
.cs-find-shell .cs-win { border: 0; box-shadow: none; border-radius: 20px; }
|
|
.cs-find-shell .cs-body, .cs-find-shell .cs-win.md .cs-body { grid-template-columns: minmax(0, 1fr); height: 532px; }
|
|
.cs-find-shell .cs-win.md .cs-main { padding: 26px 28px; }
|
|
/* the hero window: no dead pane under short views */
|
|
.cs-win:not(.md) .cs-body { height: 540px; }
|
|
/* ...and each view's object sits in the middle of the pane left under the line that names it, not stuck to the top */
|
|
.cs-hero .cs-vw { display: flex; flex-direction: column; }
|
|
.cs-hero .cs-vw > .cs-v { flex: 1; }
|
|
.cs-hero .cs-v > .cs-vk + * { margin-top: auto; }
|
|
.cs-hero .cs-v > :last-child { margin-bottom: auto; }
|
|
@media (hover: hover) { .cs-rel a:hover { background: var(--bz-room); } }
|
|
.cs-rel a { padding-left: 4px; padding-right: 4px; transition: background-color .15s cubic-bezier(0, 0, .2, 1); }
|
|
|
|
@media (max-width: 900px) {
|
|
.cs-end .bz-wrap { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
|
|
.cs-find-shell .cs-body, .cs-find-shell .cs-win.md .cs-body { height: auto; }
|
|
.cs-find-shell .cs-main { overflow: visible; }
|
|
.cs-win:not(.md) .cs-body { height: 452px; }
|
|
/* phone keys card: key and scope on the left (the scope may wrap), the state under them, the button right */
|
|
.cs-win.md .cs-key, .cs-key { grid-template-columns: minmax(0, 1fr) auto; }
|
|
.cs-win.md .cs-key .cs-tag, .cs-key .cs-tag { grid-column: 1; grid-row: 3; justify-self: start; }
|
|
.cs-win.md .cs-key-l, .cs-key-l { grid-column: 1; grid-row: 1 / span 2; }
|
|
.cs-win.md .cs-key-b, .cs-key-b { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
|
|
.cs-key-l span { white-space: normal; }
|
|
.cs-facts > :first-child, .cs-facts > :last-child { grid-column: auto; grid-row: auto; }
|
|
.cs-fact-peek { display: none; }
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.cs-hero { padding: 140px 0 88px; }
|
|
.cs-top { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
|
|
.cs-h1 { white-space: normal; }
|
|
.cs-url, .cs-th span, .cs-cap b, .cs-tag, .cs-key-n, .cs-use-list span, .cs-use-b, .cs-foot, .cs-open, .cs-ch-note, .cs-find-k, .cs-find-x, .cs-k kbd, .cs-pal kbd { font-size: 14px; }
|
|
.cs .cf-paste-k, .cs .x-copy-t, .cs .cf-code-k { font-size: 14px; }
|
|
.cs .x-arrow { min-height: 44px; }
|
|
.cs-chip { height: 44px; }
|
|
.cs-open { height: 44px; }
|
|
.cs-hold { margin-right: -6px; }
|
|
.cs-intro { padding: 0; gap: 22px; }
|
|
.cs-stage { margin-top: 44px; }
|
|
|
|
.cs-win { border-radius: 24px; }
|
|
.cs-bar { grid-template-columns: auto minmax(0, 1fr) auto; height: 52px; padding: 0 14px; }
|
|
.cs-lights i { width: 10px; height: 10px; }
|
|
.cs-url { min-width: 0; justify-self: center; padding: 6px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.cs-wt { display: none; }
|
|
.cs-body, .cs-win.md .cs-body { grid-template-columns: minmax(0, 1fr); height: 404px; }
|
|
.cs-rail, .cs-nav { display: none; }
|
|
.cs-main, .cs-win.md .cs-main { padding: 18px 16px; }
|
|
.cs-head, .cs-win.md .cs-head { margin-bottom: 14px; }
|
|
.cs-head h3, .cs-win.md .cs-head h3 { font-size: 21px; }
|
|
.cs-k { width: 44px; height: 44px; padding: 0; justify-content: center; }
|
|
.cs-k span, .cs-k kbd { display: none; }
|
|
.cs-vk, .cs-win.md .cs-vk { font-size: 14px; margin-bottom: 14px; }
|
|
.cs-tr, .cs-win.md .cs-tr { height: 48px; padding: 0 14px; font-size: 14px; }
|
|
.cs-th { height: 38px; }
|
|
.cs-cap { font-size: 14px; padding: 12px 14px; gap: 10px; flex-wrap: wrap; }
|
|
.cs-key, .cs-win.md .cs-key { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 16px; }
|
|
.cs-key-i, .cs-win.md .cs-key-i { display: none; }
|
|
.cs-key-l b, .cs-win.md .cs-key-l b { font-size: 21px; }
|
|
.cs-key-l span { font-size: 14px; }
|
|
.cs-key .cs-tag, .cs-win.md .cs-key .cs-tag { grid-column: 1; grid-row: 3; justify-self: start; }
|
|
.cs-key-b, .cs-win.md .cs-key-b { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
|
|
.cs-key-n, .cs-oidc { font-size: 14px; }
|
|
.cs-use, .cs-win.md .cs-use { grid-template-columns: minmax(0, 1fr); gap: 14px; }
|
|
.cs-use-fig, .cs-win.md .cs-use-fig { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 14px; row-gap: 6px; }
|
|
.cs-roll, .cs-win.md .cs-roll { grid-row: span 2; font-size: 44px; }
|
|
.cs-use-l { font-size: 14px; }
|
|
.cs-use-list li, .cs-win.md .cs-use-list li { height: 44px; padding: 0 12px; }
|
|
.cs-use-list li:nth-child(n + 4) { display: none; }
|
|
.cs-use-list span { font-size: 13px; }
|
|
.cs-use-list em { display: none; }
|
|
.cs-chain { margin-top: 8px; }
|
|
.cs-node, .cs-win.md .cs-node { width: 64px; height: 64px; border-radius: 16px; }
|
|
.cs-link, .cs-win.md .cs-link { top: 32px; right: calc(50% + 40px); width: calc(100% - 80px); }
|
|
.cs-chain b, .cs-win.md .cs-chain b { font-size: 16px; }
|
|
.cs-chain + .cs-cap, .cs-win.md .cs-chain + .cs-cap { margin-top: 24px; }
|
|
.cs-prov { gap: 10px; }
|
|
.cs-pv, .cs-win.md .cs-pv { min-height: 0; padding: 14px; gap: 6px; }
|
|
.cs-pv-i { width: 36px; height: 36px; margin-bottom: 4px; font-size: 16px; }
|
|
.cs-pv b, .cs-win.md .cs-pv b { font-size: 16px; }
|
|
.cs-pv em { font-size: 14px; }
|
|
.cs-pv .cs-tag { margin-top: 8px; }
|
|
.cs-org, .cs-win.md .cs-org { padding: 16px; gap: 12px; flex-wrap: wrap; }
|
|
.cs-org-n, .cs-win.md .cs-org-n { font-size: 32px; }
|
|
.cs-org em, .cs-win.md .cs-org em { margin-left: 0; flex-basis: 100%; text-align: left; font-size: 14px; }
|
|
.cs-orgs li { height: 46px; font-size: 14px; }
|
|
.cs-pal { top: 72px; width: calc(100% - 20px); }
|
|
.cs-pal-in { height: 54px; padding: 0 14px; }
|
|
.cs-pal-q { font-size: 17px; }
|
|
.cs-pal-hits { padding: 6px; }
|
|
.cs-pal-hits li { grid-template-columns: 16px minmax(0, 1fr) auto; height: 44px; padding: 0 10px; font-size: 14px; }
|
|
.cs-pal-hits li em { display: none; }
|
|
.cs-foot { height: 46px; padding: 0 8px 0 14px; }
|
|
.cs-open { height: 44px; }
|
|
|
|
/* phone canvas: icon-only module buttons, cards a column wide, two columns to pull between */
|
|
.cs-pan { border-radius: 24px; }
|
|
.cs-pan .xt-pan-bar { min-height: 60px; padding: 8px 8px 8px 8px; gap: 6px; }
|
|
.cs-cv-mods { gap: 2px; }
|
|
.cs-cv-mods button { width: 44px; padding: 0; justify-content: center; }
|
|
.cs-cv-mods button span { display: none; }
|
|
.cs-pan .xt-pan-tools { gap: 2px; padding-left: 4px; }
|
|
.cs-pan .xt-pan-hand { display: none; }
|
|
/* phone: the six cards are one row you swipe sideways; an up or down finger still scrolls the page */
|
|
.cs-pan .xt-pan-view { height: 680px; touch-action: pan-y !important; }
|
|
.cs-world { grid-template-columns: repeat(6, 292px); column-gap: 16px; row-gap: 0; padding: 16px; align-items: start; }
|
|
.cs-card-win .cs-use-fig { grid-template-columns: auto minmax(0, 1fr); }
|
|
.cs-card-win .cs-use-b { white-space: nowrap; }
|
|
.cs-win.md.cs-card-win .cs-tr { height: 40px; }
|
|
.cs-win.md.cs-card-win .cs-th { height: 32px; }
|
|
.cs-world > :nth-child(3n + 2), .cs-world > :nth-child(3n) { margin-top: 0; margin-bottom: 0; }
|
|
.cs-card { grid-template-columns: minmax(0, 1fr); gap: 17px; padding: 17px; border-radius: 20px; }
|
|
.cs-card-t { font-size: 21px; }
|
|
.cs-card-d { font-size: 14px; line-height: 1.55; }
|
|
.cs-card-k { font-size: 14px; letter-spacing: .08em; }
|
|
.cs-card .cs-ch-note { font-size: 14px; }
|
|
.cs-win.md.cs-card-win .cs-main { min-height: 0; padding: 14px; }
|
|
.cs-card-bar { font-size: 14px; }
|
|
|
|
.cs-find-top { display: flex; flex-direction: column; align-items: stretch; gap: 22px; margin-bottom: 40px; }
|
|
.cs-find-in { height: 76px; gap: 12px; padding: 0 16px 0 18px; }
|
|
.cs-find-in svg { width: 22px; height: 22px; }
|
|
.cs-find-in input { --text-control: 21px; font-size: 21px; letter-spacing: -.02em; }
|
|
.cs-find-in kbd { display: none; }
|
|
.cs-find-body { grid-template-columns: minmax(0, 1fr); }
|
|
.cs-find-res { height: auto; max-height: 340px; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
|
|
.cs-find-res li { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; min-height: 58px; padding: 6px 10px 6px 8px; }
|
|
.cs-find-i { width: 40px; height: 40px; }
|
|
.cs-find-n { font-size: 17px; }
|
|
.cs-find-hint { display: none; }
|
|
.cs-find-shell { padding: 12px; }
|
|
|
|
.cs-client-copy { position: static; grid-column: 1 / -1; margin-bottom: 40px; gap: 18px; }
|
|
.cs-facts { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); gap: 12px; }
|
|
.cs-fact { min-height: 148px; padding: 22px; }
|
|
.cs-fact .bz-fig { font-size: 44px; }
|
|
.cs-fact-t { padding-top: 18px; padding-right: 52px; font-size: 16px; }
|
|
.cs-fp.wide { grid-template-columns: minmax(0, 1fr); gap: 28px; }
|
|
.cs-fp-copy { padding-right: 48px; }
|
|
.cs-fp-copy .bz-fig { font-size: 64px; }
|
|
|
|
.cs-get-main, .cs-rel { grid-column: 1 / -1; }
|
|
.cs-rel { margin-top: 56px; }
|
|
.cs-get-paste { margin-top: 72px; }
|
|
.cs-paste { grid-template-columns: 1fr !important; }
|
|
.cs-row { margin-top: 56px; font-size: 17px; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.cs-intro { animation: none; }
|
|
.cs-caret { animation: none; }
|
|
.cs-dot.b { animation: none; }
|
|
.cs-chain li, .cs-link, .cs-key-b { transition: none; }
|
|
}
|
|
|
|
/* the shared code pane in greys (its default colours are hues) */
|
|
.cs .cf-code .s { color: #d4d4d4; }
|
|
.cs .cf-code .k { color: #ffffff; font-weight: 606; }
|
|
.cs .cf-mark { background-image: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)); }
|
|
/* copy rule: Hanzo's lines stay their own text (the docs row, the peek's lines) */
|
|
.cs-rel a.cs-rel-docs { font-size: 17px; font-weight: 497; }
|
|
.cs-fact-peek > span { display: block; }
|
|
.cs-facts > :first-child .cs-fact-peek { max-height: 13.6em; }
|
|
.cs-facts > :first-child .cs-fact-peek { -webkit-mask-image: linear-gradient(#000 86%, transparent); mask-image: linear-gradient(#000 86%, transparent); }
|
|
|
|
/* ---------- dark mode (8 Nov, docs/DARK-MODE.md): only under html:not(.light), so bright mode keeps every computed colour.
|
|
The Business grammar's own tokens take Hanzo's dark values on this page; the dark shell and canvas are black in both. */
|
|
html:not(.light) .cs { --bz-ink: #e5e5e5; --bz-muted: #a3a3a3; --bz-quiet: #858585; --bz-line: rgba(255, 255, 255, .1); --bz-paper: #0d0d0d; --bz-room: #171717; --bz-card: #171717; --bz-tile: #262626; --bz-track: #404040; --card: #171717; background: var(--bg); color: var(--ink); }
|
|
html:not(.light) .cs-find-obj, html:not(.light) .cs-find-x { background: #0f0f0f; }
|
|
html:not(.light) .cs-find-res li.hi .cs-find-i { background: var(--ink); color: #0a0a0a; }
|
|
html:not(.light) .cs-find-obj:focus-within { border-color: rgba(255, 255, 255, .3); }
|
|
@media (hover: hover) { html:not(.light) .cs-find-x:hover, html:not(.light) a.cs-chip:hover { border-color: rgba(255, 255, 255, .3); } }
|
|
html:not(.light) .cs .cf-paste-t, html:not(.light) .cs .bz-title { color: var(--ink); }
|
|
html:not(.light) .cs .cf-paste-k { color: var(--faint); }
|
|
html:not(.light) .cs-end-org { background: #171717; }
|
|
html:not(.light) .cs-end-org ul { background: #0f0f0f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
|
|
html:not(.light) .cs-end-org li b { color: var(--ink); }
|
|
html:not(.light) .cs-end-org .cs-ava { background: var(--ink); color: #0a0a0a; }
|
|
html:not(.light) .cs-end-pill { background: #262626; box-shadow: inset 0 0 0 1px var(--ink); }
|