# Shift rota

> A one-week shift rota, 1123 × 794, for a 14 person gastropub: each shift is a bar on a 10am to midnight axis, kitchen in copper and floor in mint, with hatched bars where nobody is booked. Each bar is an instance of one of two components, so a shift is one line with a start, a length and its times.

- The design, as a .vd file: https://getv.design/library/shift-rota.vd
- Its page: https://getv.design/library/shift-rota

## How it was made

Drafted from this prompt:

> A one week shift rota for The Copper Pot, a pub in Harrogate. Show 14 staff in kitchen and floor, Monday to Sunday, with shift times and a clear marker where a shift is uncovered.

Then refined:

- Moved the hour labels onto the grid lines so they point at the hour they name.
- Made rows and bars taller and the times inside them bigger.
- Made the hatched gaps bolder and added a list of the three gaps under the grid.
- Fixed the key so Floor and Not covered no longer overlap.

## Make it yours

- "Make a shift rota template for a cafe with eight staff."
- "Fill the Friday gap with Emre from 7 to midnight."
- "Show weekly hours in a different colour when someone is over 40."

## The source

```vd
version 12
kind design
title "Shift rota"
$charcoal = #2A2A2A
$paper = #F4F1EA
$copper = #C2703D
$mint = #A8D5BA
$muted = #6B665D
$hr = 8.5
$d1 = 155.5
$d2 = 281.5
$d3 = 407.5
$d4 = 533.5
$d5 = 659.5
$d6 = 785.5
$d7 = 911.5

font display = "Jockey One"
  fallback "Impact, sans-serif"
  face asset=jockey-one-400 weight=400

font body = "Share Tech Mono"
  fallback "ui-monospace, monospace"
  face asset=share-tech-mono-400 weight=400

asset jockey-one-400 = font/woff2 hash=sha256-bffb1c46787b8b805539b401c7d557c497dcc6cfc2247ee8effc2a5a540a3714 bytes=9336 license=OFL
asset share-tech-mono-400 = font/woff2 hash=sha256-41e6b9f297f7d9a2df2aaa274092f76d2f72711a15ca455f7f4f4f92caf16b72 bytes=13500 license=OFL

frame rota x=0 y=0 w=1123 h=794 background=paper
  text rota.title x=40 y=26 w=700 h=52 font=display size=46 lineHeight=1.1 fill=charcoal
    "Three shifts still need cover"
  text rota.sub x=40 y=80 w=700 h=18 font=body size=13 fill=muted
    "The Copper Pot, Harrogate. Rota for Monday 3 to Sunday 9 March."
  rect key.k x=690 y=40 w=34 h=16 fill=copper radius=3
  text key.k.t x=732 y=38 w=70 h=20 valign=middle font=body size=13 fill=charcoal
    "Kitchen"
  rect key.f x=824 y=40 w=34 h=16 fill=mint radius=3
  text key.f.t x=866 y=38 w=50 h=20 valign=middle font=body size=13 fill=charcoal
    "Floor"
  rect key.g x=920 y=40 w=34 h=16 fill=paper stroke=charcoal strokeWidth=1.2 radius=3
  vector key.g.h x=920 y=40 w=34 h=16 view="0 0 34 16" d="M5.0 0.0L0.0 5.0M10.0 0.0L0.0 10.0M15.0 0.0L0.0 15.0M20.0 0.0L4.0 16.0M25.0 0.0L9.0 16.0M30.0 0.0L14.0 16.0M34.0 1.0L19.0 16.0M34.0 6.0L24.0 16.0M34.0 11.0L29.0 16.0" fill=none stroke=charcoal strokeWidth=1.2 opacity=0.7
  text key.g.t x=962 y=38 w=100 h=20 valign=middle font=body size=13 fill=charcoal
    "Not covered"
  text day.1 x=($d1 - 3) y=104 w=120 h=26 font=display size=22 fill=charcoal
    "Mon 3"
  text tick.1.1 x=($d1 + 2 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "12pm"
  text tick.1.2 x=($d1 + 6 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "4pm"
  text tick.1.3 x=($d1 + 10 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "8pm"
  text day.2 x=($d2 - 3) y=104 w=120 h=26 font=display size=22 fill=charcoal
    "Tue 4"
  text tick.2.1 x=($d2 + 2 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "12pm"
  text tick.2.2 x=($d2 + 6 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "4pm"
  text tick.2.3 x=($d2 + 10 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "8pm"
  text day.3 x=($d3 - 3) y=104 w=120 h=26 font=display size=22 fill=charcoal
    "Wed 5"
  text tick.3.1 x=($d3 + 2 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "12pm"
  text tick.3.2 x=($d3 + 6 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "4pm"
  text tick.3.3 x=($d3 + 10 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "8pm"
  text day.4 x=($d4 - 3) y=104 w=120 h=26 font=display size=22 fill=charcoal
    "Thu 6"
  text tick.4.1 x=($d4 + 2 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "12pm"
  text tick.4.2 x=($d4 + 6 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "4pm"
  text tick.4.3 x=($d4 + 10 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "8pm"
  text day.5 x=($d5 - 3) y=104 w=120 h=26 font=display size=22 fill=charcoal
    "Fri 7"
  text tick.5.1 x=($d5 + 2 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "12pm"
  text tick.5.2 x=($d5 + 6 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "4pm"
  text tick.5.3 x=($d5 + 10 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "8pm"
  text day.6 x=($d6 - 3) y=104 w=120 h=26 font=display size=22 fill=charcoal
    "Sat 8"
  text tick.6.1 x=($d6 + 2 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "12pm"
  text tick.6.2 x=($d6 + 6 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "4pm"
  text tick.6.3 x=($d6 + 10 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "8pm"
  text day.7 x=($d7 - 3) y=104 w=120 h=26 font=display size=22 fill=charcoal
    "Sun 9"
  text tick.7.1 x=($d7 + 2 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "12pm"
  text tick.7.2 x=($d7 + 6 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "4pm"
  text tick.7.3 x=($d7 + 10 * $hr - 17) y=132 w=34 h=12 align=center font=body size=9 fill=muted
    "8pm"
  text hrs.head x=1000 y=108 w=79 h=22 valign=middle align=right font=display size=18 fill=charcoal
    "Hours"
  rect grp.kitchen.sw x=40 y=154 w=8 h=16 fill=copper radius=2
  text grp.kitchen x=56 y=150 w=200 h=24 valign=middle font=display size=20 fill=charcoal
    "Kitchen"
  rect row.hannah x=40 y=174 w=1043 h=30 fill=charcoal opacity=0.05
  text row.hannah.name x=48 y=(@row.hannah.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Hannah"
  text row.hannah.role x=48 y=(@row.hannah.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "head chef"
  instance row.hannah.d3 component=bar.kitchen x=$d3 y=(@row.hannah.y + 5) w=(8 * $hr)
    override b.time
      "10 to 6"
  instance row.hannah.d4 component=bar.kitchen x=$d4 y=(@row.hannah.y + 5) w=(8 * $hr)
    override b.time
      "10 to 6"
  instance row.hannah.d5 component=bar.kitchen x=($d5 + 5 * $hr) y=(@row.hannah.y + 5) w=(8 * $hr)
    override b.time
      "3 to 11"
  instance row.hannah.d6 component=bar.kitchen x=($d6 + 5 * $hr) y=(@row.hannah.y + 5) w=(8 * $hr)
    override b.time
      "3 to 11"
  instance row.hannah.d7 component=bar.kitchen x=$d7 y=(@row.hannah.y + 5) w=(8 * $hr)
    override b.time
      "10 to 6"
  text row.hannah.hrs x=1034 y=(@row.hannah.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "40h"
  rect row.sol x=40 y=204 w=1043 h=30 fill=paper
  text row.sol.name x=48 y=(@row.sol.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Sol"
  text row.sol.role x=48 y=(@row.sol.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "sous chef"
  instance row.sol.d1 component=bar.kitchen x=$d1 y=(@row.sol.y + 5) w=(8 * $hr)
    override b.time
      "10 to 6"
  instance row.sol.d2 component=bar.kitchen x=$d2 y=(@row.sol.y + 5) w=(8 * $hr)
    override b.time
      "10 to 6"
  instance row.sol.d4 component=bar.kitchen x=($d4 + 5 * $hr) y=(@row.sol.y + 5) w=(8 * $hr)
    override b.time
      "3 to 11"
  instance row.sol.d5 component=bar.kitchen x=$d5 y=(@row.sol.y + 5) w=(8 * $hr)
    override b.time
      "10 to 6"
  instance row.sol.d7 component=bar.kitchen x=($d7 + 5 * $hr) y=(@row.sol.y + 5) w=(8 * $hr)
    override b.time
      "3 to 11"
  text row.sol.hrs x=1034 y=(@row.sol.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "40h"
  rect row.dee x=40 y=234 w=1043 h=30 fill=charcoal opacity=0.05
  text row.dee.name x=48 y=(@row.dee.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Dee"
  text row.dee.role x=48 y=(@row.dee.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "chef de partie"
  instance row.dee.d1 component=bar.kitchen x=($d1 + 5 * $hr) y=(@row.dee.y + 5) w=(8 * $hr)
    override b.time
      "3 to 11"
  instance row.dee.d3 component=bar.kitchen x=$d3 y=(@row.dee.y + 5) w=(8 * $hr)
    override b.time
      "10 to 6"
  instance row.dee.d4 component=bar.kitchen x=$d4 y=(@row.dee.y + 5) w=(8 * $hr)
    override b.time
      "10 to 6"
  instance row.dee.d5 component=bar.kitchen x=($d5 + 6 * $hr) y=(@row.dee.y + 5) w=(8 * $hr)
    override b.time
      "4 to 12"
  instance row.dee.d6 component=bar.kitchen x=($d6 + 6 * $hr) y=(@row.dee.y + 5) w=(8 * $hr)
    override b.time
      "4 to 12"
  text row.dee.hrs x=1034 y=(@row.dee.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "40h"
  rect row.marek x=40 y=264 w=1043 h=30 fill=paper
  text row.marek.name x=48 y=(@row.marek.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Marek"
  text row.marek.role x=48 y=(@row.marek.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "grill chef"
  instance row.marek.d2 component=bar.kitchen x=($d2 + 5 * $hr) y=(@row.marek.y + 5) w=(8 * $hr)
    override b.time
      "3 to 11"
  instance row.marek.d3 component=bar.kitchen x=($d3 + 5 * $hr) y=(@row.marek.y + 5) w=(8 * $hr)
    override b.time
      "3 to 11"
  instance row.marek.d5 component=bar.kitchen x=$d5 y=(@row.marek.y + 5) w=(8 * $hr)
    override b.time
      "10 to 6"
  instance row.marek.d6 component=bar.kitchen x=$d6 y=(@row.marek.y + 5) w=(8 * $hr)
    override b.time
      "10 to 6"
  instance row.marek.d7 component=bar.kitchen x=$d7 y=(@row.marek.y + 5) w=(8 * $hr)
    override b.time
      "10 to 6"
  text row.marek.hrs x=1034 y=(@row.marek.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "40h"
  rect row.tom x=40 y=294 w=1043 h=30 fill=charcoal opacity=0.05
  text row.tom.name x=48 y=(@row.tom.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Tom"
  text row.tom.role x=48 y=(@row.tom.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "commis chef"
  instance row.tom.d3 component=bar.kitchen x=($d3 + 5 * $hr) y=(@row.tom.y + 5) w=(8 * $hr)
    override b.time
      "3 to 11"
  instance row.tom.d4 component=bar.kitchen x=($d4 + 5 * $hr) y=(@row.tom.y + 5) w=(8 * $hr)
    override b.time
      "3 to 11"
  instance row.tom.d5 component=bar.kitchen x=($d5 + 5 * $hr) y=(@row.tom.y + 5) w=(8 * $hr)
    override b.time
      "3 to 11"
  instance row.tom.d6 component=bar.kitchen x=($d6 + 5 * $hr) y=(@row.tom.y + 5) w=(8 * $hr)
    override b.time
      "3 to 11"
  text row.tom.hrs x=1034 y=(@row.tom.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "32h"
  rect row.aroha x=40 y=324 w=1043 h=30 fill=paper
  text row.aroha.name x=48 y=(@row.aroha.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Aroha"
  text row.aroha.role x=48 y=(@row.aroha.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "kitchen porter"
  instance row.aroha.d1 component=bar.kitchen x=($d1 + 2 * $hr) y=(@row.aroha.y + 5) w=(7 * $hr)
    override b.time
      "12 to 7"
  instance row.aroha.d2 component=bar.kitchen x=($d2 + 2 * $hr) y=(@row.aroha.y + 5) w=(7 * $hr)
    override b.time
      "12 to 7"
  instance row.aroha.d5 component=bar.kitchen x=($d5 + 7 * $hr) y=(@row.aroha.y + 5) w=(7 * $hr)
    override b.time
      "5 to 12"
  instance row.aroha.d6 component=bar.kitchen x=($d6 + 7 * $hr) y=(@row.aroha.y + 5) w=(7 * $hr)
    override b.time
      "5 to 12"
  instance row.aroha.d7 component=bar.kitchen x=($d7 + 2 * $hr) y=(@row.aroha.y + 5) w=(7 * $hr)
    override b.time
      "12 to 7"
  text row.aroha.hrs x=1034 y=(@row.aroha.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "35h"
  rect row.kitchen.cover x=40 y=354 w=1043 h=30 fill=paper
  text row.kitchen.cover.t x=48 y=(@row.kitchen.cover.y + 7) w=100 h=16 font=body size=11 fill=charcoal
    "Cover needed"
  rect gap.kitchen.2 x=($d2 + 7 * $hr) y=(@row.kitchen.cover.y + 5) w=(6 * $hr) h=20 fill=paper stroke=charcoal strokeWidth=1.2 radius=3
  vector gap.kitchen.2.hatch x=@gap.kitchen.2.x y=@gap.kitchen.2.y w=@gap.kitchen.2.w h=20 view="0 0 51 20" d="M5.0 0.0L0.0 5.0M10.0 0.0L0.0 10.0M15.0 0.0L0.0 15.0M20.0 0.0L0.0 20.0M25.0 0.0L5.0 20.0M30.0 0.0L10.0 20.0M35.0 0.0L15.0 20.0M40.0 0.0L20.0 20.0M45.0 0.0L25.0 20.0M50.0 0.0L30.0 20.0M51.0 4.0L35.0 20.0M51.0 9.0L40.0 20.0M51.0 14.0L45.0 20.0M51.0 19.0L50.0 20.0" fill=none stroke=charcoal strokeWidth=1.3 opacity=0.8
  rect gap.kitchen.6 x=($d6 + 0 * $hr) y=(@row.kitchen.cover.y + 5) w=(5 * $hr) h=20 fill=paper stroke=charcoal strokeWidth=1.2 radius=3
  vector gap.kitchen.6.hatch x=@gap.kitchen.6.x y=@gap.kitchen.6.y w=@gap.kitchen.6.w h=20 view="0 0 42.5 20" d="M5.0 0.0L0.0 5.0M10.0 0.0L0.0 10.0M15.0 0.0L0.0 15.0M20.0 0.0L0.0 20.0M25.0 0.0L5.0 20.0M30.0 0.0L10.0 20.0M35.0 0.0L15.0 20.0M40.0 0.0L20.0 20.0M42.5 2.5L25.0 20.0M42.5 7.5L30.0 20.0M42.5 12.5L35.0 20.0M42.5 17.5L40.0 20.0" fill=none stroke=charcoal strokeWidth=1.3 opacity=0.8
  rect grp.floor.sw x=40 y=388 w=8 h=16 fill=mint radius=2
  text grp.floor x=56 y=384 w=200 h=24 valign=middle font=display size=20 fill=charcoal
    "Floor"
  rect row.priya x=40 y=408 w=1043 h=30 fill=charcoal opacity=0.05
  text row.priya.name x=48 y=(@row.priya.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Priya"
  text row.priya.role x=48 y=(@row.priya.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "manager"
  instance row.priya.d1 component=bar.floor x=($d1 + 1 * $hr) y=(@row.priya.y + 5) w=(8 * $hr)
    override b.time
      "11 to 7"
  instance row.priya.d2 component=bar.floor x=($d2 + 1 * $hr) y=(@row.priya.y + 5) w=(8 * $hr)
    override b.time
      "11 to 7"
  instance row.priya.d3 component=bar.floor x=($d3 + 1 * $hr) y=(@row.priya.y + 5) w=(8 * $hr)
    override b.time
      "11 to 7"
  instance row.priya.d5 component=bar.floor x=($d5 + 6 * $hr) y=(@row.priya.y + 5) w=(8 * $hr)
    override b.time
      "4 to 12"
  instance row.priya.d6 component=bar.floor x=($d6 + 6 * $hr) y=(@row.priya.y + 5) w=(8 * $hr)
    override b.time
      "4 to 12"
  text row.priya.hrs x=1034 y=(@row.priya.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "40h"
  rect row.ben x=40 y=438 w=1043 h=30 fill=paper
  text row.ben.name x=48 y=(@row.ben.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Ben"
  text row.ben.role x=48 y=(@row.ben.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "bar lead"
  instance row.ben.d2 component=bar.floor x=($d2 + 6 * $hr) y=(@row.ben.y + 5) w=(8 * $hr)
    override b.time
      "4 to 12"
  instance row.ben.d3 component=bar.floor x=($d3 + 6 * $hr) y=(@row.ben.y + 5) w=(8 * $hr)
    override b.time
      "4 to 12"
  instance row.ben.d4 component=bar.floor x=($d4 + 1 * $hr) y=(@row.ben.y + 5) w=(8 * $hr)
    override b.time
      "11 to 7"
  instance row.ben.d6 component=bar.floor x=($d6 + 1 * $hr) y=(@row.ben.y + 5) w=(8 * $hr)
    override b.time
      "11 to 7"
  instance row.ben.d7 component=bar.floor x=($d7 + 1 * $hr) y=(@row.ben.y + 5) w=(8 * $hr)
    override b.time
      "11 to 7"
  text row.ben.hrs x=1034 y=(@row.ben.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "40h"
  rect row.fiona x=40 y=468 w=1043 h=30 fill=charcoal opacity=0.05
  text row.fiona.name x=48 y=(@row.fiona.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Fiona"
  text row.fiona.role x=48 y=(@row.fiona.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "supervisor"
  instance row.fiona.d4 component=bar.floor x=($d4 + 6 * $hr) y=(@row.fiona.y + 5) w=(8 * $hr)
    override b.time
      "4 to 12"
  instance row.fiona.d5 component=bar.floor x=($d5 + 1 * $hr) y=(@row.fiona.y + 5) w=(8 * $hr)
    override b.time
      "11 to 7"
  instance row.fiona.d6 component=bar.floor x=($d6 + 2 * $hr) y=(@row.fiona.y + 5) w=(8 * $hr)
    override b.time
      "12 to 8"
  instance row.fiona.d7 component=bar.floor x=($d7 + 6 * $hr) y=(@row.fiona.y + 5) w=(7 * $hr)
    override b.time
      "4 to 11"
  text row.fiona.hrs x=1034 y=(@row.fiona.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "31h"
  rect row.josh x=40 y=498 w=1043 h=30 fill=paper
  text row.josh.name x=48 y=(@row.josh.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Josh"
  text row.josh.role x=48 y=(@row.josh.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "bar"
  instance row.josh.d1 component=bar.floor x=($d1 + 6 * $hr) y=(@row.josh.y + 5) w=(7 * $hr)
    override b.time
      "4 to 11"
  instance row.josh.d3 component=bar.floor x=($d3 + 2 * $hr) y=(@row.josh.y + 5) w=(8 * $hr)
    override b.time
      "12 to 8"
  instance row.josh.d4 component=bar.floor x=($d4 + 2 * $hr) y=(@row.josh.y + 5) w=(8 * $hr)
    override b.time
      "12 to 8"
  instance row.josh.d5 component=bar.floor x=($d5 + 2 * $hr) y=(@row.josh.y + 5) w=(8 * $hr)
    override b.time
      "12 to 8"
  text row.josh.hrs x=1034 y=(@row.josh.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "31h"
  rect row.chloe x=40 y=528 w=1043 h=30 fill=charcoal opacity=0.05
  text row.chloe.name x=48 y=(@row.chloe.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Chloe"
  text row.chloe.role x=48 y=(@row.chloe.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "waiting"
  instance row.chloe.d2 component=bar.floor x=($d2 + 2 * $hr) y=(@row.chloe.y + 5) w=(8 * $hr)
    override b.time
      "12 to 8"
  instance row.chloe.d5 component=bar.floor x=($d5 + 7 * $hr) y=(@row.chloe.y + 5) w=(7 * $hr)
    override b.time
      "5 to 12"
  instance row.chloe.d6 component=bar.floor x=($d6 + 7 * $hr) y=(@row.chloe.y + 5) w=(7 * $hr)
    override b.time
      "5 to 12"
  instance row.chloe.d7 component=bar.floor x=($d7 + 2 * $hr) y=(@row.chloe.y + 5) w=(8 * $hr)
    override b.time
      "12 to 8"
  text row.chloe.hrs x=1034 y=(@row.chloe.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "30h"
  rect row.emre x=40 y=558 w=1043 h=30 fill=paper
  text row.emre.name x=48 y=(@row.emre.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Emre"
  text row.emre.role x=48 y=(@row.emre.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "waiting"
  instance row.emre.d1 component=bar.floor x=($d1 + 2 * $hr) y=(@row.emre.y + 5) w=(6 * $hr)
    override b.time
      "12 to 6"
  instance row.emre.d3 component=bar.floor x=($d3 + 7 * $hr) y=(@row.emre.y + 5) w=(7 * $hr)
    override b.time
      "5 to 12"
  instance row.emre.d6 component=bar.floor x=($d6 + 2 * $hr) y=(@row.emre.y + 5) w=(8 * $hr)
    override b.time
      "12 to 8"
  instance row.emre.d7 component=bar.floor x=($d7 + 7 * $hr) y=(@row.emre.y + 5) w=(7 * $hr)
    override b.time
      "5 to 12"
  text row.emre.hrs x=1034 y=(@row.emre.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "28h"
  rect row.lily x=40 y=588 w=1043 h=30 fill=charcoal opacity=0.05
  text row.lily.name x=48 y=(@row.lily.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Lily"
  text row.lily.role x=48 y=(@row.lily.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "waiting"
  instance row.lily.d2 component=bar.floor x=($d2 + 7 * $hr) y=(@row.lily.y + 5) w=(6 * $hr)
    override b.time
      "5 to 11"
  instance row.lily.d4 component=bar.floor x=($d4 + 7 * $hr) y=(@row.lily.y + 5) w=(6 * $hr)
    override b.time
      "5 to 11"
  instance row.lily.d5 component=bar.floor x=($d5 + 1 * $hr) y=(@row.lily.y + 5) w=(6 * $hr)
    override b.time
      "11 to 5"
  instance row.lily.d7 component=bar.floor x=($d7 + 1 * $hr) y=(@row.lily.y + 5) w=(6 * $hr)
    override b.time
      "11 to 5"
  text row.lily.hrs x=1034 y=(@row.lily.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "24h"
  rect row.ravi x=40 y=618 w=1043 h=30 fill=paper
  text row.ravi.name x=48 y=(@row.ravi.y + 3) w=100 h=16 font=body size=13 fill=charcoal
    "Ravi"
  text row.ravi.role x=48 y=(@row.ravi.y + 17) w=100 h=11 font=body size=9.5 fill=muted
    "bar"
  instance row.ravi.d3 component=bar.floor x=($d3 + 7 * $hr) y=(@row.ravi.y + 5) w=(6 * $hr)
    override b.time
      "5 to 11"
  instance row.ravi.d4 component=bar.floor x=($d4 + 7 * $hr) y=(@row.ravi.y + 5) w=(6 * $hr)
    override b.time
      "5 to 11"
  instance row.ravi.d6 component=bar.floor x=($d6 + 1 * $hr) y=(@row.ravi.y + 5) w=(6 * $hr)
    override b.time
      "11 to 5"
  instance row.ravi.d7 component=bar.floor x=($d7 + 2 * $hr) y=(@row.ravi.y + 5) w=(6 * $hr)
    override b.time
      "12 to 6"
  text row.ravi.hrs x=1034 y=(@row.ravi.y + 5) w=45 h=20 valign=middle align=right font=body size=14 fill=charcoal
    "24h"
  rect row.floor.cover x=40 y=648 w=1043 h=30 fill=paper
  text row.floor.cover.t x=48 y=(@row.floor.cover.y + 7) w=100 h=16 font=body size=11 fill=charcoal
    "Cover needed"
  rect gap.floor.5 x=($d5 + 9 * $hr) y=(@row.floor.cover.y + 5) w=(5 * $hr) h=20 fill=paper stroke=charcoal strokeWidth=1.2 radius=3
  vector gap.floor.5.hatch x=@gap.floor.5.x y=@gap.floor.5.y w=@gap.floor.5.w h=20 view="0 0 42.5 20" d="M5.0 0.0L0.0 5.0M10.0 0.0L0.0 10.0M15.0 0.0L0.0 15.0M20.0 0.0L0.0 20.0M25.0 0.0L5.0 20.0M30.0 0.0L10.0 20.0M35.0 0.0L15.0 20.0M40.0 0.0L20.0 20.0M42.5 2.5L25.0 20.0M42.5 7.5L30.0 20.0M42.5 12.5L35.0 20.0M42.5 17.5L40.0 20.0" fill=none stroke=charcoal strokeWidth=1.3 opacity=0.8
  vector grid.hours x=152 y=150 w=882 h=528 view="0 0 882 528" d="M20.5 0V528M37.5 0V528M54.5 0V528M71.5 0V528M88.5 0V528M105.5 0V528M146.5 0V528M163.5 0V528M180.5 0V528M197.5 0V528M214.5 0V528M231.5 0V528M272.5 0V528M289.5 0V528M306.5 0V528M323.5 0V528M340.5 0V528M357.5 0V528M398.5 0V528M415.5 0V528M432.5 0V528M449.5 0V528M466.5 0V528M483.5 0V528M524.5 0V528M541.5 0V528M558.5 0V528M575.5 0V528M592.5 0V528M609.5 0V528M650.5 0V528M667.5 0V528M684.5 0V528M701.5 0V528M718.5 0V528M735.5 0V528M776.5 0V528M793.5 0V528M810.5 0V528M827.5 0V528M844.5 0V528M861.5 0V528" fill=none stroke=charcoal strokeWidth=1 opacity=0.1
  vector grid.days x=152 y=100 w=883 h=578 view="0 0 883 578" d="M0 0V578M126 0V578M252 0V578M378 0V578M504 0V578M630 0V578M756 0V578M882 0V578" fill=none stroke=charcoal strokeWidth=1 opacity=0.35
  connector grid.top x1=40 y1=148 x2=1083 y2=148 stroke=charcoal strokeWidth=2
  text need.title x=40 y=688 w=300 h=30 font=display size=24 fill=charcoal
    "To fill before Monday"
  rect need.1.sw x=40 y=726 w=52 h=40 fill=paper stroke=charcoal strokeWidth=1.3 radius=3
  vector need.1.hatch x=40 y=726 w=52 h=40 view="0 0 52 40" d="M5.0 0.0L0.0 5.0M10.0 0.0L0.0 10.0M15.0 0.0L0.0 15.0M20.0 0.0L0.0 20.0M25.0 0.0L0.0 25.0M30.0 0.0L0.0 30.0M35.0 0.0L0.0 35.0M40.0 0.0L0.0 40.0M45.0 0.0L5.0 40.0M50.0 0.0L10.0 40.0M52.0 3.0L15.0 40.0M52.0 8.0L20.0 40.0M52.0 13.0L25.0 40.0M52.0 18.0L30.0 40.0M52.0 23.0L35.0 40.0M52.0 28.0L40.0 40.0M52.0 33.0L45.0 40.0M52.0 38.0L50.0 40.0" fill=none stroke=charcoal strokeWidth=1.3 opacity=0.8
  text need.1.t x=106 y=724 w=250 h=24 font=display size=19 fill=charcoal
    "Tuesday, kitchen"
  text need.1.d x=106 y=750 w=270 h=36 font=body size=13 lineHeight=1.3 fill=muted
    "5pm to 11pm, a second chef"
  rect need.2.sw x=388 y=726 w=52 h=40 fill=paper stroke=charcoal strokeWidth=1.3 radius=3
  vector need.2.hatch x=388 y=726 w=52 h=40 view="0 0 52 40" d="M5.0 0.0L0.0 5.0M10.0 0.0L0.0 10.0M15.0 0.0L0.0 15.0M20.0 0.0L0.0 20.0M25.0 0.0L0.0 25.0M30.0 0.0L0.0 30.0M35.0 0.0L0.0 35.0M40.0 0.0L0.0 40.0M45.0 0.0L5.0 40.0M50.0 0.0L10.0 40.0M52.0 3.0L15.0 40.0M52.0 8.0L20.0 40.0M52.0 13.0L25.0 40.0M52.0 18.0L30.0 40.0M52.0 23.0L35.0 40.0M52.0 28.0L40.0 40.0M52.0 33.0L45.0 40.0M52.0 38.0L50.0 40.0" fill=none stroke=charcoal strokeWidth=1.3 opacity=0.8
  text need.2.t x=454 y=724 w=250 h=24 font=display size=19 fill=charcoal
    "Friday, floor"
  text need.2.d x=454 y=750 w=270 h=36 font=body size=13 lineHeight=1.3 fill=muted
    "7pm to midnight, one more on the bar"
  rect need.3.sw x=736 y=726 w=52 h=40 fill=paper stroke=charcoal strokeWidth=1.3 radius=3
  vector need.3.hatch x=736 y=726 w=52 h=40 view="0 0 52 40" d="M5.0 0.0L0.0 5.0M10.0 0.0L0.0 10.0M15.0 0.0L0.0 15.0M20.0 0.0L0.0 20.0M25.0 0.0L0.0 25.0M30.0 0.0L0.0 30.0M35.0 0.0L0.0 35.0M40.0 0.0L0.0 40.0M45.0 0.0L5.0 40.0M50.0 0.0L10.0 40.0M52.0 3.0L15.0 40.0M52.0 8.0L20.0 40.0M52.0 13.0L25.0 40.0M52.0 18.0L30.0 40.0M52.0 23.0L35.0 40.0M52.0 28.0L40.0 40.0M52.0 33.0L45.0 40.0M52.0 38.0L50.0 40.0" fill=none stroke=charcoal strokeWidth=1.3 opacity=0.8
  text need.3.t x=802 y=724 w=250 h=24 font=display size=19 fill=charcoal
    "Saturday, kitchen"
  text need.3.d x=802 y=750 w=270 h=36 font=body size=13 lineHeight=1.3 fill=muted
    "10am to 3pm, a prep chef"

frame bar.kitchen x=0 y=900 w=100 h=20 component
  rect b.fill x=0 y=0 w=(100%) h=(100%) fill=copper radius=3
  text b.time x=0 y=0 w=(100%) h=(100%) align=center valign=middle font=body size=11 fill=charcoal
    "10 to 6"

frame bar.floor x=200 y=900 w=100 h=20 component
  rect b.fill x=0 y=0 w=(100%) h=(100%) fill=mint radius=3
  text b.time x=0 y=0 w=(100%) h=(100%) align=center valign=middle font=body size=11 fill=charcoal
    "11 to 7"
```
