html.st-open {
  overflow: hidden;
}
.st-dialog {
  --st-ink: #20211e;
  --st-muted: #696c66;
  --st-line: #e1e2dc;
  --st-accent: #b74634;
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(100% - 32px, 510px);
  max-width: none;
  height: max-content;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  background: #fff;
  color: var(--st-ink);
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 100px #1216103d;
  font:
    400 16px/1.55 "Instrument Sans",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  text-align: left;
  letter-spacing: normal;
}
.st-dialog::backdrop {
  background: rgb(17 20 17 / 53%);
  backdrop-filter: blur(3px);
}
.st-dialog *,
.st-dialog *::before,
.st-dialog *::after {
  box-sizing: border-box;
}
.st-dialog button,
.st-dialog input {
  font: inherit;
  letter-spacing: inherit;
}
.st-dialog button {
  cursor: pointer;
}
.st-dialog button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.st-dialog button:focus-visible,
.st-dialog input:focus-visible,
.st-uploader:focus-within {
  outline: 2px solid var(--st-accent);
  outline-offset: 3px;
}
.st-dialog h2:focus {
  outline: 0;
}
.st-dialog figure,
.st-dialog fieldset,
.st-dialog legend {
  margin: 0;
}
.st-dialog h2,
.st-dialog p {
  letter-spacing: inherit;
}
.st-dialog small {
  font-size: 0.8125rem;
}
.st-shell {
  position: relative;
  min-width: 0;
}
.st-dialog.st-wide-dialog {
  width: min(100% - 48px, 920px);
}
.st-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--st-line);
  border-radius: 50%;
  padding: 0;
  background: #fff;
  color: var(--st-ink);
  width: 38px;
  height: 38px;
}
.st-round:hover,
.st-outline:hover,
.st-chip:hover,
.st-work-open:hover,
.st-menu-item:hover {
  background: #f5f5f1;
}
.st-icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.st-close {
  position: absolute;
  z-index: 2;
  right: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  background: rgb(255 255 255 / 94%);
}
.st-back {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  border: 0;
  background: none;
  padding: 4px 0;
  color: var(--st-muted);
  font-size: 0.875rem !important;
  margin-bottom: 15px;
}
.st-back:hover,
.st-edit,
.st-liked {
  color: var(--st-accent);
}
.st-liked .st-icon {
  fill: #fae5e0;
  stroke: var(--st-accent);
}
.st-panel {
  padding: 36px 32px 30px;
}
.st-head {
  margin: 0 0 24px;
}
.st-head h2,
.st-title-wrap h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.25;
  margin: 0;
  padding-right: 25px;
  color: var(--st-ink);
}
.st-head p {
  font-size: 0.9375rem;
  color: var(--st-muted);
  margin: 10px 0 0;
  max-width: 38ch;
}
.st-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 44px;
  padding: 9px 17px;
  line-height: 1.3;
  color: var(--st-ink);
  background: #f3f3ef;
  font-size: 0.9375rem !important;
  font-weight: 550 !important;
}
.st-primary {
  color: #fff;
  background: #272923;
}
.st-primary:hover:not(:disabled) {
  background: #41443d;
}
.st-outline {
  background: white;
  border-color: var(--st-line);
}
.st-danger {
  color: white;
  background: var(--st-accent);
}
.st-wide {
  width: 100%;
}
.st-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 24px;
}
.st-footer .st-primary:only-child {
  width: 100%;
}
.st-form {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
.st-form label,
.st-upload-label strong,
.st-field legend {
  font-weight: 600;
  font-size: 0.9375rem;
}
.st-form > input {
  width: 100%;
  background: #fff;
  color: var(--st-ink);
  border: 1px solid var(--st-line);
  border-radius: 8px;
  min-height: 44px;
  padding: 8px 12px;
}
.st-form .st-primary {
  margin-top: 10px;
}
.st-note,
.st-feedback,
.st-account-mode {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--st-muted);
  margin: 12px 0 0;
}
.st-feedback {
  font-size: 0.875rem;
  color: #315746;
}
.st-error {
  color: #a93424;
}
.st-account-mode {
  margin-top: -12px;
}
.st-menu {
  margin: 20px 0 0;
}
.st-menu-item,
.st-work-open {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--st-ink);
  border: 0;
  background: none;
}
.st-menu-item {
  width: 100%;
  border-top: 1px solid var(--st-line);
  padding: 16px 3px;
}
.st-menu-item small {
  margin-left: auto;
  color: var(--st-muted);
}
.st-sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 550px;
  background: white;
}
.st-sample-visual {
  background: #efefea;
  align-self: stretch;
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
.st-preview-stage {
  position: absolute;
  inset: 18px 16px 40px;
  display: grid;
  place-items: center;
}
.st-photo-frame {
  position: relative;
  overflow: hidden;
  background: #e6e6df;
  box-shadow: 0 0 0 1px #13140f0c;
}
.st-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.st-group-frame img {
  object-fit: contain;
}
.st-frame-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  text-align: center;
  color: #565a51;
  font-size: 0.8125rem;
}
.st-sample-content {
  padding: 50px 34px 32px;
  align-self: center;
  min-width: 0;
}
.st-meta {
  font-size: 0.8125rem;
  color: var(--st-muted);
  margin: 0 0 9px;
}
.st-title-wrap h2 {
  padding: 0;
  line-height: 1.28;
}
.st-tags,
.st-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.st-tags {
  margin: 16px 0 24px;
}
.st-tags span {
  background: #f1f2ee;
  color: #595c54;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8125rem;
}
.st-field {
  min-width: 0;
  border: 0;
  padding: 0 0 18px;
}
.st-field legend {
  padding: 0 0 8px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.st-field legend small,
.st-upload-label small,
.st-person small,
.st-work small {
  color: var(--st-muted);
  font-weight: 400;
}
.st-chip {
  border: 1px solid var(--st-line);
  color: var(--st-ink);
  border-radius: 6px;
  min-height: 35px;
  padding: 5px 11px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.875rem !important;
}
.st-chip.st-on {
  color: #fff;
  background: #32342f;
  border-color: #32342f;
}
.st-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--st-line);
  border-radius: 8px;
  padding: 9px 12px;
  background: #fafaf7;
  color: var(--st-ink);
}
.st-slot-people {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 0.9375rem;
}
.st-slot-people span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.st-slot-people img {
  object-fit: cover;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
}
.st-edit {
  flex: none;
  font-size: 0.8125rem;
}
.st-sample-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 5px;
}
.st-sample-actions .st-primary {
  flex: 1;
}
.st-fav {
  height: 44px;
  width: 44px;
  border-radius: 8px;
}
.st-people {
  display: grid;
  margin: 0 0 16px;
}
.st-person,
.st-work {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--st-line);
}
.st-person > img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  background: #efefea;
}
.st-person-text,
.st-work-open span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.st-person-text strong,
.st-work-open strong {
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}
.st-upload-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.st-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.st-thumb,
.st-uploader {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f6f6f1;
}
.st-thumb img,
.st-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.st-delete-thumb {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  border: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: rgb(28 29 26 / 70%);
  color: white;
  padding: 0;
}
.st-uploader {
  border: 1px dashed #acafa5;
  color: var(--st-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.8125rem !important;
}
.st-uploader input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.st-review {
  height: min(34dvh, 280px);
  background: #efefea;
  border-radius: 9px;
  overflow: hidden;
  text-align: center;
}
.st-review > img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.st-cover-list {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 12px;
}
.st-cover {
  height: 43px;
  width: 43px;
  border-radius: 6px;
  border: 2px solid transparent;
  background: #eee;
  overflow: hidden;
  padding: 1px;
}
.st-cover-current {
  border-color: var(--st-accent);
}
.st-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--st-line);
}
.st-tab {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 6px 0 9px;
  font-size: 0.875rem !important;
  color: var(--st-muted);
}
.st-tab-current {
  border-bottom-color: var(--st-ink);
  color: var(--st-ink);
}
.st-work {
  justify-content: space-between;
}
.st-work-open {
  min-width: 0;
  flex: 1;
  padding: 2px 0;
}
.st-work-photo {
  width: 54px;
  height: 61px;
  object-fit: cover;
  border-radius: 4px;
  background: #efefea;
}
.st-empty {
  text-align: center;
  padding: 35px 4px 20px;
  color: var(--st-muted);
}
.st-empty p {
  color: var(--st-ink);
  margin: 8px 0 3px;
}
@media (max-width: 700px) {
  .st-dialog,
  .st-dialog.st-wide-dialog {
    width: min(100% - 16px, 510px);
    max-height: calc(100dvh - 16px);
    border-radius: 13px;
  }
  .st-sample-layout {
    display: block;
    min-height: 0;
  }
  .st-sample-visual {
    height: min(34dvh, 300px);
    min-height: 180px;
  }
  .st-preview-stage {
    inset: 12px 12px 31px;
  }
  .st-frame-label {
    bottom: 6px;
  }
  .st-sample-content,
  .st-panel {
    padding: 28px 22px 22px;
  }
  .st-sample-content {
    padding-top: 20px;
  }
  .st-tags {
    margin: 10px 0 18px;
  }
  .st-field {
    padding-bottom: 12px;
  }
  .st-close {
    right: 10px;
    top: 10px;
  }
  .st-head {
    margin-bottom: 18px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .st-dialog[open] {
    animation: st-rise 0.17s ease-out;
  }
  @keyframes st-rise {
    from {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.st-model {
  display: grid;
  gap: 8px;
  margin: 20px 0 12px;
  font-size: 0.875rem;
  font-weight: 600;
}
.st-model select {
  font: inherit;
  font-weight: 400;
  min-height: 42px;
  border: 1px solid var(--st-line);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--st-ink);
  background: #fff;
}
.st-margin {
  margin-top: 14px;
}
.st-dialog .st-quota {
  margin: 16px 0;
  font-size: 0.83rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.st-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.st-code-row .st-button {
  margin: 0;
  min-height: 42px;
}
.st-form input {
  min-width: 0;
}
.st-upload-cell {
  display: grid;
  gap: 5px;
  align-content: start;
  min-width: 0;
}
.st-upload-cell strong {
  font-size: 0.79rem;
  font-weight: 600;
}
.st-upload-cell .st-uploader {
  width: 100%;
  box-sizing: border-box;
}
.st-upload-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.st-role-grid {
  margin: 20px 0;
}
.st-upload-cell .st-back {
  justify-self: start;
}
.st-blank-face {
  display: inline-block;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 1px solid var(--st-line);
  background: #f2f1ed;
  border-radius: 50%;
}
.st-person > img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.st-small-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
}
.st-small-actions .st-danger {
  background: none;
  color: #9d3f3d;
}
.st-result-photo {
  max-height: 56dvh;
  width: 100%;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  background: #f2f1ed;
}
.st-visitor-work {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid var(--st-line);
  border-radius: 8px;
  padding: 8px;
  overflow: hidden;
}
.st-visitor-work > span {
  display: grid;
  gap: 6px;
}
.st-visitor-work .st-work-photo {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
}
.st-visitor-work small {
  color: var(--st-muted);
}
.st-shell .st-close {
  font-size: 22px;
  line-height: 1;
}
.st-footnote {
  color: var(--st-muted);
  font-size: 0.8rem;
}
.st-feedback {
  overflow-wrap: anywhere;
}
.st-dialog[aria-busy="true"] {
  cursor: progress;
}
.st-code-row input {
  width: 100%;
}
