.delivery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border, #35433c);
}
.delivery-actions button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--border, #35433c);
  border-radius: 6px;
  background: transparent;
  color: #dce8dc;
  font: inherit;
  cursor: pointer;
}
.delivery-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  max-height: 42vh;
  overflow: auto;
}
.delivery-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #405449;
  border-radius: 8px;
}
.delivery-row[aria-current="true"] {
  border-color: #90c8a6;
}
.delivery-row > span {
  flex: 1;
  min-width: 120px;
}
.delivery-row img {
  width: 90px;
  height: 64px;
  object-fit: contain;
  background: #eee;
}
.delivery-list:empty::after {
  content: "暂无记录";
  padding: 12px;
  color: #aaa;
}
.brand-swatches {
  display: flex;
  gap: 8px;
  margin: 10px;
}
.brand-swatches button {
  width: 42px;
  height: 34px;
}
.retouch-board {
  position: relative;
  touch-action: none;
  max-width: 100%;
  margin: 14px auto;
  background: repeating-conic-gradient(#bbb 0% 25%, #eee 0% 50%) 0/20px 20px;
}
.retouch-board canvas {
  display: block;
  max-width: 100%;
  height: auto;
  touch-action: none;
}
.retouch-preview {
  max-height: 55vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.share-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}
.share-page {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 24px 0;
}
.share-page img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #eee;
}
.share-comment {
  padding: 12px;
  border: 1px solid #405449;
  border-radius: 8px;
  margin: 8px 0;
  white-space: pre-wrap;
}
.share-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pro-points {
  max-height: 160px;
  overflow: auto;
}
.delivery-dialog-message {
  min-height: 1.5em;
}
dialog .property-grid > label {
  min-width: 0;
}
dialog input[type="file"] {
  max-width: 100%;
}
@media (max-width: 900px) {
  .image-editor .delivery-actions {
    display: none;
  }
  .image-editor.mobile-workflows-open .delivery-actions {
    display: flex;
    max-height: 22vh;
    overflow: auto;
  }
}
@media (max-width: 640px) {
  .delivery-actions {
    gap: 5px;
  }
  .delivery-actions button {
    font-size: 12px;
  }
  .delivery-row {
    padding: 8px;
  }
  .share-shell {
    padding: 12px;
  }
  .retouch-board {
    width: 100%;
  }
}
