/* Automation film on the TensorOS page: a live replica of the app that a virtual
   camera and cursor move through. The app is always shown in its light theme. */
.af-window { padding: clamp(5px, .7vw, 9px); }
.af-stage { position: relative; overflow: hidden; aspect-ratio: 1440 / 810; border: 1px solid var(--line); border-radius: calc(var(--r-xl) - 8px); background: #ecece8; contain: paint; isolation: isolate; }
.af-stage noscript img { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.af-cam { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; }

.af-app { position: absolute; left: 0; top: 0; width: 1440px; height: 810px; overflow: hidden; background: #ecece8; color: #141412; font: 400 14px/1.35 var(--sans); letter-spacing: 0; text-align: left; cursor: default; user-select: none; -webkit-user-select: none; }
.af-app * { box-sizing: border-box; }
.af-app img { display: block; border: 0; border-radius: 0; background: none; }
.af-app svg { display: block; width: 100%; height: 100%; }
.af-app p, .af-app h3, .af-app h4 { margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; }
.af-ff .af-app, .af-ff .af-app *, .af-ff .af-app *::after { transition: none !important; }
.af-hold .af-app, .af-hold .af-app *, .af-hold .af-app *::after { animation-play-state: paused !important; }

/* Shell and screens */
.af-rail { position: absolute; left: 0; top: 0; bottom: 0; z-index: 30; width: 50px; }
.af-rail > i { position: absolute; left: 8px; display: grid; place-items: center; width: 34px; height: 30px; border-radius: 9px; color: #2e2e2b; transition: background-color .22s ease, color .22s ease; }
.af-rail > i > svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.af-rail > i.is-rail { background: #d9d9d5; color: #0f0f0e; }
.af-rail > i.is-rail > svg { stroke-width: 1.8; }
.af-rail > .af-gift { height: 34px; background: #d7e3cc; color: #4d6a38; }
.af-rail > .af-me { left: 11px; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e3e3df 70%); box-shadow: 0 0 0 1px #cfcfca; }
.af-badge { position: absolute; right: 1px; top: -3px; display: grid; place-items: center; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 999px; background: #566f40; color: #fff; font-size: 9px; font-weight: 700; line-height: 1; text-decoration: none; transition: background-color .2s ease, transform .4s cubic-bezier(.2, .9, .3, 1.6); }
.af-badge.is-on { background: #d3483d; transform: scale(1.25); }
.af-scr { position: absolute; left: 0; top: 0; width: 1440px; height: 810px; opacity: 0; visibility: hidden; transition: opacity 0s .4s, visibility 0s .4s; }
.af-scr.is-on { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.af-main { position: absolute; left: 50px; top: 6px; width: 1382px; height: 798px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.af-h1 { position: absolute; font-size: 25px !important; font-weight: 700 !important; letter-spacing: -.02em !important; line-height: 1.3 !important; white-space: nowrap; }
.af-h2 { position: absolute; font-size: 19px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.af-lede { position: absolute; color: #6c6c66 !important; font-size: 13.5px !important; white-space: nowrap; }
.af-rule { position: absolute; left: 50px; width: 1382px; height: 1px; background: #e8e8e3; }
.af-tabs { position: absolute; display: flex; gap: 4px; color: #6c6c66; font-size: 13.5px; font-weight: 500; }
.af-tabs span { padding: 7px 13px; border-radius: 8px; white-space: nowrap; }
.af-tabs .is-cur { background: #f0f0ec; color: #141412; }

/* Browser window: only appears for the Google Sheets finale */
.af-chrome { --tb: #3a3b3f; position: absolute; left: 0; top: 0; z-index: 35; width: 1440px; height: 90px; background: #1e1f22; color: #dfe1e5; transform: translate3d(0, -90px, 0); will-change: transform; transition: transform .95s cubic-bezier(.32, .72, 0, 1); }
.is-browser .af-chrome { transform: translate3d(0, 0, 0); }
.af-page { position: absolute; left: 0; top: 0; width: 1440px; height: 810px; will-change: transform; transition: transform .95s cubic-bezier(.32, .72, 0, 1); }
.is-browser .af-page { transform: translate3d(0, 90px, 0); }
.af-ci { display: block; flex: none; }
.af-app svg.af-ci { width: auto; height: auto; }
.af-tstrip { position: relative; height: 46px; }
.af-lights { position: absolute; left: 18px; top: 17px; display: flex; gap: 8px; }
.af-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .22); }
.af-lights i:nth-child(2) { background: #febc2e; }
.af-lights i:nth-child(3) { background: #28c840; }
.af-app svg.af-tshape { position: absolute; left: 84px; top: 8px; width: 240px; height: 38px; fill: var(--tb); will-change: transform; transition: transform .52s cubic-bezier(.32, .72, 0, 1); }
.is-sheet .af-tshape { transform: translate3d(232px, 0, 0); }
.af-thover { position: absolute; left: 326px; top: 11px; width: 220px; height: 31px; border-radius: 9px; background: #2d2e32; opacity: 0; transition: opacity .2s ease; }
.af-thover.is-hovered { opacity: 1; }
.af-btab { position: absolute; left: 92px; top: 8px; z-index: 1; width: 224px; height: 38px; display: flex; align-items: center; gap: 9px; padding: 0 7px 0 12px; color: #a9acb2; font-size: 13.5px; transition: color .32s ease; }
.af-btab ~ .af-btab { left: 324px; }
.af-btab.is-on { color: #f1f3f4; }
.af-fav { position: relative; flex: none; display: grid; place-items: center; width: 24px; height: 18px; }
.af-fav img { display: block; width: 24px; height: 12px; object-fit: contain; }
.af-app svg.af-sfav { display: block; width: 21px; height: 17px; }
.af-fav i { position: absolute; right: -2px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #81c995; box-shadow: 0 0 0 2px #1e1f22; opacity: 0; }
.is-live .af-fav i { opacity: 1; animation: af-live 1.1s ease-in-out infinite; }
@keyframes af-live { 50% { opacity: .3; } }
.af-btab b { flex: 1; min-width: 0; overflow: hidden; font-weight: 400; line-height: 1.25; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.af-btab em { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; opacity: .85; }
.af-tplus { position: absolute; left: 566px; top: 11px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #dfe1e5; }
.af-tsearch { position: absolute; right: 12px; top: 13px; display: grid; place-items: center; width: 28px; height: 26px; border-radius: 8px; background: #2d2e32; color: #dfe1e5; }
.af-tbar { position: relative; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: var(--tb); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .35); color: #dfe1e5; }
.af-bnav { display: flex; align-items: center; gap: 15px; padding: 0 7px; }
.af-bnav .is-dim { opacity: .4; }
.af-url { flex: 1; min-width: 0; height: 34px; display: flex; align-items: center; gap: 9px; padding: 0 12px 0 5px; border-radius: 999px; background: #252629; color: #a9acb2; font-size: 14px; white-space: nowrap; }
.af-usite { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #3a3b3f; color: #dfe1e5; }
.af-utext { flex: 1; min-width: 0; overflow: hidden; }
.af-utext b { color: #f1f3f4; font-weight: 400; }
.af-askg { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; background: #1e4a75; color: #cfe6ff; font-size: 13px; font-style: normal; font-weight: 500; }
.af-url > .af-ci:last-child { color: #dfe1e5; }
.af-bme { flex: none; width: 28px; height: 28px; margin-left: 2px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fff, #d9d9d5 70%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.af-bmenu { flex: none; display: grid; gap: 3px; padding: 0 6px; }
.af-bmenu i { display: block; width: 3.5px; height: 3.5px; border-radius: 50%; background: #dfe1e5; }

/* Integrations */
.af-inav { position: absolute; left: 50px; top: 6px; width: 240px; height: 798px; border-radius: 14px 0 0 14px; background: #f6f6f4; }
.af-inav h3 { position: absolute; left: 18px; top: 18px; font-size: 19px !important; font-weight: 700 !important; letter-spacing: -.015em !important; }
.af-icol { position: absolute; right: 16px; top: 22px; width: 17px; height: 17px; color: #55554f; }
.af-ini { position: absolute; left: 10px; right: 10px; height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 10px; border-radius: 8px; color: #3a3a36; font-size: 13.5px; }
.af-ini.is-cur { background: #e9e9e6; color: #111; font-weight: 500; }
.af-ini u { margin-left: auto; min-width: 19px; padding: 2px 5px; border-radius: 999px; background: #e9e9e6; color: #55554f; font-size: 11px; text-align: center; text-decoration: none; }
.af-ini.is-add { color: #6c6c66; }
.af-icontent { position: absolute; left: 290px; top: 6px; width: 1142px; height: 798px; border-radius: 14px; background: #fff; box-shadow: -8px 0 18px rgba(20, 20, 18, .05); }
.af-ish { position: absolute; font-size: 14px !important; font-weight: 600 !important; line-height: 20px !important; white-space: nowrap; }
.af-ish span { margin-left: 8px; color: #85857e; font-size: 12px; font-weight: 400; }
.af-card { position: absolute; width: 258px; height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 12px; background: #f5f5f3; transition: background-color .3s ease, box-shadow .3s ease; }
.af-ctile { flex: none; display: grid; place-items: center; width: 36px; height: 36px; overflow: hidden; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px #ecece8; }
.af-ctile img { width: 25px; height: 25px; object-fit: contain; }
.af-card b { flex: 1; min-width: 0; overflow: hidden; font-size: 13.5px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.af-cbtn { flex: none; display: grid; place-items: center; min-width: 71px; height: 28px; padding: 0 9px; border-radius: 7px; background: #e6e6e3; color: #2d2d2a; font-size: 12.5px; font-weight: 500; transition: background-color .25s ease, color .25s ease; }
.af-card.is-wide { width: 347px; }
.af-card.is-ok { box-shadow: inset 0 0 0 1px #b9d9bf; }
.af-ctile.is-fill { background: none; box-shadow: none; border-radius: 9px; }
.af-ctile.is-fill img { width: 100%; height: 100%; object-fit: cover; }
.af-ctile.is-bare { background: none; box-shadow: none; }
.af-ctile.is-bare img { width: 32px; height: 32px; }
.af-ctile.is-letter { box-shadow: none; color: #fff; font-size: 13.5px; font-weight: 600; }
.af-ctile.is-mark { box-shadow: none; }
.af-ctile.is-mark i { display: block; width: 62%; height: 62%; background: #fff; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.af-bv { position: absolute; left: 0; top: 0; width: 1440px; height: 810px; opacity: 0; visibility: hidden; transition: opacity .34s ease, visibility 0s .34s; }
.af-bv--cat, .is-all .af-bv--all { opacity: 1; visibility: visible; transition: opacity .38s ease; }
.is-all .af-bv--cat { opacity: 0; visibility: hidden; transition: opacity .34s ease, visibility 0s .34s; }
.af-how { position: absolute; left: 334px; top: 712px; width: 1061px; height: 84px; padding: 11px 16px; border: 1px solid #e6e6e1; border-radius: 12px; }
.af-how > b { display: block; font-size: 13.5px; font-weight: 600; }
.af-how ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 7px 0 0; padding: 0; }
.af-how li { display: flex; gap: 8px; color: #6c6c66; font-size: 11.5px; line-height: 1.3; }
.af-how li > i { flex: none; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #1b1b19; color: #fff; font-size: 10px; font-style: normal; font-weight: 600; }
.af-how li b { display: block; color: #141412; font-size: 12px; font-weight: 600; }
.af-bh { position: absolute; left: 332px; top: 34px; font-size: 26px !important; font-weight: 700 !important; letter-spacing: -.02em !important; line-height: 1.2 !important; }
.af-bp { position: absolute; left: 332px; top: 74px; width: 610px; color: #6c6c66 !important; font-size: 13.5px !important; line-height: 1.45 !important; }
.af-search { position: absolute; left: 332px; top: 134px; width: 766px; height: 35px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid #dededa; border-radius: 8px; color: #76766f; font-size: 13.5px; }
.af-pill { position: absolute; top: 137px; height: 29px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #e0e0db; border-radius: 999px; color: #55554f; font-size: 13px; font-weight: 500; white-space: nowrap; }
.af-pill i { color: #85857e; font-size: 12px; font-style: normal; font-weight: 400; }
.af-pill.is-dark { border-color: #1b1b19; background: #1b1b19; color: #fff; }
.af-pill.is-dark i { color: #c9c9c4; }
.af-pill u { width: 6px; height: 6px; margin: -3px 0 0 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.af-bcount { position: absolute; left: 332px; top: 186px; color: #6c6c66 !important; font-size: 13px !important; }
.af-bcount b { color: #141412; font-weight: 600; }
.af-mbtn { position: absolute; left: 22px; right: 22px; top: 252px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: #111; color: #fff; font-size: 14.5px; font-weight: 600; }

/* Editor */
.af-canvas { position: absolute; left: 50px; top: 62px; width: 1002px; height: 742px; border-top: 1px solid #e8e8e3; border-radius: 0 0 0 14px; background-color: #fbfbf9; background-image: radial-gradient(#cdcdc7 1px, transparent 1.3px); background-size: 20px 20px; background-position: 8px 8px; }
.af-side { position: absolute; left: 1052px; top: 62px; width: 380px; height: 742px; border-top: 1px solid #e8e8e3; border-left: 1px solid #e8e8e3; border-radius: 0 0 14px 0; background: #fff; }
.af-back { position: absolute; left: 70px; top: 24px; width: 18px; height: 18px; color: #55554f; }
.af-title { position: absolute; left: 104px; top: 20px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.af-saved { position: absolute; left: 330px; top: 20px; height: 26px; padding: 0 9px; border: 1px solid #e4e4df; border-radius: 7px; color: #55554f; font-size: 12px; line-height: 24px; white-space: nowrap; }
.af-btn { position: absolute; top: 15px; height: 36px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #e4e4df; border-radius: 9px; background: #fff; color: #141412; font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: opacity .3s ease, transform .35s cubic-bezier(.2, .9, .3, 1.15), background-color .25s ease, border-color .25s ease, color .25s ease; }
.af-btn svg { flex: none; width: 15px; height: 15px; }
.af-btn.is-strong { border-color: #111; background: #111; color: #fff; }
.af-btn.is-open { background: #f0f0ec; }
.af-seg { position: absolute; left: 696px; top: 13px; width: 250px; height: 40px; display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: #f0f0ec; font-size: 13.5px; font-weight: 500; color: #6c6c66; }
.af-seg span { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 7px; }
.af-seg svg { width: 14px; height: 14px; }
.af-seg .is-cur { background: #fff; color: #141412; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.af-activate { gap: 8px; border-color: #b9d3bc; color: #3f7a48; }
.af-activate em { padding: 2px 7px; border-radius: 999px; background: #edefe9; color: #55554f; font-size: 11.5px; font-style: normal; }
.is-ready .af-activate { border-color: #2f7a3e; background: #2f7a3e; color: #fff; }
.is-ready .af-activate em { display: none; }
.af-when-on { opacity: 0; transform: scale(.9); pointer-events: none; }
.is-active .af-when-on { opacity: 1; transform: none; }
.is-active .af-when-off { opacity: 0; visibility: hidden; transition: none; }
.af-state { border-color: transparent; background: none; color: #2f7a3e; font-weight: 600; }
.af-state i { width: 9px; height: 9px; border-radius: 50%; background: #2f7a3e; box-shadow: 0 0 0 3px rgba(47, 122, 62, .18); }
.is-running .af-run { background: #2f7a3e; border-color: #2f7a3e; }

.af-node { position: absolute; width: 190px; height: 58px; display: flex; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid #e2e2dc; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(20, 20, 18, .06); opacity: 0; transform: translateY(10px) scale(.94); transition: opacity .3s ease, transform .5s cubic-bezier(.2, .9, .3, 1.18), border-color .22s ease, box-shadow .25s ease; }
.af-node.is-in { opacity: 1; transform: none; }
.af-node.is-sel { border-color: #111; box-shadow: 0 0 0 1px #111, 0 10px 24px rgba(20, 20, 18, .14); }
.af-node.is-run { border-color: #3f8a4d; box-shadow: 0 0 0 1px #3f8a4d, 0 10px 26px rgba(47, 122, 62, .2); }
.af-node.is-run::after, .af-node.is-wait::after { content: ""; position: absolute; inset: -5px; border: 1.5px solid #3f8a4d; border-radius: 14px; animation: af-ring 1.15s ease-out infinite; }
.af-node.is-wait { border-color: #c9892b; box-shadow: 0 0 0 1px #c9892b, 0 10px 26px rgba(201, 137, 43, .22); }
.af-node.is-wait::after { border-color: #c9892b; }
@keyframes af-ring { from { opacity: .55; transform: scale(.97); } to { opacity: 0; transform: scale(1.05); } }
.af-node.is-done { border-color: #bcd8c0; }
.af-node.is-skip { opacity: .46; }
.af-node .af-tile { width: 30px; height: 30px; border-radius: 8px; }
.af-node .af-tile svg { width: 15px; height: 15px; }
.af-node .af-tile--person { border-radius: 50%; font-size: 12px; }
.af-tile { flex: none; width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; color: #6b6352; }
.af-tile svg { width: 18px; height: 18px; }
.af-tile img { width: 100%; height: 100%; object-fit: contain; }
.af-tile--trigger { background: #f6eee0; border: 1px solid #ece0cb; color: #a57f3f; }
.af-tile--result { background: #e9f2e9; border: 1px solid #d6e6d7; color: #3f7a48; }
.af-tile--plain { background: #f2f2ef; border: 1px solid #e6e6e1; color: #5c5c56; }
.af-tile--logic { background: #e8f1ec; border: 1px solid #d6e6dc; color: #3f7a5e; }
.af-tile--person { border-radius: 50%; background: #ece9f5; color: #4e4777; font-size: 14px; font-weight: 600; }
.af-tile--soft { background: #f1eff8; border: 1px solid #e4e1f0; color: #5a5390; }
.af-nt { min-width: 0; flex: 1; }
.af-nt small { display: block; color: #6c6c66; font-size: 10px; line-height: 1.25; }
.af-nt b { display: block; overflow: hidden; color: #141412; font-size: 12.5px; font-weight: 600; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.af-nt em { display: block; overflow: hidden; color: #6c6c66; font-size: 10.5px; font-style: normal; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.af-check { position: absolute; right: 5px; top: 5px; width: 13px; height: 13px; padding: 1.5px; border-radius: 50%; background: #3f8a4d; color: #fff; opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .4s cubic-bezier(.2, .9, .3, 1.5); }
.af-check svg { stroke-width: 3; }
.is-done > .af-check { opacity: 1; transform: none; }
.af-app .af-wires { position: absolute; left: 0; top: 0; width: 1440px; height: 810px; overflow: visible; fill: none; }
.af-wb, .af-wg { stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linejoin: round; }
.af-wb { stroke: #c6c6c0; stroke-width: 1.5; transition: stroke-dashoffset .42s cubic-bezier(.4, 0, .2, 1); }
.af-wg { stroke: #3f8a4d; stroke-width: 2; transition: stroke-dashoffset .5s cubic-bezier(.45, 0, .3, 1); }
.af-w.is-in .af-wb, .af-w.is-fill .af-wg { stroke-dashoffset: 0; }
.af-wh { fill: #b9b9b3; opacity: 0; transition: opacity .2s ease .28s, fill .25s ease; }
.af-w.is-in .af-wh { opacity: 1; }
.af-w.is-fill .af-wh { fill: #3f8a4d; }
.af-wp, .af-wl { opacity: 0; transition: opacity .2s ease .22s; }
.af-w.is-in .af-wp, .af-w.is-in .af-wl { opacity: 1; }
.af-wp circle { fill: #fff; stroke: #c6c6c0; }
.af-wp path { stroke: #77776f; stroke-width: 1.1; stroke-linecap: round; }
.af-wl rect { fill: #fff; stroke: #d6d6d0; }
.af-wl text { fill: #55554f; font: 500 10px var(--sans); text-anchor: middle; }
.af-w.is-fill .af-wl rect { stroke: #8fbd97; fill: #f1f8f2; }
.af-w.is-fill .af-wl text { fill: #2c6b38; }
.af-slot { position: absolute; width: 190px; height: 58px; border: 1.5px dashed #9fb99f; border-radius: 10px; background: rgba(63, 138, 77, .06); opacity: 0; transition: opacity .22s ease; }
.af-slot.is-on { opacity: 1; }
.af-zoom { position: absolute; left: 748px; top: 740px; height: 40px; display: flex; align-items: center; border: 1px solid #e4e4df; border-radius: 10px; background: #fff; color: #33332f; font-size: 13px; }
.af-zoom > span { display: grid; place-items: center; height: 100%; padding: 0 12px; border-right: 1px solid #ecece8; }
.af-zoom > span:last-child { border-right: 0; }
.af-foot { position: absolute; left: 70px; top: 748px; width: 480px; color: #85857e !important; font-size: 12px !important; line-height: 1.4; }

/* Nodes panel */
.af-pal { position: absolute; left: 62px; top: 74px; z-index: 4; width: 240px; height: 650px; overflow: hidden; border: 1px solid #e6e6e1; border-radius: 13px; background: #fff; box-shadow: 0 10px 30px rgba(20, 20, 18, .1); opacity: 0; transform: translateX(-16px) scale(.98); transform-origin: left center; pointer-events: none; transition: opacity .3s ease, transform .45s cubic-bezier(.2, .85, .3, 1); }
.af-pal.is-on { opacity: 1; transform: none; }
.af-pal > b { position: absolute; left: 14px; top: 13px; font-size: 14.5px; font-weight: 600; }
.af-pal > i { position: absolute; right: 12px; top: 14px; width: 18px; height: 18px; color: #55554f; }
.af-pal > p { position: absolute; left: 10px; right: 10px; top: 44px; height: 32px; padding: 0 10px; border: 1px solid #e4e4df; border-radius: 8px; color: #85857e !important; font-size: 13px !important; line-height: 30px; }
.af-pvp { position: absolute; left: 0; right: 0; top: 86px; height: 500px; overflow: hidden; }
.af-plist { position: absolute; left: 0; right: 0; top: 0; transition: transform .52s cubic-bezier(.4, 0, .2, 1); }
.af-pal h4 { position: absolute; left: 14px; right: 12px; height: 28px; display: flex; align-items: center; justify-content: space-between; color: #85857e; font-size: 12.5px; font-weight: 500; }
.af-pal h4 > span { display: flex; align-items: center; }
.af-pal h4 u { display: inline-block; width: 6px; height: 6px; margin: -3px 10px 0 2px; border-right: 1.4px solid #85857e; border-bottom: 1.4px solid #85857e; transform: rotate(45deg); }
.af-pal h4 em { min-width: 20px; padding: 2px 6px; border-radius: 999px; background: #f0f0ec; color: #6c6c66; font-size: 11px; font-style: normal; text-align: center; }
.af-item { position: absolute; left: 6px; right: 6px; height: 46px; display: flex; align-items: center; gap: 11px; padding: 0 8px; border-radius: 9px; transition: background-color .18s ease; }
.af-item.is-hover { background: #f2f2ee; }
.af-item .af-tile { width: 30px; height: 30px; border-radius: 8px; }
.af-item .af-tile:not([class*="--"]) { background: #fff; box-shadow: 0 0 0 1px #ecece8; padding: 4px; }
.af-item .af-tile svg { width: 15px; height: 15px; }
.af-item .af-tile--person { border-radius: 8px; font-size: 12px; }
.af-item > div { min-width: 0; flex: 1; }
.af-item b { display: block; overflow: hidden; font-size: 13.5px; font-weight: 500; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.af-item small { display: block; overflow: hidden; margin-top: 1px; color: #6c6c66; font-size: 11.5px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.af-item em { flex: none; padding: 2px 7px; border-radius: 999px; background: #f0f0ec; color: #6c6c66; font-size: 11px; font-style: normal; font-weight: 500; }
.af-pfoot { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; display: block; padding: 11px 14px; border-top: 1px solid #ecece8; background: #fff; color: #85857e; font-size: 11.5px; line-height: 1.45; }
.af-tip { position: absolute; left: 8px; z-index: 7; white-space: nowrap; padding: 6px 9px; border-radius: 4px; background: #33332f; color: #fff; font-size: 12px; line-height: 1.35; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; }
.af-tip.is-on { opacity: 1; visibility: visible; transition: opacity .16s ease; }

/* Inspector */
.af-pane { position: absolute; left: 1052px; top: 62px; width: 380px; height: 742px; opacity: 0; visibility: hidden; }
.af-pane.is-on { opacity: 1; visibility: visible; transition: opacity .34s ease; }
.af-pane > * { position: absolute; left: 24px; width: 332px; }
.af-phead { top: 18px; display: flex; gap: 12px; }
.af-phead .af-tile--app { background: none; }
.af-phead small { display: block; color: #6c6c66; font: 500 12px/1.4 var(--mono); }
.af-phead b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.af-phead p { margin-top: 3px; color: #6c6c66 !important; font-size: 13.5px !important; line-height: 1.45; }
.af-hr { left: 0 !important; width: 100% !important; height: 1px; background: #ecece8; }
.af-lab { color: #141412; font-size: 13.5px; font-weight: 600; }
.af-sec { color: #6c6c66; font-size: 13.5px; }
.af-help { color: #6c6c66; font-size: 12.5px; line-height: 1.45; }
.af-sel { height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border: 1px solid #dededa; border-radius: 8px; background: #fff; font-size: 13.5px; transition: border-color .2s ease, box-shadow .2s ease; }
.af-sel.is-open { border-color: #111; box-shadow: 0 0 0 1px #111; }
.af-sel::after { content: ""; flex: none; width: 7px; height: 7px; margin: -3px 2px 0 8px; border-right: 1.5px solid #55554f; border-bottom: 1.5px solid #55554f; transform: rotate(45deg); }
.af-sel span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.af-sel.is-empty span { color: #85857e; }
.af-ok { height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #e6e6e1; border-radius: 8px; background: #fafaf8; font-size: 13px; }
.af-ok img { width: 16px; height: 16px; }
.af-menu { z-index: 3; padding: 4px; border: 1px solid #dededa; border-radius: 9px; background: #fff; box-shadow: 0 12px 30px rgba(20, 20, 18, .16); opacity: 0; visibility: hidden; transform: translateY(-5px); pointer-events: none; }
.af-menu.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .22s ease; }
.af-menu span { display: block; height: 34px; padding: 0 9px; border-radius: 6px; font-size: 13.5px; line-height: 34px; transition: background-color .15s ease; }
.af-menu span.is-hover { background: #f0f0ec; }
.af-text { height: 214px; padding: 10px 12px; border: 1px solid #dededa; border-radius: 8px; background: #fff; font-size: 14.5px; line-height: 1.5; transition: border-color .2s ease, box-shadow .2s ease; }
.af-text.is-focus { border-color: #111; box-shadow: 0 0 0 1px #111; }
.af-text.is-focus::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: #111; animation: af-caret 1s steps(2, jump-none) infinite; }
@keyframes af-caret { from { opacity: 1; } to { opacity: 0; } }
.af-type:empty::before { content: "The goal, sources to use and anything to avoid."; color: #85857e; }
.af-mail { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; font-size: 13.5px; }
.af-mail span { color: #6c6c66; }
.af-mail b { overflow: hidden; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.af-deny, .af-approve { height: 40px; display: grid; place-items: center; border-radius: 9px; font-size: 13.5px; font-weight: 600; }
.af-pane > .af-deny { width: 104px; border: 1px solid #dededa; background: #fff; }
.af-pane > .af-approve { left: 136px; width: 220px; background: #2f7a3e; color: #fff; }
.af-toast--sheet { border-color: #b7dfc0 !important; background: #f2fbf4 !important; }
.af-toast--sheet small { color: #2c6b38 !important; }
.af-toast--sheet > span { background: #2f7a3e !important; }
.af-toast { position: absolute; left: 1064px; top: 72px; z-index: 6; width: 356px; height: 78px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 1px solid #e9cf9f; border-radius: 13px; background: #fffaf0; box-shadow: 0 16px 40px rgba(20, 20, 18, .2); opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.97); }
.af-toast.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .26s ease, transform .5s cubic-bezier(.2, .9, .3, 1.2); }
.af-toast img { flex: none; width: 30px; height: 30px; }
.af-toast div { min-width: 0; flex: 1; }
.af-toast b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; }
.af-toast small { display: block; margin-top: 1px; color: #8a6420; font-size: 12.5px; }
.af-toast > span { flex: none; padding: 6px 11px; border-radius: 8px; background: #111; color: #fff; font-size: 12.5px; font-weight: 600; }
.af-log { list-style: none; display: grid; gap: 0; margin: 0; padding: 0; }
.af-log li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 8px 0; border-bottom: 1px solid #efefeb; color: #a2a29b; transition: color .25s ease; }
.af-log li:last-child { border-bottom: 0; }
.af-log b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.af-log small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; }
.af-log time { font: 500 12px/1.5 var(--mono); opacity: 0; transition: opacity .2s ease; }
.af-dot { position: relative; width: 20px; height: 20px; margin-top: 1px; padding: 4px; border: 1.5px solid #d6d6d0; border-radius: 50%; color: transparent; transition: background-color .22s ease, border-color .22s ease, color .22s ease; }
.af-dot svg { stroke-width: 3; }
.af-log li.is-run, .af-log li.is-done { color: #141412; }
.af-log li.is-run small, .af-log li.is-done small { color: #6c6c66; }
.af-log li.is-run .af-dot { border-color: #cfe1d1; border-top-color: #2f7a3e; animation: af-spin .8s linear infinite; }
@keyframes af-spin { to { transform: rotate(360deg); } }
.af-log li.is-done .af-dot { border-color: #3f8a4d; background: #3f8a4d; color: #fff; }
.af-log li.is-done time { opacity: 1; color: #6c6c66; }
.af-done-note { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 9px; background: #edf5ee; color: #2c6b38; font-size: 13.5px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .4s ease; }
.af-done-note.is-on { opacity: 1; transform: none; }

/* Google Sheets tab */
.af-gsheet { position: absolute; left: 0; top: 0; z-index: 33; width: 1440px; height: 720px; overflow: hidden; background: #f9fbfd; opacity: 0; visibility: hidden; color: #1f1f1f; }
.af-gsheet { transform: translate3d(0, 10px, 0) scale(.994); transform-origin: 50% 0; }
.af-gsheet.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .46s ease, transform .62s cubic-bezier(.32, .72, 0, 1); }
.af-gtop { position: relative; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.af-gtop > img { flex: none; width: 32px; height: 40px; object-fit: contain; }
.af-gtop > div { flex: 1; min-width: 0; }
.af-gtop b { display: block; font-size: 18px; font-weight: 400; line-height: 1.25; }
.af-gtop nav { display: flex; gap: 14px; margin-top: 2px; font-size: 13px; color: #444746; }
.af-gsave { color: #5f6368; font-size: 12.5px; }
.af-gme { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #5f6f52; color: #fff; font-size: 13px; font-style: normal; font-weight: 600; }
.af-gme.is-s { background: #2f7a3e; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2f7a3e; }
.af-gshare { display: grid; place-items: center; width: 92px; height: 38px; border-radius: 999px; background: #c2e7ff; color: #001d35; font-size: 14px; font-weight: 500; }
.af-gtools { height: 38px; margin: 2px 12px 0; display: flex; align-items: center; gap: 22px; padding: 0 18px; border-radius: 999px; background: #edf2fa; color: #444746; font-size: 13px; }
.af-gfx { height: 30px; margin-top: 4px; display: flex; align-items: center; border-top: 1px solid #e3e3e3; border-bottom: 1px solid #e3e3e3; background: #fff; font-size: 13px; }
.af-gfx span { width: 92px; padding-left: 12px; border-right: 1px solid #e3e3e3; line-height: 28px; }
.af-gfx i { padding: 0 14px; color: #80868b; font-style: italic; }
.af-gfx b { font-weight: 400; }
.af-ggrid { position: absolute; left: 0; top: 142px; width: 1440px; display: grid; grid-template-columns: 46px 170px 120px 130px 260px 110px 200px 200px 204px; grid-template-rows: 24px; grid-auto-rows: 30px; background: #fff; font-size: 13.5px; }
.af-ggrid > * { padding: 0 8px; overflow: hidden; border-right: 1px solid #e1e3e6; border-bottom: 1px solid #e1e3e6; line-height: 29px; white-space: nowrap; }
.af-ggrid .is-corner, .af-ggrid .is-col { height: 24px; background: #f8f9fa; color: #444746; font-size: 11.5px; line-height: 23px; text-align: center; }
.af-ggrid .is-num { background: #f8f9fa; color: #444746; font-size: 11.5px; text-align: center; }
.af-ggrid .is-head { font-weight: 600; }
.af-ggrid .is-cell { color: transparent; background: #fff; transition: color .2s ease, background-color 1s ease; }
.af-ggrid .is-cell.is-in { color: #1f1f1f; background: #f3faf4; }
.af-ggrid .is-cell.is-new { background: #cdeed4; transition: color .12s ease; }
.af-gcur { position: absolute; left: 46px; top: 286px; width: 790px; height: 30px; border: 2px solid #2f7a3e; opacity: 0; pointer-events: none; transition: top .3s cubic-bezier(.3, .8, .3, 1), opacity .2s ease; }
.af-gcur.is-on { opacity: 1; }
.af-gcur span { position: absolute; left: 100%; top: -2px; height: 30px; display: flex; align-items: center; padding: 0 9px; border-radius: 0 4px 4px 0; background: #2f7a3e; color: #fff; font-size: 11px; font-weight: 500; line-height: 14px; white-space: nowrap; }
.af-gbot { position: absolute; left: 0; right: 0; bottom: 0; height: 36px; display: flex; align-items: center; gap: 18px; padding: 0 18px; border-top: 1px solid #e3e3e3; background: #f9fbfd; color: #444746; font-size: 14px; }
.af-gbot b { padding: 5px 16px; border-radius: 8px; background: #e1e9f7; color: #0b57d0; font-size: 13px; font-weight: 500; }

/* Connection drawers */
.af-over { position: absolute; left: 0; top: 0; z-index: 32; width: 1440px; height: 810px; pointer-events: none; }
.af-scrim { position: absolute; inset: 0; background: rgba(20, 20, 18, .3); opacity: 0; transition: opacity .3s ease; }
.af-scrim.is-on { opacity: 1; }
.af-dr { position: absolute; left: 919px; top: 6px; width: 515px; height: 798px; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: -14px 0 44px rgba(20, 20, 18, .2); opacity: 0; visibility: hidden; transform: translateX(40px); transition: opacity .2s ease, transform .3s ease, visibility 0s .3s; }
.af-dr.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .24s ease, transform .46s cubic-bezier(.2, .9, .3, 1); }
.af-dhead { position: absolute; left: 0; right: 0; top: 0; height: 104px; display: flex; align-items: flex-start; gap: 14px; padding: 26px 24px 0; border-bottom: 1px solid #ecece8; }
.af-dlogo { flex: none; display: grid; place-items: center; width: 46px; height: 46px; overflow: hidden; border-radius: 11px; }
.af-dlogo img { width: 100%; height: 100%; object-fit: contain; }
.af-dhead > div { flex: 1; }
.af-dhead > div > b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.af-dchip { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; padding: 2px 8px; border: 1px solid #e4e4df; border-radius: 6px; color: #44443f; font-size: 12px; font-weight: 500; }
.af-dchip i { width: 5px; height: 5px; border-radius: 50%; background: #85857e; }
.af-dhead > em { color: #55554f; font-size: 24px; font-style: normal; font-weight: 300; line-height: .9; }
.af-dtabs { position: absolute; left: 24px; right: 24px; top: 122px; height: 60px; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 11px; background: #f6f6f4; }
.af-dtabs > div { display: flex; align-items: center; gap: 11px; padding: 0 13px; border-radius: 9px; color: #55554f; transition: background-color .2s ease, box-shadow .2s ease; }
.af-dtabs .is-a { background: #fff; color: #141412; box-shadow: 0 0 0 1px #e2e2dd; }
.is-per .af-dtabs .is-a { background: none; color: #55554f; box-shadow: none; }
.is-per .af-dtabs .is-b { background: #fff; color: #141412; box-shadow: 0 0 0 1px #e2e2dd; }
.af-dtabs b { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; }
.af-dtabs small { display: block; color: #6c6c66; font-size: 11.5px; line-height: 1.3; white-space: nowrap; }
.af-dbot, .af-dper { position: absolute; inset: 0; }
.af-dper { visibility: hidden; opacity: 0; }
.is-per .af-dper { visibility: visible; opacity: 1; transition: opacity .24s ease; }
.is-per .af-dbot { visibility: hidden; opacity: 0; }
.af-dstep { position: absolute; left: 24px; right: 24px; }
.af-dstep > i { position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1b1b19; color: #fff; font-size: 12px; font-style: normal; font-weight: 600; }
.af-dstep > b { display: block; padding-left: 38px; font-size: 15.5px; font-weight: 600; line-height: 20px; }
.af-dstep > p { margin-top: 7px !important; padding-left: 38px; color: #55554f !important; font-size: 13px !important; line-height: 1.5 !important; }
.af-dstep u { color: #141412; font-weight: 500; }
.af-dstep code { padding: 1px 5px; border-radius: 4px; background: #f2f2ef; font: 500 12px var(--mono); }
.af-demp { height: 58px; display: flex; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid #e2e2dd; border-radius: 12px; }
.af-demp .af-tile { width: 34px; height: 34px; }
.af-demp > div { flex: 1; }
.af-demp b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.af-demp small { display: block; color: #6c6c66; font-size: 12px; }
.af-demp > span:last-child { display: flex; align-items: center; gap: 12px; color: #55554f; font-size: 13px; }
.af-demp u, .af-duse u { width: 6px; height: 6px; margin-top: -3px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(45deg); }
.af-dfield { position: absolute; left: 62px; right: 24px; top: 456px; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border: 1px solid #dededa; border-radius: 8px; font: 500 13px/1 var(--mono); white-space: nowrap; transition: border-color .2s ease, box-shadow .2s ease; }
.af-dfield.is-focus { border-color: #111; box-shadow: 0 0 0 1px #111; }
.af-dfield span:empty::before { content: "Paste bot token, e.g. 123456789:AA..."; color: #85857e; font-family: var(--sans); font-weight: 400; }
.af-dfield em { color: #55554f; font: 500 12.5px var(--sans); font-style: normal; }
.af-dnote { position: absolute; left: 62px; top: 504px; color: #6c6c66 !important; font-size: 12.5px !important; }
.af-dfoot { position: absolute; left: 0; right: 0; display: flex; justify-content: flex-end; gap: 9px; padding: 13px 24px 0; border-top: 1px solid #ecece8; }
.af-dfoot span { display: grid; place-items: center; height: 38px; padding: 0 16px; border: 1px solid #dededa; border-radius: 9px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.af-dfoot .is-go { border-color: #1b1b19; background: #1b1b19; color: #fff; transition: background-color .2s ease, border-color .2s ease; }
.is-opening .af-dgo { border-color: #76766f; background: #76766f; }
.af-dfoot--post { visibility: hidden; }
.is-after .af-dfoot--post { visibility: visible; }
.is-after .af-dfoot--pre { visibility: hidden; }
.af-dqseg { position: absolute; left: 62px; right: 24px; top: 364px; height: 38px; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 9px; background: #f6f6f4; color: #55554f; font-size: 13px; font-weight: 500; }
.af-dqseg span { display: grid; place-items: center; border-radius: 7px; }
.af-dqseg .is-cur { background: #fff; color: #141412; box-shadow: 0 0 0 1px #e2e2dd; }
.af-dqr { position: absolute; left: 62px; right: 24px; top: 412px; height: 302px; display: flex; flex-direction: column; align-items: center; padding-top: 22px; border: 1px solid #e6e6e1; border-radius: 12px; background: linear-gradient(180deg, #eef4fa, #fff); }
.af-qr { position: relative; width: 206px; height: 206px; display: grid; place-items: center; border: 1px solid #e0e0db; border-radius: 20px; background-color: #f6f6f4; background-image: linear-gradient(90deg, #d9d9d5 50%, transparent 50%), linear-gradient(#d9d9d5 50%, transparent 50%); background-size: 22px 22px; background-position: 20px 20px; background-clip: content-box; padding: 20px; }
.af-qr span { display: grid; place-items: center; width: 82px; height: 82px; background: #f6f6f4; }
.af-qr img { width: 46px; height: 46px; }
.af-dqr p { display: flex; align-items: center; gap: 8px; margin-top: 16px !important; color: #44443f !important; font-size: 13px !important; font-weight: 500; }
.af-dqr p i { width: 8px; height: 8px; border-radius: 50%; background: #2f7a3e; }
.af-dback { position: absolute; left: 24px; top: 120px; color: #44443f; font-size: 13.5px; font-weight: 500; }
.af-dabout { position: absolute; left: 24px; right: 24px; top: 150px; color: #33332f !important; font-size: 14px !important; line-height: 1.55 !important; }
.af-dsub { position: absolute; left: 24px; top: 250px; font-size: 15.5px; font-weight: 600; }
.af-dempty { position: absolute; left: 24px; right: 24px; top: 284px; height: 86px; display: grid; place-items: center; border: 1px dashed #d9d9d4; border-radius: 12px; color: #6c6c66; font-size: 13.5px; }
.is-after .af-dempty { display: none; }
.af-dacct { position: absolute; left: 24px; right: 24px; top: 284px; height: 412px; padding: 16px; border: 1px solid #e2e2dd; border-radius: 13px; opacity: 0; visibility: hidden; transform: translateY(8px); }
.is-after .af-dacct { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .42s cubic-bezier(.2, .9, .3, 1); }
.af-dmail { display: flex; align-items: center; gap: 11px; }
.af-dmail .af-dlogo { width: 34px; height: 34px; padding: 5px; border: 1px solid #e6e6e1; border-radius: 9px; }
.af-dmail > div { flex: 1; }
.af-dmail b { display: block; font-size: 14px; font-weight: 600; }
.af-dmail small { display: block; color: #6c6c66; font-size: 12px; }
.af-dmail em { display: inline-flex; align-items: center; gap: 6px; color: #2f7a3e; font-size: 12.5px; font-style: normal; font-weight: 600; }
.af-dmail em i { width: 7px; height: 7px; border-radius: 50%; background: #2f7a3e; }
.af-dchips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.af-dchips small { margin-right: 3px; color: #6c6c66; font-size: 12px; }
.af-dchips span { padding: 3px 9px; border: 1px solid #e0e0db; border-radius: 999px; color: #2d2d2a; font-size: 12px; }
.af-drule { height: 1px; margin: 12px 0; background: #ecece8; }
.af-dlab { display: block; font-size: 13px; font-weight: 600; }
.af-duse { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 13.5px; }
.af-duse .af-tile { width: 24px; height: 24px; font-size: 11px; }
.af-duse em { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: #55554f; font-size: 13px; font-style: normal; }
.af-dfile { height: 0; display: flex; align-items: center; gap: 9px; overflow: hidden; opacity: 0; font-size: 13.5px; transition: height .3s ease, opacity .25s ease; }
.is-file .af-dfile { height: 30px; margin-top: 4px; opacity: 1; }
.af-dfile img { width: 18px; height: 18px; }
.af-dfile em { margin-left: auto; color: #55554f; font-size: 12.5px; font-style: normal; }
.af-dchoose { display: inline-grid; place-items: center; height: 36px; margin-top: 8px; padding: 0 15px; border: 1px solid #dededa; border-radius: 9px; font-size: 13.5px; font-weight: 500; }
.af-ddis { display: block; margin-top: 11px; color: #6c6c66; font-size: 13px; font-weight: 500; }

/* Google sign-in window */
.af-g { position: absolute; left: 482px; top: 10px; z-index: 4; width: 476px; height: 692px; overflow: hidden; border: 1px solid #3c4043; border-radius: 14px; background: #131314; color: #e3e3e3; box-shadow: 0 34px 90px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.97); }
.af-g.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .42s cubic-bezier(.2, .9, .3, 1.04); }
.af-gwin { position: relative; height: 42px; display: flex; align-items: center; padding-left: 88px; background: #2b2c2f; }
.af-gwin .af-lights { top: 15px; left: 14px; }
.af-gwin .af-lights i { width: 12px; height: 12px; }
.af-gwin b { color: #c4c7c5; font-size: 13px; font-weight: 600; }
.af-gurl { height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 12px 2px; overflow: hidden; background: #2b2c2f; color: #e3e3e3; font-size: 13px; white-space: nowrap; }
.af-gurl > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; }
.af-gsite { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #3c4043; }
.af-gbrand { height: 50px; display: flex; align-items: center; gap: 11px; padding: 0 16px; border-bottom: 1px solid #3c4043; color: #e3e3e3; font-size: 14px; font-weight: 500; }
.af-gbrand img { width: 19px; height: 19px; }
.af-gload { position: absolute; left: 0; right: 0; top: 127px; z-index: 2; height: 3px; overflow: hidden; opacity: 0; }
.af-gload::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: #a8c7fa; }
.is-load .af-gload { opacity: 1; }
.is-load .af-gload::after { animation: af-gbar .9s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes af-gbar { to { transform: translateX(350%); } }
.af-gs { position: absolute; left: 0; right: 0; top: 128px; bottom: 40px; padding: 16px 24px; opacity: 0; visibility: hidden; }
.af-gs.is-on { opacity: 1; visibility: visible; transition: opacity .26s ease; }
.is-load .af-gs.is-on { opacity: .55; }
.af-gapp { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 9px; background: #0d0e0d; box-shadow: 0 0 0 1px #2a2b2d; }
.af-gapp img { width: 25px; height: 13px; }
.af-gs h4 { margin-top: 10px !important; color: #e3e3e3; font-size: 31px !important; font-weight: 400 !important; line-height: 1.2 !important; letter-spacing: -.012em !important; }
.af-gs > p { margin-top: 5px !important; color: #e3e3e3 !important; font-size: 15px !important; }
.af-gs > p b { color: #a8c7fa; font-weight: 500; }
.af-gacc { display: flex; align-items: center; gap: 13px; height: 56px; margin-inline: -8px; padding-inline: 8px; border-bottom: 1px solid #3c4043; transition: background-color .16s ease; }
.af-gacc.is-hover { background: #252629; }
.af-gs > p + .af-gacc { margin-top: 8px; }
.af-gacc > i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 13.5px; font-style: normal; font-weight: 600; }
.af-gacc.is-add { border-bottom: 0; }
.af-gacc.is-add > i { color: #c4c7c5; }
.af-gacc b { display: block; color: #e3e3e3; font-size: 14.5px; font-weight: 500; line-height: 1.25; }
.af-gacc small { display: block; margin-top: 1px; color: #c4c7c5; font-size: 12.5px; }
.af-gdown { position: absolute; left: 50%; bottom: 8px; display: grid; place-items: center; width: 54px; height: 40px; margin-left: -27px; border-radius: 20px; background: #1e4a75; color: #cfe6ff; }
.af-gfoot { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; display: flex; align-items: center; gap: 16px; padding: 0 24px; border-top: 1px solid #2d2e31; color: #c4c7c5; font-size: 12px; }
.af-gfoot > span { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; }
.af-gfoot u { width: 5px; height: 5px; margin-top: -3px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: rotate(45deg); }
.af-gfoot em { font-style: normal; }
.af-gcon h4 { margin-top: 0 !important; font-size: 23px !important; line-height: 1.25 !important; }
.af-gpill { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 3px 11px 3px 3px; border: 1px solid #5f6368; border-radius: 999px; color: #e3e3e3; font-size: 13px; }
.af-gpill i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #5f6f52; color: #fff; font-size: 11px; font-style: normal; font-weight: 600; }
.af-gpill u { width: 5px; height: 5px; margin: -3px 2px 0 2px; border-right: 1.3px solid #c4c7c5; border-bottom: 1.3px solid #c4c7c5; transform: rotate(45deg); }
.af-gs > .af-gcan { margin-top: 15px !important; font-size: 15px !important; font-weight: 500; }
.af-gs > .af-gcan b { color: #e3e3e3; }
.af-gall { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 7px; padding-bottom: 8px; border-bottom: 1px solid #3c4043; color: #e3e3e3; font-size: 13.5px; }
.af-gbox { flex: none; display: block; width: 19px; height: 19px; padding: 1px; border: 2px solid #8e918f; border-radius: 3px; color: transparent; transition: background-color .14s ease, border-color .14s ease, color .14s ease; }
.is-tick .af-gbox { border-color: #a8c7fa; background: #a8c7fa; color: #062e6f; }
.af-gscope { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 7px 0; border-bottom: 1px solid #3c4043; }
.af-gsico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.af-gsico img { width: 20px; height: 20px; object-fit: contain; }
.af-gscope p { flex: 1; min-width: 0; color: #e3e3e3 !important; font-size: 13px !important; line-height: 1.4 !important; }
.af-g a { color: #a8c7fa; font-weight: 500; text-decoration: none; }
.af-gtrust { margin-top: 12px; }
.af-gtrust b { display: block; font-size: 14px; font-weight: 500; }
.af-gtrust p { margin-top: 5px !important; color: #c4c7c5 !important; font-size: 12.5px !important; line-height: 1.45 !important; }
.af-oks { display: none; }
.af-gbtns { position: absolute; left: 24px; right: 24px; bottom: 12px; display: flex; justify-content: flex-end; gap: 8px; font-size: 14px; font-weight: 500; }
.af-gbtns span { display: grid; place-items: center; width: 104px; height: 38px; border-radius: 999px; color: #a8c7fa; }
.af-gbtns .is-go { width: 112px; background: #333537; color: #8e918f; transition: background-color .18s ease, color .18s ease; }
.is-tick .af-gbtns .is-go { background: #a8c7fa; color: #062e6f; }

/* Connect Claude panel */
.af-cl-tok, .af-cl-post { visibility: hidden; opacity: 0; }
.af-cl.is-tok .af-cl-tok { visibility: visible; opacity: 1; transition: opacity .26s ease; }
.af-cl.is-tok .af-clogin { visibility: hidden; opacity: 0; }
.af-cl.is-ok .af-cl-pre, .af-cl.is-ok .af-cl-tok { visibility: hidden; opacity: 0; transition: none; }
.af-cl.is-ok .af-cl-post { visibility: visible; opacity: 1; transition: opacity .3s ease; }
.af-cseg { height: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; border-radius: 10px; background: #f0f0ec; color: #6c6c66; font-size: 13.5px; font-weight: 500; }
.af-cseg span { display: grid; place-items: center; border-radius: 7px; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.af-cseg .is-a, .is-tok .af-cseg .is-b { background: #fff; color: #141412; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.is-tok .af-cseg .is-a { background: none; color: #6c6c66; box-shadow: none; }
.af-cbig { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 1px solid #dededa; border-radius: 10px; font-size: 14px; font-weight: 500; }
.af-cbig img { width: 18px; height: 18px; }
.af-clogin p { margin-top: 8px !important; color: #6c6c66 !important; font-size: 12.5px !important; text-align: center; }
.af-cfield { height: 42px; display: flex; align-items: center; padding: 0 12px; overflow: hidden; border: 1px solid #dededa; border-radius: 9px; font: 500 13.5px/1 var(--mono); white-space: nowrap; transition: border-color .2s ease, box-shadow .2s ease; }
.af-cfield.is-focus { border-color: #111; box-shadow: 0 0 0 1px #111; }
.af-pane > .af-mbtn { position: absolute; }

/* Cursor */
.af-cur { position: absolute; left: 0; top: 0; z-index: 40; width: 22px; height: 22px; pointer-events: none; }
.af-cur-in { position: absolute; left: 0; top: 0; width: 22px; height: 26px; transform-origin: 3px 3px; transition: transform .12s ease; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.af-cur.is-down .af-cur-in { transform: scale(.84); }
.af-ghost { position: absolute; left: 10px; top: 12px; width: 212px; height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border: 1px solid #d9d9d3; border-radius: 10px; background: #fff; box-shadow: 0 14px 30px rgba(20, 20, 18, .22); opacity: 0; transform: scale(.9) rotate(-1.5deg); transition: opacity .16s ease, transform .22s ease; }
.af-cur.is-drag .af-ghost { opacity: 1; transform: rotate(-1.5deg); }
.af-ghost .af-tile { width: 30px; height: 30px; border-radius: 8px; }
.af-ghost b { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.af-rip { position: absolute; left: -24px; top: -24px; z-index: 39; width: 48px; height: 48px; border-radius: 50%; background: rgba(47, 122, 62, .32); box-shadow: 0 0 0 2px rgba(47, 122, 62, .4); opacity: 0; pointer-events: none; }

@media (max-width: 640px) {
  .af-stage { aspect-ratio: 4 / 5; }
}
