/* Built by keycap_build.py from pains/NN.css: do not edit here. */

/* ---------- 24 · Séquence Framer ---------- */
/* Riwan's Framer sequence, played by itself once, with little to read and real screens doing the work, at a pace you can follow:
   people message you on Slack and WhatsApp, you move posts in the Notion calendar, check the numbers in Google Sheets, start a script
   in Google Docs, schedule on Buffer, and the script stays unfinished under a pile of notifications; then every window goes back into the dock,
   the dock folds into one key, and that key grows into the turning logo. The title only rolls through four short lines.
   24.js plays it all; this file only says what each state looks like. */
.p24 { display: flex; flex-direction: column; align-items: center; }

/* the title: every line in the same place, each one rolls in from below and out over the top, like a drum */
.p24-says { display: grid; place-items: center; width: 100%; height: 64px; margin-bottom: 28px; perspective: 700px; }
.p24-s { grid-area: 1 / 1; margin: 0; color: var(--g7); font-size: clamp(30px, 3.6vw, 52px); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; text-align: center; text-wrap: balance; opacity: 0; transform: translateY(.5em) rotateX(-80deg); backface-visibility: hidden; transition: opacity .35s, transform .55s cubic-bezier(.2, .8, .2, 1); }
.p24-it { font-weight: 500; letter-spacing: -0.03em; }
.p24-s.p24-say-in { opacity: 1; transform: none; }
.p24-s.p24-say-out { opacity: 0; transform: translateY(-.5em) rotateX(80deg); }

/* the screen */
/* isolated, so the logo and the windows (z-index up to 60) never rise over the page's sticky header */
.p24-screen { position: relative; isolation: isolate; width: 100%; height: 540px; overflow: clip; }
.p24-mess { position: absolute; inset: 0; }

/* the cursor: its tip is the point it clicks */
.p24-cur { position: absolute; left: 0; top: 0; z-index: 50; width: 20px; height: 24px; margin: -2px 0 0 -2px; opacity: 0; transition: opacity .25s; pointer-events: none; }
.p24-cur svg { display: block; filter: drop-shadow(0 1px 1.5px rgba(24, 25, 37, .3)); transform-origin: 2px 2px; }
.p24-cur.p24-on { opacity: 1; }

/* the iPhone's status bar, keyboard, dock and own apps only show on a phone; no clock on the desktop, time does not pass */
.p24-sb, .p24-kb, .p24-clock, .p24-iosdock, .p24-bf-head, .p24-win.p24-ph, .p24-dock > .p24-ph { display: none; }
.p24-wa-input .p24-type { display: none; }

.p24-clock { position: absolute; z-index: 46; opacity: 0; transition: opacity .3s; }
.p24-clock.p24-on { opacity: 1; }
.p24-clock.p24-on.p24-off { opacity: 0; }

/* the dock fills from the middle, badges come up with the notifications, then it folds into one key: Content Machine */
.p24-dock { position: absolute; left: 50%; bottom: 14px; z-index: 30; display: flex; padding: 8px; border-radius: 16px; background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 1px rgba(17, 24, 39, .07), 0 18px 34px -22px rgba(24, 25, 37, .45); translate: -50% 0; opacity: 0; transition: opacity .3s; }
.p24-dock > span { position: relative; display: block; width: 0; margin: 0; opacity: 0; scale: .6; transition: width .35s, margin .35s, opacity .3s, scale .35s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(.05s + var(--i, 0) * .045s); }
.p24-dock img, .p24-dock svg { display: block; width: 34px; height: 34px; border-radius: 8px; }
.p24-dock.p24-on { opacity: 1; }
.p24-dock.p24-on > span:not(.p24-cm) { width: 34px; margin: 0 3px; opacity: 1; scale: 1; }
.p24-dock.p24-on.p24-one > span:not(.p24-cm) { width: 0; margin: 0; opacity: 0; scale: .6; transition-delay: calc((7 - var(--i, 0)) * .045s); }
.p24-dock.p24-on.p24-one > .p24-cm { width: 34px; margin: 0 3px; opacity: 1; scale: 1; transition-delay: .3s; }
.p24-dock.p24-on.p24-gone { opacity: 0; }
.p24-dock em { position: absolute; top: -6px; right: -7px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: #f0412f; box-shadow: 0 0 0 2px #ffffff; color: #fff; font: 600 10.5px/18px var(--font); font-style: normal; text-align: center; white-space: nowrap; scale: 0; transition: scale .3s cubic-bezier(.3, 1.6, .5, 1); }
.p24-dock em.p24-on { scale: 1; }
.p24-cm { display: grid; place-items: center; }
.p24-mini { position: relative; display: block; width: 34px; height: 34px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(24, 25, 37, .08); }
.p24-mini i, .p24-logo i { position: absolute; display: block; width: 51.6%; height: 51.6%; }
.p24-mini i { width: 12.4px; height: 12.4px; }
.p24-mini i:nth-child(1) { left: 5px; top: 5px; }
.p24-mini i:nth-child(2) { left: 16.6px; top: 5px; }
.p24-mini i:nth-child(3) { left: 5px; top: 16.6px; }
.p24-mini i:nth-child(4) { left: 16.6px; top: 16.6px; }

/* notifications land at the top right, the newest on top, and pile up when nobody answers */
.p24-notes { position: absolute; top: 4px; right: 0; z-index: 40; width: 300px; height: 280px; overflow: clip; -webkit-mask: linear-gradient(#000 calc(100% - 26px), transparent); mask: linear-gradient(#000 calc(100% - 26px), transparent); }
.p24-n { height: 0; margin: 0; transition: height .4s cubic-bezier(.2, .8, .2, 1), margin .4s cubic-bezier(.2, .8, .2, 1); }
.p24-n.p24-on { height: 62px; margin-bottom: 8px; }
.p24-n.p24-on.p24-off { height: 0; margin-bottom: 0; transition-delay: .12s; }
.p24-card { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 1px 10px; align-items: start; height: 62px; padding: 10px 14px 10px 10px; box-sizing: border-box; border-radius: 16px; background: rgba(255, 255, 255, .97); box-shadow: 0 0 0 1px rgba(17, 24, 39, .07), 0 14px 26px -20px rgba(24, 25, 37, .45); text-align: left; opacity: 0; translate: 0 -10px; transition: opacity .3s, translate .4s cubic-bezier(.2, .8, .2, 1); }
.p24-on > .p24-card { opacity: 1; translate: 0 0; }
.p24-on.p24-off > .p24-card { opacity: 0; translate: 70px 0; }
.p24-card img { grid-row: span 2; display: block; width: 32px; height: 32px; border-radius: 8px; }
.p24-card b { overflow: hidden; color: var(--g7); font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.p24-card span { display: -webkit-box; overflow: hidden; color: var(--g5); font-size: 12px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* the windows: each opens in front of the others, the older ones stay behind */
.p24-win { position: absolute; z-index: 10; overflow: hidden; width: 540px; height: 340px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(17, 24, 39, .08), 0 24px 44px -26px rgba(24, 25, 37, .5); text-align: left; opacity: 0; scale: .92; transform-origin: 50% 50%; transition: opacity .2s, scale .35s cubic-bezier(.2, .9, .3, 1.1); }
.p24-win.p24-open { opacity: 1; scale: 1; }
.p24-win[data-app="slack"] { left: 3%; top: 2%; }
.p24-win[data-app="whatsapp"] { left: 50%; top: 6%; }
.p24-win[data-app="notion"] { left: 11%; top: 3%; width: 640px; height: 440px; }
.p24-win[data-app="excel"] { left: 42%; top: 7%; width: 600px; height: 432px; }
.p24-win[data-app="docs"] { left: 21%; top: 1%; width: 620px; height: 420px; }
.p24-win[data-app="buffer"] { left: 31%; top: 30%; }
.p24-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 35px; padding: 0 14px; background: #1f1f23; }
.p24-bar > i { display: block; width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.p24-bar > i:nth-child(2) { background: #febc2e; }
.p24-bar > i:nth-child(3) { background: #28c840; }
.p24-bar span { position: absolute; left: 72px; bottom: 0; display: flex; align-items: center; gap: 7px; height: 27px; padding: 0 40px 0 14px; border-radius: 9px 9px 0 0; background: #fff; color: #222; font-size: 12px; font-weight: 500; white-space: nowrap; }
.p24-bar img, .p24-bar svg { display: block; width: 14px; height: 14px; border-radius: 3px; }
.p24-msg { opacity: 0; translate: 0 8px; transition: opacity .3s, translate .45s cubic-bezier(.2, .8, .2, 1); }
.p24-msg.p24-on { opacity: 1; translate: 0 0; }
.p24-face { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--c); color: #fff; font: 600 13px/1 var(--font); font-style: normal; }

/* Slack: people writing in #content-team */
.p24-sl-in { display: grid; grid-template-columns: 150px minmax(0, 1fr); height: calc(100% - 35px); }
.p24-sl-side { display: flex; flex-direction: column; gap: 3px; padding: 12px 10px; background: #3f0e40; color: rgba(255, 255, 255, .72); font-size: 12.5px; }
.p24-sl-side b { margin: 0 0 10px 7px; color: #fff; font-size: 14px; font-weight: 700; }
.p24-sl-side span { padding: 4px 7px; border-radius: 5px; white-space: nowrap; }
.p24-sl-side .p24-ch { background: #1164a3; color: #fff; }
.p24-sl-main { display: flex; flex-direction: column; min-width: 0; }
.p24-sl-head { padding: 10px 16px; border-bottom: 1px solid #ededf0; color: var(--g7); font-size: 13.5px; font-weight: 700; }
.p24-sl-msgs { display: flex; flex: 1; flex-direction: column; gap: 13px; padding: 14px 16px 0; overflow: hidden; }
.p24-sl .p24-msg { display: flex; gap: 10px; }
.p24-sl .p24-msg b { display: block; color: var(--g7); font-size: 13px; font-weight: 700; line-height: 1.3; }
.p24-sl .p24-msg time { margin-left: 5px; color: var(--g4); font-size: 11px; font-weight: 400; }
.p24-sl .p24-msg span { display: block; color: var(--g6); font-size: 13px; line-height: 1.4; }
.p24-sl-typing { height: 18px; padding: 0 16px; color: var(--g4); font-size: 11px; opacity: 0; transition: opacity .3s; }
.p24-sl.p24-typing .p24-sl-typing { opacity: 1; }
.p24-sl-input { margin: 0 14px 12px; padding: 9px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #dcdce2; color: var(--g4); font-size: 12.5px; }

/* WhatsApp: Luis, and your answer */
.p24-wa-in { display: flex; flex-direction: column; height: calc(100% - 35px); }
.p24-wa-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid #e9edef; background: #f0f2f5; }
.p24-wa-head .p24-face { border-radius: 50%; }
.p24-wa-head b { display: block; color: #111b21; font-size: 13.5px; font-weight: 600; }
.p24-wa-st { display: grid; font-size: 11.5px; }
.p24-wa-st em { grid-area: 1 / 1; color: #667781; font-style: normal; transition: opacity .2s; }
.p24-wa-st em + em { color: #1fa855; opacity: 0; }
.p24-wa.p24-typing .p24-wa-st em:first-child { opacity: 0; }
.p24-wa.p24-typing .p24-wa-st em + em { opacity: 1; }
.p24-wa-chat { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; background: #efeae2; }
.p24-bub { max-width: 72%; padding: 6px 9px 6px 10px; border-radius: 8px; background: #fff; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); color: #111b21; font-size: 13px; line-height: 1.35; }
.p24-bub time { float: right; margin: 6px 0 -4px 10px; color: #667781; font-size: 10.5px; }
.p24-mine { align-self: flex-end; background: #d9fdd3; }
.p24-wa-foot { padding: 8px 12px; background: #f0f2f5; }
.p24-wa-input { display: block; padding: 8px 14px; border-radius: 18px; background: #fff; color: #8696a0; font-size: 12.5px; }
.p24-wa-input em { font-style: normal; }
.p24-wa-input.p24-filled em { display: none; }
.p24-wa-input.p24-filled .p24-type { display: inline; margin: 0; color: #111b21; font-size: inherit; }

/* Notion, as in Riwan's capture: the month with its cards and tags; two cards are dragged to another day */
.p24-nd-in { padding: 6px 22px 0; color: #37352f; }
.p24-nd-crumb { display: flex; justify-content: space-between; color: #8c8b87; font-size: 10px; }
.p24-nd-title { display: block; margin: 16px 0 12px; font-size: 21px; font-weight: 700; }
.p24-nd-tools { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.p24-nd-view { padding: 4px 9px; border-radius: 6px; background: #f1f1ef; font-size: 10.5px; font-weight: 500; }
.p24-nd-new { padding: 4px 9px; border-radius: 5px; background: #2383e2; color: #fff; font-size: 10.5px; font-weight: 600; }
.p24-nd-month { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 11px; }
.p24-nd-month b { font-weight: 600; }
.p24-nd-month span { color: #6b6a66; font-size: 10px; }
.p24-nd-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-left: 1px solid #ededec; }
.p24-nd-grid em { padding: 0 0 4px; border-right: 1px solid transparent; color: #9b9a97; font-size: 9.5px; font-style: normal; text-align: center; }
.p24-nd-grid > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; height: 88px; padding: 4px; box-sizing: border-box; border-top: 1px solid #ededec; border-right: 1px solid #ededec; }
.p24-nd-grid > div.p24-we { background: #fbfbfa; }
.p24-nd-grid > div > b { align-self: flex-end; color: #9b9a97; font-size: 9.5px; font-weight: 400; }
.p24-ev { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 5px 5px 6px; box-sizing: border-box; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 15, 15, .1), 0 2px 4px rgba(15, 15, 15, .06); }
.p24-ev b { max-width: 100%; overflow: hidden; color: #37352f; font-size: 9px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.p24-ev u { padding: 0 4px; border-radius: 3px; background: color-mix(in srgb, var(--c) 16%, #fff); color: color-mix(in srgb, var(--c) 78%, #000); font-size: 8px; line-height: 12px; text-decoration: none; white-space: nowrap; }
.p24-drag { position: relative; z-index: 2; transition: box-shadow .2s, scale .2s; }
.p24-drag.p24-lift { box-shadow: 0 10px 20px -8px rgba(24, 25, 37, .4), 0 0 0 1px rgba(15, 15, 15, .1); scale: 1.05; }
.p24-drag.p24-hide { visibility: hidden; }
.p24-drop { visibility: hidden; }
.p24-drop.p24-on { visibility: visible; }

/* Google apps, as in Riwan's captures: the file's name and menus, the toolbar, a Share button */
.p24-gh { display: flex; align-items: center; gap: 10px; padding: 8px 14px 4px; }
.p24-gh img { display: block; width: 22px; height: 22px; }
.p24-gh div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p24-gh b { color: #1f1f1f; font-size: 13.5px; font-weight: 400; white-space: nowrap; }
.p24-gh span { color: #444; font-size: 10.5px; white-space: nowrap; }
.p24-share { margin-left: auto; padding: 6px 14px; border-radius: 16px; background: #c2e7ff; color: #001d35; font-size: 11px; font-style: normal; font-weight: 500; }
.p24-tools { display: flex; align-items: center; gap: 11px; margin: 4px 10px; padding: 5px 14px; overflow: hidden; border-radius: 16px; background: #edf2fa; color: #444; font-size: 11px; white-space: nowrap; }
.p24-tools b, .p24-tools i, .p24-tools u, .p24-tools s { color: #444; font-size: 11.5px; }

/* Excel: the analytics file, the Eng. % column selected for its average */
.p24-xd-in { display: flex; flex-direction: column; height: calc(100% - 35px); }
.p24-xd-top { display: flex; align-items: center; gap: 14px; padding: 7px 14px; background: #107c41; color: #fff; font-size: 11.5px; }
.p24-xd-top b { font-size: 13px; font-weight: 600; }
.p24-xd-top span { opacity: .85; }
.p24-xd-top em { margin-left: auto; padding: 3px 12px; border-radius: 4px; background: rgba(255, 255, 255, .18); font-style: normal; }
.p24-xd-tabs { display: flex; gap: 16px; padding: 7px 14px 4px; color: #444; font-size: 11px; }
.p24-xd-tabs b { padding-bottom: 3px; border-bottom: 2px solid #107c41; color: #107c41; font-weight: 600; }
.p24-xd-rib { margin: 2px 10px 6px; border-radius: 8px; background: #f3f3f3; }
.p24-xd-fx { display: flex; align-items: center; gap: 10px; padding: 4px 12px; border-top: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1; font-size: 11px; }
.p24-xd-ref, .p24-xd-f { display: grid; }
.p24-xd-ref { width: 54px; padding-right: 8px; border-right: 1px solid #e1e1e1; }
.p24-xd-ref em, .p24-xd-f em { grid-area: 1 / 1; color: #222; font-style: normal; opacity: 0; }
.p24-xd-fx > i { color: #888; font-family: Georgia, serif; font-style: italic; }
.p24-xd-ref em:first-child, .p24-xd-f em:first-child, .p24-xd.p24-s1 :is(.p24-xd-ref, .p24-xd-f) em:nth-child(2), .p24-xd.p24-s2 :is(.p24-xd-ref, .p24-xd-f) em:nth-child(3) { opacity: 1; }
.p24-xd.p24-s1 :is(.p24-xd-ref, .p24-xd-f) em:first-child, .p24-xd.p24-s2 :is(.p24-xd-ref, .p24-xd-f) em:first-child { opacity: 0; }
.p24-xd-grid { display: grid; grid-template-columns: 26px 1.3fr .75fr 1.15fr 1.15fr .95fr .8fr; overflow: hidden; font-size: 10px; }
.p24-xd-grid > * { height: 20px; padding: 0 6px; overflow: hidden; border-right: 1px solid #e3e3e3; border-bottom: 1px solid #e3e3e3; color: #222; font-style: normal; line-height: 20px; text-align: right; white-space: nowrap; }
.p24-xd-grid > span { padding: 0; background: #f5f5f5; color: #666; text-align: center; }
.p24-xd-grid > span + i { text-align: left; }
.p24-xd-grid > .p24-xd-h1, .p24-xd-grid > .p24-xd-h2 { grid-column: 2 / -1; text-align: left; }
.p24-xd-h1 { color: #107c41 !important; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.p24-xd-h2 { color: #888 !important; }
.p24-xd-k { color: #888 !important; font-size: 8.5px; font-weight: 600; letter-spacing: .03em; text-align: left !important; }
.p24-xd-v { color: #111 !important; font-size: 12px; font-weight: 700; text-align: left !important; }
.p24-xd-th { background: #107c41; color: #fff !important; font-size: 9px; font-weight: 600; }
.p24-xd.p24-s1 [data-cell="E6"] { box-shadow: inset 0 0 0 2px #107c41; }
.p24-xd.p24-s2 [data-cell^="E"] { background: rgba(16, 124, 65, .1); box-shadow: inset 2px 0 0 #107c41, inset -2px 0 0 #107c41; }
.p24-xd.p24-s2 [data-cell="E6"] { box-shadow: inset 2px 0 0 #107c41, inset -2px 0 0 #107c41, inset 0 2px 0 #107c41; }
.p24-xd.p24-s2 [data-cell="E11"] { box-shadow: inset 2px 0 0 #107c41, inset -2px 0 0 #107c41, inset 0 -2px 0 #107c41; }
.p24-xd-foot { display: flex; align-items: center; margin-top: auto; padding: 5px 12px; border-top: 1px solid #e1e1e1; background: #f5f5f5; color: #555; font-size: 10.5px; }
.p24-xd-foot > span { display: flex; gap: 14px; }
.p24-xd-foot b { color: #107c41; font-weight: 600; }
.p24-xd-sum { margin-left: auto; font-style: normal; opacity: 0; transition: opacity .2s; }
.p24-xd.p24-s2 .p24-xd-sum { opacity: 1; }

/* Notion: the forgotten post opens in a peek, its text is selected and copied */
.p24-nd-grid > div.p24-today > b { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #eb5757; color: #fff; }
.p24-peek { position: absolute; left: 50%; top: 92px; z-index: 5; display: flex; flex-direction: column; gap: 9px; width: 400px; padding: 20px 24px 22px; box-sizing: border-box; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 15, 15, .06), 0 24px 48px -16px rgba(15, 15, 15, .35); opacity: 0; translate: -50% 10px; scale: .97; transition: opacity .25s, translate .35s cubic-bezier(.2, .8, .2, 1), scale .35s cubic-bezier(.2, .8, .2, 1); }
.p24-peek.p24-on { opacity: 1; translate: -50% 0; scale: 1; }
.p24-peek-t { margin-bottom: 4px; color: #37352f; font-size: 16px; font-weight: 700; }
.p24-prop { display: flex; align-items: center; color: #37352f; font-size: 11.5px; }
.p24-prop em { width: 70px; color: #9b9a97; font-style: normal; }
.p24-prop u { padding: 1px 6px; border-radius: 3px; background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); text-decoration: none; }
.p24-peek-txt { margin: 8px 0 0; padding-top: 12px; border-top: 1px solid #ededec; color: #37352f; font-size: 12.5px; line-height: 1.6; }
.p24-sel { padding: 1px 0; background: linear-gradient(#cce0fa, #cce0fa) no-repeat; background-size: 0% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .6s linear; }
.p24-peek.p24-selected .p24-sel { background-size: 100% 100%; }
/* the keys pressed, next to the cursor: ⌘C, then ⌘V */
.p24-kc { position: absolute; left: 0; top: 0; z-index: 55; padding: 4px 8px; border-radius: 6px; background: var(--g7); color: #fff; font: 600 12px/1 var(--font); white-space: nowrap; opacity: 0; pointer-events: none; }

/* Google Docs: the YouTube script, typed, then left in the middle of a word */
.p24-gd-in { display: flex; flex-direction: column; height: calc(100% - 35px); }
.p24-gd-body { display: grid; flex: 1; grid-template-columns: 150px minmax(0, 1fr); min-height: 0; margin-top: 4px; border-top: 1px solid #e1e3e1; background: #f9fbfd; }
.p24-gd-out { display: flex; flex-direction: column; gap: 9px; padding: 14px 10px 0 14px; color: #444; font-size: 10px; }
.p24-gd-out span { overflow: hidden; padding-left: 10px; white-space: nowrap; text-overflow: ellipsis; }
.p24-gd-out .p24-gd-tab { margin-bottom: 2px; padding: 5px 10px; border-radius: 12px; background: #d3e3fd; color: #0b57d0; font-weight: 500; }
.p24-gd-page { position: relative; margin: 12px 16px 0 4px; padding: 26px 34px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #e3e3e3; }
.p24-gd-t { display: block; padding-bottom: 12px; border-bottom: 1px solid #ddd; color: #111; font-size: 16px; font-weight: 700; line-height: 1.3; }
.p24-gd-h { display: block; margin: 14px 0 8px; color: #111; font-size: 14px; font-weight: 700; }
.p24-gd-s { display: block; margin-bottom: 8px; color: #111; font-size: 11px; font-weight: 700; }
.p24-type { min-height: 1.5em; margin: 0 0 4px; color: #222; font-size: 11px; line-height: 1.5; }
.p24-gd-q { padding-left: 14px; font-style: italic; }
.p24-caret { display: none; width: 1.5px; height: 1.15em; margin-left: 1px; background: var(--g7); vertical-align: -0.2em; }
.p24-caret.p24-on { display: inline-block; }
.p24-caret.p24-on.p24-blink { animation: p24-blink 1s steps(1) infinite; }
@keyframes p24-blink { 50% { opacity: 0; } }

/* Buffer: choose the networks, the time, schedule */
.p24-bf-in { position: relative; display: flex; flex-direction: column; gap: 12px; height: calc(100% - 35px); padding: 16px 18px; box-sizing: border-box; }
.p24-bf-ch { display: flex; align-items: center; gap: 8px; }
.p24-bf-ch em { margin-right: 4px; color: var(--g5); font-size: 12px; font-style: normal; }
.p24-net { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; font: 700 11px/1 var(--font); opacity: .28; filter: grayscale(1); transition: opacity .2s, filter .2s, box-shadow .2s; }
.p24-net.p24-on { opacity: 1; filter: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--c); }
.p24-bf-text { flex: 1; padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px #e3e3e8; color: var(--g7); font-size: 13.5px; line-height: 1.5; }
.p24-bf-text em { color: var(--g4); font-style: normal; }
.p24-bf-text span, .p24-bf.p24-pasted .p24-bf-text em { display: none; }
.p24-bf.p24-pasted .p24-bf-text span { display: inline; }
.p24-bf-foot { display: flex; align-items: center; gap: 10px; }
.p24-bf-when { display: grid; padding: 8px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #e3e3e8; color: var(--g6); font-size: 12.5px; }
.p24-bf-when em { grid-area: 1 / 1; font-style: normal; white-space: nowrap; transition: opacity .2s; }
.p24-bf-when em + em { color: var(--g7); font-weight: 500; opacity: 0; }
.p24-bf-when.p24-on em:first-child { opacity: 0; }
.p24-bf-when.p24-on em + em { opacity: 1; }
.p24-bf-go { margin-left: auto; padding: 9px 16px; border-radius: 8px; background: #2c4bff; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.p24-toast { position: absolute; left: 50%; bottom: 66px; padding: 9px 14px; border-radius: 10px; background: var(--g7); color: #fff; font-size: 12.5px; white-space: nowrap; opacity: 0; translate: -50% 8px; transition: opacity .3s, translate .4s cubic-bezier(.2, .8, .2, 1); }
.p24-toast.p24-on { opacity: 1; translate: -50% 0; }

/* then the machine: one line under the title, and the logo, grown out of the dock key, turning */
.p24-end { position: absolute; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none; }
.p24-sub { margin: 0; color: var(--g5); font-size: 19px; line-height: 1.5; opacity: 0; translate: 0 8px; transition: opacity .6s, translate .8s cubic-bezier(.2, .8, .2, 1); }
.p24-sub.p24-on { opacity: 1; translate: 0 0; }
.p24-logo { position: relative; width: 280px; height: 280px; margin: auto 0; opacity: 0; }
.p24-logo.p24-on { opacity: 1; }
.p24-logo i:nth-child(1) { left: .3%; top: .3%; }
.p24-logo i:nth-child(2) { left: 48.1%; top: .3%; }
.p24-logo i:nth-child(3) { left: .3%; top: 48.1%; }
.p24-logo i:nth-child(4) { left: 48.1%; top: 48.1%; }
.p24-logo.p24-on i { animation: kc-run 16s linear infinite; }
.p24-logo.p24-on i:nth-child(2), .p24-logo.p24-on i:nth-child(3) { animation-direction: reverse; }

@media (min-width: 641px) and (max-width: 1000px) {
  .p24-screen { height: 500px; }
  .p24-notes { width: 270px; }
  .p24-win { transform: scale(.74); }
  .p24-win[data-app="slack"], .p24-win[data-app="notion"] { left: -6%; }
  .p24-win[data-app="whatsapp"], .p24-win[data-app="excel"] { left: auto; right: -6%; }
  .p24-win[data-app="docs"] { left: 6%; }
  .p24-win[data-app="buffer"] { left: 14%; }
  .p24-dock > span.p24-more { display: none; }
}
/* on a phone, the screen is an iPhone: a home screen of apps, each app opening full screen from its icon, taps instead of a cursor,
   a keyboard for the script, notifications as banners; at the end the phone goes and the logo stays */
@media (max-width: 640px) {
  .p24-says { height: 72px; margin-bottom: 22px; }
  .p24-s { max-width: 340px; font-size: 30px; }
  .p24-screen { width: min(100%, 340px); height: 640px; box-sizing: border-box; border: 7px solid #1c1c21; border-radius: 50px; background-color: #ffffff; transition: border-color .6s, background-color .6s; }
  .p24-screen::before, .p24-screen::after { content: ''; position: absolute; left: 50%; z-index: 46; background: #1c1c21; translate: -50% 0; transition: opacity .4s; }
  .p24-screen::before { top: 9px; width: 92px; height: 27px; border-radius: 14px; }
  .p24-screen::after { bottom: 7px; width: 112px; height: 4px; border-radius: 2px; }
  .p24-screen.p24-done { border-color: transparent; background-color: transparent; }
  .p24-screen.p24-done::before, .p24-screen.p24-done::after { opacity: 0; }
  /* the status bar: the time on the left, signal, wifi and battery on the right */
  .p24-clock { display: block; top: 15px; left: 34px; color: #111; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .p24-sb { position: absolute; top: 16px; right: 24px; z-index: 46; display: flex; align-items: center; gap: 5px; color: #111; fill: currentColor; opacity: 0; transition: opacity .3s; }
  .p24-sb.p24-on { opacity: 1; }
  .p24-sb.p24-on.p24-off { opacity: 0; }
  /* the home screen: the apps in a grid of four, no labels, under the apps that open over it */
  .p24-dock { z-index: 5; left: 20px; right: 20px; top: 70px; bottom: auto; display: grid; grid-template-columns: repeat(4, 1fr); justify-items: center; gap: 24px 0; padding: 0; border-radius: 0; background: none; box-shadow: none; translate: none; }
  .p24-dock > span, .p24-dock > span.p24-more, .p24-dock > span.p24-ph { display: block; }
  .p24-dock svg { display: block; width: 58px; height: 58px; }
  .p24-iosdock { position: absolute; left: 12px; right: 12px; bottom: 20px; z-index: 5; display: flex; justify-content: space-around; padding: 12px 8px; border-radius: 30px; background: rgba(24, 25, 37, .06); opacity: 0; transition: opacity .4s; }
  .p24-iosdock img { display: block; width: 58px; height: 58px; border-radius: 13px; }
  .p24-iosdock.p24-on { opacity: 1; }
  .p24-iosdock.p24-on.p24-off { opacity: 0; }
  .p24-dock img { width: 58px; height: 58px; border-radius: 14px; }
  .p24-dock.p24-on > span:not(.p24-cm), .p24-dock.p24-on.p24-one > span:not(.p24-cm) { width: 58px; margin: 0; }
  .p24-dock em { top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; font-size: 12px; line-height: 22px; }
  .p24-dock .p24-cm, .p24-dock.p24-on.p24-one > .p24-cm { position: absolute; left: 50%; top: 168px; width: 58px; margin: 0 0 0 -29px; }
  .p24-mini { width: 58px; height: 58px; border-radius: 14px; }
  .p24-mini i { width: 21px; height: 21px; }
  .p24-mini i:nth-child(1) { left: 8.1px; top: 8.1px; }
  .p24-mini i:nth-child(2), .p24-mini i:nth-child(4) { left: 28.2px; }
  .p24-mini i:nth-child(3), .p24-mini i:nth-child(4) { top: 28.2px; }
  /* an app fills the screen under the status bar, zooming out of its icon (24.js sets where it zooms from) */
  .p24-win, .p24-win[data-app] { left: 0; top: 0; width: 100%; height: 100%; padding-top: 44px; box-sizing: border-box; border-radius: 0; box-shadow: none; scale: .12; transition: opacity .25s, scale .45s cubic-bezier(.2, .8, .2, 1); }
  .p24-win.p24-open { scale: 1; }
  .p24-win.p24-ph { display: block; }
  .p24-bar { display: none; }
  .p24-sl-in { grid-template-columns: minmax(0, 1fr); }
  .p24-sl-side { display: none; }
  .p24-sl-head { padding: 8px 16px 12px; font-size: 16px; }
  .p24-sl-msgs { gap: 16px; }
  .p24-sl .p24-msg b, .p24-sl .p24-msg span { font-size: 14px; }
  .p24-sl-typing { font-size: 12px; }
  .p24-wa-head { padding: 6px 14px 10px; }
  .p24-bub { max-width: 80%; font-size: 14px; }
  .p24-bf-in { padding: 6px 16px 30px; }
  .p24-bf-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 6px; color: #2c4bff; font-size: 15px; }
  .p24-bf-head b { color: #111; font-weight: 600; }
  .p24-bf-head span { min-width: 50px; }
  /* Notes: an idea, typed */
  .p24-nt-in { padding: 4px 20px 0; }
  .p24-nt-top { display: flex; justify-content: space-between; padding: 6px 0 14px; color: #d9a400; font-size: 16px; font-weight: 500; }
  .p24-nt-date { margin: 0 0 16px; color: var(--g4); font-size: 12px; text-align: center; }
  .p24-nt-h { min-height: 1.3em; margin: 0 0 8px; color: #111; font-size: 25px; font-weight: 700; line-height: 1.3; }
  .p24-nt-p { min-height: 1.45em; margin: 0; color: #111; font-size: 16px; line-height: 1.45; }
  /* Notion calendar, as on the phone: the month, today in red, a post added on Thursday 12 */
  .p24-nm-in { position: relative; height: 100%; padding: 2px 16px 0; box-sizing: border-box; color: #222; }
  .p24-nm-top { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 4px; color: #333; fill: currentColor; }
  .p24-nm-top span { display: flex; align-items: center; gap: 20px; }
  .p24-nm-title { display: block; margin: 12px 0 14px; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
  .p24-nm-tools { display: flex; align-items: center; justify-content: space-between; }
  .p24-nm-view { display: flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 17px; background: #f1f1ef; color: #333; font-size: 13.5px; }
  .p24-nm-new { display: grid; place-items: center; width: 40px; height: 30px; border-radius: 7px; background: #2383e2; color: #fff; font-size: 20px; line-height: 1; }
  .p24-nm-month { display: flex; align-items: center; justify-content: space-between; margin: 16px 4px 10px; font-size: 15px; }
  .p24-nm-month b { font-weight: 600; }
  .p24-nm-month span { color: #555; font-size: 13px; }
  .p24-nm-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .p24-nm-grid em { padding-bottom: 7px; border-bottom: 1.5px solid #e6e6e4; color: #9b9b9b; font-size: 12px; font-style: normal; text-align: center; }
  .p24-nm-grid > span { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 52px; padding-top: 8px; box-sizing: border-box; border-bottom: 1px solid #ededeb; font-size: 14px; }
  .p24-nm-grid > span b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 400; }
  .p24-nm-grid .p24-today b { background: #eb5757; color: #fff; }
  .p24-nm-grid .p24-out { color: #bbb; }
  .p24-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
  .p24-dot.p24-new { scale: 0; transition: scale .4s cubic-bezier(.3, 1.8, .5, 1); }
  .p24-dot.p24-new.p24-on { scale: 1.3; }
  .p24-nm-bar { position: absolute; left: 14px; right: 14px; bottom: 26px; display: flex; align-items: center; gap: 10px; }
  .p24-nm-bar span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #e8e8e6, 0 4px 10px -6px rgba(0, 0, 0, .2); color: #333; font-size: 17px; }
  .p24-nm-bar .p24-nm-ai { flex: 1; justify-items: start; padding-left: 18px; border-radius: 22px; color: #9b9b9b; font-size: 15px; }
  .p24-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; gap: 12px; padding: 10px 20px 34px; border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -12px 30px -14px rgba(0, 0, 0, .3); translate: 0 105%; transition: translate .4s cubic-bezier(.2, .8, .2, 1); }
  .p24-sheet.p24-on { translate: 0 0; }
  .p24-grab { display: block; align-self: center; width: 36px; height: 5px; border-radius: 3px; background: #dcdcdc; }
  .p24-sheet-t { margin: 4px 0 4px; font-size: 20px; font-weight: 700; }
  .p24-prop { display: flex; align-items: center; color: #222; font-size: 14px; }
  .p24-prop em { width: 84px; color: #9b9b9b; font-style: normal; }
  .p24-prop u { padding: 2px 8px; border-radius: 4px; background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); text-decoration: none; }
  .p24-sheet-go { align-self: flex-end; margin-top: 4px; padding: 9px 22px; border-radius: 9px; background: #2383e2; color: #fff; font-size: 15px; font-weight: 600; }
  /* Excel: the analytics, two cells looked at */
  .p24-xl-in { display: flex; flex-direction: column; height: 100%; }
  .p24-xl-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; background: #107c41; color: #fff; font-size: 16px; }
  .p24-xl-top b { font-size: 14px; font-weight: 600; }
  .p24-xl-fx { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-bottom: 1px solid #e1e1e1; font-size: 13px; }
  .p24-xl-fx i { color: #888; font-family: Georgia, serif; font-style: italic; }
  .p24-xl-f { display: grid; }
  .p24-xl-f em { grid-area: 1 / 1; color: #222; font-style: normal; opacity: 0; }
  .p24-xl-f em:first-child, .p24-xl.p24-s1 .p24-xl-f em:nth-child(2), .p24-xl.p24-s2 .p24-xl-f em:nth-child(3) { opacity: 1; }
  .p24-xl.p24-s1 .p24-xl-f em:first-child, .p24-xl.p24-s2 .p24-xl-f em:first-child { opacity: 0; }
  .p24-xl-grid { display: grid; grid-template-columns: 22px 1.3fr .7fr 1.25fr 1.25fr .9fr; font-size: 11px; }
  .p24-xl-grid > * { height: 25px; padding: 0 5px; overflow: hidden; border-right: 1px solid #e4e4e4; border-bottom: 1px solid #e4e4e4; font-style: normal; line-height: 25px; white-space: nowrap; }
  .p24-xl-grid > span { padding: 0; background: #f3f3f3; color: #777; text-align: center; }
  .p24-xl-grid > i:not(:nth-child(6n + 2)) { text-align: right; }
  .p24-xl-grid > :nth-child(n + 13):nth-child(-n + 18) { font-weight: 700; }
  .p24-xl-grid > [data-cell="A13"] { box-shadow: inset 0 0 0 2px #107c41; }
  .p24-xl.p24-s1 .p24-xl-grid > [data-cell="A13"], .p24-xl.p24-s2 .p24-xl-grid > [data-cell="A13"] { box-shadow: none; }
  .p24-xl.p24-s1 .p24-xl-grid > [data-cell="C14"], .p24-xl.p24-s2 .p24-xl-grid > [data-cell="E14"] { box-shadow: inset 0 0 0 2px #107c41; background: rgba(16, 124, 65, .06); }
  .p24-xl-tabs { display: flex; gap: 18px; margin-top: auto; padding: 10px 14px 32px; border-top: 1px solid #e1e1e1; color: #777; font-size: 12.5px; }
  .p24-xl-tabs b { color: #107c41; font-weight: 600; }
  .p24-bf-text { font-size: 14px; }
  .p24-toast { bottom: 84px; }
  /* the keyboard comes up while something is typed; WhatsApp's field rises with it */
  .p24-kb { position: absolute; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; flex-direction: column; gap: 9px; padding: 9px 3px 30px; background: #d4d6dc; translate: 0 100%; transition: translate .35s cubic-bezier(.2, .8, .2, 1); }
  .p24-kb.p24-on { translate: 0 0; }
  .p24-kb span { display: flex; justify-content: center; gap: 5px; }
  .p24-kb span:nth-child(2) { padding: 0 14px; }
  .p24-kb span:nth-child(3) { padding: 0 40px; }
  .p24-kb i { display: grid; flex: 1; place-items: center; max-width: 28px; height: 38px; border-radius: 5px; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .28); color: #111; font-size: 16px; font-style: normal; }
  .p24-kb .p24-space { max-width: none; margin: 0 64px; color: #555; font-size: 14px; }
  .p24-wa-in { transition: padding .35s cubic-bezier(.2, .8, .2, 1); }
  .p24-screen.p24-kbup .p24-wa-in { padding-bottom: 183px; }
  /* notifications stack like iOS: the newest banner on top, the older ones tucked under it (24.js counts how deep each one is) */
  .p24-notes { top: 50px; left: 8px; right: 8px; width: auto; height: 120px; overflow: visible; -webkit-mask: none; mask: none; }
  .p24-n, .p24-n.p24-on, .p24-n.p24-on.p24-off { position: absolute; left: 0; right: 0; top: 0; z-index: calc(20 - var(--k, 0)); height: 64px; margin: 0; opacity: clamp(0, calc(3 - var(--k, 0)), 1); translate: 0 calc(var(--k, 0) * 9px); scale: calc(1 - var(--k, 0) * .05); transform-origin: 50% 100%; transition: translate .45s cubic-bezier(.2, .8, .2, 1), scale .45s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
  .p24-card { grid-template-columns: 34px minmax(0, 1fr); gap: 1px 10px; height: 64px; padding: 11px 14px 11px 11px; border-radius: 20px; background: rgb(250, 249, 247); translate: 0 -24px; }
  .p24-on.p24-off > .p24-card { opacity: 0; translate: 0 -40px; }
  .p24-card img { width: 34px; height: 34px; border-radius: 8px; }
  /* a tap is a soft round mark where the finger lands */
  .p24-cur { margin: 0; }
  .p24-cur svg { display: none; }
  .p24-cur::before { content: ''; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; background: rgba(24, 25, 37, .2); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
  .p24-cur.p24-hold { opacity: 1; }
  .p24-end { padding-top: 54px; transition: padding .6s cubic-bezier(.2, .8, .2, 1); }
  .p24-screen.p24-done .p24-end { padding-top: 0; }
  .p24-sub { font-size: 16px; }
  .p24-logo { width: 200px; height: 200px; margin: 30px 0 0; }
  .p24-screen.p24-done { height: 330px; transition: height .8s cubic-bezier(.2, .8, .2, 1), border-color .6s, background-color .6s; }
}
/* without motion: the lines as a plain list, then the machine, still */
@media (prefers-reduced-motion: reduce) {
  .p24-says { height: auto; gap: 8px; }
  .p24-s { grid-area: auto; opacity: 1; transform: none; color: var(--g5); font-size: clamp(22px, 2.2vw, 30px); }
  .p24-it { color: var(--g7); }
  .p24-screen { height: auto; }
  .p24-mess, .p24-cur { display: none; }
  .p24-screen { border-color: transparent; background-color: transparent; }
  .p24-screen::before, .p24-screen::after, .p24-sb { display: none; }
  .p24-end { position: static; gap: 40px; }
  .p24-sub, .p24-logo { opacity: 1; translate: 0 0; }
  .p24-logo { margin: 0; }
  .p24-logo.p24-on i { animation: none; }
}
