/*
  The workspace, as the signed-off W designs draw it (W 01, node 97:2962, "SHEDyt - Interactive Prototypes 2026-10-27
  v2"). The frame is an iPad at 1200 by 834 with 100px of browser at the top, so every position here is the frame's
  less 100 down. The properties column is pinned left and the people column right; the middle takes what's between, so
  at 1200px wide everything sits exactly where the design has it. Colours and sizes are the design's own, to the pixel.

  A bigger screen never makes anything bigger: the middle grows, and the products spread into as many 640px columns as
  fit, with the add-product band across them all. A smaller one, down to 760px where the phone design takes over, keeps
  everything at the design's size: the side columns fold into strips, and a strip slides its column out over the
  products (there's no design for this). Taller screens show more of each column.

  The design's hover looks change at once; here they fade, over 300ms, the prototype's own animation time.
*/

/* The iPad layout, the phone's and the viewer that opens over either */
.ws-page {
  position: relative;
}

.ws {
  position: relative;
  min-width: 1200px;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #f1f4f5;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: normal;
  color: #434552;
}

/* The strips the side columns fold into, and the shade over the products while one is out: only when they're folded */
.ws-fold,
.ws-scrim {
  display: none;
}

.ws img {
  display: block;
}

.ws h1,
.ws h2,
.ws h3 {
  margin: 0;
  line-height: normal;
}

.ws-status {
  margin: 120px auto;
  text-align: center;
  color: #434552;
}

.ws-status--error {
  color: #c62828;
}

.ws-avatar {
  display: block;
  border-radius: 50%;
  background: #e0e0e0 center / cover no-repeat;
  box-shadow: inset 0 0 0 3px var(--ring, #747277);
}

/* ---------- Properties, on the left ---------- */

/* Each column is a colour from under the top bar down: beige, purple and green, at half strength on the grey */
.ws-prop,
.ws-people {
  position: absolute;
  top: 0;
  bottom: 0;
}

.ws-prop {
  left: 0;
  width: 300px;
}

.ws-prop::before,
.ws-mid::before,
.ws-people::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 86px;
  bottom: 0;
}

.ws-prop::before {
  background: rgb(205 170 137 / 50%);
}

/* The "shedyt(company) section" */
.ws-company {
  position: absolute;
  left: 10px;
  top: 0;
  width: 290px;
  height: 68px;
  border-radius: 0 0 10px 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #482581, 0 3px 6px rgb(0 0 0 / 10%);
}

.ws-company__logo {
  position: absolute;
  left: 16px;
  top: 2px;
  max-width: 129.48px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.ws-company__logo--shedyt {
  width: 129.48px;
}

.ws-company__name {
  position: absolute;
  right: 16px;
  top: 24px;
  max-width: 120px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #434552;
}

/* The "create new unit tab": the "add property card" over its "SITE / Place" tab */
.ws-new-property > * {
  position: absolute;
}

.ws-new-property__site {
  left: 27px;
  top: 154px;
  width: 243px;
  height: 56px;
  padding: 23px 0 0 12px;
  border-radius: 0 0 10px 10px;
  background: #715e4b;
  box-shadow: inset 0 3px 6px rgb(0 0 0 / 30%);
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  color: #fff;
}

/* The white card, drawn rather than an image (Edge offers to search an image under the pointer): square on the left,
   its right side sloping out as it comes down, as the design's path has it. The shadow is on the card around it */
.ws-new-property__card {
  left: 10px;
  top: 96px;
  width: 277px;
  height: 68px;
  filter: drop-shadow(0 3px 6px rgb(0 0 0 / 30%));
}

.ws-new-property__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: path("M0 58C0 63.52 4.48 68 10 68H266.96C274.69 68 279.5 59.61 275.59 52.94L247.47 4.94C245.68 1.88 242.39 0 238.84 0H10C4.48 0 0 4.48 0 10Z");
}

.ws-new-property__icon {
  left: 213px;
  top: 103px;
}

.ws-new-property__text {
  left: 22px;
  top: 108px;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  color: #000;
}

/* Story 2: the card is a button. While files are dragged over, the file picker under it takes them instead, a property
   for each. There's no design for its hover, so the card's shadow turns purple, as slowly as the designed hovers */
.ws-new-property__card {
  transition: filter 300ms ease-out;
}

.ws-new-property:hover .ws-new-property__card,
.ws-new-property--active .ws-new-property__card,
.ws-new-property:has(.ws-new-property__add:focus-visible) .ws-new-property__card {
  filter: drop-shadow(0 3px 6px rgb(72 37 129 / 60%));
}

.ws-new-property__add,
.ws-new-property__drop {
  left: 10px;
  top: 96px;
  width: 277px;
  height: 68px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: 0;
}

.ws-new-property__add:focus-visible {
  outline: none;
}

.ws-new-property__add:disabled {
  cursor: progress;
}

.ws-new-property__drop {
  pointer-events: none;
}

.ws-new-property--active .ws-new-property__drop {
  pointer-events: auto;
}

/* At the design's size these are drawn for a later step; folded, they put the column away */
.ws-prop__compress,
.ws-people__compress {
  position: absolute;
  z-index: 1;
  top: 218px;
  border: 0;
  padding: 0;
  background: none;
  cursor: default;
  filter: drop-shadow(0 3px 6px rgb(0 0 0 / 10%));
}

.ws-prop__compress--wide {
  left: 71px;
}

.ws-prop__compress--narrow {
  left: 246px;
}

/*
  The wallpapers behind the three scrolling columns: white, a tenth of the column's colour, the design's pattern of
  things repeated as far as the screen goes, and the column's name written across it. They stay put as the cards scroll.
  The names sit as far from the bottom as the 834px-tall design has them, so a taller screen keeps them low down.
*/
.ws-wall {
  position: absolute;
  left: 0;
  right: 0;
  top: 230px;
  bottom: 0;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.ws-wall--property {
  background: url("../images/workspace/property-wallpaper.svg") -45px 0 / 377.15px 697.52px,
    linear-gradient(rgb(205 170 137 / 10%), rgb(205 170 137 / 10%)), #fff;
}

.ws-wall--products {
  background: url("../images/workspace/products-wallpaper.svg") -386px -59px / 243px 194px,
    linear-gradient(rgb(72 37 129 / 10%), rgb(72 37 129 / 10%)), #fff;
}

.ws-wall--people {
  background: url("../images/workspace/people-wallpaper.svg") -100px 0 / 246px 657.42px,
    linear-gradient(rgb(8 118 73 / 10%), rgb(8 118 73 / 10%)), #fff;
}

/* The design's text boxes, turned about their top left corners as it turns them */
.ws-wall__word {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: 0 0;
  font-weight: 800;
  line-height: 21px;
  white-space: nowrap;
  /* The design's 1px outside edge in the same colour: a 2px line, half under the letters */
  -webkit-text-stroke: 2px currentcolor;
  paint-order: stroke fill;
}

.ws-wall--property .ws-wall__word {
  left: -15px;
  bottom: 10.72px;
  width: 331px;
  height: 56.4px;
  transform: rotate(-25deg);
  font-size: 50px;
  letter-spacing: 4.5px;
  color: #e8d8c9;
}

.ws-wall--products .ws-wall__word {
  left: calc(50% - 352.18px);
  bottom: -44.17px;
  width: 700px;
  height: 87px;
  transform: rotate(-20deg);
  font-size: 96px;
  letter-spacing: 8.64px;
  color: #c6bbd8;
  opacity: 0.35;
}

.ws-wall--people .ws-wall__word {
  left: -8px;
  bottom: 71.07px;
  width: 202.24px;
  height: 73.76px;
  transform: rotate(-20deg);
  font-size: 40px;
  letter-spacing: 3.6px;
  color: #b2d5c7;
  opacity: 0.35;
}

.ws-prop__scroll {
  position: absolute;
  left: 0;
  top: 230px;
  bottom: 0;
  width: 300px;
  padding-top: 26.75px;
  /* The design's scroll bar shows only when there are more properties than fit; its room is kept either way, so the
     cards don't move when it comes */
  overflow: hidden auto;
  scrollbar-gutter: stable;
}

/* A2 Screen 04's "add property area", on a manual with no properties */
.ws-first-property {
  position: relative;
  width: 268px;
  height: 220px;
  margin: -1.75px 0 0 16px;
}

.ws-first-property > * {
  position: absolute;
}

.ws-first-property__edge {
  left: 0;
  top: 0;
}

.ws-first-property__icon {
  left: 56.22px;
  top: 35px;
  width: 155.55px;
}

.ws-first-property__text {
  left: 9px;
  top: 117px;
  width: 250px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  color: #715e4b;
}

/* Click to add a property, or drop pictures on it for one each, as on "Add new property" */
.ws-first-property__add,
.ws-first-property__drop {
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: 0;
}

.ws-first-property__add {
  opacity: 1;
}

.ws-first-property__add:focus-visible {
  outline: 2px solid #715e4b;
  outline-offset: 2px;
}

.ws-first-property__add:disabled {
  cursor: progress;
}

.ws-first-property__drop {
  pointer-events: none;
}

.ws-first-property--dragging .ws-first-property__drop {
  pointer-events: auto;
}

/* A property card: its corner is where the exported card shape starts, (5.95, 256.75) on the page */
.ws-property {
  position: relative;
  width: 273px;
  height: 156px;
  margin: 0 0 20px 5.95px;
}

.ws-property > * {
  position: absolute;
}

.ws-property__tab {
  left: 6px;
  top: 3px;
  width: 195.16px;
  height: 148px;
  border-radius: 10px;
  background: #d7bba1;
  box-shadow: 0 3px 6px rgb(0 0 0 / 10%);
}

.ws-property__name,
.ws-property__reference {
  position: absolute;
  top: 120px;
  font-size: 14px;
  font-weight: 800;
  line-height: 22px;
  color: #000;
}

.ws-property__name {
  left: 7.62px;
}

.ws-property__reference {
  right: 8.16px;
}

/*
  Inline editing (26 Aug, 26 Oct, 16 Nov): the text is a button until clicked, then a white box with a 1pt border, in
  the text's own place and size. On the open property's card it sits over the card's own button
*/
.inline-text {
  border: 0;
  border-radius: 3px;
  padding: 0 2px;
  background: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: text;
}

.inline-text:not(.inline-text--editing):hover,
.inline-text:focus-visible {
  background: rgb(255 255 255 / 45%);
  outline: none;
}

.inline-text--empty {
  font-weight: 400;
  opacity: 0.6;
}

.inline-text--editing {
  display: inline-block;
  border: 1px solid #482581;
  background: #fff;
  cursor: text;
}

/* Placed by its own class (absolute on a property card); otherwise where it is, so the problem can hang under it */
:where(.inline-text--editing) {
  position: relative;
}

.inline-text__box {
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  outline: none;
}

.inline-text--problem {
  border-color: #c62828;
}

.inline-text__problem {
  position: absolute;
  left: -1px;
  top: calc(100% + 4px);
  z-index: 5;
  width: max-content;
  max-width: 220px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: #c62828;
  text-align: left;
  white-space: normal;
}

.ws-property__name--editable,
.ws-property__reference--editable {
  z-index: 2;
  max-width: 120px;
}

.ws-property__name--editable.inline-text--editing {
  width: 118px;
}

.ws-property__reference--editable.inline-text--editing {
  width: 13ch;
}

.ws-product__rename {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ws-product__rename.inline-text--editing {
  width: 100%;
  overflow: visible;
  color: #434552;
}

/* The phone's product name cuts off what's too long; while it's being edited, the problem has to hang out of it */
.wp .wp-product__name:has(.inline-text--editing) {
  overflow: visible;
}

.ws-product__rename:not(.inline-text--editing):hover {
  background: rgb(255 255 255 / 20%);
}

/* The white card, drawn from the design's path (not an image, which Edge offers to search under the pointer): its right
   side slopes down to the photo's triangle. The shadow is on the card around it */
.ws-property__shape {
  left: 0;
  top: 0;
  width: 273px;
  height: 124px;
  filter: drop-shadow(0 3px 6px rgb(0 0 0 / 10%));
}

.ws-property__shape::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: path("M203.219 3C206.796 3 210.1 4.91 211.885 8.009L264.867 100.009C268.706 106.676 263.894 115 256.201 115H16C10.477 115 6 110.523 6 105V13C6 7.477 10.477 3 16 3Z");
}

.ws-property__photo {
  left: 133px;
  top: 5px;
}

.ws-property__type {
  left: 16px;
  top: 11px;
}

.ws-property__delete {
  left: 144px;
  top: 11px;
}

/* For the housebuilder's people it's a button, drawn as the product's is, over the card's own button that opens the
   property */
.ws-property__delete--button {
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 3px;
  padding: 0;
  background: #f57f45;
  cursor: pointer;
  transition: background-color 300ms ease-out;
}

.ws-property__delete--button img {
  display: block;
}

.ws-property__delete--button:hover {
  background-color: #d33131;
}

.ws-property__delete--button:active {
  background-color: #874626;
}

.ws-property__delete--button:focus-visible {
  outline: 2px solid #482581;
  outline-offset: 2px;
}

/* Three rings, green, amber and red, ready to light up in release two */
.ws-property__lights {
  left: 14px;
  top: 51px;
  display: flex;
  gap: 8px;
}

.ws-property__lights > span {
  width: 16px;
  height: 16px;
  border: 2px solid #087649;
  border-radius: 50%;
}

.ws-property__lights > span:nth-child(2) {
  border-color: #afa70e;
}

.ws-property__lights > span:nth-child(3) {
  border-color: #d33131;
}

.ws-property__chat {
  left: 14px;
  top: 88px;
  width: 45px;
  height: 19px;
  border-radius: 3px;
  background: #927961;
}

.ws-property__chat img {
  position: absolute;
  left: 6.5px;
  top: 2px;
}

/* The design's outline, in a colour: none on a card at rest, lighter under the pointer, purple once it's selected. It's
   5px wide, all outside the card and its tab: the space between the design's path (inside) and that path grown by 5px */
.ws-property__outline {
  left: 1px;
  top: -2px;
  width: 271px;
  height: 158px;
  background-color: transparent;
  clip-path: path(evenodd, "M15 0H202.219A15 15 0 0 1 215.218 7.514L268.2 99.514A15 15 0 0 1 255.201 122H205V143A15 15 0 0 1 190 158H15A15 15 0 0 1 0 143V15A15 15 0 0 1 15 0Z M202.219 5C205.795 5 209.1 6.91 210.885 10.01L263.867 102.01C267.706 108.676 262.894 117 255.201 117H200V143C200 148.523 195.523 153 190 153H15C9.477 153 5 148.523 5 143V15C5 9.477 9.477 5 15 5Z");
  transition: background-color 300ms ease-out;
}

.ws-property:hover .ws-property__outline {
  background-color: #846dab;
}

.ws-property--selected .ws-property__outline,
.ws-property--selected:hover .ws-property__outline {
  background-color: #482581;
}

/* The whole card opens the property. It's the card's own shape, so a click beside the tab doesn't count, and the
   keyboard's focus shows as the pointer's lighter outline */
.ws-property__select {
  left: 1px;
  top: -2px;
  width: 271px;
  height: 158px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  clip-path: path("M15 0H202.219A15 15 0 0 1 215.218 7.514L268.2 99.514A15 15 0 0 1 255.201 122H205V143A15 15 0 0 1 190 158H15A15 15 0 0 1 0 143V15A15 15 0 0 1 15 0Z");
}

.ws-property__select:focus-visible {
  outline: none;
}

.ws-property:not(.ws-property--selected):has(.ws-property__select:focus-visible) .ws-property__outline {
  background-color: #846dab;
}

.ws-property--selected .ws-property__select {
  cursor: default;
}

/* Story 8: a product dragged over a property shows the pointer's outline, as the drop goes there */
.ws-property--drop .ws-property__outline,
.ws-property--drop:hover .ws-property__outline {
  background-color: #846dab;
}

/* Story 8: My shed, above the properties. There's no design, so it's a short card in their style: white with their
   shadow, the SHEDyt shed, and the same outline (lighter under the pointer or a product being dragged, purple once open) */
.ws-shed {
  position: relative;
  width: 273px;
  height: 64px;
  margin: 0 0 20px 5.95px;
}

.ws-shed > * {
  position: absolute;
}

.ws-shed__card {
  inset: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 6px rgb(0 0 0 / 10%);
}

.ws-shed__icon {
  left: 14px;
  top: 14px;
}

.ws-shed__name {
  left: 62px;
  top: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: #000;
}

.ws-shed__count {
  left: 62px;
  top: 34px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: #715e4b;
}

.ws-shed__outline {
  inset: -5px;
  border: 5px solid transparent;
  border-radius: 15px;
  transition: border-color 300ms ease-out;
}

.ws-shed:hover .ws-shed__outline,
.ws-shed--drop .ws-shed__outline,
.ws-shed:has(.ws-shed__select:focus-visible) .ws-shed__outline {
  border-color: #846dab;
}

.ws-shed--selected .ws-shed__outline,
.ws-shed--selected:hover .ws-shed__outline {
  border-color: #482581;
}

.ws-shed__select {
  inset: 0;
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: none;
  cursor: pointer;
}

.ws-shed__select:focus-visible {
  outline: none;
}

.ws-shed--selected .ws-shed__select {
  cursor: default;
}

/* ---------- Products, in the middle ---------- */

/* Story 8: a housebuilder's products can be dragged onto a property. The pictures in them aren't dragged on their own,
   so the whole card goes */
.ws-product[draggable="true"] {
  cursor: grab;
}

.ws-product[draggable="true"] img {
  -webkit-user-drag: none;
}

.ws-mid {
  position: absolute;
  left: 300px;
  right: 200px;
  top: 0;
  bottom: 0;
}

.ws-mid::before {
  background: rgb(72 37 129 / 50%);
}

/* The "product section" of the top bar */
.ws-manual {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 68px;
  border-radius: 0 0 10px 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #482581, 0 3px 6px rgb(0 0 0 / 10%);
}

.ws .ws-manual__title {
  position: absolute;
  left: 16px;
  top: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #482581;
}

/* The housebuilder's badge: the design has their square logo here; until there is one, their initials */
.ws-manual__badge {
  position: absolute;
  left: 278.55px;
  top: 15.4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34.91px;
  height: 35.19px;
  overflow: hidden;
  border-radius: 3.27px;
  background: #000;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

/* Logos come in every shape, so a wide one is shown whole rather than cropped */
.ws-manual__badge img {
  width: 100%;
  height: 100%;
  background: #fff;
  object-fit: contain;
}

.ws-manual__cog {
  position: absolute;
  right: 16px;
  top: 21px;
}

/* For the company's admin it opens the settings (stories 12, 58) */
.ws-manual__cog--button {
  border: 0;
  padding: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
}

.ws-manual__cog--button[aria-expanded="true"] img,
.ws-manual__cog--button:hover img {
  filter: brightness(0.7);
}

/*
  The "product primary and secondary tabs": the add-product tab with the search under it. Wider than the design, the
  upload tab and "Add a product" stay on the left and the specify and shop tabs go right
*/
.ws-add-product {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 96px;
  height: 114px;
}

.ws-add-product__nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 58px;
  height: 56px;
  border-radius: 0 0 10px 10px;
  background: #ede9f2;
  box-shadow: 0 3px 6px rgb(0 0 0 / 10%);
}

.ws-add-product__tab {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 68px;
  border-radius: 10px;
  background: #fff;
}

.ws-add-product__tab > * {
  position: absolute;
}

/* The file picker lies invisibly over the upload tab and "Add a product", so a click or a drop there adds a product */
.ws-add-product__input {
  z-index: 2;
  left: 0;
  top: 0;
  width: calc(100% - 340px);
  height: 68px;
  opacity: 0;
  cursor: pointer;
}

.ws-add-product__upload {
  left: 0;
  top: 0;
  width: 200px;
  height: 68px;
  border-radius: 10px 0 0 10px;
}

.ws-add-product__upload > * {
  position: absolute;
}

/* W 02 to W 05: the "hover/active" look, faded in over the plain one */
.ws-add-product__upload--pressed {
  opacity: 0;
  background: #ab9bc5;
  box-shadow: inset 0 0 0 3px #482581;
  transition: opacity 300ms ease-out;
}

.ws-add-product__input:hover ~ .ws-add-product__upload--pressed,
.ws-add-product__tab--pressed .ws-add-product__upload--pressed {
  opacity: 1;
}

.ws-add-product__cloud {
  left: 38px;
  top: 5px;
}

.ws-add-product__upload--pressed .ws-add-product__cloud {
  top: 6px;
}

.ws-add-product__plus {
  left: 64px;
  top: 27px;
}

.ws-add-product__frame {
  left: 121px;
  top: 17px;
}

.ws-add-product__arrow {
  left: 93.96px;
  top: 14.69px;
}

.ws-add-product__line {
  left: 199.5px;
  top: 4px;
  width: 1px;
  height: 60px;
  background: #c6bbd8;
}

.ws-add-product__text {
  left: 206px;
  top: 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #482581;
}

.ws-add-product__specify--1 {
  right: 236px;
  top: 0;
}

.ws-add-product__specify--2 {
  right: 168px;
  top: 0;
}

.ws-add-product__specify--3 {
  right: 100px;
  top: 0;
}

.ws-add-product__shop {
  right: 0;
  top: 0;
}

/* The "Searchbar" in the tab under it; it narrows the products to those that match */
.ws-search {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 16px;
  height: 36px;
  border-radius: 30px;
  background: #ede9f2;
  box-shadow: inset 0 0 0 1px #482581;
}

.ws-search__input,
.ws-invite__input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  font: 400 16px / 24px Roboto, Arial, sans-serif;
  -webkit-appearance: none;
  appearance: none;
}

.ws-search__input {
  padding: 0 72px 0 17px;
  border-radius: 30px;
  color: #482581;
}

.ws-search__input::placeholder {
  opacity: 1;
  color: #482581;
}

.ws-search__input::-webkit-search-cancel-button,
.ws-invite__input::-webkit-search-cancel-button {
  display: none;
}

.ws-search__icon,
.ws-search__filter {
  position: absolute;
  top: 9px;
  pointer-events: none;
}

.ws-search__icon {
  right: 43px;
}

.ws-search__filter {
  right: 17px;
}

/* Y Screen 09's "Title section" over the products, with the camera button */
.ws-all {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 250px;
  height: 44px;
  border-radius: 10px 10px 0 0;
  background: #ab9bc5;
  box-shadow: 0 3px 6px rgb(0 0 0 / 30%);
}

.ws .ws-all__title {
  position: absolute;
  left: 22px;
  top: 14.5px;
  font: 700 16px / 15px Roboto, Arial, sans-serif;
  color: #000;
}

.ws-all__camera {
  position: absolute;
  right: 22px;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 3px;
  background: #482581;
}

.ws-all__camera img {
  position: absolute;
  left: 11px;
  top: 11px;
}

/*
  The products: as many 640px columns as fit, 20px apart, in the middle of the space left of the scroll bar, which has
  the design's 19px gap. At 1200 wide that's the design's one column, on the left
*/
.ws-products {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 310px;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, 640px);
  align-content: start;
  justify-content: center;
  column-gap: 20px;
  padding: 0 19px 16px 0;
  /* As the side columns: a scroll bar only when there's something to scroll, in room kept for it */
  overflow: hidden auto;
  scrollbar-gutter: stable;
}

/* A2 Screens 08 and 11: on a manual with no products, the "add product card", and the loading card in its place */
.ws-first {
  position: absolute;
  left: calc(50% - 320px);
  top: 255px;
  width: 640px;
  height: 220px;
}

.ws-first__add {
  position: relative;
  width: 640px;
  height: 220px;
}

.ws-first__add > * {
  position: absolute;
}

.ws-first__edge {
  left: 0;
  top: 0;
}

.ws-first__input {
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.ws-first__icon {
  left: 242.22px;
  top: 37px;
  width: 155.55px;
}

.ws-first__text {
  left: 70px;
  top: 119px;
  width: 500px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  color: #482581;
}

/*
  The design's scroll bars: 17px wide, with a 1.5px edge and the thumb inside it, grey for the properties, purple for
  the products and green for the people, ending where the design's do
*/
.ws-prop__scroll::-webkit-scrollbar,
.ws-products::-webkit-scrollbar,
.ws-people__scroll::-webkit-scrollbar {
  width: 17px;
}

.ws-prop__scroll::-webkit-scrollbar-track,
.ws-products::-webkit-scrollbar-track,
.ws-people__scroll::-webkit-scrollbar-track {
  border: 1.5px solid;
}

.ws-prop__scroll::-webkit-scrollbar-thumb,
.ws-products::-webkit-scrollbar-thumb,
.ws-people__scroll::-webkit-scrollbar-thumb {
  border: solid transparent;
  border-width: 1.5px 0.5px 1.5px 1.5px;
  background-clip: padding-box;
}

.ws-prop__scroll::-webkit-scrollbar-track {
  margin: 30px 0 16px;
  border-color: #969399;
  background: #fff;
}

.ws-prop__scroll::-webkit-scrollbar-thumb {
  background-color: #969399;
}

.ws-products::-webkit-scrollbar-track {
  margin-bottom: 25px;
  border-color: #482581;
  background: #ede9f2;
}

.ws-products::-webkit-scrollbar-thumb {
  background-color: #482581;
}

.ws-people__scroll::-webkit-scrollbar-track {
  margin: 30px 0 16px;
  border-color: #087649;
  background: #e6f1ed;
}

.ws-people__scroll::-webkit-scrollbar-thumb {
  background-color: #087649;
}

/* Firefox draws its own, in the design's colours */
@supports not selector(::-webkit-scrollbar) {
  .ws-prop__scroll {
    scrollbar-color: #969399 #fff;
  }

  .ws-products {
    scrollbar-color: #482581 #ede9f2;
  }

  .ws-people__scroll {
    scrollbar-color: #087649 #e6f1ed;
  }
}

.ws-product {
  position: relative;
  width: 640px;
  height: 232px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: #482581;
  box-shadow: 0 3px 6px rgb(0 0 0 / 10%);
}

.ws-product > *,
.ws-product__body > *,
.ws-product__picture > *,
.ws-product__add > * {
  position: absolute;
}

.ws-product__delete {
  left: 10px;
  top: 8px;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 3px;
  padding: 0;
  background: #f57f45;
  cursor: pointer;
  transition: background-color 300ms ease-out;
}

.ws-product__delete:hover {
  background-color: #d33131;
}

.ws-product__delete:active {
  background-color: #874626;
}

/* X 17, "delete popup": its point is at (23.67, 0), under the middle of the delete button */
.ws .ws-delete {
  left: -5px;
  top: 18px;
  z-index: 3;
  width: 284px;
  height: 199px;
  color: #874626;
}

.ws-delete > * {
  position: absolute;
}

/* It takes the focus as it opens, to be read out; it's plain to see without an outline */
.ws-delete:focus {
  outline: none;
}

/* The bubble, drawn rather than an image (Edge offers to search an image under the pointer): a white box with a 2px
   brown edge, and a point up at the delete button, from the design's path. The point is the edge colour with white 2px
   inside it, both running down over the box's top edge, so the white opens into the box */
.ws-delete__shape {
  left: 0;
  top: 17.91px;
  width: 284px;
  height: 181.09px;
  border: 2px solid #67351d;
  border-radius: 10px;
  background: #fff;
}

.ws-delete__shape::before,
.ws-delete__shape::after {
  content: "";
  position: absolute;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.ws-delete__shape::before {
  left: 10.274px;
  top: -19.91px;
  width: 22.784px;
  height: 19.91px;
  background: #67351d;
}

.ws-delete__shape::after {
  left: 12.006px;
  top: -15.883px;
  width: 19.32px;
  height: 16.883px;
  background: #fff;
}

.ws-delete__title {
  left: 12px;
  top: 35px;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

/* Its buttons are named inside the bubble, so they outweigh the phone's plain-button reset (".wp :where(button)") */
.ws-delete .ws-delete__close {
  left: 254px;
  top: 37px;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 3px;
  padding: 0;
  background: #f57f45;
  cursor: pointer;
  transition: background-color 300ms ease-out;
}

.ws-delete__close:hover {
  background-color: #df743f;
}

.ws-delete__rule {
  left: 12px;
  top: 64px;
  width: 260px;
  height: 2px;
  background: #67351d;
}

.ws-delete__text {
  left: 12px;
  top: 73px;
  width: 260px;
  font-size: 14px;
  line-height: 20px;
}

.ws-delete .ws-delete__button {
  left: 12px;
  top: 121px;
  width: 260px;
  height: 62px;
  border: 0;
  border-radius: 10px;
  background: #f57f45;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  color: #fff;
  cursor: pointer;
  transition: background-color 300ms ease-out;
}

.ws-delete__button:hover:not(:disabled) {
  background-color: #d33131;
}

.ws-delete__button:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* X 17's bubble under a property card's delete button. The properties column is 300 wide, scroll bar and all, so it's
   a little narrower than a product's, and its point moves along to the button (the middle of which is 153 across) */
.ws .ws-delete--property {
  left: -2px;
  top: 21px;
  width: 272px;
}

.ws-delete--property .ws-delete__shape {
  width: 272px;
}

.ws-delete--property .ws-delete__shape::before {
  left: 141.608px;
}

.ws-delete--property .ws-delete__shape::after {
  left: 143.34px;
}

.ws-delete--property .ws-delete__close {
  left: 242px;
}

.ws-delete--property .ws-delete__rule,
.ws-delete--property .ws-delete__text,
.ws-delete--property .ws-delete__button {
  width: 248px;
}

.ws .ws-product__name {
  left: 107px;
  top: 6px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.ws-product__views {
  left: 442px;
  top: 4px;
  display: flex;
}

.ws-product__more {
  left: 612px;
  top: 8px;
}

/* The three dots share the product (stories 77, 78) */
.ws-product__more--button,
.wp-product__more--button {
  border: 0;
  padding: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
}

/* Held to share: the press isn't a text selection or the phone's picture menu */
.ws-product__name,
.wp-product__name,
.ws-product__open,
.wp-product__open {
  -webkit-touch-callout: none;
  user-select: none;
}

.ws-product__body {
  left: 0;
  top: 32px;
  width: 640px;
  height: 200px;
  border-radius: 10px;
  background: #fff;
}

.ws-product__picture {
  left: 0;
  top: 0;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
  background: #c4c4c4;
}

.ws-product__picture > img:first-child {
  left: 0;
  top: 0;
  width: 200px;
  height: 200.3px;
  object-fit: cover;
}

.ws-product__picture-delete {
  left: 10px;
  top: 10px;
}

/* The product-viewing journeys: the next picture slides in from the right, the one before from the left */
.ws-product__slide--on {
  animation: ws-picture-on 0.3s ease-out;
}

.ws-product__slide--back {
  animation: ws-picture-back 0.3s ease-out;
}

@keyframes ws-picture-on {
  from {
    transform: translateX(200px);
  }
}

@keyframes ws-picture-back {
  from {
    transform: translateX(-200px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-product__slide--on,
  .ws-product__slide--back {
    animation: none;
  }
}

.ws-product__count {
  left: 34px;
  top: 156px;
  width: 48px;
  height: 36px;
  padding: 5px 0;
  border-radius: 3px;
  background: #738c97;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  color: #fff;
}

.ws-product__step {
  top: 156px;
  width: 36px;
  height: 36px;
  border: 0;
  padding: 0;
  background: #482581;
  cursor: pointer;
  transition: background-color 300ms ease-out;
}

.ws-product__step:hover {
  background-color: #846dab;
}

.ws-product__step:active {
  background-color: #331a5c;
}

.ws-product__step--back {
  left: 86px;
  border-radius: 3px 0 0 3px;
}

.ws-product__step--on {
  left: 126px;
  border-radius: 0 3px 3px 0;
}

.ws-product__thumb {
  top: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #c4c4c4;
  cursor: pointer;
}

/* Over the picture, under its buttons: opens the viewer (W 09) */
.ws .ws-product__open {
  left: 0;
  top: 0;
  width: 200px;
  height: 200px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.ws-product__picture-delete,
.ws-product__count,
.ws-product__step {
  z-index: 1;
}

.ws-product__thumb--1 {
  left: 210px;
}

.ws-product__thumb--2 {
  left: 320px;
}

.ws-product__thumb img {
  width: 100px;
  height: 100.15px;
  object-fit: cover;
}

/* A document's first page is shown whole, on the grey, as W 08 has it */
.ws-product__picture > img.ws-product__page,
.ws-product__thumb > img.ws-product__page {
  object-fit: contain;
}

.ws-product__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0.5px #b7b8ba;
}

.ws-product__thumb-number {
  position: absolute;
  left: 7.5px;
  top: 74px;
  min-width: 19px;
  height: 18px;
  padding: 0 6px;
  border-radius: 1px;
  background: #738c97;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: #fff;
}

.ws-product__thumb--2 .ws-product__thumb-number {
  left: 8px;
}

.ws-product__add {
  left: 430px;
  top: 8px;
  width: 200px;
  height: 92px;
}

.ws-product__add-icons {
  left: 0;
  top: 0;
}

/* The "add item card" set's default and hover/active looks */
.ws-product__add-edge,
.ws-product__add-cloud,
.ws-product__add-frame,
.ws-product__add-edit,
.ws-product__add-text {
  transition: fill 300ms ease-out, stroke 300ms ease-out, color 300ms ease-out;
}

.ws-product__add-edge {
  fill: #fff;
  stroke: #422275;
}

.ws-product__add-cloud,
.ws-product__add-edit {
  fill: #482581;
}

.ws-product__add-frame {
  fill: none;
  stroke: #846dab;
}

/* Hover/active: while the pointer's over it, files are dragged on to it or they're uploading */
.ws-product__add:hover .ws-product__add-edge,
.ws-product__add--active .ws-product__add-edge {
  fill: #ab9bc5;
}

.ws-product__add:hover .ws-product__add-cloud,
.ws-product__add:hover .ws-product__add-edit,
.ws-product__add--active .ws-product__add-cloud,
.ws-product__add--active .ws-product__add-edit {
  fill: #331a5c;
}

.ws-product__add:hover .ws-product__add-frame,
.ws-product__add--active .ws-product__add-frame {
  stroke: #fff;
}

.ws-product__add:hover .ws-product__add-text,
.ws-product__add--active .ws-product__add-text {
  color: #1e1036;
}

/* The file picker lies invisibly over "Add Item", so a click or a drop there adds items (story 37) */
.ws-product__add-input,
.wp-product__add-input {
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.ws-product__add-input:disabled,
.wp-product__add-input:disabled {
  cursor: progress;
}

.ws-product__add-text {
  left: 1px;
  top: 61.5px;
  width: 198px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  color: #482581;
}

.ws-product__file,
.ws-product__description {
  left: 216px;
  width: 307px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Three lines of description, as the product-viewing frames show, then cut off */
.ws .ws-product__description {
  display: -webkit-box;
  max-height: 48px;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.ws-product__file {
  top: 100px;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  color: #281447;
}

.ws-product__description {
  top: 124px;
  font-size: 12px;
  line-height: 16px;
  color: #482581;
}

/* Shortened from the left, as the design shows it: "... A 83101/MyShed" */
.ws-product__location {
  right: 10px;
  top: 129px;
  width: 91px;
  overflow: hidden;
  direction: rtl;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 10px;
  font-weight: 600;
  text-align: right;
  color: #482581;
}

.ws-product__added {
  right: 135px;
  top: 173px;
  font-size: 12px;
  line-height: 16.34px;
  white-space: nowrap;
  color: #747277;
}

.ws-product__added strong {
  font-weight: 700;
  color: #59575b;
}

.ws-product__adder {
  left: 517px;
  top: 172px;
  width: 18px;
  height: 18px;
  --ring: #747277;
  box-shadow: inset 0 0 0 2px var(--ring);
}

.ws-product__folder {
  left: 612px;
  top: 172px;
}

/* ---------- People, on the right ---------- */

.ws-people {
  right: 0;
  width: 200px;
}

.ws-people::before {
  background: rgb(8 118 73 / 50%);
}

.ws-me {
  position: absolute;
  left: 0;
  top: 0;
  width: 200px;
  height: 68px;
  border-radius: 0 0 10px 10px;
  background: #065434;
  box-shadow: 0 3px 6px rgb(0 0 0 / 10%);
}

/* The user's own menu (16 Nov): the whole bar opens it, with the triangle by their picture showing it's there */
.ws-me__menu,
.wp-me__menu {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: inherit;
  padding: 0;
  background: none;
  cursor: pointer;
}

.ws-me__menu:hover,
.ws-me__menu:focus-visible,
.wp-me__menu:hover,
.wp-me__menu:focus-visible {
  background: rgb(255 255 255 / 8%);
  outline: none;
}

.ws-me__triangle {
  position: absolute;
  right: 10px;
  top: 30px;
  width: 0;
  height: 0;
  border-top: 8px solid #fff;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  transition: transform 200ms ease-out;
}

.wp-me__menu .ws-me__triangle {
  top: 26px;
  right: 8px;
}

[aria-expanded="true"] > .ws-me__triangle {
  transform: rotate(180deg);
}

.ws .ws-user-menu {
  right: 10px;
  top: 76px;
}

.ws-user-menu__links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 0;
  border-top: 1px solid #e0e0e0;
  padding: 12px 0 0;
}

.ws-user-menu__link {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #087649;
  text-decoration: none;
  cursor: pointer;
}

.ws-user-menu__link:hover {
  text-decoration: underline;
}

.ws-user-menu__link:last-child {
  margin-left: auto;
}

.ws-me__avatar {
  position: absolute;
  left: 8px;
  top: 7px;
  width: 54px;
  height: 54px;
}

.ws-me__name {
  position: absolute;
  left: 74px;
  top: 25px;
  max-width: 96px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff;
}

/* The "invite people" component: its tab, the dark "find user tab" under it and the "Search People" box */
.ws-invite > * {
  position: absolute;
}

.ws-invite__find {
  left: 6px;
  top: 130px;
  width: 180px;
  height: 80px;
  border-radius: 0 0 10px 10px;
  background: #065434;
}

.ws-invite__tab {
  left: 6px;
  top: 96px;
  width: 180px;
  height: 68px;
  border-radius: 34px 10px 10px 34px;
  background: #fff;
  box-shadow: inset 0 0 0 0 #03321f, 0 3px 6px rgb(0 0 0 / 30%);
  transition: background-color 300ms ease-out, box-shadow 300ms ease-out;
}

/* The "invite people" set's hover/active look: green, with a dark edge and a softer shadow */
/* It's a button, so it loses a button's own look */
.ws-invite__tab,
.wp-invite__tab {
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ws-invite__tab:disabled,
.wp-invite__tab:disabled {
  cursor: default;
}

.ws-invite__tab:not(:disabled):hover,
.ws-invite__tab[aria-expanded="true"] {
  background-color: #8dc0ab;
  box-shadow: inset 0 0 0 3px #03321f, 0 6px 5px rgb(0 0 0 / 20%);
}

.ws-invite__tab > * {
  position: absolute;
}

.ws-invite__circle {
  left: 11px;
  top: 11px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #087649;
  transition: background-color 300ms ease-out;
}

.ws-invite__tab:not(:disabled):hover .ws-invite__circle,
.ws-invite__tab[aria-expanded="true"] .ws-invite__circle {
  background-color: #39916d;
}

.ws-invite__plus {
  left: 22px;
  top: 22px;
}

.ws-invite__text {
  left: 68px;
  top: 23px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  color: #03321f;
}

.ws-invite__search {
  left: 10px;
  top: 168px;
  width: 172px;
  height: 38px;
  border-radius: 6px;
  background: #e6f1ed;
  box-shadow: inset 0 0 0 1px #087649;
}

.ws-invite__input {
  padding: 0 36px 0 8px;
  border-radius: 6px;
  color: #087649;
}

.ws-invite__input::placeholder {
  opacity: 1;
  color: #087649;
}

.ws-invite__icon {
  position: absolute;
  left: 128px;
  top: -3px;
  pointer-events: none;
}

.ws-people__compress--narrow {
  left: 8px;
}

.ws-people__compress--wide {
  left: 59px;
}

.ws-people__scroll {
  position: absolute;
  left: 0;
  top: 230px;
  bottom: 0;
  width: 200px;
  /* Its scroll bar shows only when there are more people than fit, as Y Screen 09 has none */
  overflow: hidden auto;
}

.ws-people__list {
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
}

/* A person's card. The design's kinds each have their own colours: ring, words and name bar */
.ws-person {
  --ring: #747277;
  --role: #59575b;
  --company: #747277;
  --bar: #969399;
  --name: #03321f;
  --line: #56473a;
  position: relative;
  width: 154px;
  height: 84px;
  margin: 0 0 16px 22px;
  border-radius: 10px;
  background: #fbfafb;
}

.ws-person--estate-agent {
  --ring: #df743f;
  --role: #67351d;
  --company: #874626;
  --bar: #df743f;
  --line: #67351d;
  background: #fff;
}

.ws-person--owner {
  --ring: #422275;
  --role: #1e1036;
  --company: #422275;
  --bar: #482581;
  --name: #ede9f2;
  --chat: #fff;
  --line: #281447;
  background: #fff;
}

/* The "Owner Card" set's hover/active look: a pale bar with dark words */
.ws-person--owner:hover {
  --bar: #c6bbd8;
  --name: #422275;
  --chat: #000;
}

/* The Agent, Tenant and Developer Card sets have no hover look yet, so they follow the owner's: their bar pales the same
   way (the owner's #c6bbd8 is its #482581 at 31% on white), and their words are dark already */
.ws-person:not(.ws-person--owner):hover .ws-person__bar {
  background-color: color-mix(in srgb, var(--bar) 31%, #fff);
}

.ws-person--tenant {
  --ring: #927961;
  --role: #67351d;
  --company: #715e4b;
  --bar: #927961;
  background: #fff;
}

.ws-person > *,
.ws-person__bar > * {
  position: absolute;
}

/* Story 25: someone invited who hasn't signed in yet is grey, as WhatsApp's ticks are until a message is read */
.ws-person--invited {
  --ring: #b5b4b8;
  --bar: #c9c8cc;
  --name: #59575b;
}

.ws-person--invited .ws-person__avatar {
  filter: grayscale(1);
  opacity: 0.6;
}

.ws-person__avatar {
  left: -16px;
  top: 0;
  width: 54px;
  height: 54px;
}

.ws-person__role,
.ws-person__company {
  left: 46px;
  max-width: 82px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ws-person__role {
  top: 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: var(--role);
}

.ws-person__company {
  top: 33px;
  font-size: 10px;
  line-height: 12px;
  color: var(--company);
}

.ws-person__menu {
  left: 132px;
  top: 6px;
}

.ws-person__bar {
  left: 0;
  top: 54px;
  width: 154px;
  height: 30px;
  border-radius: 0 0 10px 10px;
  background: var(--bar);
  transition: background-color 300ms ease-out;
}

.ws-person__bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.5px;
  width: 154px;
  height: 1px;
  background: var(--line);
}

.ws-person__name {
  left: 8px;
  top: 9px;
  max-width: 108px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  line-height: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--name);
  transition: color 300ms ease-out;
}

/* The conversation icon, in the colour of the bar's words */
.ws-person__chat {
  left: 120px;
  top: 5px;
  width: 14px;
  height: 14px;
  background-color: var(--chat, #000);
  -webkit-mask: url("../images/workspace/conversation.svg") 0 0 / 14px 14px no-repeat;
  mask: url("../images/workspace/conversation.svg") 0 0 / 14px 14px no-repeat;
  transition: background-color 300ms ease-out;
}

/* ---------- A product on its way (Y Screen 08, "image count/loading product") ---------- */

.ws-loading {
  position: relative;
  width: 640px;
  height: 220px;
  margin-bottom: 16px;
}

.ws-loading > * {
  position: absolute;
}

.ws-loading__edge {
  left: 0;
  top: 0;
}

.ws-loading__squares {
  left: 217px;
  top: 61px;
  display: flex;
  gap: 16px;
}

.ws-loading__squares i {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: #ab9bc5;
  animation: ws-loading 1.2s infinite step-end;
}

.ws-loading__squares i:nth-child(2) {
  animation-delay: 0.4s;
}

.ws-loading__squares i:nth-child(3) {
  animation-delay: 0.8s;
}

/* The design's first frame has the left square dark; each takes its turn */
@keyframes ws-loading {
  0% {
    background: #422275;
  }

  33.33% {
    background: #ab9bc5;
  }
}

.ws-loading__text {
  left: 2px;
  top: 135px;
  width: 636px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  color: #422275;
}

@media (prefers-reduced-motion: reduce) {
  .ws-loading__squares i {
    animation: none;
  }

  .ws-loading__squares i:first-child {
    background: #422275;
  }
}

/* ---------- The document viewer (W 09 to W 24, "overlay screen") ---------- */

.ws-viewer {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgb(0 0 0 / 65%);
  outline: none;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: normal;
  --slide: 1053px;
}

.ws-viewer img {
  display: block;
}

/* The design's 1200px frame, kept in the middle on a wider screen */
.ws-viewer__frame {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1200px;
  margin-left: -600px;
}

.ws-viewer__bar > * {
  position: absolute;
}

.ws-viewer__delete {
  left: 33px;
  top: 34px;
}

.ws-viewer__step,
.ws-viewer__close,
.ws-viewer__download {
  border: 0;
  padding: 0;
  background: #482581;
  cursor: pointer;
  transition: background-color 300ms ease-out;
}

.ws-viewer__step:hover,
.ws-viewer__close:hover,
.ws-viewer__download:hover {
  background-color: #846dab;
}

.ws-viewer__step:active,
.ws-viewer__close:active {
  background-color: #331a5c;
}

.ws-viewer__step {
  top: 34px;
  width: 72px;
  height: 72px;
}

.ws-viewer__step--back {
  left: 467px;
  border-radius: 6px 0 0 6px;
}

.ws-viewer__step--on {
  left: 650px;
  border-radius: 0 6px 6px 0;
}

.ws-viewer__count {
  left: 547px;
  top: 34px;
  width: 95px;
  height: 72px;
  padding: 10px 0;
  border-radius: 6px;
  background: #738c97;
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
  text-align: center;
  color: #fff;
}

.ws-viewer__download {
  left: 1086px;
  top: 34px;
  width: 32px;
  height: 32.48px;
  border-radius: 6px;
}

.ws-viewer__close {
  left: 1134px;
  top: 34.24px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

/* The pages, one under another, with the design's scroll bar down the right */
.ws-viewer__pages {
  position: absolute;
  left: 25px;
  top: 144px;
  bottom: 38.79px;
  width: 1149px;
  overflow: hidden auto;
  padding: 1px 0 0 271px;
  border-radius: 10px;
  scrollbar-color: #482581 #ede9f2;
}

.ws-viewer__pages::-webkit-scrollbar {
  width: 20px;
}

.ws-viewer__pages::-webkit-scrollbar-track {
  background: #ede9f2;
  box-shadow: inset 0 0 0 1.5px #482581;
}

.ws-viewer__pages::-webkit-scrollbar-thumb {
  border: 1.5px solid transparent;
  background: #482581 padding-box;
}

.ws-viewer__page {
  display: block;
  width: 551px;
  margin-bottom: 32px;
  background: #fff;
}

.ws-viewer__none {
  width: 551px;
  margin: 120px 0 0;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: #fff;
}

/* W 23 to W 24: the next item slides in from the right, the one before from the left */
.ws-viewer__pages--on {
  animation: ws-slide-on 0.35s ease-out;
}

.ws-viewer__pages--back {
  animation: ws-slide-back 0.35s ease-out;
}

@keyframes ws-slide-on {
  from {
    transform: translateX(var(--slide));
  }
}

@keyframes ws-slide-back {
  from {
    transform: translateX(calc(-1 * var(--slide)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-viewer__pages--on,
  .ws-viewer__pages--back {
    animation: none;
  }
}

/* ---------- Narrower than the design, wider than a phone ---------- */

/*
  Between the phone design and the design's 1200px: the products keep the middle at the design's size, at least its
  700px, and the side columns fold into 30px strips in their colours, each with an arrow where the column's own compress
  arrows are. A strip slides its column out over the products, with a shade over the rest; the column's compress arrows
  or a tap on the shade put it away. Only the viewer, drawn for 1200px, is drawn smaller to fit (tan(atan2()) turns the
  two widths into a plain number)
*/
@media (min-width: 760px) and (max-width: 1199.98px) {
  .ws {
    min-width: 0;
  }

  .ws-mid {
    left: 30px;
    right: 30px;
  }

  /* Over the shade, so with one column out the other's strip still brings it out beside it (the half view, 16 Nov); a
     column that's out covers its own strip */
  .ws-fold {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 30px;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background-color 300ms ease-out;
  }

  .ws-fold img {
    position: absolute;
    left: 3px;
    top: 218px;
    filter: drop-shadow(0 3px 6px rgb(0 0 0 / 10%));
  }

  .ws-fold--properties {
    left: 0;
    background: linear-gradient(transparent 86px, rgb(205 170 137 / 50%) 86px);
  }

  .ws-fold--people {
    right: 0;
    background: linear-gradient(transparent 86px, rgb(8 118 73 / 50%) 86px);
  }

  .ws-fold:focus-visible {
    outline: 2px solid #482581;
    outline-offset: -2px;
  }

  .ws-scrim {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 0;
    padding: 0;
    background: rgb(0 0 0 / 20%);
    cursor: pointer;
  }

  .ws-prop,
  .ws-people {
    z-index: 3;
    background: #f1f4f5;
    box-shadow: 0 0 12px rgb(0 0 0 / 30%);
    visibility: hidden;
    transition: transform 300ms ease-out, visibility 0s 300ms;
  }

  .ws-prop {
    transform: translateX(-100%);
  }

  .ws-people {
    transform: translateX(100%);
  }

  .ws-prop--open,
  .ws-people--open {
    transform: none;
    visibility: visible;
    transition: transform 300ms ease-out;
  }

  .ws-prop__compress,
  .ws-people__compress {
    cursor: pointer;
  }

  .ws-page {
    --ws-fit: tan(atan2(100vw, 1200px));
  }

  .ws-viewer {
    zoom: var(--ws-fit);
  }
}

@media (min-width: 760px) and (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {
  .ws-prop,
  .ws-people,
  .ws-prop--open,
  .ws-people--open {
    transition: none;
  }
}

/* ---------- On a phone (Mobile A2 and Y, and Registration Screens 8 and 9; the viewer from Mobile v2 X) ---------- */

/*
  The phone frames are 320 by 568 with the phone's own 20px status bar at the top and 34px of buttons at the bottom, so
  the page is 320 by 514 and every position here is the frame's less 20 down. Things on the left are placed from the
  left and things on the right from the right, so a wider phone just has more room in the middle.
*/

.wp {
  display: none;
}

@media (max-width: 759.98px) {
  .ws {
    display: none;
  }

  .wp {
    display: block;
  }
}

.wp {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  /* The products' band under the app bar: rgb(72 37 129 / 50%) on white */
  background: #a391bf;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: normal;
  color: #434552;
}

.wp img {
  display: block;
}

.wp h1,
.wp h2 {
  margin: 0;
  line-height: normal;
}

/* Buttons look like the design's shapes; :where keeps this below the shapes' own looks */
.wp :where(button) {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.wp button:focus-visible {
  outline: 2px solid #482581;
  outline-offset: -2px;
}

/* The app bar: the property, SHEDyt (or the housebuilder) in the middle, settings and the user's ring */
.wp-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  height: 44px;
  background: #fff;
  box-shadow: 0 3px 3px rgb(0 0 0 / 30%);
}

.wp-top > * {
  position: absolute;
  top: 0;
}

/*
  The "settings bar property card (mobile)": the icon 16px in, then the words. Hovered it's tan with a brown edge and
  pressed it's brown with white words; the icon stays put, where the design's moves 2px for the edge. It opens the
  properties, and while they're open it keeps its hovered look, as the user's ring does for the people
*/
.wp-top__property {
  left: 0;
  width: 130px;
  height: 44px;
  transition: background-color 300ms ease-out, box-shadow 300ms ease-out;
}

.wp-top__property > * {
  position: absolute;
}

.wp-top__picture {
  left: 16px;
  top: 0;
}

.wp-top__add {
  left: 22px;
  top: 6px;
  transition: opacity 300ms ease-out;
}

.wp-top__add--hover,
.wp-top__add--pressed {
  opacity: 0;
}

/* The property's name, ending where the design's box does */
.wp-top__property-text {
  left: 62px;
  top: 11px;
  width: 52px;
  overflow: hidden;
  font-size: 8px;
  font-weight: 600;
  line-height: 22px;
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #000;
  transition: color 300ms ease-out;
}

/* With no property yet, the phone's own file picker lies invisibly over "Add Property" */
.wp-top__property-input {
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

@media (hover: hover) {
  .wp-top__property--add:hover {
    background-color: #dec6b0;
    box-shadow: inset 0 0 0 2px #715e4b;
  }

  .wp-top__property--add:hover .wp-top__add--hover {
    opacity: 1;
  }
}

.wp-top__property--add:active {
  background-color: #715e4b;
  box-shadow: inset 0 0 0 2px #56473a;
}

.wp-top__property--add:active .wp-top__add--pressed {
  opacity: 1;
}

.wp-top__property--add:active .wp-top__property-text {
  color: #fff;
}

.wp-top__property--open {
  background-color: #dec6b0;
  box-shadow: inset 0 0 0 2px #715e4b;
}

.wp-top__property--open .wp-top__add--hover {
  opacity: 1;
}

/* SHEDyt's icon; a housebuilder's logo or initials take its place */
.wp-top__badge {
  left: calc(50% - 16px);
  top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 3.2px;
  background: #482581;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

/* Logos come in every shape, so a wide one is shown whole rather than cropped */
.wp-top__badge img {
  width: 100%;
  height: 100%;
  background: #fff;
  object-fit: contain;
}

.wp-top__settings {
  right: 68px;
  width: 44px;
  height: 44px;
}

.wp-top__settings img {
  position: absolute;
  left: 10px;
  top: 9px;
}

.wp-top__settings--button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

/* The user's ring with their initials (or their photo); it opens the people, and shows it's open as the design does */
.wp-top__me {
  right: 16px;
  width: 44px;
  height: 44px;
  transition: background-color 300ms ease-out, box-shadow 300ms ease-out;
}

.wp-top__me > img,
.wp-top__me > span {
  position: absolute;
}

.wp-top__ring,
.wp-top__picture-me {
  left: 6px;
  top: 6px;
}

.wp-top__picture-me {
  width: 32px;
  height: 32px;
  box-shadow: inset 0 0 0 2px #087649;
}

/* With no picture, the same green ring round the initials */
.wp-top__ring {
  width: 32px;
  height: 32px;
  border: 2px solid #087649;
  border-radius: 50%;
}

.wp-top__initials {
  left: 0;
  right: 0;
  top: 11px;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  color: #087649;
}

.wp-top__me--open {
  background-color: #8dc0ab;
  box-shadow: inset 0 0 0 2px #087649;
}

@media (hover: hover) {
  .wp-top__me:hover {
    background-color: #8dc0ab;
    box-shadow: inset 0 0 0 2px #087649;
  }
}

/* The arrows under it: on the left for the properties, on the right for the people */
.wp-arrows {
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  height: 44px;
}

.wp-arrow {
  position: absolute;
  top: 0;
  width: 44px;
  height: 44px;
}

.wp-arrow--left-1 {
  left: 8px;
}

.wp-arrow--left-2 {
  left: 60px;
}

.wp-arrow--right-2 {
  right: 60px;
}

.wp-arrow--right-1 {
  right: 8px;
}

/* The "Search" bar; it narrows the products to those that match */
.wp-search {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 88px;
  height: 44px;
  border-radius: 5px;
  background: #ede9f2;
  box-shadow: inset 0 0 0 1px #482581;
}

.wp-search__input,
.wp-invite__input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: none;
  font: 400 16px / 24px Roboto, Arial, sans-serif;
  -webkit-appearance: none;
  appearance: none;
}

.wp-search__input {
  padding: 0 89px 0 12px;
  border-radius: 5px;
  color: #482581;
}

.wp-search__input::placeholder {
  opacity: 1;
  color: #482581;
}

.wp-search__input::-webkit-search-cancel-button,
.wp-invite__input::-webkit-search-cancel-button {
  display: none;
}

.wp-search__input:focus-visible {
  outline: 2px solid #482581;
}

.wp-search__icon,
.wp-search__filter {
  position: absolute;
  top: -1px;
  pointer-events: none;
}

.wp-search__icon {
  right: 45px;
}

.wp-search__filter {
  right: 1px;
}

/* The "product wallpaper (mobile)" with its "Products", under the products, which scroll over it */
.wp-wall {
  position: absolute;
  left: 0;
  right: 0;
  top: 148px;
  bottom: 0;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

/* The design's text boxes, turned about their middles */
.wp-wall__word {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-20deg);
  font-size: 40px;
  font-weight: 800;
  line-height: 21px;
  letter-spacing: 3.6px;
  white-space: nowrap;
}

.wp-wall--products .wp-wall__word {
  left: calc(50% - 158.32px);
  top: 238.47px;
  width: 290.58px;
  height: 87px;
  color: #c6bbd8;
  opacity: 0.35;
}

/* The products' "Menu Bar" (Y Screen 21): it stays put while the products scroll under it */
.wp-all {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 164px;
  height: 44px;
  border-radius: 0 0 10px 10px;
  background: #ab9bc5;
}

.wp-all > * {
  position: absolute;
  top: 0;
}

.wp .wp-all__title {
  left: 8px;
  top: 10px;
  font: 700 16px / 24px Roboto, Arial, sans-serif;
  color: #000;
}

.wp-all__view {
  right: 44px;
  width: 44px;
  height: 44px;
  border-radius: 5px 5px 0 0;
  background: #fff;
}

.wp-all__camera {
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 0 10px 0 0;
  background: #482581;
}

.wp-all__camera img {
  position: absolute;
  left: 11px;
  top: 11px;
}

/* "icon4(lage)": the view's three bars */
.wp-all__view i,
.wp-product__view i {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 6.3px;
  background: #846dab;
}

.wp-all__view i:nth-child(1),
.wp-product__view i:nth-child(1) {
  top: 11px;
  border-radius: 2.47px 2.47px 0 0;
}

.wp-all__view i:nth-child(2),
.wp-product__view i:nth-child(2) {
  top: 18.9px;
}

.wp-all__view i:nth-child(3),
.wp-product__view i:nth-child(3) {
  top: 26.7px;
  border-radius: 0 0 2.47px 2.47px;
}

.wp-products {
  position: absolute;
  left: 0;
  right: 0;
  top: 148px;
  bottom: 51px;
  display: grid;
  align-content: start;
  gap: 16px;
  overflow: hidden auto;
  padding: 16px;
  scrollbar-width: none;
}

/* Under "All Products", which the first product is 16 below */
.wp-products--all {
  top: 208px;
}

.wp-products::-webkit-scrollbar {
  display: none;
}

/*
  The "add product card (mobile)" on an empty manual: a tap opens the phone's own choice of files, photos or the camera.
  Its 2px dashes are a 4px line on the edge with the outer half cut off, so it can be as wide as the phone
*/
.wp-first {
  position: relative;
  height: 194px;
  border-radius: 10px;
  transition: background-color 300ms ease-out;
}

.wp-first > * {
  position: absolute;
}

.wp-first__edge {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.wp-first__input {
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.wp-first__icon {
  left: calc(50% - 77.78px);
  top: 37px;
  transition: opacity 300ms ease-out;
}

.wp-first__icon--hover {
  opacity: 0;
}

.wp-first__text {
  left: 0;
  right: 0;
  top: 120px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  color: #482581;
  transition: color 300ms ease-out;
}

@media (hover: hover) {
  .wp-first:hover {
    background-color: #ab9bc5;
  }

  .wp-first:hover .wp-first__icon--hover {
    opacity: 1;
  }

  .wp-first:hover .wp-first__text {
    color: #1e1036;
  }
}

.wp-first:active {
  background-color: #ab9bc5;
}

.wp-first:active .wp-first__icon--hover {
  opacity: 1;
}

.wp-first:active .wp-first__text {
  color: #1e1036;
}

/* A product (the "Product" in Mobile Y Screens 18 to 21): its lilac bar's corners are 5, its own 10 */
.wp-product {
  position: relative;
  height: 194px;
  border-radius: 5px 5px 10px 10px;
  background: #fff;
  box-shadow: 0 3px 6px rgb(0 0 0 / 10%);
}

.wp-product > *,
.wp-product__bar > *,
.wp-product__picture > *,
.wp-product__add > * {
  position: absolute;
}

.wp-product__bar {
  left: 0;
  right: 0;
  top: 0;
  height: 44px;
  border-radius: 5px 5px 0 0;
  background: #ab9bc5;
}

.wp-product__delete {
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 5px 0 0;
  padding: 0;
  background: #f57f45;
  cursor: pointer;
}

.wp-product__delete img {
  position: absolute;
  left: 12.22px;
  top: 11px;
}

/* Between the delete button and the view and more buttons */
.wp .wp-product__name {
  left: 52px;
  right: 96px;
  top: 13.83px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 800;
  line-height: 16.34px;
  color: #000;
}

.wp-product__view {
  right: 44px;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 5px 5px 0 0;
  background: #fff;
}

/* The "more button": it shares the product (stories 77, 78) */
.wp-product__more {
  right: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 0 5px 0 0;
  background: #482581;
}

.wp-product__more i {
  position: absolute;
  top: 19.47px;
  width: 5.1px;
  height: 5.1px;
  border-radius: 50%;
  background: #fff;
}

.wp-product__more i:nth-child(1) {
  left: 11px;
}

.wp-product__more i:nth-child(2) {
  left: 19.47px;
}

.wp-product__more i:nth-child(3) {
  left: 27.94px;
}

.wp-product__picture {
  left: 0;
  top: 44px;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 0 0 0 10px;
  background: #c4c4c4;
}

.wp-product__picture > img:first-child {
  left: 0;
  top: 0;
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.wp-product__picture > img.ws-product__page {
  object-fit: contain;
}

.wp .wp-product__open {
  left: 0;
  top: 0;
  width: 150px;
  height: 150px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

/* The picture's own delete button, in its bottom corner */
.wp-product__picture-delete {
  left: 106px;
  top: 106px;
  z-index: 1;
  width: 44px;
  height: 44px;
  background: #f57f45;
}

.wp-product__picture-delete img {
  position: absolute;
  left: 12.33px;
  top: 11.11px;
}

.wp-product__count {
  left: 6px;
  top: 122px;
  z-index: 1;
  min-width: 30px;
  height: 22px;
  padding: 0 4px;
  border-radius: 3px;
  background: #738c97;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  color: #fff;
}

.wp-product__add {
  left: 156px;
  right: 6px;
  top: 49px;
  height: 46px;
  transition: opacity 300ms ease-out;
}

/* The phone design has no pressed look for "Add Item", so it fades while its files upload */
.wp-product__add--active {
  opacity: 0.6;
}

/* The design's 0.55px dash inside the edge: a line twice as wide, drawn on the edge, with its outer half cut off */
.wp-product__add-edge {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.wp-product__add > img {
  left: calc(50% - 17.77px);
  top: 7.76px;
}

.wp-product__add-text {
  left: 0;
  right: 0;
  top: 26.24px;
  font-size: 8px;
  font-weight: 600;
  line-height: 12px;
  text-align: center;
  color: #482581;
}

.wp-product__file,
.wp-product__description {
  left: 156px;
  right: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}

.wp-product__file {
  top: 95px;
  font-weight: 600;
  line-height: 22px;
  color: #281447;
}

.wp-product__description {
  top: 124px;
  line-height: 16px;
  color: #482581;
}

/* Shortened from the left, as the design shows it: "..3101/MyShed" */
.wp-product__location {
  right: 89px;
  top: 160px;
  width: 43px;
  overflow: hidden;
  direction: rtl;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 6px;
  font-weight: 600;
  line-height: 14px;
  text-align: right;
  color: #482581;
}

/* The design's "user icon - image" is a little wider than it's high */
.wp-product__adder {
  right: 58.6px;
  top: 158px;
  width: 21.4px;
  height: 18px;
  box-shadow: inset 0 0 0 2px var(--ring, #747277);
}

.wp-product__download {
  right: 5.6px;
  top: 145px;
  width: 44px;
  height: 44px;
  border-radius: 7.33px;
  background: #482581;
}

.wp-product__download img {
  position: absolute;
  left: 11px;
  top: 12.83px;
}

/* Story 8: for the housebuilder's people the more button opens a drop-down, as phones can't drag a product. There's no
   design for it, so it's white with the cards' shadow, under the button */
.wp-product__menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: none;
}

.wp-product__menu {
  right: 0;
  top: 44px;
  z-index: 3;
  min-width: 160px;
  overflow: hidden;
  border-radius: 0 0 5px 5px;
  background: #fff;
  box-shadow: 0 3px 6px rgb(0 0 0 / 30%);
}

.wp .wp-product__menu-item {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  color: #482581;
}

.wp .wp-product__menu-item + .wp-product__menu-item {
  border-top: 1px solid #ede9f2;
}

.wp .wp-product__menu-item:active {
  background: #ede9f2;
}

@media (hover: hover) {
  .wp .wp-product__menu-item:hover {
    background: #ede9f2;
  }
}

/* X 17's bubble, its point under the middle of the delete button */
.wp .ws-delete {
  left: -1.67px;
  top: 36px;
  z-index: 3;
  width: 284px;
  height: 199px;
  color: #874626;
}

/* The phone's "image count/loading product(mobile)", node 393:35332 */
.ws-loading--phone {
  width: auto;
  height: 113px;
  margin-bottom: 0;
}

.ws-loading--phone .ws-loading__edge {
  width: 100%;
  height: 100%;
}

.ws-loading--phone .ws-loading__squares {
  left: calc(50% - 43.62px);
  top: 33.22px;
  gap: 6.78px;
}

.ws-loading--phone .ws-loading__squares i {
  width: 24.56px;
  height: 24.56px;
  border-radius: 4.24px;
}

.ws-loading--phone .ws-loading__text {
  left: 0.9px;
  right: 0.9px;
  top: 66.5px;
  width: auto;
  font-size: 8px;
  line-height: 14px;
}

/* Along the bottom: Home, Share, Add Product, MarketPlace and Chat */
.wp-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 51px;
  border-top: 1px solid #331a5c;
  background: #fff;
}

.wp-nav__tab {
  position: relative;
  padding-top: 31px;
  font-size: 8px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  white-space: nowrap;
  color: #482581;
}

.wp-nav__tab > img {
  position: absolute;
  left: 50%;
  top: 7px;
  translate: -50%;
}

.wp-nav__tab--pressed {
  background: #331a5c;
  color: #fff;
}

.wp-nav__tab--share {
  line-height: 12px;
  color: #3f4d53;
}

.wp-nav__tab--off {
  color: #969399;
}

.wp-nav__tab--market {
  padding-top: 30px;
}

.wp-nav__tab--market > img {
  top: 6px;
}

/* The file picker lies invisibly over Add Product */
.wp-nav__input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/*
  The properties (Y Screen 12): 200 wide, slid in from the left under the app bar. Positions in it are the design's
  less 64 down, as it starts under the app bar
*/
.wp-props {
  position: absolute;
  left: 0;
  top: 44px;
  bottom: 0;
  z-index: 5;
  width: 200px;
  overflow: hidden;
  /* rgb(205 170 137 / 50%) on white */
  background: #e6d5c4;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 300ms ease-out, visibility 0s 300ms;
}

.wp-props--open {
  transform: none;
  visibility: visible;
  transition: transform 300ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .wp-props,
  .wp-props--open {
    transition: none;
  }
}

.wp-props__head {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 44px;
}

.wp-props__close-2 {
  left: 100px;
}

.wp-props__close-1 {
  left: 146px;
}

/* "create new unit tab(mobile)": the white card, over the brown tab with the search in it */
.wp-new-property {
  position: absolute;
  left: 10px;
  top: 49px;
  width: 180px;
  height: 74px;
}

.wp-new-property > * {
  position: absolute;
}

.wp-new-property__tab {
  left: 11.1px;
  top: 37.8px;
  width: 158px;
  height: 36px;
  border-radius: 0 0 6.5px 6.5px;
  background: #715e4b;
  box-shadow: inset 1px 1px 1px rgb(0 0 0 / 30%);
}

.wp-new-property__search {
  left: 13.1px;
  top: 45.8px;
  width: 154px;
  height: 26px;
  border-radius: 4px;
  background: #e8d8c9;
}

.wp-new-property__input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
  padding: 0 32px 0 8px;
  background: none;
  font: 400 12px / 24px Roboto, Arial, sans-serif;
  color: #56473a;
  -webkit-appearance: none;
  appearance: none;
}

.wp-new-property__input::placeholder {
  opacity: 1;
  color: #56473a;
}

.wp-new-property__input::-webkit-search-cancel-button {
  display: none;
}

.wp-new-property__input:focus-visible {
  outline: 2px solid #715e4b;
}

.wp-new-property__find {
  position: absolute;
  left: 123px;
  top: 4px;
  pointer-events: none;
}

/* Drawn from the design's path, its right-hand end sloping like a property card's */
.wp-new-property__card {
  left: 0;
  top: 0;
  width: 182px;
  height: 44.2px;
  filter: drop-shadow(0 3px 6px rgb(0 0 0 / 30%));
}

.wp-new-property__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: path("M0 37.689C0 41.278 2.909 44.188 6.498 44.188L173.477 44.188C178.498 44.188 181.622 38.736 179.084 34.404L160.809 3.213C159.643 1.223 157.509 0 155.202 0L6.498 0C2.909 0 0 2.909 0 6.498Z");
}

.wp-new-property__text {
  left: 7.8px;
  top: 6.8px;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
  color: #000;
}

.wp-new-property__icon {
  left: 131.9px;
  top: 4.5px;
}

/* The phone's own file picker lies invisibly over the card */
.wp-new-property__add {
  left: 0;
  top: 0;
  z-index: 1;
  width: 180px;
  height: 44.2px;
  opacity: 0;
  cursor: pointer;
}

.wp-new-property__add:disabled {
  cursor: default;
}

.wp-new-property:has(.wp-new-property__add:focus-visible) .wp-new-property__card::before {
  box-shadow: inset 0 0 0 2px #482581;
}

/* "property scroll area": the wallpaper with its "Property", under the cards, which scroll over it */
.wp-props__wall,
.wp-props__scroll {
  position: absolute;
  left: 0;
  right: 0;
  top: 141px;
  bottom: 0;
  border-radius: 8px 8px 0 0;
}

.wp-props__wall {
  overflow: hidden;
  background-position: -31.8px 0, 0 0;
  background-size: 282.7px 522.85px, auto;
}

/* The design's text box, turned about its middle */
.wp-props__word {
  position: absolute;
  left: -22px;
  top: 205.4px;
  width: 250.6px;
  height: 14.8px;
  transform: rotate(-25deg);
  font-size: 28.27px;
  font-weight: 800;
  line-height: 14.8px;
  letter-spacing: 2.54px;
  text-align: center;
  white-space: nowrap;
  color: #e8d8c9;
}

.wp-props__scroll {
  overflow: hidden auto;
  padding: 20px 0 0 10px;
  scrollbar-width: none;
}

.wp-props__scroll::-webkit-scrollbar {
  display: none;
}

/* "Property card(mobile)" (739:72118) */
.wp-property {
  position: relative;
  width: 180px;
  height: 102.4px;
  margin-bottom: 20px;
}

.wp-property > * {
  position: absolute;
}

.wp-property__tab {
  left: 0;
  top: 0;
  width: 135px;
  height: 102.4px;
  border-radius: 6.92px;
  background: #d7bba1;
  box-shadow: 0 3px 6px rgb(0 0 0 / 30%);
}

.wp-property__name,
.wp-property__reference {
  top: 83.9px;
  font-size: 10px;
  font-weight: 800;
  line-height: 12px;
  white-space: nowrap;
  color: #000;
}

.wp-property__name {
  left: 4.2px;
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wp-property__reference {
  right: 50.9px;
}

/* Edited where it is (stories 2, 76): over the card's own button */
.wp-property__name--editable,
.wp-property__reference--editable {
  z-index: 2;
}

.wp-property__name--editable.inline-text--editing {
  width: 86px;
}

.wp-property__reference--editable.inline-text--editing {
  width: 13ch;
}

.wp-props .inline-text__problem {
  max-width: 170px;
}

/* The white card, drawn from the design's path: its right side slopes down to the photo's triangle */
.wp-property__shape {
  left: 0.15px;
  top: 0;
  width: 182px;
  height: 77.5px;
  filter: drop-shadow(0 3px 6px rgb(0 0 0 / 30%));
}

.wp-property__shape::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: path("M136.423 0C138.897 0 141.183 1.3213 142.417 3.46522L179.067 67.1046C181.723 71.7162 178.394 77.4741 173.072 77.4741L6.91733 77.4741C3.097 77.4741 0 74.3771 0 70.5567L0 6.91733C0 3.09699 3.09699 0 6.91733 0Z");
}

.wp-property__photo {
  left: 87.77px;
  top: 1.38px;
}

/* Three rings, green, amber and red, ready to light up in release two */
.wp-property__lights {
  left: 5px;
  top: 55px;
  display: flex;
  gap: 8px;
}

.wp-property__lights > span {
  width: 16px;
  height: 16px;
  border: 2px solid #087649;
  border-radius: 50%;
}

.wp-property__lights > span:nth-child(2) {
  border-color: #afa70e;
}

.wp-property__lights > span:nth-child(3) {
  border-color: #d33131;
}

.wp-property__chat {
  left: 5px;
  top: 5px;
  width: 45px;
  height: 19px;
  border-radius: 3px;
  background: #927961;
}

.wp-property__chat img {
  position: absolute;
  left: 6.5px;
  top: 2px;
}

.wp-property__menu {
  left: 61px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 3.67px;
  background: #482581;
}

.wp .wp-property__menu--button {
  z-index: 1;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.wp-property__menu i {
  position: absolute;
  top: 9.2px;
  width: 3.7px;
  height: 3.7px;
  border-radius: 50%;
  background: #fff;
}

.wp-property__menu i:nth-child(1) {
  left: 3.1px;
}

.wp-property__menu i:nth-child(2) {
  left: 9.2px;
}

.wp-property__menu i:nth-child(3) {
  left: 15.3px;
}

.wp-property__outline {
  left: -1.5px;
  top: -1.5px;
  pointer-events: none;
}

.wp-property__outline path {
  fill: none;
  stroke: transparent;
  stroke-width: 3px;
  transition: stroke 300ms ease-out;
}

@media (hover: hover) {
  .wp-property:hover .wp-property__outline path {
    stroke: #846dab;
  }
}

.wp-property:not(.wp-property--selected):has(.wp-property__select:focus-visible) .wp-property__outline path {
  stroke: #846dab;
}

.wp-property--selected .wp-property__outline path,
.wp-property--selected:hover .wp-property__outline path {
  stroke: #482581;
}

.wp-property__select {
  left: -1.5px;
  top: -1.5px;
  width: 183px;
  height: 105.4px;
}

.wp .wp-property__select:focus-visible {
  outline: none;
}

.wp-property--selected .wp-property__select {
  cursor: default;
}

/* Story 8: My shed has no phone design, so it's a short card in the property cards' look and with their outlines */
.wp-shed {
  position: relative;
  width: 180px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 6.92px;
  background: #fff;
  box-shadow: 0 3px 6px rgb(0 0 0 / 30%);
  transition: box-shadow 300ms ease-out;
}

.wp-shed > * {
  position: absolute;
}

.wp-shed__icon {
  left: 8px;
  top: 12px;
}

.wp-shed__name {
  left: 44px;
  top: 11px;
  font-size: 10px;
  font-weight: 800;
  line-height: 12px;
  color: #000;
}

.wp-shed__count {
  left: 44px;
  top: 27px;
  font-size: 8px;
  font-weight: 600;
  line-height: 12px;
  color: #56473a;
}

.wp-shed__select {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.wp .wp-shed__select:focus-visible {
  outline: none;
}

@media (hover: hover) {
  .wp-shed:hover {
    box-shadow: 0 3px 6px rgb(0 0 0 / 30%), 0 0 0 1.5px #846dab, inset 0 0 0 1.5px #846dab;
  }
}

.wp-shed:has(.wp-shed__select:focus-visible) {
  box-shadow: 0 3px 6px rgb(0 0 0 / 30%), 0 0 0 1.5px #846dab, inset 0 0 0 1.5px #846dab;
}

.wp-shed--selected,
.wp-shed--selected:hover {
  box-shadow: 0 3px 6px rgb(0 0 0 / 30%), 0 0 0 1.5px #482581, inset 0 0 0 1.5px #482581;
}

.wp-shed--selected .wp-shed__select {
  cursor: default;
}

/* A2 Screen 06's "loading property area": the three site icons take turns while pictures become properties */
.wp-props-loading {
  position: relative;
  width: 180px;
  height: 150px;
  margin-bottom: 20px;
}

.wp-props-loading > * {
  position: absolute;
}

.wp-props-loading__edge {
  left: 0;
  top: 0;
  width: 180px;
  height: 150px;
}

.wp-props-loading__sites {
  left: 30.4px;
  top: 48px;
  display: flex;
  gap: 3.2px;
}

.wp-props-loading__sites i {
  width: 37.58px;
  height: 33.28px;
  background: #dec6b0;
  clip-path: path("M16.4152 1.37225C17.4716 -0.457417 20.1124 -0.457415 21.1688 1.37225L37.2122 29.1603C38.2686 30.9899 36.9481 33.277 34.8354 33.277L2.74859 33.277C0.635874 33.277 -0.684569 30.9899 0.371787 29.1602L16.4152 1.37225Z");
  animation: wp-props-loading 1.2s infinite step-end;
}

.wp-props-loading__sites i:nth-child(2) {
  animation-delay: 0.4s;
}

.wp-props-loading__sites i:nth-child(3) {
  animation-delay: 0.8s;
}

/* The design's frame has the left one dark; each takes its turn */
@keyframes wp-props-loading {
  0% {
    background: #927961;
  }

  33.33% {
    background: #dec6b0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wp-props-loading__sites i {
    animation: none;
  }

  .wp-props-loading__sites i:first-child {
    background: #927961;
  }
}

.wp-props-loading__text {
  left: 0;
  right: 0;
  top: 90px;
  font-size: 8.64px;
  font-weight: 600;
  line-height: 11.5px;
  text-align: center;
  color: #715e4b;
}

/* Screen 9: the people, 200 wide, slid in from the right over everything under the app bar, and over its shadow */
.wp-people {
  position: absolute;
  right: 0;
  top: 44px;
  bottom: 0;
  z-index: 5;
  width: 200px;
  background: #fff;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 300ms ease-out, visibility 0s 300ms;
}

.wp-people--open {
  transform: none;
  visibility: visible;
  transition: transform 300ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .wp-people,
  .wp-people--open {
    transition: none;
  }
}

.wp-people__head,
.wp-people__body {
  position: absolute;
  left: 0;
  width: 200px;
  background: rgb(8 118 73 / 50%);
}

.wp-people__head {
  top: 0;
  height: 114px;
}

.wp-people__body {
  top: 114px;
  bottom: 0;
}

.wp-people__close-1 {
  left: 10px;
}

.wp-people__close-2 {
  left: 56px;
}

/* The user's card: their initials in a white ring (or their photo) and their name */
.wp-me {
  position: absolute;
  left: 10px;
  top: 44px;
  width: 180px;
  height: 60px;
  border-radius: 0 0 9px 9px;
  background: #065434;
  box-shadow: 0 3px 6px rgb(0 0 0 / 30%);
}

.wp-me__avatar {
  position: absolute;
  left: 7.2px;
  top: 6.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48.6px;
  height: 48.6px;
  border: 2.7px solid #fff;
  border-radius: 50%;
  font-size: 21.6px;
  font-weight: 700;
  letter-spacing: 1.94px;
  color: #fff;
}

.wp-me__avatar--picture {
  box-shadow: none;
}

.wp-me__name {
  position: absolute;
  left: 67px;
  top: 21px;
  max-width: 88px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  line-height: 22px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff;
}

/* The "invite people" component: its tab, the dark "find user tab" under it and the "Search People" box */
.wp-invite > * {
  position: absolute;
}

.wp-invite__find {
  left: 10px;
  top: 42px;
  width: 180px;
  height: 80px;
  border-radius: 0 0 10px 10px;
  background: #065434;
}

.wp-invite__tab {
  left: 10px;
  top: 8px;
  width: 180px;
  height: 68px;
  border-radius: 34px 10px 10px 34px;
  background: #fff;
  box-shadow: inset 0 0 0 0 #03321f, 0 3px 3px rgb(0 0 0 / 30%);
  transition: background-color 300ms ease-out, box-shadow 300ms ease-out;
}

.wp-invite__tab > * {
  position: absolute;
}

.wp-invite__circle {
  left: 11px;
  top: 11px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #087649;
  transition: background-color 300ms ease-out;
}

.wp-invite__plus {
  left: 22px;
  top: 22px;
}

.wp-invite__text {
  left: 68px;
  top: 23px;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  white-space: nowrap;
  color: #03321f;
}

@media (hover: hover) {
  .wp-invite__tab:not(:disabled):hover {
    background-color: #8dc0ab;
    box-shadow: inset 0 0 0 3px #03321f, 0 6px 5px rgb(0 0 0 / 20%);
  }

  .wp-invite__tab:not(:disabled):hover .wp-invite__circle {
    background-color: #39916d;
  }
}

.wp-invite__search {
  left: 14px;
  top: 80px;
  width: 172px;
  height: 38px;
  border-radius: 6px;
  background: #8dc0ab;
}

.wp-invite__input {
  padding: 0 36px 2px 8px;
  border-radius: 6px;
  color: #044128;
}

.wp-invite__input::placeholder {
  opacity: 1;
  color: #044128;
}

.wp-invite__input:focus-visible {
  outline: 2px solid #044128;
}

.wp-invite__icon {
  position: absolute;
  left: 128px;
  top: -3px;
  pointer-events: none;
}

/* The people's scroll area on their wallpaper, with "People" across it */
.wp-wall--people {
  top: 140px;
}

.wp-wall--people .wp-wall__word {
  left: -1.12px;
  top: 143.22px;
  width: 202.24px;
  height: 73.76px;
  color: #b2d5c7;
}

.wp-people__scroll {
  position: absolute;
  left: 0;
  right: 0;
  top: 140px;
  bottom: 0;
  overflow: hidden auto;
  scrollbar-width: none;
}

.wp-people__scroll::-webkit-scrollbar {
  display: none;
}

/*
  The half view (16 Nov). A single arrow brings a side panel half out, 140 wide, and the properties and the people can be
  half out together with a sliver of the products between them, for a property manager flicking between properties to
  see who's on each. There's no design for it yet: the properties are their triangle and name, and the people their ring,
  name and what they are, on white cards in the panels' style. Only the single arrow that puts a panel away is there
*/
.wp-props--half,
.wp-people--half {
  width: 140px;
}

.wp-props--half .wp-props__close-2,
.wp-people--half .wp-people__close-2,
.wp-props--half .wp-new-property,
.wp-people--half .wp-me,
.wp-people--half .wp-invite {
  display: none;
}

.wp-props--half .wp-props__close-1 {
  left: 92px;
}

.wp-props--half .wp-props__wall,
.wp-props--half .wp-props__scroll {
  top: 44px;
}

.wp-props--half .wp-props__scroll {
  box-sizing: border-box;
  padding: 10px 8px 0;
}

.wp-people--half .wp-people__head,
.wp-people--half .wp-people__body {
  width: 140px;
}

.wp-people--half .wp-people__head {
  height: 44px;
}

.wp-people--half .wp-people__body {
  top: 44px;
}

.wp-people--half .wp-wall--people {
  top: 0;
}

.wp-people--half .wp-people__scroll {
  top: 0;
  padding-top: 10px;
}

.wp .wp-mini {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 8px;
  align-content: center;
  align-items: center;
  width: 100%;
  min-height: 52px;
  margin: 0 0 10px;
  border: 0;
  border-radius: 8px;
  padding: 6px 8px;
  background: #fff;
  box-shadow: 0 2px 4px rgb(0 0 0 / 15%);
  text-align: left;
  cursor: pointer;
}

.wp .wp-mini--selected {
  box-shadow: inset 0 0 0 3px #482581;
}

.wp .wp-mini:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px #846dab;
}

/* The property cards' triangle: its photo, or the brown "site" */
.wp-mini__site {
  grid-row: span 2;
  width: 34px;
  height: 30px;
  background: #bb9b7d center / cover no-repeat;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.wp-mini__icon {
  grid-row: span 2;
}

.wp-mini__name {
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #482581;
}

.wp-mini__reference {
  overflow: hidden;
  font-size: 10px;
  line-height: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #7f7a88;
}

/* A person in the half view: their ring in their kind's colour, their name and what they are */
.ws-person-mini {
  box-sizing: border-box;
  background: #fff;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 8px;
  align-content: center;
  align-items: center;
  width: calc(100% - 16px);
  min-height: 52px;
  margin: 0 8px 10px;
  border-radius: 8px;
  padding: 6px 8px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 15%);
}

.ws-person-mini__avatar {
  grid-row: span 2;
  width: 36px;
  height: 36px;
}

.ws-person--invited .ws-person-mini__avatar {
  filter: grayscale(1);
  opacity: 0.6;
}

.ws-person-mini__name,
.ws-person-mini__role {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ws-person-mini__name {
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
  color: #03321f;
}

.ws-person-mini__role {
  font-size: 10px;
  line-height: 13px;
  color: var(--role);
}

@media (hover: hover) {
  .wp .wp-mini:not(.wp-mini--selected):hover {
    box-shadow: inset 0 0 0 3px #846dab;
  }
}

/* Screen 15: the viewer fills the phone's screen */
@media (max-width: 759.98px) {
  .ws-viewer {
    position: fixed;
    background: #555;
    --slide: 100vw;
  }

  .ws-viewer__frame {
    left: 0;
    right: 0;
    width: auto;
    margin-left: 0;
  }

  .ws-viewer__delete img,
  .ws-viewer__step img,
  .ws-viewer__close img {
    width: 44px;
    height: 44px;
  }

  .ws-viewer__delete {
    left: 16px;
    top: 16px;
  }

  .ws-viewer__step {
    top: 16px;
    width: 44px;
    height: 44px;
  }

  /* The phone design's buttons are pictures with their own colours */
  .ws-viewer__step,
  .ws-viewer__close {
    border-radius: 0;
    background: none;
  }

  /* The arrows and count, in the middle */
  .ws-viewer__step--back {
    left: calc(50% - 77.03px);
  }

  .ws-viewer__count {
    left: calc(50% - 29.03px);
    top: 16px;
    width: 58.06px;
    height: 44px;
    padding: 9px 0;
    border-radius: 3.67px;
    font-size: 20px;
    line-height: 26px;
  }

  .ws-viewer__step--on {
    left: calc(50% + 33.03px);
  }

  .ws-viewer__download {
    display: none;
  }

  .ws-viewer__close {
    left: auto;
    right: 16px;
    top: 16px;
    width: 44px;
    height: 44px;
  }

  .ws-viewer__pages {
    left: 16px;
    right: 16px;
    top: 104px;
    bottom: 0;
    width: auto;
    padding: 0;
    border-radius: 0;
    scrollbar-width: none;
  }

  .ws-viewer__pages::-webkit-scrollbar {
    display: none;
  }

  .ws-viewer__page {
    width: 100%;
    margin-bottom: 16.73px;
  }

  .ws-viewer__none {
    width: auto;
  }
}

/*
  "Invite people" (stories 3, 15, 75). There's no green design yet, so it's a white pop-up in the workspace's style under
  the invite tab, overlapping the products, with the people column's green for its button
*/
/* Behind an open drop-down pop-up (settings, their own menu, inviting people): clear, and a click on it puts the pop-up
   away, so only one is ever open (18 Nov) */
.ws-away {
  position: fixed;
  inset: 0;
  z-index: 29;
  border: 0;
  padding: 0;
  background: none;
}

.ws-invite-panel {
  position: absolute;
  right: 10px;
  top: 172px;
  z-index: 30;
  width: 340px;
  border-radius: 10px;
  padding: 16px 20px 20px;
  background: #fff;
  box-shadow: 0 6px 16px rgb(0 0 0 / 25%);
  font-family: "Open Sans", Arial, sans-serif;
  color: #434552;
}

.wp .ws-invite-panel {
  left: 8px;
  right: 8px;
  top: 52px;
  width: auto;
  max-height: calc(100% - 60px);
  overflow-y: auto;
}

.ws-invite-panel__title {
  margin: 0 32px 2px 0;
  font-size: 18px;
  font-weight: 700;
  color: #03321f;
}

/* The design's standard close button ("medium close button - standard"): white on purple, lighter under the pointer and
   darker pressed, as the viewer's are. The pale grey it was looked switched off (18 Nov) */
.ws-invite-panel__close {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: #482581;
  cursor: pointer;
  transition: background-color 300ms ease-out;
}

.ws-invite-panel__close:hover {
  background-color: #846dab;
}

.ws-invite-panel__close:active {
  background-color: #331a5c;
}

.ws-invite-panel__close:focus-visible {
  outline: 2px solid #482581;
  outline-offset: 2px;
}

.ws-invite-panel__to {
  margin: 0 0 12px;
  font-size: 13px;
}

.ws-invite-panel__label {
  display: block;
  margin: 10px 0 4px;
  font-size: 13px;
  font-weight: 600;
}

.ws-invite-panel__field {
  display: block;
  width: 100%;
  height: 40px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 8px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: #434552;
}

.ws-invite-panel__field:focus-visible {
  border-color: #087649;
  outline: none;
}

.ws-invite-panel__field[aria-invalid="true"] {
  border-color: #c62828;
}

.ws-invite-panel__names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ws-invite-panel__message {
  margin: 12px 0 0;
  font-size: 13px;
  color: #087649;
}

.ws-invite-panel__message--problem {
  color: #c62828;
}

.ws-invite-panel__send {
  display: block;
  width: 100%;
  height: 44px;
  margin: 16px 0 0;
  border: 0;
  border-radius: 8px;
  background: #087649;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background-color 300ms ease-out;
}

.ws-invite-panel__send:hover {
  background: #065434;
}

.ws-invite-panel__send:disabled {
  background: #8dc0ab;
  cursor: progress;
}

/* Deleting a property on a phone: the delete button in X 17's orange, red under the pointer */
.ws-delete-panel .ws-delete-panel__delete {
  background: #f57f45;
}

.ws-delete-panel .ws-delete-panel__delete:hover:not(:disabled),
.ws-delete-panel .ws-delete-panel__delete:active:not(:disabled) {
  background: #d33131;
}

.ws-delete-panel .ws-delete-panel__delete:disabled {
  background: #f9b38f;
}

/*
  Settings (stories 12, 58): the invite pop-up's panel, under the cog in the middle column's top bar, with the company's
  logo on white as the top bar shows it
*/
/* Sharing (stories 77, 78): the invite pop-up's panel in the middle of the screen, over a dimmed workspace */
.ws-share-scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  padding: 0;
  background: rgb(0 0 0 / 30%);
}

.ws-invite-panel.ws-share-panel {
  position: fixed;
  left: 50%;
  right: auto;
  top: 50%;
  z-index: 41;
  width: min(380px, calc(100vw - 16px));
  max-height: calc(100dvh - 16px);
  overflow-y: auto;
  transform: translate(-50%, -50%);
}

/* Why something didn't work (ProblemPanel), with OK in the close button's purple */
.ws-problem-panel .ws-problem-panel__text {
  font-size: 14px;
  line-height: 20px;
}

.ws-problem-panel .ws-problem-panel__ok {
  background: #482581;
}

.ws-problem-panel .ws-problem-panel__ok:hover {
  background: #846dab;
}

.ws-problem-panel .ws-problem-panel__ok:active {
  background: #331a5c;
}

/* Story 8 on a phone: where a product can be moved to, one row each */
.ws-move-panel__places {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.ws-move-panel .ws-move-panel__place {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-top: 1px solid #ede9f2;
  padding: 6px 4px;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: #482581;
  cursor: pointer;
}

.ws-move-panel li:first-child .ws-move-panel__place {
  border-top: 0;
}

.ws-move-panel .ws-move-panel__place:disabled {
  color: #7f7a88;
  cursor: default;
}

@media (hover: hover) {
  .ws-move-panel .ws-move-panel__place:not(:disabled):hover {
    background: #ede9f2;
  }
}

.ws-move-panel__icon {
  flex: none;
}

/* The property cards' brown "site" triangle */
.ws-move-panel__site {
  flex: none;
  width: 28px;
  height: 25px;
  background: #bb9b7d;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.ws-move-panel__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ws-move-panel__here,
.ws-move-panel__reference {
  flex: none;
  font-size: 12px;
  font-weight: 400;
  color: #7f7a88;
}

.ws-share-panel__what {
  margin: 0;
  border: 0;
  padding: 0;
}

.ws-share-panel__choice {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 0;
  font-size: 14px;
  cursor: pointer;
}

.ws-mid .ws-branding-panel {
  right: 12px;
  top: 76px;
}

.ws-branding-panel__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  border: 2px dashed #e0e0e0;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}

.ws-branding-panel__logo img {
  display: block;
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.ws-branding-panel__none {
  font-size: 13px;
  color: #7a7c88;
}

.ws-branding-panel__choose {
  display: block;
  margin: 8px 0 0;
  border: 2px solid #087649;
  border-radius: 8px;
  padding: 8px 12px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: #087649;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.ws-branding-panel__choose:hover {
  background: #e8f3ee;
}

.ws-branding-panel__hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: #7a7c88;
}
