/* The pictures on business.html and the business door on index.html, built by
   v-business.js. App pieces are the app's dark theme (theme.css: ground
   #0c0c0e, raised #1b1b1e, text #fff, secondary #9b9b98, accent #6cb4ff;
   chrome.css: danger #e07a73, faint #74767b) floating in the page's night as
   glimpses; captions are the site's own type. Each picture is laid out at a
   design width in pixels and scaled as one piece by the script. */

.vb {
  --vt: #fff; --vt2: rgba(255, 255, 255, .86); --vsec: #9b9b98; --vfaint: #74767b;
  --vrule: rgba(255, 255, 255, .09); --vacc: #6cb4ff; --vice: #8fc8ff; --vdanger: #e07a73;
  position: relative; width: 100%; font-family: var(--ui); color: var(--vt); text-align: left;
  -webkit-font-smoothing: antialiased; font-variant-ligatures: none;
}
.vb-box { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

/* A piece of the app, floating. */
.vb-gp {
  position: relative; z-index: 1; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #232429, #17181b);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 34px 80px -26px rgba(0, 0, 0, .9), 0 0 70px -24px rgba(47, 123, 255, .42);
  font-size: 14px; line-height: 1.45;
}
/* The light the pieces stand in, the colour of the range. */
.vb-glow {
  position: absolute; inset: -14% -8%; z-index: 0; pointer-events: none;
  background: radial-gradient(48% 46% at 50% 54%, rgba(47, 123, 255, .2), rgba(47, 123, 255, .06) 55%, transparent 72%);
}
.vb-crumb { height: 18px; margin-bottom: 6px; font-size: 12px; line-height: 18px; color: var(--vsec); }
.vb-nz { color: var(--vice); font-weight: 400; }

/* A face (editor.css .pn-face): a stamp, the initial in black on white. */
.vb-face {
  display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 5px;
  background: #f2f2f0; color: #141416; font: 600 10px/1 var(--ui);
}

/* A value that slides up when it changes. */
.vb-roll { display: inline-grid; vertical-align: top; }
.vb-rv { grid-area: 1 / 1; transition: transform .6s var(--ease), opacity .45s ease; }
.vb-rv.vb-below { transform: translateY(.7em); opacity: 0; }
.vb-rv.vb-above { transform: translateY(-.7em); opacity: 0; }

/* Rows of a page, the same height on every copy, so a line on one sits level
   with itself on the other. */
.vb-r { position: relative; white-space: nowrap; }
.vb-rt { height: 36px; font-size: 26px; line-height: 36px; font-weight: 700; letter-spacing: -.02em; }
.vb-ul { margin-top: 10px; }
.vb-rl { height: 28px; padding-left: 20px; font-size: 16px; line-height: 28px; color: var(--vt2); }
.vb-rp { height: 28px; margin-top: 12px; font-size: 16px; line-height: 28px; color: var(--vt2); }
.vb-r b { font-weight: 600; color: var(--vt); }
.vb-gp .vb-rl::before { content: ""; position: absolute; left: 6px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--vsec); }

/* ================================================================ Sealed */
.vb-sealed .vb-box {
  display: grid; grid-template-columns: 350px 300px 350px;
  grid-template-areas: "l w r" "cl cw cr";
}
.vb-sealed .vb-l { grid-area: l; }
.vb-sealed .vb-rr { grid-area: r; }
.vb-sealed .vb-wire { grid-area: w; }
.vb-cap-l { grid-area: cl; } .vb-cap-w { grid-area: cw; } .vb-cap-r { grid-area: cr; }
.vb-deal { padding: 28px 30px 32px; }
.vb-copy .vb-r { overflow: hidden; }
.vb-copy .vb-crumb { opacity: 0; }
/* The line lighting up as it leaves Maya's page. */
.vb-wash { position: absolute; left: -7px; right: -7px; top: 1px; bottom: 1px; z-index: 0; border-radius: 6px; background: rgba(108, 180, 255, .17); opacity: 0; }
.vb-rtx { position: relative; z-index: 1; }

/* The middle: what crossed, as the noise it was. */
.vb-wire {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 6px, #000 76px, #000 calc(100% - 76px), transparent calc(100% - 6px));
  mask-image: linear-gradient(90deg, transparent 6px, #000 76px, #000 calc(100% - 76px), transparent calc(100% - 6px));
}
.vb-ghost { padding: 29px 0 0; }
.vb-ghost .vb-crumb { visibility: hidden; }
.vb-ghost .vb-rl { padding-left: 0; }
.vb-wp { position: absolute; inset: 0; overflow: hidden; }
.vb-wt { display: block; color: var(--vice); opacity: .4; }
.vb-ghost .vb-rt .vb-wt { font-weight: 600; }
.vb-pk {
  position: absolute; left: 0; top: 0; color: #d4ebff; opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.vb-ghost .vb-rt .vb-pk { font-weight: 600; }

.vb-cap {
  display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 24px;
  font-family: var(--body); font-size: 15px; line-height: 22px; color: var(--ink-3);
}
.vb-cap-w { color: var(--ink-2); }

.vb-narrow.vb-sealed .vb-box { grid-template-columns: 350px; grid-template-areas: "l" "cl" "w" "cw" "r" "cr"; }
.vb-narrow .vb-deal { padding: 22px 24px 24px; }
.vb-narrow .vb-wire { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
.vb-narrow .vb-ghost { padding-top: 4px; }
.vb-narrow .vb-ghost .vb-crumb { display: none; }
.vb-narrow .vb-cap { margin: 16px 0 30px; font-size: 14px; }
.vb-narrow .vb-cap-r { margin-bottom: 0; }

/* ================================================================ Meeting */
.vb-meeting .vb-box { display: grid; grid-template-columns: 330px 630px; column-gap: 40px; align-items: center; padding-bottom: 22px; }
.vb-call { padding: 18px 18px 8px; }
.vb-callh b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.vb-callh span { font-size: 12.5px; color: var(--vsec); }
.vb-plist { margin-top: 10px; }
.vb-prow { display: flex; align-items: center; gap: 12px; height: 50px; border-top: 1px solid var(--vrule); }
.vb-av { position: relative; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #34353b; font-size: 13px; font-weight: 600; }
/* Who is talking: a ring and a level, as call apps draw it. */
.vb-av::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--vice); opacity: 0; transition: opacity .25s ease; }
.vb-on .vb-av::after { opacity: 1; }
.vb-pn { flex: 1; min-width: 0; font-size: 14px; }
.vb-talk { display: flex; align-items: center; gap: 2px; height: 14px; opacity: 0; transition: opacity .25s ease; }
.vb-on .vb-talk { opacity: 1; }
.vb-talk i { width: 3px; height: 14px; border-radius: 2px; background: var(--vice); transform: scaleY(.3); transition: transform .11s linear; }
/* Where a notetaker would sit: nobody, and this computer recording. */
.vb-here .vb-pn { font-size: 13.5px; color: var(--vsec); }
.vb-avrec { background: none; border: 1.5px dashed rgba(255, 255, 255, .18); }
.vb-avrec::after { display: none; }
.vb-avrec i { width: 9px; height: 9px; border-radius: 50%; background: var(--vdanger); }

.vb-mpage { height: 450px; padding: 24px 30px 0; }
.vb-mt { height: 34px; font-size: 26px; line-height: 34px; font-weight: 700; letter-spacing: -.02em; }
.vb-tview {
  position: relative; height: 300px; margin-top: 10px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 64px);
  mask-image: linear-gradient(180deg, transparent 0, #000 64px);
}
.vb-tlist { position: absolute; left: 0; right: 0; top: 0; transition: transform .8s var(--ease); }
.vb-tb { padding-top: 22px; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.vb-tb.vb-enter { opacity: 0; transform: translateY(12px); }
.vb-tbh { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.vb-tav { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .11); color: var(--vsec); font-size: 10px; font-weight: 600; }
.vb-tname { font-size: 12px; font-weight: 600; color: var(--vsec); }
.vb-tbt { margin: 0; padding-left: 14px; border-left: 2px solid rgba(255, 255, 255, .18); font-size: 15.5px; line-height: 1.55; }

/* The meeting bar (chrome.css #meeting-bar), its light held still. */
.vb-mbar {
  position: absolute; z-index: 3; left: 685px; bottom: 0; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; padding: 8px 14px; white-space: nowrap;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); background: #1b1b1e;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45), 0 24px 60px -24px rgba(0, 0, 0, .9);
  font-size: 12px;
}
.vb-rec { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--vdanger); }
.vb-clock { min-width: 38px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vb-mlines { display: flex; flex-direction: column; gap: 1px; padding-right: 4px; }
.vb-minto { font-size: 12px; }
.vb-msub { font-size: 11px; color: var(--vfaint); }
.vb-meter { display: flex; align-items: center; gap: 2px; height: 18px; padding: 0 2px; }
.vb-meter i { width: 2px; height: 18px; border-radius: 1px; background: var(--vdanger); transform: scaleY(.11); transition: transform 140ms linear; }
.vb-stop { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--vdanger); color: var(--vdanger); }
.vb-stop i { width: 8px; height: 8px; border-radius: 1.5px; background: currentColor; }

.vb-narrow.vb-meeting .vb-box { grid-template-columns: 350px; row-gap: 18px; }
.vb-narrow .vb-call { padding: 14px 16px 4px; }
.vb-narrow .vb-prow { height: 42px; gap: 10px; }
.vb-narrow .vb-av { width: 26px; height: 26px; font-size: 11px; }
.vb-narrow .vb-mpage { height: 400px; padding: 20px 22px 0; }
.vb-narrow .vb-mt { font-size: 22px; }
.vb-narrow .vb-tview { height: 270px; }
.vb-narrow .vb-tbt { font-size: 14.5px; }
.vb-narrow .vb-mbar { left: 175px; gap: 9px; padding: 7px 12px; }
.vb-narrow .vb-mlines { display: none; }

/* ================================================================ API */
.vb-api .vb-box { height: 492px; }
.vb-api .vb-gp { position: absolute; }
.vb-code { left: 0; top: 0; width: 560px; padding: 18px 22px 20px; font: 12.5px/1.72 ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace; color: #dcdcd8; }
.vb-req { min-height: 43px; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--vrule); }
.vb-cl { height: 21.5px; white-space: pre; }
.vb-ans { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.vb-res { opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .45s var(--ease); }
.vb-res.vb-in { opacity: 1; transform: none; }
.vb-cur { display: inline-block; width: 7px; height: 15px; margin-left: 1px; vertical-align: -3px; background: #dcdcd8; }
.c-p { color: var(--vfaint); }
.c-k { color: #9fcdf7; }
.c-s { color: #e8e8e4; }
.c-b { color: #b9b9b4; }

.vb-apage { left: 548px; top: 64px; width: 420px; z-index: 2; padding: 22px 28px 26px; }
.vb-at { height: 34px; font-size: 26px; line-height: 34px; font-weight: 700; letter-spacing: -.02em; }
.vb-ap { margin: 10px 0 0; font-size: 15px; line-height: 26px; color: var(--vt2); }
/* A live value in a page (editor.css a[href^="synomy-var:"]): a quiet pill. */
.vb-pill { position: relative; display: inline-block; vertical-align: top; height: 24px; margin-top: 1px; padding: 0 4px; overflow: hidden; border-radius: 5px; background: rgba(135, 131, 120, .25); color: var(--vt); line-height: 24px; font-variant-numeric: tabular-nums; }
.vb-pill::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(108, 180, 255, .34); opacity: 0; }
.vb-tick .vb-pill::after { animation: vb-glint 1.8s ease; }
.vb-todo { margin-top: 12px; }
.vb-td { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 28px; color: var(--vt2); }
.vb-td i { flex: none; width: 15px; height: 15px; box-sizing: border-box; border-radius: 4px; border: 1.5px solid var(--vfaint); }
.vb-td.vb-done { color: var(--vsec); text-decoration: line-through; text-decoration-color: rgba(155, 155, 152, .6); }
.vb-td.vb-done i {
  border-color: var(--vacc);
  background: var(--vacc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.8 2.8 6.2-6.4' fill='none' stroke='%230c0c0e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* The value as the Webhooks tab shows it (plugins/webhooks view.js card). */
.vb-wcard { left: 718px; top: 300px; width: 282px; z-index: 3; padding: 16px 18px 14px; }
.vb-wtop { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--vsec); }
.vb-fav { display: grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 4px; background: #3a3b41; color: #fff; font-size: 9.5px; font-weight: 700; }
.vb-host { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vb-ok { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #46c47c; box-shadow: 0 0 0 3px rgba(70, 196, 124, .18); }
.vb-wval { height: 36px; margin-top: 10px; overflow: hidden; font-size: 32px; font-weight: 680; letter-spacing: -.025em; line-height: 36px; font-variant-numeric: tabular-nums; }
.vb-wlab { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.vb-wlab b { font-size: 13.5px; font-weight: 600; }
.vb-wlab code { padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, .07); color: var(--vsec); font: 11.5px ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
.vb-spark { display: block; width: 100%; height: 44px; margin: 8px 0 4px; overflow: visible; }
.vb-sl2 { fill: none; stroke: var(--vacc); stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.vb-sa { fill: rgba(108, 180, 255, .07); }
.vb-sl2, .vb-sa { transition: d .8s var(--ease); }
.vb-wfoot { display: flex; gap: 8px; font-size: 11.5px; color: var(--vsec); }
.vb-wfoot span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vb-used { flex: none; padding: 0 7px; border-radius: 6px; background: rgba(255, 255, 255, .07); }

.vb-narrow.vb-api .vb-box { height: auto; display: flex; flex-direction: column; }
.vb-narrow.vb-api .vb-gp { position: relative; left: auto; top: auto; }
.vb-narrow .vb-code { width: 350px; padding: 14px 16px 16px; font-size: 10.6px; }
.vb-narrow .vb-cl { height: 18.2px; }
.vb-narrow .vb-req { min-height: 36px; }
.vb-narrow .vb-apage { width: 330px; margin: -26px 0 0 20px; padding: 20px 22px 22px; }
.vb-narrow .vb-at { font-size: 22px; }
.vb-narrow .vb-wcard { width: 250px; margin: -16px 0 0 0; }

/* ================================================================ Files */
.vb-files .vb-box { height: 512px; }
.vb-files .vb-gp { position: absolute; }
.vb-fpage { left: 0; top: 118px; width: 410px; padding: 24px 28px 28px; }
.vb-ft { height: 38px; font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -.02em; }
.vb-fp { margin: 10px 0 0; font-size: 15px; line-height: 26px; color: var(--vt2); }
.vb-fv { position: relative; }
.vb-seltx { border-radius: 2px; background: rgba(108, 180, 255, .34); }
.vb-ecur { display: inline-block; width: 2px; height: 18px; margin-left: 1px; vertical-align: -3px; background: #fff; }

.vb-folder { left: 372px; top: 0; width: 340px; z-index: 2; font-size: 13px; }
.vb-fhd { display: flex; align-items: center; gap: 8px; padding: 12px 15px; border-bottom: 1px solid var(--vrule); font-weight: 600; }
.vb-fhd .g { color: var(--vacc); font-size: 14px; }
.vb-fhd em { margin-left: auto; font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--vfaint); }
.vb-frows { padding: 6px; }
.vb-frow { position: relative; display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 9px 0 calc(6px + var(--d, 0) * 15px); border-radius: 7px; }
.vb-frow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(108, 180, 255, .2); opacity: 0; pointer-events: none; }
.vb-frow.vb-saved::after { animation: vb-glint 1.8s ease; }
.vb-tw { position: relative; flex: none; width: 9px; height: 9px; }
.vb-open .vb-tw::before, .vb-dir .vb-tw::before { content: ""; position: absolute; left: 1px; top: 2px; border-style: solid; border-color: transparent; }
.vb-open .vb-tw::before { border-width: 5px 3.5px 0; border-top-color: var(--vsec); }
.vb-dir .vb-tw::before { top: 1px; left: 2px; border-width: 3.5px 0 3.5px 5px; border-left-color: var(--vsec); }
.vb-frow .g { color: var(--vsec); font-size: 13px; }
.vb-dir .g, .vb-open .g { color: var(--vacc); }
.vb-fn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vb-frow em { flex: none; font-style: normal; font-size: 11px; color: var(--vfaint); }
/* A hidden folder, shown the way Finder shows one: dimmed. */
.vb-dim { color: rgba(255, 255, 255, .5); }
.vb-dim .g { opacity: .6; }
.vb-pick { background: rgba(108, 180, 255, .22); }
.vb-pick .g { color: var(--vt); }

.vb-mdf { left: 640px; top: 286px; width: 360px; z-index: 3; }
.vb-mname { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--vrule); font-size: 12px; color: var(--vsec); }
.vb-md { margin: 0; padding: 16px 18px 18px; white-space: pre; overflow: hidden; font: 12.5px/1.75 ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace; color: #cfcfcc; }
.vb-mh { color: var(--vacc); font-weight: 600; }
.vb-mm { color: var(--vfaint); }
.vb-ml { position: relative; display: inline-block; }
.vb-ml::after { content: ""; position: absolute; inset: 0 -5px; border-radius: 4px; background: rgba(108, 180, 255, .2); opacity: 0; }
.vb-ml.vb-saved::after { animation: vb-glint 1.8s ease; }
@keyframes vb-glint { 0% { opacity: 0; } 14% { opacity: 1; } 100% { opacity: 0; } }

.vb-narrow.vb-files .vb-box { height: auto; display: flex; flex-direction: column; }
.vb-narrow.vb-files .vb-gp { position: relative; left: auto; top: auto; }
.vb-narrow .vb-fpage { width: 330px; padding: 20px 22px 24px; }
.vb-narrow .vb-ft { font-size: 26px; }
.vb-narrow .vb-folder { width: 320px; margin: -22px 0 0 30px; }
.vb-narrow .vb-mdf { width: 330px; margin: -22px 0 0 6px; }

/* ================================================================ The door (index.html) */
.vb.vb-door { position: absolute; inset: 0; overflow: hidden; }
.vb-door .vb-glow { inset: 0; background: radial-gradient(56% 60% at 50% 52%, rgba(47, 123, 255, .2), transparent 72%); }
.vb-dcard { position: absolute; top: 16%; bottom: 16%; width: 40%; border-radius: 16px; }
.vb-dl { left: -6%; }
.vb-dr { right: -6%; }
.vb-dcard .vb-face { position: absolute; top: 14px; width: 18px; height: 18px; font-size: 9px; }
.vb-dl .vb-face { right: 14px; }
.vb-dr .vb-face { left: 14px; }
.vb-dz { position: absolute; top: 0; bottom: 0; z-index: 2; overflow: hidden; }
.vb-dline { position: absolute; left: 0; margin-top: -11px; white-space: pre; font-size: 16px; line-height: 22px; color: var(--vt); }
.vb-dline.vb-dnz { font: 14px/22px ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace; color: var(--vice); opacity: .8; }
.vb-narrow .vb-dcard { width: 36%; }
.vb-narrow .vb-dl { left: -10%; }
.vb-narrow .vb-dr { right: -10%; }
.vb-narrow .vb-dline { font-size: 13.5px; }
.vb-narrow .vb-dline.vb-dnz { font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .vb *, .vb *::before, .vb *::after { transition: none !important; animation: none !important; }
}
