/* Design at scale: the film, the scheme and the tools' windows.
   Ported from the ClickHouse proposal (site/public/clickhouse/style.css: frame, scheme, Slack,
   Salesforce, player) and the Lebara proposal (lebara/style.css: Teams business cards, the Outlook
   add-in, the Teams chat), then dressed in the Co-team identity in cycle-co.css. Rules that the two
   pages define differently are scoped to their windows: Slack/Google Chat vs Teams/Outlook. */
.how { --y: var(--lime); --y-soft: #B4E43F; --card: #151516; --card-2: #1D1D1F; --line-2: #3A3A3C; --mute: #9A9A9D; --olive: #3D4A17;
  --r-m: 14px; --r-l: 20px; --ease: cubic-bezier(.2, .7, .1, 1); --blue: var(--ink); --pink: var(--ink); --sand: var(--surface); --head: var(--sans); }
.how [hidden] { display: none !important; }
.vbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(10,10,11,.62); color: var(--white); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vbtn svg { width: 20px; height: 20px; fill: currentColor; }
.vbtn:focus-visible { outline: 2px solid var(--y); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }

.film-ch { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.film-ch button { position: relative; display: flex; align-items: flex-start; gap: 8px; min-height: 64px; padding: 12px 14px 16px; border-radius: 14px; border: 1px solid rgba(10,10,10,.22); background: transparent; color: var(--ink); text-align: left; font: 600 15px/1.25 var(--sans); cursor: pointer; overflow: hidden; transition: background .2s, color .2s, border-color .2s; }
.film-ch button:hover { border-color: var(--ink); }
.film-ch .num { font: 500 12px/1.6 var(--mono); opacity: .55; flex: none; }
.film-ch .t { min-width: 0; text-wrap: balance; }
.film-ch .bar { position: absolute; left: 14px; right: 14px; bottom: 8px; height: 3px; border-radius: 2px; background: rgba(10,10,10,.14); overflow: hidden; }
.film-ch .bar b { position: absolute; inset: 0; background: currentColor; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.film-ch button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.film-ch button[aria-selected="true"] .bar { background: rgba(255,255,255,.18); }
.film-ch button[aria-selected="true"] .bar b { background: var(--y); }
.film-box { margin-top: 10px; background: var(--ink); color: var(--white); border-radius: var(--r-l); overflow: hidden; }
.film-view { position: relative; overflow: hidden; }
.film-vid { position: absolute; z-index: 20; transform-origin: 0 0; overflow: hidden; background: #faff69; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.film-vid video, .film-vid .vposter { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.film-vid .vposter { z-index: 1; transition: opacity .4s; pointer-events: none; } .film-vid.vplaying .vposter { opacity: 0; }
.film-vid .vbtn { position: absolute; z-index: 2; right: 12px; top: 12px; opacity: 0; transition: opacity .2s; }
.film-vid:hover .vbtn, .film-vid .vbtn:focus-visible { opacity: 1; }
@media (hover: none) { .film-vid .vbtn { opacity: 1; } }
.film-vid:fullscreen { border-radius: 0 !important; transform: none !important; } .film-vid:-webkit-full-screen { border-radius: 0 !important; transform: none !important; }
@media (max-width: 1100px) { .film-ch { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .film-ch { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .film-ch button { min-height: 58px; font-size: 14px; padding: 10px 11px 15px; } .film-ch .bar { left: 11px; right: 11px; } }

@media (max-width: 1100px) { .demo-ch { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .demo-ch { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* design at scale: the heading on one line, the second half the brighter */
/* phones: the subline wraps at the heading's full size; on one line it is wider than the frame under ~650px */
@media (max-width: 700px) { .h2-sub { white-space: normal; text-wrap: balance; } }

/* a tool, opened in the app it lives in: light Slack, Salesforce and Teams windows (the kit of part 04 on the Lebara page) */
.cy-shot { position: absolute; z-index: 25; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: clamp(12px, 3vw, 40px); background: rgba(10,10,10,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cy-shot .cy-x { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #262626; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.cy-sc { width: min(100%, 860px); margin: 0 0 10px; font-size: 14px; color: #dcdcdc; }
.cy-ui { flex: none; width: min(100%, 860px); border-radius: 14px; overflow: hidden; background: #fff; color: #1d1c1d; box-shadow: 0 30px 80px rgba(0,0,0,.6); container-type: inline-size; cursor: default; transform-origin: 50% 0; }
.ui-win { --tp: #5B5FC7; --ln: #E6E6EA; --mt: #6B6B73; font: 500 13px/1.35 var(--sans); }
.ui-win p { margin: 0; }
.ui-win .ri { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ui-win .ri.w { stroke-width: 3.2; }
.ui-win .cy-mono { width: 18px; height: 18px; font-size: 18px; }
/* ours in their apps: the Brand app is black columns on ClickHouse yellow; ClickHouse's own workspace and team, yellow on black */
.ui-ct, .ui-ws { flex: none; width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; background: var(--y); font-style: normal; }
.ui-ws { background: var(--ink); }
.ui-ct svg, .ui-ws svg { width: 56%; height: auto; fill: var(--ink); }
.ui-ws svg { fill: var(--y); }
.ui-av { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #E4E4EA; color: #2b2b33; font: 600 10.5px/1 var(--sans); font-style: normal; }
.ui-src { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--mt); white-space: nowrap; }
.ui-win .ui-src .cy-si, .ui-win .ui-src .cy-mono { width: 13px; height: 13px; font-size: 13px; }
/* our main button: black with yellow type (yellow on white does not read) */
.ui-btn { align-self: flex-start; white-space: nowrap; height: 32px; padding: 0 16px; border-radius: 99px; background: var(--ink); color: var(--y); font: 600 13px/32px var(--sans); transition: box-shadow .3s; }
.ui-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.ui-acts span { height: 28px; padding: 0 12px; border-radius: 6px; border: 1px solid #C9C9CF; background: #fff; font: 700 12.5px/26px var(--sans); white-space: nowrap; transition: opacity .3s; }
/* title bar */
.ui-wt { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 14px; border-bottom: 1px solid var(--ln); }
.ui-wt > b { font-weight: 600; }
.ui-q { margin: 0 auto; display: flex; align-items: center; gap: 8px; width: min(42%, 300px); height: 26px; padding: 0 10px; border-radius: 6px; background: #F0F0F4; color: #8A8A99; font-size: 12px; white-space: nowrap; overflow: hidden; }
.ui-win .ui-q .ri { width: 14px; height: 14px; }
/* app rail, side list, main column (Teams; Slack below) */
.ui-tb { display: flex; height: 384px; }
.ui-rail { flex: none; width: 64px; padding-top: 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; background: #EEEEF4; }
.ui-rail > span { position: relative; width: 56px; padding: 7px 0 5px; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #616161; }
.ui-rail em { font: 500 10px/1 var(--sans); font-style: normal; }
.ui-win .ui-rail .ri { width: 20px; height: 20px; }
.ui-rail .on { color: var(--tp); }
.ui-rail .on::before { content: ''; position: absolute; left: -4px; top: 9px; bottom: 9px; width: 3px; border-radius: 2px; background: var(--tp); }
.ui-rail .pin { margin-top: 4px; padding-top: 10px; border-top: 1px solid #DCDCE6; }
.ui-rail .ui-ct { width: 20px; height: 20px; }
.ui-side { flex: none; width: 184px; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; background: #F7F7FA; border-right: 1px solid var(--ln); }
.ui-side > b { display: flex; align-items: center; gap: 8px; margin: 0 4px 10px; font-size: 13.5px; font-weight: 600; }
.ui-side > small { margin: 0 4px 4px; font-size: 11px; color: var(--mt); }
.ui-side > span { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 6px; color: #424242; white-space: nowrap; }
.ui-side > span.on { background: #fff; color: #242424; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.ui-main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ui-mh { flex: none; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--ln); }
.ui-mh > b { margin-right: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.ui-tabs { align-self: stretch; display: flex; gap: 18px; }
.ui-tabs span { position: relative; display: flex; align-items: center; gap: 6px; color: #616161; white-space: nowrap; }
.ui-tabs .on { color: #242424; font-weight: 600; }
.ui-tabs .on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--tp); }
.ui-tabs .ui-ct { width: 16px; height: 16px; border-radius: 4px; }
.ui-pane { flex: 1; min-height: 0; padding: 14px 18px; overflow: hidden; }

/* Slack: an aubergine frame round the rail; the side list and the channel are one rounded panel in it */
.ui-sk { --tp: #611F69; background: #3F0E40; }
.ui-sk .ui-wt { height: 38px; border: 0; color: #fff; }
.ui-ar { display: flex; gap: 8px; color: rgba(255,255,255,.72); }
.ui-win .ui-ar .ri { width: 16px; height: 16px; }
.ui-sk .ui-q { width: min(46%, 380px); background: rgba(255,255,255,.16); color: rgba(255,255,255,.82); }
.ui-sk .ui-tb { padding: 0 6px 6px 0; }
.ui-sk .ui-rail { width: 64px; padding-top: 4px; gap: 8px; background: none; }
.ui-sk .ui-rail > span { width: 56px; padding: 0; gap: 3px; color: #fff; }
.ui-win.ui-sk .ui-rail > span > .ri { box-sizing: content-box; width: 18px; height: 18px; padding: 7px; border-radius: 8px; }
.ui-sk .ui-rail .on > .ri { background: rgba(255,255,255,.2); }
.ui-sk .ui-rail .on::before { content: none; }
.ui-sk .ui-rail .ws { margin-bottom: 2px; }
.ui-sk .ui-rail .ws .ui-ws { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 0 0 2px rgba(255,255,255,.4); }
.ui-sk .ui-rail .me { margin-top: auto; padding-bottom: 4px; }
.ui-sk .ui-rail .me .ui-av { width: 30px; height: 30px; border-radius: 8px; }
.ui-sk .ui-side { width: 196px; padding: 12px 8px; gap: 1px; border: 0; border-radius: 8px 0 0 8px; background: #592A5B; color: rgba(255,255,255,.78); }
.ui-sk .ui-side > b { margin: 0 8px 6px; gap: 4px; color: #fff; font-size: 15px; font-weight: 700; }
.ui-win.ui-sk .ui-side > b .ri { width: 14px; height: 14px; }
.ui-sk .ui-side > small { margin: 8px 8px 2px; color: rgba(255,255,255,.7); font-weight: 600; }
.ui-sk .ui-side > span { padding: 4px 10px; color: inherit; }
.ui-sk .ui-side > span.on { background: #F2E4F3; color: #3F0E40; font-weight: 600; box-shadow: none; }
.ui-sk i.h { width: 12px; font-style: normal; text-align: center; opacity: .8; }
.ui-sk .ui-side .ui-ct { width: 18px; height: 18px; border-radius: 4px; margin-left: -3px; }
.ui-sk .ui-main { border-radius: 0 8px 8px 0; background: #fff; overflow: hidden; }
.ui-sk .ui-mh { height: 44px; }
.ui-sk .ui-mh > b { display: flex; align-items: center; gap: 2px; font-size: 15px; font-weight: 700; }
.ui-sk .ui-chat { display: flex; flex-direction: column; gap: 10px; padding: 10px 18px 6px; }
:is(.ui-sk, .ui-gc) .ui-day { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; }
:is(.ui-sk, .ui-gc) .ui-day::before, :is(.ui-sk, .ui-gc) .ui-day::after { content: ''; flex: 1; height: 1px; background: var(--ln); }
:is(.ui-sk, .ui-gc) .ui-day span { padding: 2px 12px; border: 1px solid var(--ln); border-radius: 99px; }
:is(.ui-sk, .ui-gc) .ui-msg { display: flex; align-items: flex-start; gap: 10px; }
:is(.ui-sk, .ui-gc) .ui-msg > .ui-av, :is(.ui-sk, .ui-gc) .ui-msg > .ui-ct { width: 34px; height: 34px; border-radius: 7px; }
:is(.ui-sk, .ui-gc) .ui-msg > .ui-av { background: #E9D9EA; color: #3F0E40; font-size: 12px; }
:is(.ui-sk, .ui-gc) .ui-msg > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
:is(.ui-sk, .ui-gc) .ui-msg u { text-decoration: none; padding: 0 2px; border-radius: 3px; background: rgba(29,155,209,.1); color: #1264A3; }
:is(.ui-sk, .ui-gc) .ui-mhd { display: flex; align-items: baseline; gap: 8px; font-size: 11.5px; color: var(--mt); }
:is(.ui-sk, .ui-gc) .ui-mhd b { font-size: 13.5px; font-weight: 700; color: #1d1c1d; }
:is(.ui-sk, .ui-gc) .ui-mhd em { padding: 2px 4px; border-radius: 3px; background: #EDEDED; color: #616061; font: 600 9.5px/1 var(--sans); font-style: normal; letter-spacing: .04em; }
:is(.ui-sk, .ui-gc) .ui-msg .ui-src { white-space: normal; }
:is(.ui-sk, .ui-gc) .ui-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
/* the previews are 16:10, set before they load so the windows can be measured (phones size part 04 by them) */
:is(.ui-sk, .ui-gc) .ui-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px var(--ln); }
.ui-sk .ui-acts .pri { background: #007A5A; border-color: #007A5A; color: #fff; }
:is(.ui-sk, .ui-gc) .ui-rep { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.cy-shot[data-s="0"] :is(.ui-sk, .ui-gc) .ui-rep, .cy-shot[data-s="1"] :is(.ui-sk, .ui-gc) .ui-rep { opacity: 0; transform: translateY(10px); }
:is(.ui-sk, .ui-gc) .ui-cmp { flex: none; }
:is(.ui-sk, .ui-gc) .ui-box { height: 38px; padding: 0 12px; border: 1px solid #BBBABB; border-radius: 8px; color: #868686; font-size: 12.5px; line-height: 36px; }
:is(.ui-sk, .ui-gc) .ui-typ { height: 18px; display: flex; align-items: center; gap: 3px; padding: 2px 2px 0; font-size: 11px; color: var(--mt); opacity: 0; transition: opacity .25s; }
:is(.ui-sk, .ui-gc) .ui-typ i { width: 4px; height: 4px; border-radius: 50%; background: var(--mt); animation: ui-dot 1s infinite; }
:is(.ui-sk, .ui-gc) .ui-typ i:nth-child(2) { animation-delay: .15s; } .ui-typ i:nth-child(3) { animation-delay: .3s; margin-right: 4px; }
@keyframes ui-dot { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.cy-shot[data-s="1"] :is(.ui-sk, .ui-gc) .ui-typ { opacity: 1; }

/* Salesforce Lightning: white global header, the app's navigation bar, the record on Lightning's pale blue */
.ui-sf { --tp: #0176D3; }
.ui-sf .ui-wt { height: 44px; gap: 14px; }
.ui-cl { display: grid; font-style: normal; }
.ui-win .ui-cl .cy-si { width: 34px; height: 24px; }
.ui-sf .ui-q { width: min(40%, 320px); background: #fff; border: 1px solid #C9C9C9; border-radius: 4px; color: #747474; }
.ui-ut { display: flex; gap: 12px; color: #747474; }
.ui-win .ui-ut .ri { width: 17px; height: 17px; }
.ui-sf .ui-av { background: #D8E6FE; color: #014486; }
.ui-nb { display: flex; align-items: stretch; gap: 20px; height: 40px; padding: 0 16px; border-bottom: 1px solid #DDDBDA; box-shadow: 0 2px 3px rgba(0,0,0,.06); color: #181818; }
.ui-nb > .ri { align-self: center; color: #747474; }
.ui-nb > b { align-self: center; margin-right: 6px; font-size: 15.5px; font-weight: 500; }
.ui-nb > span { position: relative; display: flex; align-items: center; white-space: nowrap; }
.ui-nb .on { font-weight: 600; }
.ui-nb .on::after { content: ''; position: absolute; left: -6px; right: -6px; bottom: 0; height: 3px; background: var(--tp); }
.ui-sfb { height: 372px; display: flex; flex-direction: column; gap: 10px; padding: 10px; background: linear-gradient(#CADAF0, #EEF2F7 50%); overflow: hidden; }
.ui-hl, .ui-card { background: #fff; border: 1px solid #DDDBDA; border-radius: 6px; box-shadow: 0 2px 2px rgba(0,0,0,.05); }
.ui-hl { flex: none; padding: 10px 14px; }
.ui-hh { display: flex; align-items: center; gap: 10px; }
.ui-ei { flex: none; width: 30px; height: 30px; border-radius: 4px; display: grid; place-items: center; background: #5867E8; color: #fff; font-style: normal; }
.ui-hh > span:not(.ui-bg) { display: grid; }
.ui-hh small { font-size: 11px; color: #444; }
.ui-hh b { font-size: 16px; font-weight: 700; color: #181818; }
.ui-bg { margin-left: auto; display: flex; }
.ui-bg > span { display: flex; align-items: center; gap: 4px; height: 28px; margin-left: -1px; padding: 0 12px; border: 1px solid #C9C9C9; background: #fff; color: var(--tp); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ui-bg > span:first-child { border-radius: 4px 0 0 4px; } .ui-bg > span:last-child { border-radius: 0 4px 4px 0; }
.ui-win .ui-bg .ri { width: 13px; height: 13px; }
.ui-hf { display: flex; gap: 28px; margin: 10px 0 0; }
.ui-hf div { min-width: 0; }
.ui-hf dt, .ui-det dt { font-size: 11px; color: #444; }
.ui-hf dd { margin: 2px 0 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: #181818; white-space: nowrap; }
.ui-hf dd u { text-decoration: none; color: var(--tp); }
.ui-hf .ui-av { width: 18px; height: 18px; font-size: 7.5px; }
.ui-sfc { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 10px; }
.ui-card { min-height: 0; padding: 10px 14px; overflow: hidden; }
.ui-ch { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: #181818; white-space: nowrap; }
.ui-det dl { margin: 0; display: grid; gap: 6px; }
.ui-det dd { margin: 1px 0 0; padding-bottom: 5px; border-bottom: 1px solid #E5E5E5; font-size: 12.5px; color: #181818; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-opb { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 10px 14px; }
.ui-opb .ui-acts { grid-column: 1 / -1; }
.ui-sto { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ui-sto .ui-src { white-space: normal; }
.ui-sto .ui-k { margin-top: 4px; font-size: 11px; color: #444; }
.ui-sto .o { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid #DDDBDA; border-radius: 4px; font-size: 12.5px; color: #181818; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .3s, background .3s; }
.ui-sto .o i { flex: none; width: 13px; height: 13px; border-radius: 50%; border: 1px solid #919191; transition: border .3s; }
.cy-shot:not([data-s="0"]) .ui-sto .a { border-color: var(--tp); background: #EEF4FF; font-weight: 600; }
.cy-shot:not([data-s="0"]) .ui-sto .a i { border: 4px solid var(--tp); }
.ui-pf { align-self: start; position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 4px; background: #F3F3F3; box-shadow: 0 0 0 1px #E5E5E5; overflow: hidden; font-size: 12px; color: var(--mt); }
.ui-pf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.ui-pf > span { grid-area: 1 / 1; display: flex; align-items: center; gap: 8px; transition: opacity .25s; }
.ui-pf .p1 { opacity: 0; }
.ui-pf .p1 i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #C9C9C9; border-top-color: var(--tp); animation: ui-spin .8s linear infinite; }
@keyframes ui-spin { to { transform: rotate(360deg); } }
.cy-shot[data-s="1"] .ui-pf .p0, .cy-shot[data-s="2"] .ui-pf > span { opacity: 0; }
.cy-shot[data-s="1"] .ui-pf .p1, .cy-shot[data-s="2"] .ui-pf img { opacity: 1; }
.ui-sf .ui-acts span { border-radius: 4px; border-color: #C9C9C9; color: var(--tp); }
.ui-sf .ui-acts .pri { background: var(--tp); border-color: var(--tp); color: #fff; }
.cy-shot:not([data-s="2"]) .ui-sf .ui-acts span { opacity: .4; }

/* Email signatures: a tab in the channel. Step 0: empty fields; 1: they fill one by one, the signature with them; 2: copy it */
.ui-bcs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-content: start; gap: 12px 20px; }
.ui-fields { display: flex; flex-direction: column; gap: 9px; }
.ui-fields label { display: grid; gap: 4px; }
.ui-fields label > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--mt); }
.ui-fields label > b { display: block; height: 32px; padding: 0 10px; border: 1px solid #DDDDE6; border-radius: 6px; font: 500 13px/30px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-fields em { display: inline-block; font-style: normal; }
.ui-fields em, .ui-fields .ui-src { transition: opacity .35s var(--ease) calc(var(--i) * .16s), transform .35s var(--ease) calc(var(--i) * .16s); }
.cy-shot[data-s="0"] .ui-fields em { opacity: 0; transform: translateX(-6px); }
.cy-shot[data-s="0"] .ui-fields .ui-src { opacity: 0; }
.ui-out { align-self: start; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 10px; background: #F3F3F5; }
.ui-sg { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 8px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.ui-sg > .bar { flex: none; align-self: stretch; width: 4px; border-radius: 2px; background: var(--y); }
.ui-sg > div { min-width: 0; transition: opacity .4s var(--ease) .5s; }
.cy-shot[data-s="0"] .ui-sg > div { opacity: 0; }
.ui-sg b { display: block; font-size: 15px; font-weight: 700; color: #111; }
.ui-sg span { display: block; font-size: 12px; color: #555; }
.ui-sg em { display: block; margin-top: 3px; font: 500 10.5px/1.3 var(--mono); font-style: normal; color: #333; }   /* a narrow card breaks the address after the @ */
.ui-sg > svg { flex: none; width: 24px; height: 24px; margin-left: auto; fill: var(--ink); }
.ui-go { display: flex; }
.cy-shot[data-s="2"] .ui-go .ui-btn { box-shadow: 0 0 0 3px #F3F3F5, 0 0 0 5px var(--ink); }
@media (prefers-reduced-motion: reduce) { .ui-typ i, .ui-pf .p1 i { animation: none; } }

/* narrower windows: no side lists. Phones: the rails keep their icons, the panes stack, the window takes its own height */
@container (max-width: 760px) { .ui-side, .ui-det, .ui-ut { display: none; } .ui-sfc { grid-template-columns: 1fr; } .ui-sk .ui-tb { padding-left: 0; } .ui-sk .ui-main { border-radius: 8px; } }
@container (max-width: 560px) {
.ui-tb, .ui-sfb { height: auto; }
.ui-q, .ui-ar, .ui-mh > b, .ui-tabs .x, .ui-bg > span:nth-child(3) { display: none; }
.ui-wt > b { margin-right: auto; } .ui-sf .ui-wt .ui-av { margin-left: auto; }
.ui-rail { width: 46px; } .ui-rail > span { width: 40px; padding: 8px 0; } .ui-rail em { display: none; }
.ui-mh { padding: 0 12px; } .ui-pane { padding: 12px; }
.ui-bcs, .ui-opb { grid-template-columns: minmax(0, 1fr); }
.ui-fields .ui-src { gap: 0; font-size: 0; }   /* the mark is enough here */
.ui-out { padding: 10px; } .ui-sg { gap: 10px; padding: 12px; }   /* room for the whole email address */
:is(.ui-sk, .ui-gc) .ui-grid { grid-template-columns: repeat(2, 1fr); }
  /* Slack keeps its search and the channel's name; Salesforce its app and the Accounts tab */
.ui-sk .ui-q { display: flex; width: 100%; } .ui-sk .ui-wt { padding: 0 10px; }
.ui-sk .ui-rail { width: 50px; } .ui-sk .ui-rail > span { width: 44px; padding: 0; } .ui-win.ui-sk .ui-rail > span > .ri { padding: 6px; }
.ui-sk .ui-rail .ws .ui-ws { width: 30px; height: 30px; }
.ui-sk .ui-mh > b { display: flex; } .ui-sk .ui-tabs span:not(.on) { display: none; }
.ui-sk .ui-chat { padding: 10px 12px 6px; }
.ui-nb { gap: 14px; padding: 0 12px; } .ui-nb > span:not(.on) { display: none; }
.ui-bg > span:nth-child(2) { border-radius: 0 4px 4px 0; }
.ui-hf { flex-wrap: wrap; gap: 8px 22px; }
}
@container (max-width: 300px) { .ui-fields label > b { padding: 0 8px; font-size: 12px; } }
/* phones: the caption keeps clear of the close button */
.film-view.is-tall .cy-sc { padding-right: 52px; }
/* phones: a 9:16 film can be narrower than the frame; the scheme steps back behind it */
.film-view.is-tall .cy-stage { transition: opacity .5s; }
.film-view.is-tall.film-open .cy-stage { opacity: .12; }

/* player: a tap pauses or plays (a large sign shows, then fades), one bar scrubs the whole film */
.film-view { cursor: pointer; }
.cy-tap { position: absolute; z-index: 30; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,10,.6); color: #fff; opacity: 0; pointer-events: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cy-tap svg { width: 40px; height: 40px; fill: currentColor; }
.cy-tap.go { animation: cy-tap .8s ease-out both; }
@keyframes cy-tap { 0% { opacity: 0; transform: scale(.7); } 20% { opacity: 1; transform: scale(1); } 60% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15); } }
.film-ctl { display: flex; align-items: center; gap: 14px; padding: 6px clamp(14px, 2vw, 24px) 16px; }
.film-ctl .vbtn { flex: none; background: #1d1d1d; } .film-ctl .vbtn:hover { background: #2a2a2a; }
.film-ctl .vbtn svg { width: 18px; height: 18px; fill: currentColor; }
/* the scrub line: dark and quiet, a wide grip; chapters are gaps in the line, not ticks on it */
.cy-scrub { position: relative; flex: 1; height: 36px; cursor: pointer; touch-action: none; }
.cy-scrub .tr, .cy-scrub .fl, .cy-scrub .hv { position: absolute; left: 0; right: 0; top: 16px; height: 4px; border-radius: 2px; transition: height .12s, top .12s; }
.cy-scrub .tr { background: #2C2C2F; }
.cy-scrub .hv { background: #3E3E42; transform-origin: 0 50%; transform: scaleX(0); }
.cy-scrub .fl { background: #8D8D92; transform-origin: 0 50%; transform: scaleX(0); }
.cy-scrub .ticks i { position: absolute; top: 10px; width: 4px; height: 16px; margin-left: -2px; background: #111112; }
.cy-scrub .kn { position: absolute; top: 11px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #E6E6E8; opacity: 0; transition: opacity .12s; }
.cy-scrub:hover .tr, .cy-scrub:hover .fl, .cy-scrub:hover .hv, .cy-scrub.drag .tr, .cy-scrub.drag .fl, .cy-scrub.drag .hv { top: 15px; height: 6px; }
.cy-scrub:hover .kn, .cy-scrub.drag .kn, .cy-scrub:focus-visible .kn { opacity: 1; }
.cy-scrub .tip { position: absolute; bottom: 30px; transform: translateX(-50%); padding: 5px 8px; border-radius: 4px; background: #2C2C2F; color: #D6D6D9; font: 400 12px/1 var(--mono); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; }
.cy-scrub:hover .tip, .cy-scrub.drag .tip { opacity: 1; }
.cy-scrub:focus-visible { outline: none; } .cy-scrub:focus-visible .tr { box-shadow: 0 0 0 2px var(--lime); }
.cy-tm { flex: none; font: 400 13px var(--mono); color: #7A7A7E; }
@media (hover: none) { .cy-scrub .kn { opacity: 1; } }

/* the dark film block runs wider than the text column: less yellow either side */
.how .film { width: min(1600px, calc(100vw - 32px)); margin-left: calc(50% - min(800px, 50vw - 16px)); }
@media (max-width: 720px) { .how .film { width: calc(100vw - 20px); margin-left: calc(50% - 50vw + 10px); } }
/* every player: a sign for pause and play, and a simple line along the bottom */
.vt-tap { position: absolute; z-index: 30; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,10,.6); color: #fff; opacity: 0; pointer-events: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vt-tap svg { width: 36px; height: 36px; fill: currentColor; }
.vt-tap.go { animation: cy-tap .8s ease-out both; }
.vt-line { position: absolute; z-index: 25; left: 14px; right: 14px; bottom: 6px; height: 22px; cursor: pointer; touch-action: none; opacity: 0; transition: opacity .25s; }
.vt-line .tr, .vt-line .fl { position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.28); transition: height .15s, top .15s; }
.vt-line .fl { background: rgba(255,255,255,.75); transform-origin: 0 50%; transform: scaleX(0); }
.vt-line .ticks i { position: absolute; top: 7px; width: 2px; height: 8px; margin-left: -1px; background: rgba(10,10,10,.7); }
.vt-line .kn { position: absolute; top: 4px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity .15s; }
.vt-line:hover .tr, .vt-line:hover .fl, .vt-line.drag .tr, .vt-line.drag .fl { top: 8px; height: 6px; }
.vt-line:hover .kn, .vt-line.drag .kn { opacity: 1; }
@media (hover: none) { .vt-line { opacity: 1; } }

/* ---------- Design at scale: the film's frame ---------- */
/* the parts are a line of text at the top of the black window: the active one is yellow */
.how .film { margin-top: clamp(20px, 2.2vw, 32px); }
.how .film-box { margin-top: 0; padding: 0; border-radius: 20px; }
.how .film-ch { display: flex; gap: clamp(18px, 2.2vw, 34px); padding: 16px 24px 10px; overflow-x: auto; scrollbar-width: none; }
.how .film-ch::-webkit-scrollbar { display: none; }
.how .film-ch button, .how .film-ch button:hover, .how .film-ch button[aria-selected="true"] { flex: none; display: inline-flex; align-items: baseline; gap: 8px; min-height: 0; padding: 4px 0; border: 0; border-radius: 0; background: none; overflow: visible; white-space: nowrap; font: 600 17px/1.3 var(--sans); }
.how .film-ch button { color: #7a7a7a; }
.how .film-ch button:hover { color: #e6e6e6; }
.how .film-ch button[aria-selected="true"] { color: var(--y); }
.how .film-ch .num { font: 500 12px/1 var(--mono); opacity: .75; }
.how .film-ctl { padding: 4px 16px 12px; }
@media (max-width: 1100px) { .how .film-ch button, .how .film-ch button:hover, .how .film-ch button[aria-selected="true"] { font-size: 15px; } }
@media (max-width: 720px) { .how .film-ch { padding: 12px 16px 8px; } .how .film-ch button, .how .film-ch button:hover, .how .film-ch button[aria-selected="true"] { font-size: 15px; } }

/* ---------- Design at scale: the scheme ----------
   A grid of real-size blocks that fills the frame (cycle.js sets the stage to the frame's size);
   the connectors are drawn from the blocks' measured positions. */
.cy { position: absolute; inset: 0; overflow: hidden; color: var(--white); }
.cy-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; display: grid; }
.cy-wide .cy-stage { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1.45fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "L P H F" "R R R F"; gap: 28px 48px; padding: 22px 26px; }
.cy-tall .cy-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "L" "P" "H" "F" "R"; align-content: start; gap: 44px; padding: 24px 22px 32px; }
.cy-L { grid-area: L; } .cy-P { grid-area: P; } .cy-H { grid-area: H; } .cy-F { grid-area: F; } .cy-R { grid-area: R; }
.cy-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cy-wires { opacity: .16; }
.cy-ln { fill: none; stroke: #fff; stroke-width: var(--sw, 1.5); stroke-linecap: round; }
.cy-dot { fill: var(--y); opacity: 0; }

/* blocks: one type scale in every block */
.cy-n { position: relative; z-index: 2; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 20px 20px 18px; border-radius: 20px; background: #161616; border: 1px solid #2a2a2a; opacity: 0; cursor: pointer; transition: border-color .3s; }
.cy-n:hover { border-color: #4a4a4a; }
.cy-hd { flex: none; }
.cy-eb { display: block; font: 500 13px/1.45 var(--mono); color: #8d8d8d; }
.cy-tt { display: block; margin-top: 6px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.cy-ds { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: #b0b0b0; max-width: 34em; }

/* a service name that scrolls through the alternatives */
.cy-tk { display: inline-block; vertical-align: bottom; height: 1.45em; overflow: hidden; padding: 0; border: 0; background: none; color: var(--y); font: inherit; line-height: 1.45em; cursor: pointer; text-align: left; }
.cy-tkw { display: block; }
.cy-tkw > span { display: flex; align-items: center; gap: .35em; width: max-content; height: 1.45em; white-space: nowrap; }
.cy-si { width: 1em; height: 1em; flex: none; } .cy-si.ln { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cy-mono { display: grid; place-items: center; width: 1em; height: 1em; border-radius: .22em; font: 800 .62em/1 var(--sans); font-style: normal; flex: none; }

/* software windows: Figma for the library and the templates */
.cy-fig { position: relative; flex: 1 1 0; min-height: 130px; margin-top: 16px; border-radius: 10px; overflow: hidden; background: #1e1e1e; border: 1px solid #333; container-type: inline-size; }
.cy-tall .cy-fig { flex: none; height: 270px; }
.cy-wt { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; background: #2c2c2c; border-bottom: 1px solid #383838; font: 500 12px/1 var(--sans); color: #cfcfcf; white-space: nowrap; }
.cy-wt i.d { width: 8px; height: 8px; border-radius: 50%; background: #555; flex: none; }
.cy-wt .cy-si, .cy-wt .cy-mono { width: 13px; height: 13px; margin-left: 4px; }
.cy-wt span { overflow: hidden; text-overflow: ellipsis; }
.cy-wt b { margin-left: auto; height: 18px; padding: 0 9px; border-radius: 5px; background: #0d99ff; color: #fff; font: 600 11px/18px var(--sans); }
.cy-figma .cy-wt .av { margin-left: auto; width: 16px; height: 16px; border-radius: 50%; background: #9747ff; color: #fff; font: 700 8px/16px var(--sans); text-align: center; font-style: normal; flex: none; }
.cy-figma .cy-wt b { margin-left: 6px; }
.fg-side { position: absolute; left: 0; top: 28px; bottom: 0; width: 76px; padding: 8px 5px; display: flex; flex-direction: column; gap: 1px; background: #2c2c2c; border-right: 1px solid #383838; font: 500 10px/1.2 var(--sans); color: #c4c4c4; overflow: hidden; }
.fg-side span { padding: 3px 5px; border-radius: 3px; white-space: nowrap; }
.fg-side .fg-h { padding-top: 6px; font-weight: 600; font-size: 9px; color: #8a8a8a; }
.fg-side .fg-h:first-child { padding-top: 0; }
.fg-side .on { background: #444; color: #fff; }
.fg-side .fr::before { content: '#'; margin-right: 4px; color: #8a8a8a; }
.fg-tools { position: absolute; z-index: 1; bottom: 9px; left: calc(76px + (100% - 76px) / 2); transform: translateX(-50%); display: flex; gap: 4px; padding: 4px 6px; border-radius: 8px; background: #2c2c2c; border: 1px solid #3c3c3c; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.fg-tools svg { width: 18px; height: 18px; padding: 3px; border-radius: 4px; fill: none; stroke: #e0e0e0; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.fg-tools svg:first-child { background: #0d99ff; stroke: #fff; }
.cy-tiles { position: absolute; left: 90px; right: 14px; top: 34px; bottom: 0; padding-top: 16px; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: auto; align-content: start; gap: 24px 12px; overflow: hidden; }
.cy-tile { position: relative; aspect-ratio: 5 / 4; border-radius: 2px; background: #2c2c2c; }
.cy-tile::before { content: attr(data-n); position: absolute; left: 0; top: -15px; font: 500 10px/1 var(--sans); color: #9a9a9a; }
.cy-tile:first-child { box-shadow: 0 0 0 1.5px #0d99ff; }
.cy-tile:first-child::before { color: #0d99ff; }
.cy-tile:first-child::after { content: '144 × 116'; position: absolute; right: 6px; bottom: 6px; padding: 1px 5px; border-radius: 3px; background: #0d99ff; color: #fff; font: 600 9px/1.4 var(--sans); }
.cy-tile:first-child .tc { display: none; }
.cy-tile .tc { position: absolute; right: 6px; bottom: 5px; font: 500 10px var(--mono); color: #8d8d8d; }
.cy-lg { position: absolute; left: 0; right: 0; top: 9px; display: grid; justify-items: center; gap: 6px; }
.cy-lg img { height: 15px; width: auto; filter: brightness(0) invert(1); }
.cy-ics { position: absolute; left: 8px; right: 8px; top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 2px; justify-items: center; }
.cy-ics svg, .cy-row .th svg { width: 19px; height: 19px; fill: none; stroke: var(--y); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cy-ph { position: absolute; left: 8px; right: 8px; top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.cy-ph img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.cy-tags { position: absolute; left: 7px; right: 6px; top: 8px; display: flex; flex-wrap: wrap; gap: 3px; }
.cy-tags span { font: 600 10px/1 var(--sans); padding: 4px 6px; border-radius: 99px; border: 1px solid #3a3a3a; color: #d0d0d0; }
.cy-tags span.c { background: var(--y); color: var(--ink); border-color: var(--y); }
.cy-tags span.a { background: #fff; color: var(--ink); border-color: #fff; }
.cy-sw { position: absolute; left: 8px; right: 8px; top: 8px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.cy-sw i { aspect-ratio: 2 / 1; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.cy-ty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cy-ty b { font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1; } .cy-ty span { font: 500 10px var(--mono); color: #9a9a9a; margin-top: 4px; }
@container (max-width: 280px) { .fg-side { display: none; } .cy-tiles { left: 12px; } .fg-tools { left: 50%; } }
@container (max-width: 300px) { .cy-tile:first-child::after { display: none; } }
/* the template: an artboard centred on Figma's grey canvas */
.cy-fig-tp { display: flex; flex-direction: column; }
.cy-cv { flex: 1 1 0; min-height: 0; container-type: size; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: #1e1e1e; }
.cy-ab { display: flex; flex-direction: column; gap: 4px; }
.cy-ab > span { font: 500 10px/1 var(--sans); color: #9a9a9a; } .cy-ab:first-child > span { color: #0d99ff; }
.cy-tp { position: relative; width: 160px; width: min(100cqw - 28px, (50cqh - 32px) * 1.6); aspect-ratio: 16 / 10; background: var(--y); outline: 1.5px solid #0d99ff; }
.cy-tp2 { outline: 0; background: #0a0a0a; }
.cy-tp img { width: 100%; height: 100%; object-fit: cover; }
.cy-tp .g { position: absolute; inset: 7%; background: repeating-linear-gradient(90deg, rgba(255,0,90,.18) 0 1px, transparent 1px calc(100% / 12)); }
.cy-tp .sl { position: absolute; border: 1.5px dashed #ff2d7a; border-radius: 3px; }
.cy-tp .s1 { left: 7%; top: 18%; width: 48%; height: 34%; } .cy-tp .s2 { left: 7%; bottom: 7%; width: 22%; height: 13%; }
.cy-tp .an { position: absolute; z-index: 1; font: 600 10px/1 var(--mono); padding: 4px 6px; border-radius: 4px; background: #ff2d7a; color: #fff; white-space: nowrap; }
.cy-tp .a1 { left: 58%; top: 21%; } .cy-tp .a2 { left: 31%; bottom: 8%; }

/* Workflow integrations: example tools, each in its app and filled from its data */
.cy-H { background: var(--y); color: var(--ink); border-color: var(--y); }
.cy-H:hover { border-color: var(--y); }
.cy-H .cy-ds { color: #3f4213; }
.cy-apps { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(54px, 1fr); gap: 6px; margin-top: 16px; }
.cy-app { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: 10px 28px 10px 14px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; text-align: left; font: inherit; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.cy-app b { font-size: 15px; font-weight: 700; line-height: 1.2; }
.cy-app .mt { display: block; font-size: 12px; line-height: 1.4; color: #9a9a9a; }
.cy-app .mt .nm { white-space: nowrap; }
.cy-app .mt .nm { display: inline-flex; align-items: center; gap: 4px; vertical-align: -2px; color: #e2e2e2; }
.cy-app .cy-si, .cy-app .cy-mono { width: 12px; height: 12px; font-size: 12px; }
.cy-app::after { content: '↗'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--y); font-size: 13px; }
.cy-app:hover, .cy-app.on { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--y); }
.cy-app.fire { box-shadow: 0 0 0 2px #fff; }
.cy-more { align-self: center; justify-self: end; padding: 0 4px; font: 500 13px/1.45 var(--mono); color: #4b4d16; }
.cy-more .cy-tk { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* files ready for production: no box of their own, a list down the last column */
.cy-F { padding: 2px 0 0; background: none; border: 0; border-radius: 0; overflow: visible; opacity: 1; }
.cy-make { flex: none; opacity: 0; }
.cy-land { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: #e0e0e0; }
.cy-outs { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 4px; min-height: 0; margin-top: 14px; }
.cy-out { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; opacity: 0; }
.cy-out .th { flex: none; width: 70px; height: 44px; border-radius: 7px; overflow: hidden; background: #151515; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 22px rgba(0,0,0,.45); will-change: transform; }
.cy-out .th img { width: 100%; height: 100%; object-fit: cover; }
.cy-out .fm { display: grid; gap: 2px; min-width: 0; }
.cy-out .fm b { font-size: 14px; font-weight: 600; line-height: 1.25; color: #f2f2f2; }
.cy-out .fm span { font: 500 12px/1.3 var(--mono); color: #9d9d9d; }
.cy-tall .cy-F { padding-left: 34px; }
.cy-tall .cy-outs { justify-content: flex-start; gap: 12px; }

/* review: a low strip under the library, the templates and the integrations. Its window reads as the
   way back: a tool made something new, the designers approve it, it is in the library for every tool. */
.cy-R { flex-direction: row; align-items: center; gap: 28px; padding: 16px 22px; cursor: default; }
.cy-R:hover { border-color: #2a2a2a; }
.cy-R .cy-hd { flex: 1 1 auto; min-width: 0; }
.cy-flow { display: flex; align-items: flex-end; gap: 34px; flex: none; margin: 0; padding: 0; list-style: none; }
.cy-st { position: relative; display: flex; flex-direction: column; gap: 7px; min-width: 0; opacity: 0; }
.cy-st + .cy-st::before { content: '→'; position: absolute; left: -26px; bottom: 12px; font: 500 17px/1 var(--sans); color: #6c6c6c; }
.cy-sl { font: 500 11px/1 var(--mono); color: #8d8d8d; white-space: nowrap; }
.cy-sl i { font-style: normal; color: var(--y); margin-right: 6px; }
.cy-row { position: relative; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 9px; border-radius: 10px; background: #202020; }
.cy-row .th { width: 26px; height: 26px; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: #fff; flex: none; }
.cy-row .th img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.cy-row .th.lb { background: #2c2c2c; }
.cy-row .th.lb svg { width: 17px; height: 17px; }
.cy-row .nm { display: grid; gap: 2px; white-space: nowrap; }
.cy-row .nm b { font-size: 14px; font-weight: 600; line-height: 1.15; }
.cy-row .nm em { font: 500 11px/1.2 var(--mono); font-style: normal; color: #9a9a9a; }
.cy-row .av { width: 22px; height: 22px; border-radius: 50%; background: #9747ff; color: #fff; font: 700 9px/22px var(--sans); font-style: normal; text-align: center; flex: none; }
.cy-row .bt, .cy-row .ok { height: 26px; border-radius: 99px; font: 600 12px/26px var(--sans); padding: 0 12px; }
.cy-row .bt { background: #333; color: #fff; }
.cy-row .ok { display: none; background: var(--y); color: var(--ink); align-items: center; gap: 5px; padding-left: 8px; }
.cy-row .ok svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cy-row.done .bt { display: none; } .cy-row.done .ok { display: inline-flex; }
.cy-tall .cy-R { flex-direction: column; align-items: stretch; gap: 18px; }
.cy-tall .cy-flow { flex-direction: column; align-items: stretch; gap: 30px; }
.cy-tall .cy-st + .cy-st::before { content: '↓'; left: 14px; top: -24px; bottom: auto; }
/* the approved logo on its way up, and where it lands: the Logos tile in the library's window */
.cy-fly { position: absolute; left: 0; top: 0; z-index: 3; width: 26px; height: 26px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 2px var(--y), 0 10px 24px rgba(0,0,0,.5); opacity: 0; pointer-events: none; will-change: transform; }
.cy-fly img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.cy-lg .nw { display: flex; align-items: center; gap: 5px; opacity: 0; transform: scale(.6); transition: opacity .35s, transform .45s var(--ease); }
.cy-lg .nw b { padding: 1px 5px; border-radius: 99px; background: var(--y); color: var(--ink); font: 700 9px/1.3 var(--sans); }
.cy-L.got .cy-lg .nw { opacity: 1; transform: none; }
.cy-L.got .cy-tile:first-child::after { opacity: 0; }

/* a part in focus: everything else steps back and stops taking clicks */
.cy-fx .cy-stage > * { transition: opacity .7s; }
.cy-focus .cy-stage > :not(.cy-f) { opacity: 0 !important; pointer-events: none; }
.cy-focus .cy-stage > .cy-lines { opacity: .06 !important; }

/* ---------- Teams and Outlook (from the Lebara page) ---------- */
.ui-ol .ui-wt { background: var(--ol); border-color: var(--ol); color: #fff; }
.ui-ol .ui-wt > .ri { stroke-width: 3.2; }
.ui-ol .ui-q { background: rgba(255,255,255,.2); color: #E3EEF9; }
.ui-rail .on::before { content: ''; position: absolute; left: -4px; top: 9px; bottom: 9px; width: 3px; border-radius: 2px; background: var(--tp); }
.ui-rail .pin { margin-top: 4px; padding-top: 10px; border-top: 1px solid #DCDCE6; }
.ui-rail .ui-lt { width: 20px; height: 20px; }
.ui-side > span > span { display: grid; min-width: 0; overflow: hidden; font-size: 11.5px; font-weight: 500; color: var(--mt); }
.ui-side > span > span b { font-size: 13px; font-weight: 600; color: #242424; }
.ui-side .ui-av, .ui-side > span > .ui-lt { width: 28px; height: 28px; }
.ui-side > span > .ui-lt { border-radius: 6px; }
/* Business cards: a tab in the channel. Step 0: signed in, empty fields; 1: they fill one by one, the card with them */
:is(.ui-tm, .ui-ol) .ui-bcs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-content: start; gap: 12px 20px; }
:is(.ui-tm, .ui-ol) .ui-in { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #424242; }
:is(.ui-tm, .ui-ol) .ui-ok { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); }
:is(.ui-tm, .ui-ol) .ui-ok svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
:is(.ui-tm, .ui-ol) .ui-fields { display: flex; flex-direction: column; gap: 9px; }
:is(.ui-tm, .ui-ol) .ui-fields label { display: grid; gap: 4px; }
:is(.ui-tm, .ui-ol) .ui-fields label > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--mt); }
:is(.ui-tm, .ui-ol) .ui-fields label > b { display: block; height: 32px; padding: 0 10px; border: 1px solid #DDDDE6; border-radius: 6px; font: 500 13px/30px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(.ui-tm, .ui-ol) .ui-fields em { display: inline-block; font-style: normal; }
:is(.ui-tm, .ui-ol) .ui-fields em, :is(.ui-tm, .ui-ol) .ui-fields .ui-src { transition: opacity .35s var(--ease) calc(var(--i) * .16s), transform .35s var(--ease) calc(var(--i) * .16s); }
.cy-shot[data-s="0"] :is(.ui-tm, .ui-ol) .ui-fields em { opacity: 0; transform: translateX(-6px); }
.cy-shot[data-s="0"] :is(.ui-tm, .ui-ol) .ui-fields .ui-src { opacity: 0; }
:is(.ui-tm, .ui-ol) .ui-out { align-self: start; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 10px; background: var(--sand); }
:is(.ui-tm, .ui-ol) .ui-out .ui-bc { box-shadow: 0 6px 18px rgba(14,18,87,.12); }
:is(.ui-tm, .ui-ol) .ui-bc > :not(.l) { transition: opacity .4s var(--ease) .5s; }
.cy-shot[data-s="0"] :is(.ui-tm, .ui-ol) .ui-bc > :not(.l) { opacity: 0; }
:is(.ui-tm, .ui-ol) .ui-go { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .ui-go small { font-size: 11.5px; color: var(--mt); }
.cy-shot[data-s="2"] :is(.ui-tm, .ui-ol) .ui-go .ui-btn { box-shadow: 0 0 0 4px rgba(219,0,175,.2); }
:is(.ui-tm, .ui-ol) .ui-bc { position: relative; aspect-ratio: 85 / 55; border-radius: 8px; background: #fff; color: var(--blue); padding: 7% 8%; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
:is(.ui-tm, .ui-ol) .ui-bc .l { position: absolute; left: 8%; top: 12%; width: 13%; aspect-ratio: 1; display: grid; place-items: center; background: var(--blue); }
:is(.ui-tm, .ui-ol) .ui-bc .l svg { width: 42%; height: auto; fill: #fff; }
:is(.ui-tm, .ui-ol) .ui-bc b { font: 700 18px/1.1 var(--head); } .ui-bc span { font-size: 11px; } .ui-bc em { font-style: normal; font-size: 10px; color: #4a4f7a; }

/* Email signatures: an Outlook add-in. Step 1: "Add to every new email" turns on; 2: the signature drops into the email */
.ui-rib { flex: none; display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--ln); background: #FAFAFC; color: #424242; white-space: nowrap; }
.ui-rib > span { display: flex; align-items: center; gap: 6px; }
.ui-rib em { font-style: normal; }
.ui-win .ui-rib .ri { width: 16px; height: 16px; }
.ui-rib .send { padding: 5px 12px; border-radius: 6px; background: var(--ol); color: #fff; font-weight: 600; }
.ui-rib .ours { margin-left: auto; padding: 4px 10px 4px 5px; border-radius: 6px; background: var(--y); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--blue); }
.ui-rib .ui-lt { width: 18px; height: 18px; border-radius: 4px; }
.ui-olb { flex: 1; min-height: 0; display: flex; }
.ui-mail { flex: 1; min-width: 0; padding: 2px 16px 0; }
.ui-of { display: flex; align-items: center; gap: 12px; height: 38px; border-bottom: 1px solid #EFEFF4; }
.ui-of .k { width: 52px; color: var(--mt); }
.ui-of .rcp { padding: 3px 10px; border-radius: 99px; background: #EEF0F8; font-size: 12.5px; }
.ui-txt { padding-top: 12px; font: 400 13px/1.5 Arial, sans-serif; color: #070723; }
.ui-win .ui-txt p { margin-bottom: 8px; }
.ui-sig { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px; border-radius: 8px; background: #F2F5FF; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cy-shot[data-s="0"] .ui-sig, .cy-shot[data-s="1"] .ui-sig { opacity: 0; transform: translateY(-14px); }
.ui-sig > i.l { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 0 4px 0 4px; background: var(--blue); }
.ui-sig > i.l svg { width: 12px; height: auto; fill: #fff; }
.ui-sig b { display: block; font: 700 15px/1.2 var(--head); color: var(--blue); }
.ui-sig span { display: block; font: 500 12px/1.3 var(--sans); color: var(--blue); }
.ui-sig em { display: block; margin-top: 3px; font: 500 11px/1.3 var(--sans); font-style: normal; color: #4a4f7a; }
.ui-tp { flex: none; width: 214px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; background: #FAFAFC; border-left: 1px solid var(--ln); }
.ui-tph { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.ui-tph .cl { margin-left: auto; font-style: normal; font-size: 16px; color: var(--mt); }
.ui-me { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; background: #fff; border: 1px solid var(--ln); }
.ui-me span { display: grid; font-size: 11.5px; color: var(--mt); } .ui-me b { font-size: 13px; font-weight: 600; color: #242424; }
.ui-tg { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.ui-tg i { flex: none; position: relative; width: 34px; height: 18px; border-radius: 99px; background: var(--blue); transition: background .3s; }
.ui-tg i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translateX(16px); transition: transform .3s var(--ease); }
.cy-shot[data-s="0"] .ui-tg i { background: #C8C8D2; } .cy-shot[data-s="0"] .ui-tg i::after { transform: none; }
.cy-shot[data-s="1"] .ui-tp .ui-btn { box-shadow: 0 0 0 4px rgba(219,0,175,.2); }

/* Presentations: the Brand bot in a Teams chat. Step 1: Brand is typing; 2: the deck arrives */
:is(.ui-tm, .ui-ol) .ui-chat { display: flex; flex-direction: column; gap: 8px; padding-block: 8px; background: #F5F5F8; }
:is(.ui-tm, .ui-ol) .ui-msg { display: flex; align-items: flex-start; gap: 10px; }
:is(.ui-tm, .ui-ol) .ui-msg > div { min-width: 0; max-width: 480px; padding: 7px 12px 9px; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
:is(.ui-tm, .ui-ol) .ui-msg.me { align-self: flex-end; } .ui-msg.me > div { background: #E8EBFA; } .ui-win .ui-msg.me .ui-mhd { margin-bottom: 2px; }
:is(.ui-tm, .ui-ol) .ui-msg > .ui-lt { width: 28px; height: 28px; border-radius: 6px; }
:is(.ui-tm, .ui-ol) .ui-msg u { text-decoration: none; font-weight: 600; color: var(--tp); }
.ui-win .ui-mhd { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; font-size: 11.5px; color: var(--mt); }
:is(.ui-tm, .ui-ol) .ui-mhd b { font-size: 12.5px; font-weight: 600; color: #242424; }
:is(.ui-tm, .ui-ol) .ui-mhd em { padding: 3px 5px; border-radius: 3px; background: #EDEDF2; color: #616161; font: 600 9.5px/1 var(--sans); font-style: normal; letter-spacing: .05em; }
:is(.ui-tm, .ui-ol) .ui-rep { position: relative; }
:is(.ui-tm, .ui-ol) .ui-typ { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--mt); opacity: 0; transition: opacity .25s; }
:is(.ui-tm, .ui-ol) .ui-typ span i { display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: var(--mt); animation: ui-dot 1s infinite; }
:is(.ui-tm, .ui-ol) .ui-typ span i:nth-child(2) { animation-delay: .15s; } .ui-typ span i:nth-child(3) { animation-delay: .3s; margin-right: 8px; }
@keyframes ui-dot { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.cy-shot[data-s="1"] :is(.ui-tm, .ui-ol) .ui-typ { opacity: 1; }
:is(.ui-tm, .ui-ol) .ui-rep > .ui-msg { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.cy-shot[data-s="0"] :is(.ui-tm, .ui-ol) .ui-rep > .ui-msg, .cy-shot[data-s="1"] :is(.ui-tm, .ui-ol) .ui-rep > .ui-msg { opacity: 0; transform: translateY(10px); }
:is(.ui-tm, .ui-ol) .ui-ac { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--ln); border-radius: 8px; }
:is(.ui-tm, .ui-ol) .ui-file { display: flex; align-items: center; gap: 10px; }
.ui-win .ui-file .cy-mono { width: 26px; height: 26px; font-size: 26px; }
:is(.ui-tm, .ui-ol) .ui-ac .ui-src { white-space: normal; align-items: flex-start; } .ui-ac .ui-src .cy-mono { margin-top: 1px; }
:is(.ui-tm, .ui-ol) .ui-file span { display: grid; font-size: 11.5px; color: var(--mt); } .ui-file b { font-size: 13px; font-weight: 600; color: #242424; }
:is(.ui-tm, .ui-ol) .ui-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
:is(.ui-tm, .ui-ol) .ui-grid canvas { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; box-shadow: 0 0 0 1px var(--ln); }
:is(.ui-tm, .ui-ol) .ui-acts { display: flex; gap: 8px; flex-wrap: wrap; }
:is(.ui-tm, .ui-ol) .ui-acts span { padding: 4px 12px; border-radius: 6px; border: 1px solid #D1D1DB; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
:is(.ui-tm, .ui-ol) .ui-acts .pri { background: var(--tp); border-color: var(--tp); color: #fff; }
:is(.ui-tm, .ui-ol) .ui-type { flex: none; margin-top: auto; height: 36px; padding: 0 12px; border-radius: 6px; background: #fff; border: 1px solid var(--ln); color: #8A8A99; font-size: 12.5px; line-height: 34px; }
@media (prefers-reduced-motion: reduce) { .ui-typ span i { animation: none; } }


/* a block that opens a part: on hover its border lights up and an arrow comes in after its title */
.cy-go { display: inline-block; width: .8em; height: .8em; margin-left: .3em; vertical-align: -.02em; fill: none; stroke: var(--y); stroke-width: 2.4; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.cy-n[data-k]:not(.cy-R):hover { border-color: var(--y); }
.cy-n:hover .cy-go, .cy-n:focus-visible .cy-go { opacity: 1; transform: none; }
.cy-n:focus-visible { outline: 2px solid var(--y); outline-offset: 2px; }
.cy-focus .cy-go { display: none; }
