/* The onboarding's scenes (onboarding-demos.js): Chrome with vertical tabs drawn in HTML, played like a short video.
   Each scene is an 800×450 canvas scaled to its stage: a desktop (a soft wallpaper) with the app's window on it, a
   cursor, keys, captions (on top, 16px from the edge) and tooltips over them. Colors are fixed (light pages in a light Chrome) so a scene reads
   the same in either theme. Radii: the stage 12, windows and panels in it 10 */

.stage { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line, rgba(0, 0, 0, .08));
  background: radial-gradient(90% 120% at 0% 0%, #d5def5 0%, transparent 60%), radial-gradient(80% 110% at 100% 100%, #f1d9cc 0%, transparent 60%),
    linear-gradient(135deg, #b9c6e6 0%, #d6cbe3 50%, #e9d3c8 100%); }
/* the wallpaper is the scene's own (the canvas), so a page embedding it can't lose it; --cz (onboarding-demos.js)
   grows captions on small stages so they stay readable */
.stage .canvas { position: absolute; left: 0; top: 0; width: 800px; height: 450px; transform-origin: 0 0; overflow: hidden; border-radius: calc(12px / var(--s, 1));
  font: 13px/1.4 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; color: #1d1d1f; text-align: left;
  background: radial-gradient(90% 120% at 0% 0%, #d5def5 0%, transparent 60%), radial-gradient(80% 110% at 100% 100%, #f1d9cc 0%, transparent 60%),
    linear-gradient(135deg, #b9c6e6 0%, #d6cbe3 50%, #e9d3c8 100%); }
.stage .cam { position: absolute; inset: 0; transform-origin: 50% 50%; transition: transform 900ms cubic-bezier(.3, .7, .2, 1); }
.stage .cap { position: absolute; left: 50%; top: 16px; z-index: 40; transform: translate(-50%, -8px); opacity: 0; padding: calc(9px * var(--cz, 1)) calc(20px * var(--cz, 1)); border-radius: 999px;
  font: 600 calc(17px * var(--cz, 1)) / 1.25 -apple-system, system-ui, sans-serif; max-width: 760px; overflow: hidden; text-overflow: ellipsis; color: #fff; background: rgba(20, 20, 24, .82); backdrop-filter: blur(12px); white-space: nowrap;
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .2), 0 8px 24px rgba(0, 0, 0, .3); transition: opacity 250ms, transform 250ms; }
.stage .cap.on { opacity: 1; transform: translate(-50%, 0); }
/* keys pressed: they just show up and go, no pop */
.stage .chip { position: absolute; z-index: 45; padding: 4px 10px; border-radius: 8px; font: 600 15px -apple-system, system-ui, sans-serif; color: #fff;
  background: rgba(20, 20, 24, .82); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); opacity: 0; }
.stage .chip.on { opacity: 1; }
.stage .chip.fly { transition: left .7s ease, top .7s ease; }
.stage .chip.big { left: 50%; top: 50%; margin: -30px 0 0 -60px; min-width: 120px; text-align: center; font-size: 26px; padding: 9px 18px; border-radius: 12px; }
.stage .tip { position: absolute; z-index: 46; padding: 5px 10px; border-radius: 7px; font: 600 calc(13px * var(--cz, 1)) -apple-system, system-ui, sans-serif; color: #fff; white-space: nowrap; pointer-events: none;
  background: rgba(20, 20, 24, .9); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); opacity: 0; transform: translate(-50%, -100%) translateY(4px); transition: opacity 160ms, transform 160ms; }
.stage .tip.on { opacity: 1; transform: translate(-50%, -100%); }
.stage .tip.below { transform: translate(-50%, -4px); }
.stage .tip.below.on { transform: translate(-50%, 0); }
/* time passing: a clock in the top right corner */
.stage .clock { position: absolute; right: 16px; top: 16px; z-index: 40; display: flex; align-items: center; gap: 6px; padding: calc(9px * var(--cz, 1)) calc(14px * var(--cz, 1)); border-radius: 999px; font: 600 calc(15px * var(--cz, 1)) / 1.25 -apple-system, system-ui, sans-serif;
  color: #fff; background: rgba(20, 20, 24, .82); backdrop-filter: blur(12px); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .2), 0 8px 24px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(-8px); transition: opacity 250ms, transform 250ms; }
.stage .clock svg { width: 1.1em; height: 1.1em; }
.stage .clock.on { opacity: 1; transform: none; animation: tick 600ms ease-out; }
@keyframes tick { 0% { transform: scale(.9); } 50% { transform: scale(1.06); } }

/* the cursor: an arrow, moved with transform */
.stage .cur { position: absolute; left: 0; top: 0; z-index: 60; width: 22px; height: 22px; pointer-events: none; transition: transform 650ms cubic-bezier(.4, 0, .2, 1), opacity 200ms; }
.stage .cur svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); transition: transform 120ms; }
.stage .cur.down svg { transform: scale(.82); }
.stage .ripple { position: absolute; z-index: 59; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(94, 92, 230, .35); pointer-events: none; animation: ripple 500ms ease-out forwards; }
@keyframes ripple { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
/* a long press: a ring filling around the cursor */
.stage .ring { position: absolute; z-index: 59; width: 40px; height: 40px; margin: -20px 0 0 -20px; pointer-events: none; }
.stage .ring svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.stage .ring circle { fill: rgba(94, 92, 230, .15); stroke: #5e5ce6; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 94.3; stroke-dashoffset: 94.3; animation: ring var(--ms, 700ms) linear forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }

/* Chrome with vertical tabs: the strip on the left, the toolbar and the page on the right */
/* a window on the desktop: a hairline and macOS's soft shadow */
/* smaller than the canvas: the caption on top doesn't cover the omnibox */
.mb, .slack { position: absolute; inset: 64px 44px 14px; border-radius: 10px; overflow: hidden; display: flex; background: #fff;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .22), 0 8px 20px -6px rgba(0, 0, 0, .22), 0 26px 56px -14px rgba(0, 0, 0, .32); }
.mb { transition: opacity 320ms, transform 360ms cubic-bezier(.2, 1, .4, 1); }
.mb.away { opacity: 0; transform: scale(.96); }
/* another space: another window comes up in the same place */
.mb.swap .mb-main, .mb.swap .vt-tabs { animation: swap 380ms cubic-bezier(.2, .8, .3, 1); }
@keyframes swap { from { opacity: .25; transform: translateY(4px); } }
.vt-side { flex: none; width: 184px; padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; background: #e8e8ed; border-right: 1px solid #d8d8de; font-size: 12px; overflow: hidden;
  transition: width 480ms cubic-bezier(.3, .7, .2, 1), padding 480ms cubic-bezier(.3, .7, .2, 1), opacity 300ms; }
.vt-side > * { flex: none; min-width: 168px; }
.vt-side .tl { display: flex; gap: 6px; padding: 2px 4px 12px; }
.vt-side .tl i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.vt-side .tl i:nth-child(2) { background: #febc2e; }
.vt-side .tl i:nth-child(3) { background: #28c840; }
.vt-tabs { display: flex; flex-direction: column; gap: 2px; }
.vt-new { padding: 6px 8px; color: #55555b; font-size: 12px; }
.vt-row { position: relative; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 8px; color: #2b2b30; transition: background 200ms, box-shadow 200ms, transform 650ms cubic-bezier(.4, 0, .2, 1); }
.vt-row .tt { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: opacity 200ms; }
.vt-row.on { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.vt-row.asleep .tt, .vt-row.asleep .fav { opacity: .45; }
.vt-row .x { width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; font-size: 12px; opacity: 0; background: rgba(0, 0, 0, .08); }
.vt-row.hover .x { opacity: 1; }
.vt-row.lift { background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); z-index: 5; }
.vt-row.new, .vt-group.new { animation: tab-in 350ms ease-out; }
.vt-row.gone, .vt-group.gone { animation: tab-out 300ms ease-in forwards; }
@keyframes tab-out { to { opacity: 0; transform: translateX(-12px); } }
.vt-row .cd { flex: none; padding: 1px 6px; border-radius: 6px; font: 600 10.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: #0a5bd8; background: #dceaff; }
@keyframes tab-in { from { opacity: 0; transform: translateX(-10px); } }
/* a tab group, as in Chrome: a row as wide as the tabs in its color (the space's), its chevron down when open, its
   tabs along a line of its color */
.vt-gh { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 10px; border-radius: 8px; color: #fff; background: var(--g); font-weight: 700; font-size: 11.5px; }
.vt-gh .gl { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vt-gh svg { flex: none; width: 14px; height: 14px; stroke-width: 2.6; transition: transform 200ms; }
.vt-group.shut .vt-gh svg { transform: rotate(-90deg); }
.vt-group.shut .vt-kids { display: none; }
.vt-group.ping .vt-gh { animation: ping 900ms ease-out; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--g) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.vt-kids { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 4px 8px; padding-left: 6px; border-left: 2px solid var(--g); min-height: 4px; }
/* pinned tabs: squares on top */
.vt-pins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 6px; }
.vt-pins:empty { display: none; }
.pin-t { height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(0, 0, 0, .06); transition: background 200ms, box-shadow 200ms; }
.pin-t .fav { width: 14px; height: 14px; transition: opacity 300ms, filter 300ms; }
.pin-t.on { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pin-t.asleep .fav { opacity: .35; filter: grayscale(.7); }
.pin-t.new { animation: pop 380ms cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
/* the tabs on top (before Show Tabs Vertically) */
.ht { flex: none; display: flex; align-items: flex-end; gap: 2px; height: 40px; padding: 0 8px; background: #e8e8ed; overflow: hidden; transition: height 480ms cubic-bezier(.3, .7, .2, 1); }
.ht .tl { display: flex; gap: 6px; align-self: center; margin: 0 12px 0 4px; }
.ht .tl i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.ht .tl i:nth-child(2) { background: #febc2e; }
.ht .tl i:nth-child(3) { background: #28c840; }
.ht-tab { flex: none; display: flex; align-items: center; gap: 7px; width: 118px; height: 32px; padding: 0 10px; border-radius: 9px 9px 0 0; font-size: 11.5px; color: #2b2b30; }
.ht-tab .tt { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ht-tab.on { background: #f6f6f8; }
.ht-new { align-self: center; padding: 0 8px; font-size: 16px; color: #55555b; }
.mb:not(.horiz) .ht { height: 0; }
.mb.horiz .vt-side { width: 0; padding-left: 0; padding-right: 0; border-right-width: 0; opacity: 0; }
.mb-main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mb-top { flex: none; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: #f6f6f8; border-bottom: 1px solid #e2e2e7; }
.mb-nav { color: #8a8a90; font-size: 13px; letter-spacing: 3px; }
.mb-url { flex: 1; min-width: 0; height: 26px; text-overflow: ellipsis; border-radius: 13px; background: #e9e9ee; display: flex; align-items: center; padding: 0 12px; color: #3a3a3f; font-size: 12px; overflow: hidden; white-space: nowrap; }
.sp-tag { flex: none; padding: 4px 11px; border-radius: 999px; font-weight: 700; font-size: 11.5px; color: #fff; background: var(--c); transition: background 300ms; }
.fav { flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--f, #8e8e93); }
.mb-body { flex: 1; position: relative; overflow: hidden; }
.pg-wrap { position: absolute; inset: 0; }
.bar { height: 8px; border-radius: 4px; background: #e6e6ea; margin: 0 0 8px; }
.bar.s { width: 40%; } .bar.m { width: 70%; } .bar.l { width: 92%; }

/* pages: Notion-like, a calendar, a pull request, a map */
.pg { position: absolute; inset: 0; overflow: hidden; background: #fff; }
.pg h2 { text-transform: none; letter-spacing: normal; color: inherit; } /* not ui.css's section heading */
.notion { padding: 30px 56px; color: #37352f; }
.notion .ic { font-size: 34px; line-height: 1; margin-bottom: 10px; }
.notion h2 { margin: 0 0 16px; font: 700 28px/1.2 -apple-system, system-ui, sans-serif; }
.notion .sub { margin: 0 0 14px; color: #37352f; font-size: 14px; }
.notion .todo { display: flex; align-items: center; gap: 9px; margin: 0 0 9px; font-size: 14px; }
.notion .todo i { width: 13px; height: 13px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #37352f; }
.notion .todo.done { color: #9b9a97; text-decoration: line-through; }
.notion .todo.done i { background: #2383e2; box-shadow: none; }
.notion .lnk-p { margin: 14px 0; font-size: 14px; }
.notion .lnk { color: #37352f; font-weight: 600; border-bottom: 1px solid #c7c6c3; }
.notion .lnk.hot { border-color: #37352f; }
.notion .bar { background: #efefed; }
.cal { padding: 14px 16px; }
.cal-hd { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.cal-hd b { font-size: 17px; font-weight: 500; color: #3c4043; }
.cal-hd span { color: #3c4043; font-size: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #dadce0; }
.cal-d { position: relative; height: 290px; border-left: 1px solid #dadce0; font-size: 11px; color: #3c4043; padding: 4px 6px; }
.cal-d i { position: absolute; left: 4px; right: 4px; border-radius: 5px; padding: 3px 6px; font: 600 10.5px -apple-system, system-ui, sans-serif; color: #fff; background: var(--c); }
.gh { color: #1f2328; }
.gh-hd { height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: #24292f; color: #fff; font-weight: 600; font-size: 12.5px; }
.gh-hd .o { width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.gh-in { padding: 16px 20px; }
.gh h2 { margin: 0 0 8px; font: 400 22px -apple-system, system-ui, sans-serif; }
.gh h2 span { color: #59636e; }
.gh-st { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #59636e; margin-bottom: 14px; }
.gh-st .open { padding: 3px 10px; border-radius: 999px; background: #1f883d; color: #fff; font-weight: 600; }
.gh-tabs { display: flex; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid #d1d9e0; font-size: 12.5px; margin-bottom: 12px; }
.gh-tabs b { border-bottom: 2px solid #fd8c73; padding-bottom: 6px; margin-bottom: -10px; }
.gh-diff { border: 1px solid #d1d9e0; border-radius: 6px; overflow: hidden; }
.gh-diff div { height: 16px; background: #fff; border-top: 1px solid #f0f0f0; }
.gh-diff .a { background: #dafbe1; } .gh-diff .d { background: #ffebe9; }
.maps { background: #e9efe1; }
.maps .rd { position: absolute; background: #fff; box-shadow: 0 0 0 1px #d6dccd; }
.maps .rd.h { left: 0; right: 0; height: 12px; }
.maps .rd.v { top: 0; bottom: 0; width: 12px; }
.maps .park { position: absolute; left: 330px; top: 120px; width: 130px; height: 90px; border-radius: 30px; background: #c4e3b1; }
.maps .pin { position: absolute; left: 388px; top: 128px; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #ea4335; box-shadow: 0 3px 6px rgba(0, 0, 0, .3); animation: pin 500ms cubic-bezier(.2, 1.4, .4, 1); }
.maps .pin::after { content: ''; position: absolute; left: 8px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #a50e0e; }
@keyframes pin { from { transform: rotate(-45deg) translate(20px, -20px); opacity: 0; } }
.m-card { position: absolute; left: 14px; top: 14px; width: 200px; padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.m-card b { display: block; font-size: 16px; font-weight: 500; }
.m-card span { font-size: 12px; color: #3c4043; }
.m-btns { display: flex; gap: 6px; margin-top: 10px; }
.m-btns span { padding: 4px 10px; border-radius: 999px; background: #0b57d0; color: #fff; font-size: 11px; font-weight: 600; }
.m-btns span + span { background: #e8f0fe; color: #0b57d0; }

/* Peek */
.g-head { display: flex; align-items: center; gap: 18px; padding: 16px 22px 10px; border-bottom: 1px solid #eee; }
.g-logo { font: 700 22px/1 -apple-system, system-ui, sans-serif; letter-spacing: -.5px; }
.g-logo b:nth-child(1) { color: #4285f4; } .g-logo b:nth-child(2) { color: #ea4335; } .g-logo b:nth-child(3) { color: #fbbc05; }
.g-logo b:nth-child(4) { color: #4285f4; } .g-logo b:nth-child(5) { color: #34a853; } .g-logo b:nth-child(6) { color: #ea4335; }
.g-q { flex: 1; max-width: 360px; height: 34px; border-radius: 17px; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); display: flex; align-items: center; padding: 0 16px; font-size: 13px; }
.g-res { padding: 14px 22px 0 108px; }
.g-r { margin-bottom: 16px; max-width: 420px; }
.g-r .u { font-size: 11px; color: #4d5156; display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.g-r .t { font-size: 16px; color: #1a0dab; display: inline-block; }
.g-r .t.hot { text-decoration: underline; }
.g-r .bar { margin-top: 6px; height: 7px; }
.pk-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity 300ms; }
/* the window: the handle on top, the page, the buttons on its side; moved as one */
.pk-win { position: absolute; left: 22px; top: 24px; transition: transform 800ms cubic-bezier(.4, 0, .2, 1); }
.pk-grip { position: absolute; left: 50%; top: -12px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(255, 255, 255, .85); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); opacity: 0; transition: opacity 250ms, width 200ms, margin 200ms; }
.pk-win.drag .pk-grip { width: 56px; margin-left: -28px; background: #fff; }
.pk-panel { position: relative; width: 320px; height: 296px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 24px 60px rgba(0, 0, 0, .45);
  opacity: 0; transform: scale(.94) translateY(8px); transition: opacity 280ms, transform 320ms cubic-bezier(.2, 1.2, .4, 1); }
.pk-panel .hero { height: 96px; background: #38bdf8; position: relative; }
.pk-panel .hero::after { content: ''; position: absolute; left: 60%; top: 18px; width: 70px; height: 50px; background: #fff; opacity: .85; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.pk-panel .doc { padding: 16px 22px; }
.pk-panel h4 { margin: 0 0 10px; font: 600 18px Georgia, serif; }
.pk-tools { position: absolute; left: 330px; top: 0; display: flex; flex-direction: column; gap: 8px; opacity: 0; transition: opacity 250ms 120ms; }
.pk-tools .b { position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(40, 40, 46, .86); color: #fff; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .25), 0 4px 10px rgba(0, 0, 0, .3); }
.pk-tools .b svg { width: 15px; height: 15px; }
.pk-tools .b.gap { margin-top: 6px; }
.pk-tools .lab { position: absolute; left: 38px; top: 50%; transform: translate(-6px, -50%); opacity: 0; white-space: nowrap; padding: 3px 8px; border-radius: 7px; font: 600 11px -apple-system, system-ui, sans-serif;
  color: #fff; background: rgba(20, 20, 24, .85); transition: opacity 200ms, transform 200ms; }
.pk-tools .lab kbd { font: inherit; opacity: .75; margin-left: 4px; }
.pk-tools .b.show .lab { opacity: 1; transform: translate(0, -50%); }
.peek-open .pk-dim { opacity: 1; }
.peek-open .pk-panel { opacity: 1; transform: none; }
.peek-open .pk-tools, .peek-open .pk-grip { opacity: 1; }

/* the Kite Bar, in the tab */
.kb-page { padding: 22px 30px; }
.kb-page h3 { margin: 0 0 14px; font: 700 22px -apple-system, system-ui, sans-serif; }
.kb { position: absolute; left: 44px; top: 20px; width: 470px; border-radius: 12px; overflow: hidden; color: #f2f2f3;
  background: radial-gradient(130% 80% at 0% 0%, rgba(255, 255, 255, .1), transparent 60%), color-mix(in srgb, var(--kc, #0a84ff) 14%, rgba(30, 30, 36, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .09), 0 24px 60px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(-8px) scale(.97); transition: opacity 220ms, transform 260ms cubic-bezier(.2, 1.2, .4, 1), background 300ms; }
.kb.on { opacity: 1; transform: none; }
.kb-field { display: flex; align-items: center; gap: 2px; padding: 14px 16px 10px; font-size: 16px; min-height: 22px; }
.kb-field .ph { color: rgba(255, 255, 255, .5); margin-left: 8px; }
.kb-field .ph[hidden] { display: none; }
.kb-field .caret { width: 2px; height: 18px; background: var(--kc, #0a84ff); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.kb-tiles { display: flex; gap: 8px; padding: 2px 14px 10px; }
.kb-tile { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .08); transition: background 200ms, box-shadow 200ms; }
.kb-tile .n { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #fff; background: var(--c); }
.kb-tile.here { background: color-mix(in srgb, var(--c) 30%, rgba(255, 255, 255, .06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1.5px var(--c); }
.kb-list { padding: 4px 8px 10px; }
.kb-row { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 10px; border-radius: 10px; font-size: 13px; white-space: nowrap; }
.kb-row .tt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.kb-row .sn { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 6px; border-radius: 50%; font-size: 9.5px; font-weight: 700; color: #fff; background: var(--c); vertical-align: middle; }
.kb-row .g { width: 18px; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: 11px; }
.kb-row .gi { width: 14px; height: 12px; border-radius: 3px; background: var(--g); }
.kb-row.grp { font-weight: 600; }
.kb-row .r { flex: none; margin-left: auto; padding-left: 10px; font-size: 11.5px; color: rgba(255, 255, 255, .8); }
.kb-row.sel { background: rgba(255, 255, 255, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13); }

/* Little Kite over Slack, then the page in Chrome */
.slack .side { width: 170px; background: #3f0e40; color: #e9dbe9; padding: 14px 12px; font-size: 12px; }
.slack .side b { display: block; color: #fff; font-size: 14px; margin-bottom: 14px; }
.slack .side div { padding: 3px 6px; border-radius: 5px; }
.slack .side div.on { background: #1164a3; color: #fff; }
.slack .main { flex: 1; display: flex; flex-direction: column; }
.slack .hd { height: 44px; border-bottom: 1px solid #eee; display: flex; align-items: center; padding: 0 18px; font-weight: 700; }
.slack .msgs { padding: 16px 18px; display: grid; gap: 14px; max-width: 360px; }
.slack .msg { display: flex; gap: 10px; }
.slack .msg .av { width: 34px; height: 34px; border-radius: 8px; background: var(--a); flex: none; }
.slack .msg .who { font-weight: 700; font-size: 13px; }
.slack .msg .who span { font-weight: 400; color: #616061; font-size: 11px; margin-left: 6px; }
.slack .msg a { color: #1264a3; text-decoration: none; }
.slack .msg a.hot { text-decoration: underline; }
.lk { position: absolute; left: 392px; top: 104px; width: 352px; height: 312px; border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 28px 70px rgba(0, 0, 0, .5); opacity: 0; transform: scale(.6); transform-origin: 0 0; transition: opacity 260ms, transform 360ms cubic-bezier(.2, 1.2, .4, 1); }
.lk.on { opacity: 1; transform: none; }
.lk.on.grow { opacity: 0; transform: scale(1.4); transition: opacity 300ms, transform 400ms ease-out; }
.lk-top { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 10px; color: #f2f2f3; font-size: 11.5px; background: color-mix(in srgb, #0a84ff 14%, rgba(30, 30, 36, .96)); }
.lk-top .b { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.lk-top .b svg { width: 12px; height: 12px; }
.lk-top .u { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lk .pg { top: 38px; }
.lk .gh h2 { font-size: 18px; }

/* the toolbar's extension buttons (the pinned ones, then the puzzle) and its menus */
.mb-ext { flex: none; display: flex; align-items: center; gap: 2px; margin-left: -4px; }
.xb { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #4a4a50; }
.xb svg { width: 16px; height: 16px; }
.xb svg.kite { width: 18px; height: 18px; }
.xb.new { animation: pop 380ms cubic-bezier(.2, 1.4, .4, 1); }
.xb.ok { color: #fff; background: #1f9d55; }
.xb.ok svg { opacity: 0; }
.xb.ok::after { content: ''; position: absolute; inset: 0; background: center / 15px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); animation: pop 300ms; }
.xpanel, .kpop { position: absolute; right: 10px; top: 38px; z-index: 30; width: 236px; padding: 8px; border-radius: 12px; background: #fff; font-size: 12.5px;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .18), 0 12px 32px rgba(0, 0, 0, .22); animation: menu-in 180ms ease-out; transform-origin: 90% 0; }
.xpanel.out, .kpop.out, .ed.out, .sticky.out { opacity: 0; transform: scale(.97); transition: opacity 180ms, transform 180ms; }
@keyframes menu-in { from { opacity: 0; transform: scale(.96) translateY(-4px); } }
.xp-h { padding: 4px 8px 8px; font-weight: 700; font-size: 13px; }
.xp-r { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 8px; border-radius: 8px; }
.xp-r .xi { width: 18px; height: 18px; display: grid; place-items: center; color: #4a4a50; }
.xp-r .xi svg { width: 16px; height: 16px; }
.xp-r .nm { flex: 1; }
.xp-r .pinb { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #8a8a90; transition: color 200ms, background 200ms; }
.xp-r .pinb svg { width: 15px; height: 15px; }
.xp-r .pinb.on { color: #0b57d0; background: #e8f0fe; }
.xp-r .pinb.on svg { fill: currentColor; }
.xp-f { margin-top: 4px; padding: 9px 8px 4px; border-top: 1px solid #ececf0; color: #3a3a3f; }

/* Kite's popup on a site: Boost on, dark mode, a font, Edit this site */
.kpop { width: 228px; padding: 10px; }
.kp-site { display: flex; align-items: center; gap: 8px; padding: 2px 4px 10px; font-weight: 700; }
.kp-row { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 4px; border-top: 1px solid #f0f0f3; }
.sw { position: relative; width: 30px; height: 18px; border-radius: 9px; background: #d9d9de; transition: background 200ms; }
.sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform 200ms; }
.sw.on { background: #0a84ff; }
.sw.on::after { transform: translateX(12px); }
.kp-seg { display: flex; padding: 2px; border-radius: 8px; background: #efeff2; }
.kp-seg i { font-style: normal; padding: 2px 7px; border-radius: 6px; font-size: 11px; color: #3a3a3f; }
.kp-seg i.on { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); font-weight: 600; }
.kp-btn { margin-top: 8px; padding: 7px; border-radius: 8px; text-align: center; font-weight: 600; color: #fff; background: #0a84ff; }

/* a right-click menu, macOS style */
.ctx { position: absolute; z-index: 50; min-width: 190px; padding: 5px; border-radius: 9px; font-size: 12.5px; color: #1d1d1f; background: rgba(246, 246, 248, .96); backdrop-filter: blur(16px);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .22), 0 10px 30px rgba(0, 0, 0, .25); animation: menu-in 140ms ease-out; transform-origin: 0 0; }
.ctx .ci { display: flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 5px; white-space: nowrap; }
.ctx .ci .sub { margin-left: auto; padding-left: 16px; }
.ctx .ci.hl { color: #fff; background: #0a64e0; }
.ctx hr { margin: 4px 8px; border: 0; border-top: 1px solid rgba(0, 0, 0, .1); }

/* Chrome's bubble for a new group: its name, its color */
.g-bubble { position: absolute; z-index: 30; width: 210px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .18), 0 12px 32px rgba(0, 0, 0, .22); animation: menu-in 180ms ease-out; }
.gb-f { display: flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 2px #0a84ff; font-size: 13px; }
.gb-f .caret, .st-t .caret { width: 1.5px; height: 15px; margin-left: 1px; background: #1d1d1f; animation: blink 1s steps(1) infinite; }
.gb-c { display: flex; gap: 8px; margin-top: 10px; }
.gb-c i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); }
.gb-c i.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }

/* a toast in the page */
.toast { position: absolute; left: 50%; bottom: 18px; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 12px; color: #fff;
  background: rgba(28, 28, 32, .94); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); opacity: 0; transform: translate(-50%, 10px); transition: opacity 250ms, transform 300ms cubic-bezier(.2, 1.2, .4, 1); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast .ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #1f9d55; }
.toast .ok svg { width: 14px; height: 14px; stroke-width: 3; }
.toast b { display: block; font-size: 13px; }
.toast span { font-size: 12px; opacity: .8; }
/* tracking parameters in the omnibox: struck out when copied */
.trk { color: #8a8a90; transition: color 200ms, background 200ms; }
.trk.cut { color: #d70015; background: #ffe3e3; text-decoration: line-through; border-radius: 3px; }

/* the Kite Bar, more: sections, folders (a step in per level), ★ and −, alone on the desktop (Kite Helper) */
.kb.tall { top: 10px; }
.kb.float { position: absolute; left: 165px; top: 80px; z-index: 20; }
.kb-sec { padding: 6px 10px 2px; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.kb-row .g svg { width: 12px; height: 12px; }
.kb-row[style*="--d"] { padding-left: calc(10px + var(--d) * 18px); }
.kb-row.asleep .tt, .kb-row.asleep .fav { opacity: .5; }
.kb-row.new { animation: tab-in 300ms ease-out; }
.kb-row.fold { font-weight: 600; gap: 6px; }
.kb-row .fc { width: 14px; display: grid; place-items: center; opacity: .7; }
.kb-row .fc svg { width: 12px; height: 12px; transform: rotate(-90deg); transition: transform 200ms; }
.kb-row.fold.open .fc svg { transform: none; }
.kb-row .fi { width: 16px; height: 16px; color: var(--g); }
.kb-row .fi svg { width: 16px; height: 16px; fill: color-mix(in srgb, var(--g) 35%, transparent); }
.kb-row .r .rb { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 4px; border-radius: 6px; font-size: 13px; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .1); vertical-align: middle; }
.kb-row .r .rb.star { opacity: 0; transition: opacity 150ms; }
.kb-row.sel .r .rb.star, .kb-row .r .rb.star.on { opacity: 1; }
.kb-row .r .rb.star.on { color: #ffd60a; }
.kb-row .r .n { display: inline-block; min-width: 14px; margin-left: 6px; text-align: right; }

/* the spaces editor (⌃E): a column per space */
.se { position: absolute; inset: 80px 70px 26px; z-index: 25; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #f4f4f7;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .22), 0 30px 70px rgba(0, 0, 0, .4); opacity: 0; transform: scale(.96); pointer-events: none; transition: opacity 260ms, transform 320ms cubic-bezier(.2, 1.2, .4, 1); }
.se.on { opacity: 1; transform: none; }
.se-top { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #fff; border-bottom: 1px solid #e4e4ea; }
.se-top .tl { display: flex; gap: 6px; }
.se-top .tl i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.se-top .tl i:nth-child(2) { background: #febc2e; }
.se-top .tl i:nth-child(3) { background: #28c840; }
.se-top span { color: #6e6e73; font-size: 12px; }
.se-cols { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px; }
.se-col { border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #e6e6ec; padding: 8px; }
.se-h { display: flex; align-items: center; gap: 8px; padding: 6px 6px 10px; font-weight: 700; font-size: 12.5px; border-bottom: 2px solid var(--c); margin-bottom: 6px; }
.se-h .n { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #fff; background: var(--c); }
.se-tabs { display: flex; flex-direction: column; gap: 2px; min-height: 40px; }
.se-row { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 7px; font-size: 11.5px; background: #fff; transition: transform 650ms cubic-bezier(.4, 0, .2, 1), box-shadow 200ms, background 300ms; }
.se-row .tt { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.se-row.lift { position: relative; z-index: 5; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.se-row.flash { background: color-mix(in srgb, #30d158 18%, #fff); }

/* Zap: a pill on top of the page, the element under the cursor outlined, then gone */
.zap-pill { position: absolute; left: 50%; bottom: 14px; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px; font-weight: 600; font-size: 12px; color: #fff; white-space: nowrap;
  background: rgba(28, 28, 32, .94); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); opacity: 0; transform: translate(-50%, 8px); transition: opacity 220ms, transform 260ms; }
.zap-pill.on { opacity: 1; transform: translate(-50%, 0); }
.zap-pill .zi { color: #ffd60a; display: grid; }
.zap-pill .zi svg { width: 14px; height: 14px; fill: currentColor; }
.zap-pill .zb { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.zap-pill .zb.dn { background: #0a84ff; }
.zap-hl { outline: 2px solid #ff375f; outline-offset: 2px; background-color: rgba(255, 55, 95, .12) !important; }
.art .ad, .art .nl { transition: max-height 450ms ease, opacity 300ms, margin 450ms, padding 450ms, transform 300ms; }
.art .ad.zapped { max-height: 0 !important; opacity: 0; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }
.art .nl.zapped { opacity: 0; transform: scale(.9); }

/* Edit this site: a panel on the page */
.ed { position: absolute; right: 12px; top: 12px; bottom: 12px; z-index: 20; width: 220px; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; color: #f2f2f3;
  background: rgba(30, 30, 36, .96); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .15), 0 18px 44px rgba(0, 0, 0, .4); animation: menu-in 220ms ease-out; }
.ed-h { padding: 12px 14px 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ed-h b { display: block; font-size: 13px; }
.ed-h span { font-size: 11px; opacity: .6; }
.ed-b { flex: 1; padding: 10px 12px; }
.ed-l { display: flex; justify-content: space-between; font-weight: 600; font-size: 11.5px; margin-bottom: 8px; }
.ed-l span { padding: 1px 7px; border-radius: 6px; background: #1f9d55; font-size: 10.5px; }
.ed .code { min-height: 90px; margin: 0; padding: 10px; border-radius: 8px; background: rgba(0, 0, 0, .35); font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: #9cdcfe; white-space: pre-wrap; }
.ed-f { display: flex; justify-content: space-between; padding: 10px 12px; }
.ed-f span { padding: 5px 12px; border-radius: 8px; font-weight: 600; font-size: 12px; background: rgba(255, 255, 255, .12); }
.ed-f .save { background: #0a84ff; }

/* a sticky note */
.sticky { position: absolute; right: 22px; top: 18px; z-index: 15; width: 170px; min-height: 110px; border-radius: 6px; background: #fff3a8; color: #3b3200; box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 10px 26px rgba(0, 0, 0, .22);
  transition: transform 800ms cubic-bezier(.4, 0, .2, 1), opacity 200ms; transform: rotate(-1.5deg); }
.sticky.new { animation: pop 380ms cubic-bezier(.2, 1.4, .4, 1); }
.sticky.reload { animation: reload 600ms ease-out; }
.st-h { display: flex; justify-content: flex-end; height: 20px; padding: 2px 4px; border-radius: 6px 6px 0 0; background: #ffe866; }
.st-h .x { width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; font-size: 12px; opacity: 0; }
.sticky.hover .st-h .x { opacity: 1; background: rgba(0, 0, 0, .1); }
.st-t { padding: 8px 10px; font: 500 13px/1.35 'Marker Felt', 'Chalkboard SE', -apple-system, system-ui, sans-serif; }
.st-t .caret { display: inline-block; vertical-align: -2px; background: #3b3200; }
.pg-wrap.reload { animation: reload 600ms ease-out; }
@keyframes reload { 0% { opacity: .15; } 100% { opacity: 1; } }

/* a link rule (Kite Helper) */
.rule { position: absolute; right: 54px; bottom: 34px; z-index: 30; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .97); font-size: 12.5px;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 18px 44px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(10px); transition: opacity 260ms, transform 320ms cubic-bezier(.2, 1.2, .4, 1); }
.rule.on { opacity: 1; transform: none; }
.rl-h { display: flex; align-items: center; gap: 6px; margin-bottom: 9px; font-size: 11.5px; font-weight: 600; color: #6e6e73; }
.rl-h svg { width: 14px; height: 14px; }
.rl { display: flex; align-items: center; gap: 8px; }
.rl .ap, .rl .dm { display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: #f0f0f4; font-weight: 600; }
.rl .ap i { width: 12px; height: 12px; border-radius: 3px; background: var(--a); }
.rl .ap b { color: #1f9d55; }
.rl .ar { color: #8a8a90; }

/* more pages: Gmail, an event, a moodboard, YouTube, Translate, Figma, a news site, a blog, docs, a dashboard, a shop, a clock */
.gm-hd { display: flex; align-items: center; gap: 20px; height: 50px; padding: 0 18px; }
.gm-hd b { font: 500 18px -apple-system, system-ui, sans-serif; color: #5f6368; }
.gm-s { flex: 1; max-width: 340px; height: 34px; border-radius: 17px; background: #eaf1fb; display: flex; align-items: center; gap: 8px; padding: 0 14px; color: #5f6368; font-size: 12.5px; }
.gm-s svg { width: 15px; height: 15px; }
.gm-r { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 18px; border-bottom: 1px solid #f1f3f4; font-size: 12.5px; color: #3c4043; }
.gm-r .f { width: 110px; flex: none; }
.gm-r .s { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gm-r .t { font-size: 11.5px; }
.gm-r.u { font-weight: 700; color: #1f1f1f; background: #fff; }
.gm-r:not(.u) { background: #f6f8fc; }
.ev { background: #f6f8fc; }
.ev-card { margin: 26px auto 0; width: 380px; padding: 22px; border-radius: 14px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.ev-t { display: flex; align-items: center; gap: 12px; }
.ev-t i { width: 14px; height: 14px; border-radius: 4px; background: #e67c73; }
.ev h2 { margin: 0; font: 400 22px -apple-system, system-ui, sans-serif; }
.ev p { margin: 6px 0 14px 26px; color: #3c4043; font-size: 12.5px; }
.ev-meet { display: inline-block; margin: 0 0 14px 26px; padding: 7px 14px; border-radius: 8px; background: #0b57d0; color: #fff; font-weight: 600; font-size: 12px; }
.ev-g { display: flex; align-items: center; margin: 0 0 14px 26px; }
.ev-g span { width: 22px; height: 22px; margin-right: -6px; border-radius: 50%; background: var(--a); box-shadow: 0 0 0 2px #fff; }
.ev-g em { margin-left: 14px; font-style: normal; font-size: 12px; color: #5f6368; }
.ev .bar { margin-left: 26px; }
.mood { padding: 18px 22px; }
.md-hd { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.md-hd b { font: 700 18px Georgia, serif; }
.md-hd span { color: #6e6e73; font-size: 12px; }
.md-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.md-grid i { height: 112px; border-radius: 4px; }
.yt-hd { display: flex; align-items: center; gap: 30px; height: 50px; padding: 0 18px; }
.yt-logo { display: flex; align-items: center; gap: 4px; font: 700 15px -apple-system, system-ui, sans-serif; letter-spacing: -.4px; }
.yt-logo i { width: 22px; height: 15px; border-radius: 4px; background: #ff0033; }
.yt-q { flex: 1; max-width: 300px; height: 30px; border-radius: 15px; box-shadow: inset 0 0 0 1px #d3d3d3; display: flex; align-items: center; padding: 0 14px; font-size: 13px; }
.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 12px; padding: 4px 18px; }
.yt-v i { display: block; height: 82px; border-radius: 10px; margin-bottom: 6px; }
.yt-v b { display: block; font-size: 12px; font-weight: 600; }
.yt-v span { font-size: 11px; color: #606060; }
.tr { padding: 18px 22px; background: #f8f9fa; }
.tr-hd { font-size: 18px; color: #5f6368; margin-bottom: 16px; }
.tr-hd b { font-weight: 500; color: #4285f4; }
.tr-langs { display: flex; gap: 40px; margin-bottom: 10px; font-size: 13px; }
.tr-langs .on { color: #0b57d0; font-weight: 600; border-bottom: 2px solid #0b57d0; padding-bottom: 4px; }
.tr-panes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tr-panes div { height: 150px; padding: 16px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); font-size: 18px; }
.tr-panes .out { background: #f1f3f4; }
.fg { background: #e5e5e5; }
.fg-hd { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #2c2c2c; color: #fff; font-size: 12.5px; font-weight: 600; }
.fg-logo { display: grid; grid-template-columns: 7px 7px; gap: 1px; }
.fg-logo i { width: 7px; height: 7px; border-radius: 50%; background: #f24e1e; }
.fg-logo i:nth-child(2) { background: #a259ff; }
.fg-logo i:nth-child(3) { background: #1abcfe; }
.fg-cv { position: relative; height: 100%; }
.fg-f { position: absolute; width: 140px; height: 240px; padding: 14px 12px; border-radius: 4px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.fg-f .h { display: block; height: 70px; border-radius: 8px; margin-bottom: 12px; background: linear-gradient(135deg, #8ec5ff, #0a84ff); }
.fg-f .h.p { background: linear-gradient(135deg, #e0c3fc, #bf5af2); }
.fg-f .h.g { background: linear-gradient(135deg, #b9f6ca, #30d158); }
.fg-f .b { display: block; height: 26px; margin-top: 70px; border-radius: 8px; background: #1d1d1f; }
.art-hd { display: flex; align-items: baseline; gap: 14px; padding: 14px 22px 10px; border-bottom: 3px solid #1d1d1f; }
.art-hd b { font: 900 20px Georgia, serif; letter-spacing: 1px; }
.art-hd span { font-size: 12px; color: #6e6e73; }
.art .ad { max-height: 60px; margin: 12px 22px 0; padding: 14px; border-radius: 6px; text-align: center; font-weight: 800; font-size: 14px; color: #3b2300; background: repeating-linear-gradient(45deg, #ffd60a, #ffd60a 14px, #ffcc00 14px, #ffcc00 28px); overflow: hidden; }
.art-in { display: flex; gap: 20px; padding: 16px 22px; }
.art-main { flex: 1; }
.art h2 { margin: 0 0 4px; font: 700 24px/1.2 Georgia, serif; }
.art .by { margin: 0 0 12px; font-size: 11.5px; color: #6e6e73; }
.art .nl { flex: none; width: 140px; height: 150px; padding: 14px; border-radius: 10px; background: #1d1d1f; color: #fff; display: flex; flex-direction: column; gap: 6px; }
.art .nl span { font-size: 11px; opacity: .7; }
.art .nl i { margin-top: auto; padding: 6px; border-radius: 6px; text-align: center; font-style: normal; font-weight: 700; font-size: 12px; background: #ff375f; }
.blog { padding: 22px 46px; color: #222; transition: filter 450ms, background 450ms; }
.blog .bl-hd { margin-bottom: 18px; font-weight: 800; font-size: 13px; color: #0e7490; letter-spacing: .3px; }
.blog h1 { margin: 0 0 12px; font: 800 28px/1.15 -apple-system, system-ui, sans-serif; transition: color 300ms; }
.blog p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; max-width: 420px; }
.blog.dark { filter: invert(.9) hue-rotate(180deg); }
.blog.serif h1, .blog.serif p { font-family: Georgia, 'Times New Roman', serif; }
.blog.css h1 { color: #f97316; }
.docs { display: flex; }
.dc-side { width: 130px; padding: 18px 14px; background: #f6f8fa; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: #57606a; }
.dc-side b { color: #1d1d1f; margin-bottom: 4px; }
.dc-side .on { color: #635bff; font-weight: 600; }
.dc-main { flex: 1; padding: 20px 24px; }
.dc-main h2 { margin: 0 0 12px; font: 700 22px -apple-system, system-ui, sans-serif; }
.dc-main pre { margin: 6px 0 14px; padding: 12px; border-radius: 8px; background: #0d1117; color: #c9d1d9; font: 11.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.dash { padding: 18px 22px; background: #f7f7fb; }
.ds-hd { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.ds-hd b { font-size: 18px; }
.ds-hd span { font-size: 12px; color: #1f9d55; font-weight: 600; }
.ds-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.ds-kpis div { padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.ds-kpis span { display: block; font-size: 11.5px; color: #6e6e73; }
.ds-kpis b { font-size: 22px; font-variant-numeric: tabular-nums; }
.ds-chart { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.ds-chart i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(#7a73ff, #635bff); transition: height 600ms cubic-bezier(.2, 1, .4, 1); }
.shop { background: #fff; }
.sh-hd { display: flex; align-items: center; gap: 18px; height: 46px; padding: 0 22px; border-bottom: 1px solid #eee; font-size: 12.5px; }
.sh-hd b { font-size: 16px; margin-right: 10px; }
.sh-in { display: flex; gap: 24px; padding: 22px; }
.sh-img { width: 220px; height: 200px; border-radius: 14px; background: radial-gradient(60% 40% at 50% 45%, #ff7a59 0 60%, transparent 61%), linear-gradient(160deg, #e0f2fe, #bae6fd); }
.sh-in > div:last-child { flex: 1; }
.shop h2 { margin: 6px 0 4px; font: 800 24px -apple-system, system-ui, sans-serif; }
.shop .pr { margin: 0 0 14px; font-size: 16px; font-weight: 600; color: #1f9d55; }
.shop .buy { display: inline-block; margin-top: 8px; padding: 9px 18px; border-radius: 999px; background: #1d1d1f; color: #fff; font-weight: 700; font-size: 12.5px; }
.clk { display: flex; flex-direction: column; align-items: center; padding-top: 30px; background: #fff; }
.ck-hd { align-self: flex-start; margin: -14px 0 0 22px; font-size: 16px; color: #6e6e73; }
.ck-hd b { color: #1d1d1f; }
.ck-t { margin-top: 26px; font: 700 110px/1 -apple-system, system-ui, sans-serif; letter-spacing: -4px; font-variant-numeric: tabular-nums; color: #1d1d1f; }
.ck-c { margin-top: 12px; font-size: 16px; color: #3a3a3f; }

/* a link dragged: the split-view drop zone on the right (content.js DropZone), the page split in two once dropped */
.sv-zone { position: absolute; top: 12px; right: 12px; bottom: 12px; width: 30%; display: grid; place-items: center; align-content: center; gap: 10px; z-index: 3;
  border-radius: 14px; border: 2px dashed rgba(255, 255, 255, .7); background: rgba(18, 18, 20, .55); color: #f2f2f3; font: 600 13px -apple-system, system-ui, sans-serif;
  opacity: 0; transform: translateX(16px); transition: opacity 160ms, transform 200ms cubic-bezier(.2, .9, .25, 1), background 120ms, border-color 120ms; pointer-events: none; }
.sv-zone svg { width: 28px; height: 28px; }
.sv-zone.on { opacity: 1; transform: none; }
.sv-zone.over { background: rgba(110, 86, 248, .78); border: 2px solid #fff; }
.sv-pane { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; background: #f5f5f7; border-left: 3px solid #d0d0d6; z-index: 2;
  display: grid; place-items: start center; padding-top: 24px; opacity: 0; transform: translateX(30px); transition: opacity 300ms, transform 360ms cubic-bezier(.2, .9, .25, 1); }
.sv-pane .pk-panel { opacity: 1; transform: none; width: 88%; box-shadow: none; }
.split .sv-pane { opacity: 1; transform: none; }
.split .g-res, .split .g-head { max-width: 46%; }
