Files

669 lines
58 KiB
CSS

/* /team, v3 (prefix xtm-). JAMES.md: 0 UI hues. Ink #0a0a0a, secondary #525252, muted #737373, greys and alpha steps;
colour only from Hanzo's own media (the memoji). */
.xtm { --acc-t: var(--ink); overflow-x: clip; }
.xtm .vc-kick.acc { color: light-dark(#737373, var(--text-tertiary)); }
.xtm ::selection { background: light-dark(rgba(0, 0, 0, .12), var(--selection)); }
.xtm :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 5px var(--bg); }
.xtm [data-room='dark'] :focus-visible { outline-color: #f5f5f5; box-shadow: none; }
.xtm-big { height: 52px; padding: 0 28px; font-size: 16px; }
.xtm-face { position: relative; flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: light-dark(#ededed, var(--surface-3)); overflow: hidden; }
.xtm-face::before { content: attr(data-i); position: absolute; font: 600 11px/1 var(--sans); color: light-dark(#525252, var(--text-helper)); }
.xtm-face::after { content: ''; position: absolute; inset: 0; background: var(--img) center / cover no-repeat; }
/* 1. stage hero */
.xtm-hero { position: relative; padding: 132px 0 0; }
.xtm-hero-g { align-items: end; row-gap: 40px; }
.xtm-hero-t { grid-column: 1 / 9; display: flex; flex-direction: column; gap: 28px; }
.xtm-h1 { font-size: clamp(56px, 8.4vw, 128px); }
.xtm-hero-r { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 24px; padding-bottom: 10px; }
.xtm-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.xtm-stage { margin-top: clamp(56px, 6vw, 88px); perspective: 1800px; }
.xtm-stage-in { transform-origin: 50% 0; }
/* the canvas window */
.xtm-win { display: grid; grid-template-columns: 212px minmax(0, 1fr); border-radius: 24px; background: var(--x-raised); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); } /* outlined, no shadow */
.xtm-rail { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 0; background: #0a0a0a; }
.xtm-rail b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #f5f5f5; color: #0a0a0a; font: 700 15px/1 var(--sans); }
.xtm-rail i { width: 36px; height: 36px; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.xtm-win-h { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.xtm-org { display: flex; align-items: baseline; gap: 10px; }
.xtm-org b { font-size: 16px; font-weight: 600; }
.xtm-org .x-mono { font-size: 13px; color: var(--faint); }
.xtm-win-h ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.xtm-win-h li { padding: 7px 12px; border-radius: 8px; font-size: 14px; color: var(--soft); }
.xtm-win-h li.on { background: var(--card); color: var(--ink); font-weight: 600; }
.xtm-win-h li .x-mono { opacity: .5; margin-right: 2px; }
.xtm-cur { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; display: flex; align-items: flex-start; }
.xtm-cur svg { flex: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.xtm-cur path { fill: var(--ink); stroke: var(--x-raised); stroke-width: 1.2; }
.xtm-cur span { margin: 14px 0 0 -2px; padding: 4px 9px; border-radius: 999px; background: var(--ink); color: var(--x-on-ink); font: 600 13px/1.3 var(--sans); white-space: nowrap; }
.xtm-cur span b { margin-right: 4px; font-size: 11px; vertical-align: 1px; }
.xtm-cur.agent path { fill: var(--x-raised); stroke: var(--ink); }
.xtm-cur.agent span { background: var(--x-raised); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.xtm-cur.agent.b span { background: light-dark(#737373, var(--white-40)); color: var(--x-on-ink); box-shadow: none; } .xtm-cur.agent.b path { fill: light-dark(#737373, var(--white-40)); stroke: var(--x-raised); }
.xtm-who { display: flex; align-items: baseline; gap: 8px; margin: 0 0 3px !important; }
.xtm-who b { font-size: 14.5px; }
.xtm-who span { font-size: 13px; color: var(--faint); }
/* 2. what it is */
.xtm-what-h { padding: clamp(160px, 18vw, 260px) 0 clamp(40px, 6vw, 80px); }
.xtm-what-h .vc-grid > * { grid-column: 1 / 10; }
.xtm-what-h .vc-kick { margin-bottom: 28px; }
.xtm-what-h .vc-lede { margin-top: 28px; }
.xtm-v { position: absolute; inset: 0; padding: clamp(28px, 4vw, 48px); display: flex; }
.xtm-v.chan { gap: 20px; }
.xtm-v.chan ul { list-style: none; margin: 0; padding: 18px; width: 42%; border-radius: 20px; background: var(--x-raised); display: flex; flex-direction: column; gap: 2px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .3); }
.xtm-v.chan li { position: relative; padding: 9px 12px; border-radius: 8px; font-size: 16px; color: var(--soft); }
.xtm-v.chan li span { color: var(--faint); margin-right: 4px; }
.xtm-v.chan li.on { background: var(--card); color: var(--ink); font-weight: 600; }
.xtm-v.chan li i { position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ink); }
.xtm-v-thread { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: var(--x-raised); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .3); }
.xtm-v.mates { flex-direction: column; gap: 18px; }
.xtm-v.mates ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.xtm-v.mates li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--x-raised); }
.xtm-v.mates li .xtm-face { grid-row: 1 / 3; }
.xtm-v.mates li b { font-size: 17px; }
.xtm-v.mates li span { font-size: 13px; color: var(--soft); }
.xtm-v.orgs { gap: 18px; }
.xtm-v-rail { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 20px; background: #0a0a0a; }
.xtm-v-rail b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #f5f5f5; font: 700 19px/1 var(--sans); }
.xtm-v-rail b.on { background: #f5f5f5; color: #0a0a0a; box-shadow: 0 0 0 3px #0a0a0a, 0 0 0 5px #f5f5f5; }
.xtm-v-rail b.s { background: rgba(255, 255, 255, .06); }
.xtm-v-rail b.plus { background: none; border: 1px dashed rgba(255, 255, 255, .3); font-weight: 400; }
.xtm-v-orgs { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.xtm-v-orgs > div { padding: 22px; border-radius: 20px; background: var(--x-raised); opacity: .55; }
.xtm-v-orgs > div.on { opacity: 1; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .3); }
.xtm-v-orgs p { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; }
.xtm-v-orgs p b { font-size: 19px; }
.xtm-v-orgs p span { font-size: 13px; color: var(--faint); }
.xtm-v-orgs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--soft); }
/* 3. together: 4 / 8, a two-column list */
.xtm-tog-h { grid-column: 1 / 5; align-self: start; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 24px; }
.xtm-tog-l { grid-column: 6 / 13; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.xtm-tog-l li { display: flex; flex-direction: column; gap: 14px; padding: 36px 0 44px; border-top: 1px solid var(--line); }
.xtm-hand { display: flex; align-items: center; margin-bottom: 6px; }
.xtm-hand i { width: 28px; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 10px); transform-origin: 50% 50%; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
/* 4. rooms: a bento of tiles */
.xtm-rooms { background: var(--card); }
.xtm-rooms-h { grid-column: 1 / 9; display: flex; flex-direction: column; gap: 24px; margin-bottom: 64px; }
.xtm-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 380px; margin-bottom: 24px; padding: 32px; border-radius: 24px; background: var(--x-raised); overflow: hidden; }
.xtm-tile .vc-body { margin-top: 10px; max-width: 40ch; }
.xtm-tile.board { grid-column: 1 / 8; } .xtm-tile.drive { grid-column: 8 / 13; }
.xtm-tile.cal { grid-column: 1 / 6; } .xtm-tile.meet { grid-column: 6 / 13; }
.xtm-tile.inbox { grid-column: 1 / 7; } .xtm-tile.agents { grid-column: 7 / 13; }
.xtm-rooms-f { grid-column: 1 / -1; margin-top: 16px; }
.xtm-pic { position: relative; flex: 1; min-height: 160px; }
.xtm-pic i { display: block; border-radius: 8px; background: light-dark(#ededed, var(--surface-3)); }
.xtm-pic.board { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 40px; gap: 10px; align-content: start; }
.xtm-pic.board i:nth-child(3n + 1) { background: light-dark(#0a0a0a, var(--text-helper)); } .xtm-pic.board i:nth-child(3n + 2) { background: light-dark(#d4d4d4, var(--white-20)); }
.xtm-pic.board i:nth-child(4) { background: light-dark(#737373, var(--white-40)); }
.xtm-pic.board i:nth-child(n + 7) { opacity: .4; }
.xtm-pic.drive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-content: start; }
.xtm-pic.drive i { height: 64px; border-radius: 6px 14px 14px 14px; background: light-dark(#ededed, var(--surface-3)); }
.xtm-pic.drive i:first-child { background: light-dark(#0a0a0a, var(--text-helper)); }
.xtm-pic.cal { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 34px; gap: 6px; align-content: start; }
.xtm-pic.cal i { border-radius: 6px; background: light-dark(#f2f2f2, var(--surface-2)); }
.xtm-pic.cal i:nth-child(3), .xtm-pic.cal i:nth-child(12) { background: light-dark(#0a0a0a, var(--text-helper)); }
.xtm-pic.cal i:nth-child(9), .xtm-pic.cal i:nth-child(17) { background: light-dark(#a3a3a3, var(--white-30)); }
.xtm-pic.meet { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr 1fr; gap: 10px; }
.xtm-pic.meet i { border-radius: 16px; background: #171717; }
.xtm-pic.meet i:nth-child(2) { background: #262626; }
.xtm-pic.meet i:nth-child(3) { grid-column: 1 / 3; height: 44px; background: light-dark(#f2f2f2, var(--surface-2)); align-self: end; }
.xtm-pic.meet i:nth-child(4) { display: none; }
.xtm-pic.inbox { display: flex; flex-direction: column; gap: 10px; }
.xtm-pic.inbox i { height: 30px; border-radius: 8px; background: light-dark(#f2f2f2, var(--surface-2)); }
.xtm-pic.inbox i:first-child { background: light-dark(#0a0a0a, var(--text-helper)); }
.xtm-pic.inbox i:nth-child(2) { width: 86%; } .xtm-pic.inbox i:nth-child(4) { width: 70%; } .xtm-pic.inbox i:nth-child(5) { width: 54%; opacity: .6; }
.xtm-pic.agents { display: flex; align-items: center; }
.xtm-pic.agents .xtm-face { margin-right: -12px; box-shadow: 0 0 0 4px var(--x-raised); }
/* 5. the one dark room */
.xtm-flows { background: #0a0a0a; color: #f5f5f5; }
.xtm-flows .vc-kick.acc { color: #a3a3a3; }
.xtm-flows .vc-headline { color: #f5f5f5; }
.xtm-flows .vc-body { color: #a3a3a3; }
.xtm-flows-h { grid-column: 1 / 9; display: flex; flex-direction: column; gap: 24px; }
.xtm-cats { grid-column: 1 / -1; margin: 56px 0 40px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.6; color: rgba(255, 255, 255, .78); }
.xtm-room { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; }
.xtm-chans { display: flex; flex-direction: column; gap: 12px; }
.xtm-org2 { margin: 0 0 4px; font-size: 13px; color: #a3a3a3; }
.xtm-org2 b { color: #f5f5f5; margin-right: 6px; }
.xtm-chans [role=tablist] { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .1); }
.xtm-chans [role=tab] { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); background: none; color: #a3a3a3; font: 500 17px/1 var(--sans); text-align: left; cursor: pointer; transition: background .25s, color .25s; }
.xtm-chans [role=tab]:hover { color: #f5f5f5; background: rgba(255, 255, 255, .04); }
.xtm-chans [role=tab][aria-selected='true'] { color: #0a0a0a; background: #f5f5f5; border-radius: 12px; border-bottom-color: transparent; }
.xtm-ch-n { font-size: 13px; opacity: .7; }
.xtm-ch-c .x-mono { opacity: .5; margin-right: 2px; }
.xtm-ch-f { display: flex; }
.xtm-ch-f .xtm-face { margin-left: -6px; box-shadow: 0 0 0 2px #0a0a0a; }
/* every channel panel shares one cell, so the room keeps the bugfix card's height and nothing below it jumps */
.xtm-panels { min-width: 0; display: grid; }
.xtm-panel { grid-area: 1 / 1; min-width: 0; }
.xtm-panel[aria-hidden='true'] { visibility: hidden; pointer-events: none; }
.xtm-case { height: 100%; padding: clamp(28px, 3vw, 44px); border-radius: 24px; background: #171717; display: flex; flex-direction: column; gap: 18px; }
.xtm-case .vc-title { color: #f5f5f5; }
.xtm-case-h { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.xtm-crew, .xtm-uc { margin: 0; font-size: 13px; color: #a3a3a3; }
.xtm-crew span, .xtm-uc span { color: #a3a3a3; margin-right: 6px; }
.xtm-crew span + span { color: #f5f5f5; }
.xtm-uc b { color: #f5f5f5; }
.xtm-case-d { margin: 0; max-width: 62ch; font-size: 17px; line-height: 1.55; color: #a3a3a3; }
.xtm-case-g { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin-top: 8px; }
.xtm-thread { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 16px; background: #0a0a0a; }
.xtm-m { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.5; color: #d4d4d4; }
.xtm-m p { margin: 0; }
.xtm-m em { font-style: normal; color: #f5f5f5; text-decoration: underline; text-underline-offset: 3px; }
.xtm-m .xtm-who b { color: #f5f5f5; }
.xtm-av { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #262626; color: #f5f5f5; font: 600 12px/1 var(--sans); }
.xtm-pr { margin-top: 8px !important; padding: 8px 10px; border-radius: 8px; background: #171717; font-size: 13px; color: #a3a3a3; }
.xtm-green { margin-bottom: 4px !important; font-size: 13px; color: #f5f5f5; }
.xtm-auto { padding: 22px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; color: #d4d4d4; }
.xtm-auto > p { margin: 0 0 14px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #a3a3a3; }
.xtm-auto > p b { color: #f5f5f5; font-weight: 500; }
.xtm-auto ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; line-height: 1.4; }
.xtm-auto li { display: flex; gap: 10px; align-items: flex-start; }
.xtm-ok { flex: none; color: #f5f5f5; }
.xtm-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.xtm-chips li { padding: 6px 10px; border-radius: 999px; background: #171717; font: 500 13px/1 var(--mono); color: #d4d4d4; }
.xtm-run { margin: 4px 0 0; font-size: 15px; color: #a3a3a3; }
.xtm-run b { color: #f5f5f5; }
.xtm-case.lite { height: auto; }
.xtm-panel { align-self: start; }
.xtm-case.lite .vc-display { color: #f5f5f5; }
.xtm-flows-f { grid-column: 1 / -1; margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px 36px; }
.xtm-flows-f .x-arrow { color: #f5f5f5; }
/* 6. code channel */
.xtm-code-h { grid-column: 1 / 8; display: flex; flex-direction: column; gap: 24px; }
.xtm-code-l { grid-column: 8 / 13; align-self: end; }
.xtm-steps6 { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 64px 0 28px; }
.xtm-steps6 button { min-height: 52px; padding: 0; border: 0; background: none; text-align: left; font: 500 15px/1.3 var(--sans); color: var(--faint); cursor: pointer; transition: color .25s; }
.xtm-steps6 button:hover, .xtm-steps6 button[aria-selected='true'] { color: var(--ink); }
.xtm-steps6 i { display: block; height: 3px; margin-bottom: 12px; border-radius: 3px; background: var(--line); transition: background .3s; }
.xtm-steps6 i.on { background: var(--ink); }
.xtm-app { border-radius: 24px; background: var(--x-raised); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.xtm-app-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--x-sunk); }
.xtm-app-bar > i { flex: none; width: 11px; height: 11px; border-radius: 50%; background: light-dark(#d4d4d4, var(--white-20)); }
.xtm-app-bar span { margin-left: 10px; font-size: 13px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xtm-app-bar em { margin-left: auto; font-style: normal; font-size: 13px; color: light-dark(#525252, var(--text-helper)); white-space: nowrap; }
.xtm-app-bar em::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--ink); vertical-align: 1px; }
.xtm-app-g { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 400px); }
.xtm-side { padding: 18px 14px; border-right: 1px solid var(--line); background: var(--x-sunk); font-size: 14px; }
.xtm-ws { display: flex; flex-direction: column; margin: 0 0 14px; }
.xtm-ws b { font-size: 15px; } .xtm-ws span { font-size: 13px; color: var(--faint); }
.xtm-side ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 2px; color: var(--soft); }
.xtm-side li { padding: 6px 8px; border-radius: 8px; }
.xtm-side li.on { background: light-dark(#ededed, var(--surface-3)); color: var(--ink); font-weight: 600; }
.xtm-side li em { display: block; font-style: normal; font-size: 13px; color: light-dark(#525252, var(--text-helper)); font-weight: 500; }
.xtm-sec { margin: 8px 0 6px; font-size: 13px; color: var(--faint); }
.xtm-conv { display: flex; flex-direction: column; gap: 16px; padding: 18px 22px; font-size: 14.5px; line-height: 1.5; }
.xtm-branch { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.xtm-branch b { margin-left: auto; font-weight: 500; color: var(--ink); }
.xtm-cm { opacity: .22; transition: opacity .45s var(--ease); }
.xtm-cm.on { opacity: 1; }
.xtm-cm p { margin: 4px 0 0; }
.xtm-cm .xtm-who { display: flex; align-items: center; gap: 8px; }
.xtm-cm .xtm-av { width: 24px; height: 24px; font-size: 11px; background: light-dark(#ededed, var(--surface-3)); color: var(--ink); }
.xtm-cm em { font-style: normal; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.xtm-cm code { padding: 1px 6px; border-radius: 6px; background: var(--card); font: 500 13px/1.4 var(--mono); }
.xtm-tool { list-style: none; margin: 6px 0; padding: 10px 12px; border-radius: 12px; background: var(--card); display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--soft); }
.xtm-tool b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.xtm-sys { font-size: 13px; color: var(--faint); }
.xtm-canvas { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 8px !important; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.xtm-canvas span { font-size: 13px; color: var(--faint); }
.xtm-canvas a { margin-left: auto; color: var(--ink); font-weight: 600; text-decoration: none; }
.xtm-cm.done { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: light-dark(#f5f5f5, var(--surface-2)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.xtm-pr2 { display: flex; align-items: center; gap: 8px; margin: 0 !important; font-weight: 600; color: var(--ink); }
.xtm-pr2 .xtm-ok { color: var(--ink); }
.xtm-archive { font-size: 13px; color: var(--soft); }
.xtm-art { padding: 18px; border-left: 1px solid var(--line); background: var(--x-sunk); min-width: 0; }
.xtm-art-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.xtm-art-h span { display: flex; gap: 4px; }
.xtm-art-h button { padding: 4px 9px; border: 0; border-radius: 8px; background: none; font: 500 13px/1.4 var(--sans); color: var(--soft); cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.xtm-art-h button:hover { background: light-dark(#ededed, var(--surface-3)); color: var(--ink); }
.xtm-art-h button:active { transform: scale(.96); }
.xtm-art-h button.on { background: var(--card); color: var(--ink); font-weight: 600; }
.xtm-cmp, .xtm-stat { margin: 0 0 6px; font-size: 13px; color: var(--soft); }
.xtm-stat .a, .xtm-stat .d { color: var(--ink); font-weight: 600; }
.xtm-file { display: flex; justify-content: space-between; margin: 12px 0 0; padding: 8px 10px; border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 10px 0 0; font-size: 13px; }
.xtm-file em { font-style: normal; color: var(--faint); }
.xtm-diff { list-style: none; margin: 0; padding: 6px 0; border: 1px solid var(--line); border-radius: 0 0 10px 10px; font-size: 13px; background: var(--x-raised); }
.xtm-diff li { display: grid; grid-template-columns: 26px 26px minmax(0, 1fr); padding: 2px 8px; }
.xtm-diff li span { color: var(--faint); }
.xtm-diff li code { font: inherit; white-space: pre-wrap; word-break: break-word; }
.xtm-diff.hot li.del { background: light-dark(#f5f5f5, var(--surface-2)); color: light-dark(#737373, var(--text-tertiary)); text-decoration: line-through; text-decoration-color: light-dark(rgba(0, 0, 0, .3), var(--white-30)); } .xtm-diff.hot li.add { background: light-dark(#ededed, var(--surface-3)); font-weight: 600; }
.xtm-code-f { margin-top: 36px; row-gap: 24px; }
.xtm-roles { grid-column: 1 / 6; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--soft); }
.xtm-roles span { display: inline-flex; align-items: center; gap: 6px; }
.xtm-roles b { color: var(--ink); }
.xtm-same { grid-column: 6 / 13; }
.xtm-same p { margin: 0 0 12px; font-size: 15px; color: var(--soft); }
.xtm-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
/* 7. leadership */
.xtm-lead-h { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 24px; }
.xtm-lead-l { grid-column: 8 / 13; align-self: end; }
.xtm-person { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-top: 96px; }
.xtm-portrait { position: relative; grid-column: 1 / 6; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, light-dark(#e5e5e5, var(--surface-3)), light-dark(#f5f5f5, var(--surface-2)) 70%); }
.xtm-portrait::before { content: attr(data-i); position: absolute; left: 32px; bottom: 24px; font: 600 clamp(64px, 7vw, 112px)/1 var(--sans); letter-spacing: -.05em; color: light-dark(rgba(10, 10, 10, .12), var(--white-08)); }
.xtm-portrait::after { content: ''; position: absolute; inset: 0; background: var(--img) center 20% / cover no-repeat; }
.xtm-person-t { grid-column: 7 / 13; display: flex; flex-direction: column; gap: 14px; padding-bottom: 12px; }
.xtm-person.b .xtm-portrait { grid-column: 8 / 13; grid-row: 1; }
.xtm-person.b .xtm-person-t { grid-column: 1 / 7; grid-row: 1; }
.xtm-role { margin: 0; font-size: 13px; letter-spacing: .06em; color: light-dark(#525252, var(--text-helper)); }
.xtm-soc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 6px; }
.xtm-soc > a:not(.x-arrow) { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--soft); text-decoration: none; }
.xtm-soc > a:not(.x-arrow):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
/* 8. spec sheet and the one action */
.xtm-get { border-top: 1px solid var(--line); }
.xtm-get-t { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 20px; }
.xtm-spec { grid-column: 7 / 13; margin: 0; }
.xtm-spec > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.xtm-spec dd { margin: 0; }
.xtm-spec dd .x-mono { font-size: 15px; }
.xtm-spec .xtm-paste { grid-template-columns: minmax(0, 1fr); align-items: start; }
.xtm-paste dt { display: flex; flex-direction: column; gap: 10px; }
.xtm-paste-l { font-size: 17px; line-height: 1.5; color: var(--soft); }
.xtm-prompt { padding: 18px; border-radius: 16px; background: #0a0a0a; color: #f5f5f5; }
.xtm-prompt-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.xtm-prompt-top .x-mono { font-size: 13px; color: #a3a3a3; }
.xtm-prompt .x-copy { background: #171717; border-color: #262626; color: #d4d4d4; height: 36px; }
.xtm-prompt p { margin: 0; font-size: 15px; line-height: 1.5; word-break: break-word; }
.xtm-close { padding: clamp(140px, 16vw, 240px) 0; }
.xtm-close .vc-display { grid-column: 1 / 9; }
.xtm-close-r { grid-column: 9 / 13; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.xtm-note { margin: 0; font-size: 15px; color: var(--soft); }
.xtm-note a { color: var(--ink); }
/* v3 additions: the window title (Hanzo's own line), the replay control, numerals inside the chapter visuals */
.xtm-win-t { margin-left: auto; font-size: 13px; color: light-dark(#737373, var(--text-tertiary)); }
.xtm-replay { position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--x-raised); color: var(--ink); cursor: pointer; transition: background-color .2s, transform .12s; }
.xtm-replay::after { content: ''; position: absolute; inset: -4px; } /* a 44px hit area */
.xtm-replay:active:not(:disabled) { transform: scale(.97); }
.xtm-replay:disabled { color: light-dark(#d4d4d4, var(--text-disabled)); cursor: default; }
@media (hover: hover) { .xtm-replay:hover:not(:disabled) { background: light-dark(#f5f5f5, var(--surface-2)); } }
.xtm-v-n { position: absolute; right: 28px; bottom: 6px; z-index: 2; font: 600 clamp(96px, 12vw, 184px)/.8 var(--sans); letter-spacing: -.06em; color: light-dark(rgba(0, 0, 0, .07), var(--white-06)); pointer-events: none; }
.xtm-v { z-index: 1; }
.xtm-hand .xtm-face { transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) {
.xtm-tog-l li:hover .xtm-hand .xtm-face:first-child { transform: translateX(12px); }
.xtm-tog-l li:hover .xtm-hand .xtm-face:last-child { transform: translateX(-12px); }
.xtm-tog-l li:hover .xtm-hand i { transform: scaleX(.2); }
}
.xtm-org3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .12em; color: #a3a3a3; }
.xtm-mate { display: flex; align-items: center; gap: 14px; }
.xtm-mate b { color: #f5f5f5; font-weight: 600; }
.xtm-spec > .xtm-spec-r { grid-template-columns: minmax(0, 1fr) auto; }
.xtm-spec-r dt { font-size: 15px; }
.xtm-spec-r dd { display: flex; flex-wrap: wrap; gap: 10px; }
.xtm-close-art { grid-column: 1 / 9; grid-row: 2; height: 280px; margin-top: 56px; border-radius: 24px; background: light-dark(#f5f5f5, var(--surface-2)); color: var(--ink); overflow: hidden; }
.xtm-close-art > * { display: block; width: 100%; height: 100%; }
.xtm-close-r { grid-row: 1 / 3; }
/* pinned chapters (page-local): the outgoing headline clears before the next rises */
.xtm-chap { position: relative; height: calc(var(--n) * 72svh + 28svh); }
.xtm-chap-st { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.xtm-chap-g { align-items: center; }
.xtm-chap-s { grid-area: 1 / 1 / 2 / -1; display: grid; grid-template-columns: subgrid; align-items: center; pointer-events: none; }
.xtm-chap-s[data-st='on'] { pointer-events: auto; }
.xtm-chap-t { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 24px; }
.xtm-chap-h { overflow: hidden; padding: .04em 0 .12em; margin: -.04em 0 -.12em; }
.xtm-chap-v { grid-column: 7 / 13; position: relative; height: min(64svh, 560px); border-radius: 24px; background: light-dark(#f5f5f5, var(--surface-2)); overflow: hidden; }
.xtm-v-cap { margin: 0 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: light-dark(#525252, var(--text-helper)); }
/* the canvas at rest: after Done the cursors breathe a few pixels and the card with them (one mover; Pause stops it) */
@keyframes xtm-drift { from { transform: translate(0, 0); } to { transform: translate(5px, -4px); } }
/* the rooms: real miniatures */
.xtm-pic { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink); }
.xtm-pic.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-content: start; }
.xtm-mc { grid-row: 1; min-height: 150px; padding: 10px; border-radius: 12px; background: light-dark(#f5f5f5, var(--surface-2)); }
.xtm-mc .x-mono { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: light-dark(#525252, var(--text-helper)); }
.xtm-mcard { grid-row: 1; align-self: start; display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 34px 8px 0; padding: 8px 10px; border-radius: 8px; background: var(--x-raised); font-weight: 497; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.xtm-mcard.low { margin-top: 92px; }
.xtm-pic.drive { display: flex; flex-direction: column; }
.xtm-pic.drive li { display: flex; align-items: center; gap: 10px; min-height: 40px; border-bottom: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); font-family: var(--mono); font-size: 13px; color: light-dark(#525252, var(--text-helper)); }
.xtm-pic.drive li.dir { font-family: var(--sans); font-size: 15px; font-weight: 497; color: var(--ink); }
.xtm-fold { width: 18px; height: 14px; border-radius: 3px 6px 3px 3px; background: var(--ink); }
.xtm-pic.cal { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 34px; gap: 6px; align-content: start; }
.xtm-pic.cal i { border-radius: 6px; background: light-dark(#f2f2f2, var(--surface-2)); }
.xtm-pic.cal .blk { position: absolute; height: 34px; border-radius: 6px; background: light-dark(#0a0a0a, var(--text-helper)); transform-origin: 0 50%; }
.xtm-pic.cal .blk.a { left: calc((100% - 36px) / 7 * 1 + 6px); width: calc((100% - 36px) / 7 * 2 + 6px); top: 0; }
.xtm-pic.cal .blk.b { left: calc((100% - 36px) / 7 * 3 + 18px); width: calc((100% - 36px) / 7 * 3 + 12px); top: 40px; background: light-dark(#737373, var(--white-40)); }
.xtm-pic.meet { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.xtm-call { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 130px; border-radius: 12px; background: #171717; color: #fafafa; }
.xtm-call small { font-size: 13px; color: rgba(255, 255, 255, .78); }
.xtm-note { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; background: light-dark(#f5f5f5, var(--surface-2)); font-size: 13px; color: light-dark(#525252, var(--text-helper)); }
.xtm-note b { color: var(--ink); font-weight: 497; }
.xtm-pic.inbox li { display: grid; grid-template-columns: 24px auto minmax(0, 1fr); align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid light-dark(rgba(0, 0, 0, .1), var(--border)); }
.xtm-pic.inbox b { font-weight: 497; }
.xtm-pic.inbox em { font-style: normal; text-decoration: underline; text-underline-offset: 3px; color: light-dark(#525252, var(--text-helper)); }
.xtm-pic.agents { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.xtm-pic.agents li { display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-areas: 'f n' 'f d'; column-gap: 8px; align-items: center; }
.xtm-pic.agents .xtm-face { grid-area: f; }
.xtm-pic.agents b { grid-area: n; font-weight: 497; font-size: 14px; }
.xtm-pic.agents span { grid-area: d; font-size: 12px; color: light-dark(#525252, var(--text-helper)); }
.xtm-mate b { color: #fafafa; }
.xtm-mate span { color: rgba(255, 255, 255, .78); }
.xtm .x-arrow { min-height: 44px; }
@media (max-width: 899px) {
.xtm-hero { padding-top: 112px; }
.xtm-h1 { font-size: clamp(44px, 13.2vw, 72px); }
.xtm-hero-r { padding-bottom: 0; }
.xtm-big { height: 48px; padding: 0 22px; font-size: 15px; }
.xtm-stage { margin-top: 40px; }
.xtm-win { grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
.xtm-rail { display: none; }
.xtm-win-h { padding: 12px 14px; gap: 10px; }
.xtm-win-h ul { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.xtm-what-h { padding: 120px 0 24px; }
.xtm-v { position: relative; padding: 18px; }
.xtm-v.chan ul { width: 48%; padding: 10px; }
.xtm-v.chan li { padding: 6px 8px; font-size: 14px; }
.xtm-v-thread { padding: 14px; }
.xtm-v.mates ul { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.xtm-v.mates li { padding: 6px 10px; grid-template-columns: 32px minmax(0, 1fr); }
.xtm-v.mates li .xtm-face { width: 32px !important; height: 32px !important; }
.xtm-v.mates li b { font-size: 15px; }
.xtm-v-rail b { width: 40px; height: 40px; }
.xtm-v-orgs > div { padding: 14px; }
.xtm-tog-h { position: static; margin-bottom: 32px; }
.xtm-tog-l { grid-template-columns: minmax(0, 1fr); }
.xtm-tog-l li { padding: 28px 0 32px; }
.xtm-rooms-h { margin-bottom: 40px; }
.xtm-tile { min-height: 300px; padding: 24px; margin-bottom: 14px; border-radius: 24px; }
.xtm-pic { min-height: 130px; }
.xtm-cats { margin: 40px 0 28px; font-size: 17px; }
.xtm-room { grid-template-columns: minmax(0, 1fr); }
.xtm-chans [role=tablist] { flex-direction: row; overflow-x: auto; gap: 6px; border-top: 0; margin-inline: -20px; padding: 0 20px; scrollbar-width: none; }
.xtm-chans [role=tab] { flex: none; grid-template-columns: auto auto; min-height: 44px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 0 14px; font-size: 15px; }
.xtm-chans [role=tab][aria-selected='true'] { border-radius: 999px; }
.xtm-ch-f { display: none; }
.xtm-case { padding: 22px; border-radius: 24px; }
.xtm-case-g { grid-template-columns: minmax(0, 1fr); }
.xtm-case.lite { min-height: 0; }
.xtm-panel[aria-hidden='true'] { display: none; } /* on the phone a tap shows only that channel, sized to its content */
.xtm-steps6 { grid-template-columns: repeat(6, minmax(120px, 1fr)); overflow-x: auto; margin: 40px -20px 20px; padding: 0 20px; scrollbar-width: none; }
.xtm-app { border-radius: 24px; }
.xtm-app-g { grid-template-columns: minmax(0, 1fr); }
.xtm-side { display: none; }
.xtm-art { border-left: 0; border-top: 1px solid var(--line); }
.xtm-conv { padding: 16px; font-size: 14px; }
.xtm-person { margin-top: 56px; row-gap: 24px; }
.xtm-person .xtm-portrait, .xtm-person.b .xtm-portrait { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 4.2; }
.xtm-person .xtm-person-t, .xtm-person.b .xtm-person-t { grid-column: 1 / -1; grid-row: auto; }
.xtm-person { grid-template-columns: minmax(0, 1fr); }
.xtm-spec { margin-top: 40px; }
.xtm-spec > div { grid-template-columns: 100px minmax(0, 1fr); }
.xtm-close-r { margin-top: 32px; }
.xtm-win-t { display: none; }
.xtm-replay { width: 44px; height: 44px; margin-left: auto; }
.xtm-v-n { font-size: 96px; right: 16px; }
.xtm-close-art { grid-row: auto; height: 180px; margin-top: 32px; }
.xtm-close-r { grid-row: auto; }
.xtm-spec > .xtm-spec-r { grid-template-columns: minmax(0, 1fr); }
.xtm-chap { height: auto; }
.xtm-chap-st { position: static; height: auto; display: block; overflow: visible; }
.xtm-chap-g { display: block; }
.xtm-chap-s { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 24px; padding: 48px 0; pointer-events: auto; }
.xtm-chap-s * { opacity: 1 !important; transform: none !important; }
.xtm-chap-t, .xtm-chap-v { grid-column: 1 / -1 !important; }
.xtm-chap-v { height: auto; min-height: 300px; }
.xtm-v { position: relative; }
.xtm-v-n { display: none; }
.xtm-card.task { flex: 1 1 0; max-width: none; font-size: 13px; order: 3; } /* the task joins a row after its cards, so none of them moves */
.xtm-cur span { font-size: 12px; padding: 3px 7px; }
.xtm-lead-l, .xtm-code-l { margin-top: 28px; }
.xtm-pic.board { gap: 6px; }
.xtm-mcard { margin: 30px 4px 0; padding: 6px; font-size: 12px; line-height: 1.2; }
.xtm-mcard.low { margin-top: 100px; }
.xtm-mc { min-height: 170px; }
.xtm-pic.agents { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
.xtm-stage-in { transform: none !important; }
.xtm-chap { height: auto; }
.xtm-chap-st { position: static; height: auto; display: block; }
.xtm-chap-g { display: block; }
.xtm-chap-s { padding: 48px 0; pointer-events: auto; }
.xtm-chap-s * { opacity: 1 !important; transform: none !important; }
}
/* the handoff row at mid-screen: a relay runs from the person to the agent along the line, and the row inks */
.xtm-hand i { position: relative; width: 44px; overflow: visible; }
.xtm-hand i::after { content: ''; position: absolute; left: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink, #0a0a0a); opacity: 0; }
.xtm-tog-l li.on .xtm-hand i::after { animation: xtm-relay 1.6s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes xtm-relay { 0% { transform: translateX(-4px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(40px); opacity: 0; } }
.xtm-tog-l li { transition: opacity .3s cubic-bezier(0, 0, .2, 1); }
@media (min-width: 900px) { .xtm-tog-l:has(li.on) li:not(.on) { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .xtm-tog-l li.on .xtm-hand i::after { animation: none; } }
/* each chapter's picture is alive while it is the one on stage: a reply being typed in the channel, the agents
answering in turn, the org rail switching between the two workspaces */
@keyframes xtm-type { 0%, 15% { transform: scaleX(.15); } 70%, 100% { transform: scaleX(1); } }
@keyframes xtm-ans { 0%, 100% { box-shadow: 0 0 0 0 rgba(10, 10, 10, 0); } 10%, 22% { box-shadow: 0 0 0 2px var(--ink); } 32% { box-shadow: 0 0 0 0 rgba(10, 10, 10, 0); } }
.xtm-chap-s[data-st='on'] .xtm-v.mates li { border-radius: 14px; animation: xtm-ans 7s cubic-bezier(.4, 0, .2, 1) infinite; }
.xtm-chap-s[data-st='on'] .xtm-v.mates li:nth-child(2) { animation-delay: 1s; } .xtm-chap-s[data-st='on'] .xtm-v.mates li:nth-child(3) { animation-delay: 2s; }
.xtm-chap-s[data-st='on'] .xtm-v.mates li:nth-child(4) { animation-delay: 3s; } .xtm-chap-s[data-st='on'] .xtm-v.mates li:nth-child(5) { animation-delay: 4s; }
.xtm-chap-s[data-st='on'] .xtm-v.mates li:nth-child(6) { animation-delay: 5s; } .xtm-chap-s[data-st='on'] .xtm-v.mates li:nth-child(7) { animation-delay: 6s; }
@keyframes xtm-org { 0%, 45% { transform: none; } 50%, 95% { transform: translateY(var(--d, 48px)); } 100% { transform: none; } }
.xtm-v-rail { position: relative; }
.xtm-chap-s[data-st='on'] .xtm-v.orgs .xtm-v-orgs > div { transition: opacity .3s; }
.xtm-chap-s[data-st='on'] .xtm-v.orgs .xtm-v-orgs > div:not(.on) { animation: xtm-orgfade 6s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes xtm-orgfade { 0%, 45% { opacity: .45; } 50%, 95% { opacity: 1; } 100% { opacity: .45; } }
.xtm-chap-s[data-st='on'] .xtm-v.orgs .xtm-v-orgs > div.on { animation: xtm-orgfade2 6s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes xtm-orgfade2 { 0%, 45% { opacity: 1; } 50%, 95% { opacity: .45; } 100% { opacity: 1; } }
/* the calendar's meeting moves to its next slot and back, the board card walks to Done: the rooms are in use */
@keyframes xtm-slot { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(100%); } 100% { transform: none; } }
.xtm-rooms .xtm-pic.cal .blk.a { animation: xtm-slot 8s cubic-bezier(.4, 0, .2, 1) infinite; }
@media (prefers-reduced-motion: reduce) { .xtm-chap-s .xtm-v *, .xtm-rooms .xtm-pic * { animation: none !important; } }
/* deck rhythm: one big thing per screen (h1 and display heads 52, section heads 32, figures 64) */
.xtm .xtm-h1 { font-size: clamp(40px, 5vw, 52px); }
.xtm .vc-display, .xtm .vc-display.s, .xtm .vc-display.m { font-size: clamp(36px, 4.4vw, 52px); }
.xtm .xtm-panel .vc-display.s { font-size: clamp(26px, 2.6vw, 32px); }
.xtm .vc-headline { font-size: clamp(26px, 2.6vw, 32px); }
.xtm .xtm-v-n { font-size: clamp(56px, 6vw, 72px); color: light-dark(rgba(0, 0, 0, .1), var(--border)); }
.xtm .xtm-portrait::before { font-size: 64px; }
/* chapter 01's picture is the #bugfix thread itself, with a reply being typed under it (no placeholder bars) */
.xtm-v-thread { gap: 14px; overflow: hidden; }
.xtm-v-h { margin: 0 0 2px; font-size: 13px; color: var(--faint); letter-spacing: .04em; }
.xtm-v-m { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.xtm-v-m .xtm-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--card); font: 600 11px/1 var(--sans); color: var(--ink); }
.xtm-v-m p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--soft); }
.xtm-v-m p b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 14px; }
.xtm-v-m .x-mono { font-size: 12px; color: var(--ink); letter-spacing: .06em; }
.xtm-v-r { margin-left: 14px; padding-left: 16px; border-left: 2px solid var(--ink); display: flex; flex-direction: column; gap: 12px; }
.xtm-v-typing { display: flex; align-items: center; gap: 5px; margin: auto 0 0; }
.xtm-v-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: xtm-dot 1.2s cubic-bezier(.4, 0, .2, 1) infinite; }
.xtm-v-typing i:nth-of-type(2) { animation-delay: .15s; } .xtm-v-typing i:nth-of-type(3) { animation-delay: .3s; }
.xtm-v-typing .xtm-face { margin-right: 4px; }
@keyframes xtm-dot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .xtm-v-typing i { animation: none; } }
/* 3. together, on a desktop: one handoff on the stage at a time (left, under the heading); the list on the right is
six names, and the one crossing the middle of the screen (or under the pointer) takes the stage */
.xtm-tog-st { display: none; }
@media (min-width: 900px) {
.xtm-tog-st { display: grid; margin-top: 28px; padding: 32px; min-height: 300px; border-radius: 24px; background: var(--card); }
.xtm-tog-c { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(12px); transition: opacity .25s cubic-bezier(0, 0, .2, 1), transform .25s cubic-bezier(0, 0, .2, 1); }
.xtm-tog-c.on { opacity: 1; transform: none; transition-duration: .5s; transition-timing-function: cubic-bezier(.16, 1, .3, 1); transition-delay: .1s; }
.xtm-tog-n { font-size: 13px; color: var(--faint); margin-top: 12px; }
.xtm-tog-t { margin: 0; font-size: 26px; font-weight: 497; letter-spacing: -.02em; color: var(--ink); }
.xtm-tog-d { margin: 0; font-size: 17px; line-height: 1.5; color: var(--soft); max-width: 40ch; }
.xtm-hand.big i { width: 72px; }
.xtm-tog-c.on .xtm-hand i::after { animation: xtm-relay2 1.6s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes xtm-relay2 { 0% { transform: translateX(-4px); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(68px); opacity: 0; } }
.xtm-tog-l { grid-template-columns: minmax(0, 1fr); }
.xtm-tog-l li { flex-direction: row; align-items: center; gap: 24px; padding: 44px 0; cursor: default; }
.xtm-tog-l li .xtm-hand { margin: 0; }
.xtm-tog-l li .vc-title { font-size: 26px; letter-spacing: -.02em; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.xtm-tog-l li.on .vc-title { transform: translateX(8px); }
.xtm-tog-l li .vc-body { display: none; }
.xtm-tog-l:has(li.on) li:not(.on) { opacity: .4; }
}
@media (prefers-reduced-motion: reduce) { .xtm-tog-c.on .xtm-hand i::after { animation: none; } }
/* quiet controls answer the pointer; every phone target is 44px */
@media (hover: hover) { .xtm-steps6 button:hover i:not(.on) { background: var(--faint); } .xtm-steps6 button i { transition: background-color .25s; } }
.xtm-steps6 button:active, .xtm-chans [role=tab]:active { transform: scale(.98); }
.xtm-canvas a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
@media (hover: hover) { .xtm-canvas a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.xtm-run .x-arrow { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 899px) { .xtm-acts .xtm-big { min-height: 44px; } }
/* nothing sits still: the ten channels drift under "One workspace", the call faces take turns speaking, the
portraits breathe; arrow links step forward and channel tabs fill under the pointer */
.xtm-drift { grid-column: 1 / -1; margin-top: 40px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.xtm-drift > div { display: flex; width: max-content; animation: xtm-drift 48s linear infinite; }
.xtm-drift span { display: flex; gap: 10px; padding-right: 10px; }
.xtm-drift i { font-style: normal; padding: 8px 14px; border-radius: 999px; background: var(--card); color: var(--soft); font-size: 15px; white-space: nowrap; }
.xtm-drift i:first-child { background: var(--ink); color: var(--x-on-ink); }
@keyframes xtm-drift { to { transform: translateX(-50%); } }
@keyframes xtm-speak { 0%, 45%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } 10%, 35% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .55); } }
.xtm-call .xtm-face { animation: xtm-speak 4s cubic-bezier(.4, 0, .2, 1) infinite; }
.xtm-call + .xtm-call .xtm-face { animation-delay: 2s; }
@keyframes xtm-breathe { from { transform: scale(1); } to { transform: scale(1.035); } }
.xtm-portrait::after { animation: xtm-breathe 9s cubic-bezier(.4, 0, .2, 1) infinite alternate; }
.xtm-person.b .xtm-portrait::after { animation-delay: -4.5s; }
.xtm .x-arrow svg { transition: transform .2s cubic-bezier(0, 0, .2, 1); }
@media (hover: hover) { .xtm .x-arrow:hover svg { transform: translateX(3px); } .xtm-chans [role=tab]:not([aria-selected='true']):hover { background: rgba(255, 255, 255, .1); } }
@media (prefers-reduced-motion: reduce) { .xtm-drift > div, .xtm-call .xtm-face, .xtm-portrait::after { animation: none; } }
.xtm-what-h .vc-grid > .xtm-drift { grid-column: 1 / -1; }
/* a channel's teammate in the dark room is at work while its panel is open (the same speaking ring as the call) */
.xtm-panel[aria-hidden='false'] .xtm-mate .xtm-face { animation: xtm-speak 2.6s cubic-bezier(.4, 0, .2, 1) infinite; }
@media (prefers-reduced-motion: reduce) { .xtm-panel .xtm-mate .xtm-face { animation: none; } }
/* Copy rule (8 Nov): a plain text leaf inside a styled b/em/code, so every Hanzo line stands on its own; it takes the parent's look */
span.xtm-t.xtm-t.xtm-t { display: inline; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; min-height: 0; width: auto; height: auto; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; opacity: 1; transform: none; animation: none; }
/* Hanzo's section label, kept visible under its headline (never above it) */
.xtm-kick { margin: 0; font-size: 11.5px; line-height: 1.3; font-weight: 500; letter-spacing: .14em; color: var(--faint); }
/* Hanzo's four model tiles under the channel list (26px, 7px radius, hairline), as on hanzo.ai/team */
.xtm-models { display: flex; gap: 6px; margin: 14px 0 0; }
.xtm-models img { display: block; width: 26px; height: 26px; border-radius: 7px; border: 1px solid #f5f5f5; object-fit: cover; }
/* ---------- hero: Hanzo's workspace dock (crew, direct messages, you) and Rev's thread ---------- */
@keyframes xtm-sleep { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(2px); opacity: .6; } }
/* the artifacts pane: Code, View (Hanzo's before and after preview), Canvas */
.xtm-art-b { display: grid; }
.xtm-art-b > * { grid-area: 1 / 1; min-width: 0; transition: opacity .35s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.xtm-art-b > [aria-hidden='true'] { opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.xtm-pv-l { margin: 4px 0 8px; font-size: 11px; letter-spacing: .04em; color: var(--soft); }
.xtm-pv { display: grid; place-items: center; margin: 0 0 16px; padding: 22px 12px; border-radius: 14px; background: #262626; }
.xtm-pv span { padding: 10px 20px; border-radius: 8px; font: 600 14px/1 var(--sans); }
.xtm-pv.before span { background: #404040; color: #525252; font-weight: 500; }
.xtm-pv.after span { background: #e4e4e7; color: #0a0a0a; }
.xtm-pv.after.hot span { animation: xtm-pv 2.8s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes xtm-pv { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.xtm-pv-c { margin: 0 0 4px; font-size: 12px; color: var(--soft); }
.xtm-pv-n { margin: 0; font-size: 13px; line-height: 1.5; color: light-dark(#404040, var(--text-secondary)); }
.xtm-art-canvas .xtm-canvas { margin-top: 0 !important; background: var(--x-raised); }
@media (prefers-reduced-motion: reduce) { .xtm-rev-eyes, .xtm-pv.after.hot span { animation: none; } .xtm-rm { transition: none; } }
@media (max-width: 900px) {
.xtm-win { grid-template-columns: minmax(0, 1fr); }
.xtm-win-h { flex-wrap: nowrap; }
.xtm-win-h ul { flex: 1; min-width: 0; align-items: center; }
.xtm-win-h li { line-height: 1.4; white-space: nowrap; }
.xtm-replay { flex: none; }
}
/* the hero window: Hanzo's tracker board paired side-by-side with the synced iPhone mobile handset */
.xtm-win.xtm-tk { display: flex; flex-direction: column; }
.xtm-tk .xtm-org b { font: 600 15px/1 var(--mono); letter-spacing: -.01em; }
.xtm-tk-tabs li { cursor: default; }
.xtm-tk-pct { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 12px; color: var(--soft); }
.xtm-tk-pct + .xtm-replay { margin-left: 4px; }
.xtm-tk-main { display: grid; grid-template-columns: minmax(0, 1fr) 244px; background: var(--x-sunk); }
.xtm-tk-sc { min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; background: var(--x-sunk); }
.xtm-tk-sc::-webkit-scrollbar { display: none; }
.xtm-tk-board { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 20px 18px 26px; min-height: 392px; align-content: start; }
.xtm-tk-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.xtm-tk-head { display: flex; align-items: center; gap: 8px; margin: 2px 2px 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink); white-space: nowrap; }
.xtm-tk-head i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: light-dark(#a3a3a3, var(--white-30)); }
.xtm-tk-head i[data-st='doing'] { background: light-dark(#525252, var(--white-55)); }
.xtm-tk-head i[data-st='done'] { background: var(--ink); }
.xtm-tk-card { position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 12px 12px 10px; border: 0; border-radius: 12px; background: var(--x-raised); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: box-shadow .3s cubic-bezier(.16, 1, .3, 1), transform .15s; }
.xtm-tk-card[data-on] { box-shadow: inset 0 0 0 1.5px var(--ink), 0 14px 26px -18px rgba(0, 0, 0, .4); }
.xtm-tk-card:active { transform: scale(.98); }
.xtm-tk-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) { .xtm-tk-card:hover { box-shadow: inset 0 0 0 1px light-dark(#737373, var(--white-40)); } .xtm-tk-card:hover .xtm-tk-own { color: var(--ink); } }
.xtm-tk-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--faint); }
.xtm-tk-tag { padding: 3px 8px; border-radius: 999px; background: light-dark(#f2f2f2, var(--surface-2)); color: var(--ink); font: 600 11px/1.2 var(--sans); }
.xtm-tk-t { font-size: 13.5px; font-weight: 500; line-height: 1.35; min-height: 2.7em; }
.xtm-tk-ft { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--soft); }
.xtm-tk-pc { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.xtm-tk-own { font-weight: 600; color: light-dark(#404040, var(--text-secondary)); transition: color .2s; }
.xtm-ring circle { transition: stroke-dashoffset .12s linear; }
.xtm-tk-board[data-phase='drift'] .xtm-cur > * { animation: xtm-tk-breathe 5.5s cubic-bezier(.4, 0, .2, 1) infinite alternate; }
@keyframes xtm-tk-breathe { from { transform: translate(0, 0); } to { transform: translate(6px, -5px); } }
/* Synced iPhone hanzo.team mobile handset dock */
.xtm-tk-ph { padding: 16px 16px 18px 8px; border-left: 1px solid var(--line); display: flex; align-items: center; justify-content: center; background: var(--x-sunk); }
.xtm-phone { width: 100%; max-width: 224px; padding: 4.5px; border-radius: 28px; background: #262626; box-shadow: inset 0 0 0 1px #404040, 0 26px 50px -22px rgba(0, 0, 0, .55); }
.xtm-ph-scr { position: relative; width: 100%; border-radius: 23.5px; background: var(--bg); color: var(--ink); padding: 0 11px 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.xtm-ph-st { position: relative; height: 24px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 0 6px; font-size: 10px; }
.xtm-ph-st b { font-weight: 600; }
.xtm-ph-isl { position: absolute; left: 50%; top: 6px; width: 42px; height: 11px; margin-left: -21px; border-radius: 99px; background: #000; }
.xtm-ph-sys { font-size: 9px; color: var(--faint); }
.xtm-ph-hd { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 7px; border-bottom: 1px solid var(--line); font-size: 11px; }
.xtm-ph-hd b { font-weight: 600; color: var(--ink); }
.xtm-tk-sync { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; color: var(--soft); white-space: nowrap; }
.xtm-tk-sync i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.xtm-tk-sync[data-hot] { animation: xtm-tk-sync 1.1s cubic-bezier(.16, 1, .3, 1); }
@keyframes xtm-tk-sync { 0% { color: var(--ink); transform: translateY(-2px); } 100% { color: var(--soft); transform: none; } }
.xtm-ph-bd { display: flex; flex-direction: column; gap: 8px; }
.xtm-ph-task { padding: 10px; border-radius: 12px; background: var(--x-raised); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 7px; }
.xtm-ph-tt { font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xtm-tk-row { display: flex; align-items: flex-start; gap: 8px; padding: 9px 10px; border-radius: 12px; background: var(--x-raised); box-shadow: inset 0 0 0 1px var(--line); }
.xtm-tk-rev { position: relative; flex: none; margin-top: 1px; }
.xtm-tk-rev i { position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--x-raised); }
.xtm-tk-rt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.xtm-tk-rn { font-size: 11px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xtm-tk-rt > span:last-child { font-size: 10px; line-height: 1.3; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xtm-ph-foot-crew { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; font-size: 10px; color: var(--faint); }
.xtm-tk-fs { display: flex; gap: 4px; flex: none; }
.xtm-ph-comp { height: 26px; padding: 0 4px 0 10px; border-radius: 99px; background: var(--x-raised); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--faint); }
.xtm-ph-comp i { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--x-on-ink); font: 700 10px/18px var(--sans); text-align: center; flex: none; }
.xtm-ph-home { position: absolute; left: 50%; bottom: 4px; width: 46px; height: 3px; margin-left: -23px; border-radius: 3px; background: var(--ink); opacity: .72; }
@media (max-width: 1060px) {
.xtm-tk-main { grid-template-columns: minmax(0, 1fr); }
.xtm-tk-ph { border-left: 0; border-top: 1px solid var(--line); padding: 16px; }
.xtm-phone { max-width: 264px; }
}
@media (max-width: 899px) {
.xtm-tk .xtm-win-h { flex-wrap: wrap; row-gap: 8px; }
.xtm-tk .xtm-win-h .xtm-tk-tabs { order: 3; flex: 1 1 100%; }
.xtm-tk-board { grid-template-columns: repeat(4, 176px); width: max-content; padding: 14px 14px 20px; min-height: 0; }
.xtm-tk-ph { padding: 14px 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { .xtm-tk-board[data-phase='drift'] .xtm-cur > *, .xtm-tk-sync[data-hot] { animation: none; } .xtm-ring circle { transition: none; } }
.xtm-tk-cap { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--faint); }
/* dark mode (docs/DARK-MODE.md): the Company deck kit (company/deck.css) states its own greys on .vc; here they take Hanzo's
dark tokens. The workflows room, the prompt, rails and the button preview are black in both modes. */
html:not(.light) .vc.xtm { --ink: var(--foreground); --ink2: var(--text-helper); --muted: var(--text-helper); --quiet: var(--surface-2); --card: var(--surface-2); --tile: var(--surface-3); --line: var(--border); }
/* dark only: Hanzo's halftone dot field behind the hero, as live hanzo.ai's dark heroes sit on it */
html:not(.light) .xtm-hero { position: relative; isolation: isolate; }
html:not(.light) .xtm-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
background: radial-gradient(circle, color-mix(in srgb, var(--foreground) 36%, transparent) 1.5px, transparent 2.1px) 0 0 / 7px 7px;
-webkit-mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.15) 32%, rgba(0,0,0,.15) 64%, #000), linear-gradient(180deg, rgba(0,0,0,.25), #000 85%);
-webkit-mask-composite: source-in;
mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.15) 32%, rgba(0,0,0,.15) 64%, #000), linear-gradient(180deg, rgba(0,0,0,.25), #000 85%);
mask-composite: intersect; }
html:not(.light) .xtm-hero::after { content: ''; position: absolute; inset: 0 0 auto; height: 640px; z-index: -1; pointer-events: none;
background: radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--foreground) 9%, transparent), transparent 70%); }
/* live hanzo.ai/team (8 Nov): the repo card under the code channels, and the Canvas writeup (overview, root cause, verification) */
.xtm-repo { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; color: var(--faint); overflow-wrap: anywhere; }
.xtm-repo b { color: var(--ink); font-weight: 600; }
.xtm-cv { margin: 14px 0 0; display: grid; gap: 6px; }
.xtm-cv dt { margin-top: 8px; font-size: 11.5px; letter-spacing: .14em; color: var(--faint); }
.xtm-cv dt:first-child { margin-top: 0; }
.xtm-cv dd { margin: 0; font-size: 13px; line-height: 1.5; color: var(--soft); }
.xtm-cv dd .xtm-ok { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; color: var(--ink); }