/* Static views of the work, with the same care as the conversation. */
.workspace-content {
  container-type: inline-size;
  padding: 16px 18px 0;
  color: #26312d;
  background: #fff;
}
.workspace-content .workspace-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
  margin: 0 0 12px;
}
.workspace-content .workspace-heading h3 {
  margin: 0;
  color: #26312d;
  font: 550 16px/1.35 var(--sans);
  letter-spacing: -.35px;
}
.workspace-content .workspace-state {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  color: #3f7159;
  font: 500 11px/1.4 var(--sans);
  white-space: nowrap;
}
.workspace-content .workspace-state i {
  display: inline-block;
  width: 9px;
  height: 5px;
  margin-top: -3px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}
.workspace-content .workspace-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 49px;
  border-top: 1px solid #edf0ee;
  color: #66736c;
  font: 400 12px/1.4 var(--sans);
}
.workspace-content .workspace-footer strong {
  color: #26312d;
  font-size: 16px;
  font-weight: 550;
  white-space: nowrap;
}
.workspace-content .workspace-footer strong small {
  color: #788179;
  font-size: 11px;
  font-weight: 400;
}

/* A compact campaign editor, with the email itself as the focal point. */
.workspace-content .campaign-preview .workspace-heading {
  min-height: 21px;
  margin-bottom: 10px;
}
.workspace-content .campaign-preview .workspace-heading h3 {
  font-size: 15px;
}
.workspace-content .campaign-builder {
  overflow: hidden;
  border: 1px solid #e9e7ef;
  border-radius: 7px;
  background: #f8f7fa;
}
.workspace-content .campaign-tools {
  display: flex;
  align-items: center;
  gap: 17px;
  height: 29px;
  padding: 0 10px;
  border-bottom: 1px solid #eae8ef;
  color: #78747f;
  background: #fff;
  font: 450 10px/1 var(--sans);
}
.workspace-content .campaign-tool {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.workspace-content .campaign-tool svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.workspace-content .campaign-tool.is-selected { color: #7862aa; }
.workspace-content .campaign-canvas { padding: 10px; }
.workspace-content .campaign-email {
  position: relative;
  display: grid;
  grid-template-columns: 52% 48%;
  grid-template-rows: minmax(0, 1fr);
  height: 154px;
  background: #f6efe5;
  box-shadow: 0 0 0 1px #9b87c8, 0 3px 9px #4d3b7310;
}
.workspace-content .editor-handle {
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 5px;
  border: 1px solid #9b87c8;
  background: #fff;
}
.workspace-content .editor-handle:nth-of-type(1) { top: -3px; left: -3px; }
.workspace-content .editor-handle:nth-of-type(2) { top: -3px; right: -3px; }
.workspace-content .editor-handle:nth-of-type(3) { bottom: -3px; left: -3px; }
.workspace-content .editor-handle:nth-of-type(4) { bottom: -3px; right: -3px; }
.workspace-content .campaign-editorial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 13px 12px;
  color: #663746;
}
.workspace-content .florist-wordmark {
  color: #663746;
  font: 500 7px/1.3 var(--sans);
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.workspace-content .campaign-editorial h3 {
  margin: auto 0;
  color: #663746;
  font: 400 clamp(22px, 7.7cqw, 28px)/1.04 var(--serif);
  letter-spacing: -.5px;
}
.workspace-content .campaign-editorial h3 em { font-weight: 400; }
.workspace-content .campaign-shop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid #9e7b83;
  color: #663746;
  font: 500 8px/1.4 var(--sans);
  white-space: nowrap;
}
.workspace-content .campaign-shop > span { font-size: 11px; line-height: 1; }
.workspace-content .campaign-photo {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 50%;
}
.workspace-content .campaign-settings {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 0;
  padding: 10px 0 12px;
}
.workspace-content .campaign-settings dt {
  margin-bottom: 2px;
  color: #8a868e;
  font: 400 10px/1.2 var(--sans);
}
.workspace-content .campaign-settings dd {
  margin: 0;
  color: #514d58;
  font: 450 11px/1.3 var(--sans);
}

/* An everyday order, readable at a glance. */
.workspace-content .order-photo {
  width: 100%;
  height: 74px;
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: 6px;
  background: #f4f1e9;
}
.workspace-content .order-lines {
  margin-top: 8px;
  margin-bottom: 8px;
}
.workspace-content .order-lines > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 29px;
  color: #34423a;
  font: 400 12px/1.4 var(--sans);
}
.workspace-content .order-lines small {
  margin-left: 5px;
  color: #7a847d;
  font-size: 11px;
  white-space: nowrap;
}
.workspace-content .order-lines strong {
  color: #46534b;
  font-size: 12px;
  font-weight: 450;
}

/* A recognisable stadium, with just the two seats that matter. */
.workspace-content .stadium-map {
  padding: 0 24px;
}
.workspace-content .stadium-pitch {
  position: relative;
  height: 48px;
  margin: 0 auto;
  overflow: hidden;
  border: 5px solid #edf5f0;
  border-radius: 5px;
  background: repeating-linear-gradient(90deg, #c3dacf 0 25px, #d0e2d8 25px 50px);
  box-shadow: 0 0 0 1px #ddebe1;
}
.workspace-content .stadium-pitch::before {
  content: '';
  position: absolute;
  top: 4px;
  right: 5px;
  bottom: 4px;
  left: 5px;
  border: 1px solid #fafffcce;
}
.workspace-content .stadium-pitch::after {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  border-left: 1px solid #fafffcce;
}
.workspace-content .pitch-centre {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 1px solid #fafffcce;
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.workspace-content .pitch-goal {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 21px;
  border: 1px solid #fafffcce;
  transform: translateY(-50%);
}
.workspace-content .pitch-goal-left { left: 5px; }
.workspace-content .pitch-goal-right { right: 5px; }
.workspace-content .stand-name {
  display: block;
  margin: 12px 0 9px;
  color: #79858c;
  text-align: center;
  font: 500 8px/1.4 var(--sans);
  letter-spacing: 1.7px;
}
.workspace-content .ticket-seat-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px 8px;
  max-width: 245px;
  margin: 0 auto 17px;
}
.workspace-content .ticket-seat {
  display: block;
  height: 13px;
  border: 1px solid #ccdae4;
  border-bottom: 3px solid #bbcddc;
  border-radius: 3px 3px 2px 2px;
  background: #d8e4ec;
}
.workspace-content .ticket-seat.is-taken {
  background: #f0f2f4;
  border-color: #eaedf0;
  border-bottom-color: #e4e8ec;
}
.workspace-content .ticket-seat.is-selected {
  border-color: #1175dd;
  border-bottom-color: #0d61bd;
  background: #1685f2;
  box-shadow: 0 2px 5px #137be62b;
}

@container (max-width: 290px) {
  .workspace-content .campaign-editorial { padding: 13px 10px 12px; }
  .workspace-content .florist-wordmark { font-size: 6px; letter-spacing: 1.1px; }
  .workspace-content .campaign-shop { font-size: 7px; gap: 4px; }
  .workspace-content .campaign-tools { gap: 13px; }
  .workspace-content .workspace-heading h3 { font-size: 15px; }
  .workspace-content .stadium-map { padding-inline: 12px; }
  .workspace-content .ticket-seat-grid { gap: 6px; }
  .workspace-content .order-lines small { margin-left: 3px; font-size: 10px; }
  .workspace-content .workspace-footer { font-size: 11px; }
}
@media (max-width: 450px) {
  .workspace-content { padding: 14px 15px 0; }
}
