/* Shared, mobile-first product system. Existing museum styles remain scoped to their pages. */
.studio-ready {
  --nav-h: 80px;
  --nav1-h: 0px;
  --nav2-h: 80px;
  --gutter: 24px;
  --st-line: #e6e3dc;
  --st-surface: #f6f5f1;
  --st-ink: #242521;
  --st-muted: #72746a;
}
.studio-ready body {
  background: var(--bg);
  color: var(--fg);
  padding-top: 80px;
  padding-bottom: 0;
  cursor: auto !important;
}
.st-nav {
  position: fixed;
  inset: 0 0 auto;
  height: 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
}
.st-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  flex-shrink: 0;
}
.st-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.st-brand > span {
  font-size: 20px;
  font-weight: 600;
}
.st-brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  font-weight: 400;
}
.st-navlinks,
.st-account {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  white-space: nowrap;
}
.st-navlinks {
  flex: 1;
}
.st-nav a {
  color: var(--fg-muted);
}
.st-nav a.active {
  color: var(--pop);
}
.st-account {
  gap: 14px;
  font-size: 12px;
}
.st-account button {
  background: none;
  border: 0;
  color: var(--fg-muted);
}
.st-menubtn,
.st-tabbar {
  display: none;
}
.st-mobilemenu[hidden] {
  display: none;
}
.st-mobilemenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  background: var(--bg-card);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.studio-page {
  padding: 0 32px 48px;
}
.studio-page > div:not(.st-home) {
  max-width: 1376px;
  margin: auto;
}
.st-home {
  max-width: 1376px;
  margin: auto;
}
.st-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 620px;
  border-bottom: 1px solid var(--border);
}
.st-hero-copy {
  padding: 94px 40px 70px 20px;
  align-self: center;
}
.st-eyebrow {
  font-size: 11px !important;
  letter-spacing: 0.16em;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.st-hero h1 {
  font-size: clamp(36px, 4.2vw, 66px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
}
.st-hero p:not(.st-eyebrow):not(.st-note) {
  font-size: 16px;
  line-height: 1.9;
  color: var(--fg-muted);
  max-width: 460px;
}
.st-hero-art {
  position: relative;
  margin: 30px 0 30px 28px;
  overflow: hidden;
  background: var(--bg-soft);
}
.st-hero-art > img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
.st-art-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 26px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: white;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.st-art-caption span {
  font-size: 10px;
  letter-spacing: 0.12em;
}
.st-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 26px 0;
}
.st-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--fg) !important;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s,
    transform 0.15s;
}
.st-button:hover {
  background: var(--bg-hover);
}
.st-button:active {
  transform: translateY(1px);
}
.st-button--dark {
  background: var(--fg);
  color: var(--bg) !important;
  border-color: var(--fg);
}
.st-button--dark:hover {
  background: var(--pop);
  border-color: var(--pop);
  color: white !important;
}
.st-button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.st-button--small {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px;
}
.st-button--danger {
  color: var(--err) !important;
}
.st-note {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.st-section {
  padding: 60px 20px;
}
.st-section h2,
.st-title {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.st-sectionhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.st-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 38px;
}
.st-step {
  color: var(--fg);
  border-top: 1px solid var(--border-strong);
  padding-top: 20px;
}
.st-step > span {
  font-size: 12px;
  color: var(--pop);
}
.st-step h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 24px 0 14px;
}
.st-step p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.9;
}
.st-step b {
  display: block;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 400;
}
.st-strip {
  background: var(--bg-soft);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 36px;
  margin-top: 20px;
}
.st-strip p {
  color: var(--fg-muted);
  font-size: 14px;
  margin-top: 12px;
}
.st-footer {
  padding: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-muted);
}
.st-pagehead {
  padding: 40px 0 28px;
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
}
.st-pagehead p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 12px;
}
.st-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.st-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background: var(--bg-card);
}
.st-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 14px 0 10px;
}
.st-card p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.8;
}
.st-product > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--bg-soft);
  border-radius: 6px;
}
.st-empty {
  padding: 46px 24px;
  border: 1px dashed var(--border-strong);
  text-align: center;
  border-radius: 8px;
  grid-column: 1/-1;
}
.st-empty h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 12px;
}
.st-empty p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--fg-muted);
}
.st-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-soft);
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  vertical-align: middle;
}
.st-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.st-person {
  display: flex;
  gap: 14px;
  align-items: center;
}
.st-person h3 {
  margin: 0 0 4px;
}
.st-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
  font-size: 13px;
}
.st-field input,
.st-field textarea,
.st-field select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  line-height: 1.6;
}
.st-field textarea {
  resize: vertical;
  min-height: 100px;
}
.st-fieldrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.st-panel {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
}
.st-split {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.st-result {
  background: var(--bg-soft);
  padding: 26px;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 8px;
}
.st-result img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
}
.st-error {
  color: var(--err);
  font-size: 14px;
  line-height: 1.8;
}
.st-loading {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--pop);
  animation: st-spin 1s linear infinite;
}
.st-status {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  padding: 5px 9px;
  font-size: 12px;
  background: var(--bg-soft);
  color: var(--fg-muted);
}
.st-orderrow {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.st-orderrow > div:first-child {
  flex: 1;
  min-width: 0;
}
.st-orderrow h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 7px;
}
.st-orderrow p {
  font-size: 12px;
  color: var(--fg-muted);
}
.st-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.st-metric {
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 6px;
}
.st-metric b {
  display: block;
  font-size: 28px;
  font-weight: 500;
  margin: 10px 0;
}
.st-metric span {
  font-size: 12px;
  color: var(--fg-muted);
}
.st-message {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.st-message header {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 10px;
}
.st-message .st-avatar {
  width: 28px;
  height: 28px;
}
.st-message.mine {
  padding-left: 16px;
  background: var(--bg-soft);
  border-radius: 6px;
}
.st-messages {
  max-height: 420px;
  overflow: auto;
  overscroll-behavior: contain;
}
.st-filterbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.st-filterbar .active {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg) !important;
}
.comment__head .st-avatar {
  width: 30px;
  height: 30px;
  margin-right: 8px;
}
.st-design-summary img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: var(--bg-soft);
}
.studio-ready :focus-visible {
  outline: 2px solid var(--pop);
  outline-offset: 3px;
}
.studio-ready .cursor,
.studio-ready #customCursor {
  display: none !important;
}
[data-edition="government"] [data-feature="customization"] {
  display: none !important;
}
@keyframes st-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1150px) {
  .st-nav {
    padding: 0 24px;
    gap: 20px;
  }
  .st-navlinks {
    gap: 16px;
    font-size: 12px;
  }
  .st-account > a:first-child,
  .st-worklink {
    display: none !important;
  }
  .st-split {
    grid-template-columns: 330px minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  .studio-ready {
    --nav-h: 64px;
    --nav2-h: 64px;
    --tabbar-h: 60px;
  }
  .studio-ready body {
    padding-top: 64px;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
  .st-nav {
    height: 64px;
    padding: 0 18px;
    justify-content: space-between;
  }
  .st-navlinks {
    display: none;
  }
  .st-account {
    gap: 12px;
  }
  .st-menubtn {
    display: block;
    min-width: 44px;
    min-height: 44px;
    font-size: 22px;
  }
  .st-brand small {
    font-size: 9px;
  }
  .st-tabbar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 58px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--bg);
    border-top: 1px solid var(--border);
    z-index: 140;
    justify-content: space-around;
    align-items: center;
  }
  .st-tabbar a {
    font-size: 12px;
    color: var(--fg-muted);
    padding: 20px 12px;
  }
  .st-tabbar a.active {
    color: var(--pop);
    font-weight: 600;
  }
  .studio-page {
    padding: 0 18px 28px;
  }
  .st-hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .st-hero-copy {
    padding: 38px 4px 26px;
    width: 100%;
  }
  .st-hero h1 {
    font-size: clamp(34px, 7vw, 48px);
    margin-bottom: 20px;
  }
  .st-hero p:not(.st-eyebrow):not(.st-note) {
    font-size: 14px;
  }
  .st-hero-art {
    margin: 0;
    min-height: 290px;
  }
  .st-art-caption {
    padding: 18px;
  }
  .st-art-caption span {
    display: none;
  }
  .st-section {
    padding: 38px 0;
  }
  .st-steps {
    gap: 22px;
    grid-template-columns: 1fr;
  }
  .st-step {
    position: relative;
    padding: 20px 0 0 46px;
  }
  .st-step > span {
    position: absolute;
    left: 0;
    top: 26px;
  }
  .st-step h3 {
    margin: 0 0 10px;
    font-size: 20px;
  }
  .st-step b {
    margin-top: 12px;
  }
  .st-strip {
    padding: 24px;
    display: block;
  }
  .st-strip .st-button {
    margin-top: 22px;
  }
  .st-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .st-card {
    padding: 18px;
  }
  .st-pagehead {
    padding: 30px 0 20px;
    align-items: start;
  }
  .st-pagehead .st-actions {
    margin: 0;
  }
  .st-split {
    grid-template-columns: 1fr;
  }
  .st-result {
    min-height: 250px;
    padding: 18px;
  }
  .st-field input,
  .st-field textarea,
  .st-field select {
    font-size: 16px;
  }
  .st-panel {
    padding: 20px;
  }
  .st-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .st-orderrow {
    gap: 12px;
  }
  .st-fieldrow {
    gap: 12px;
  }
  .st-footer {
    padding: 24px 18px;
  }
  .st-empty {
    padding: 32px 18px;
  }
  .st-messages {
    max-height: 55dvh;
  }
}
@media (max-width: 480px) {
  .st-grid {
    grid-template-columns: 1fr;
  }
  .st-title {
    font-size: 26px;
  }
  .st-account a.st-button {
    padding: 8px 12px;
  }
  .st-pagehead {
    flex-wrap: wrap;
  }
  .st-hero-art {
    min-height: 240px;
  }
  .st-fieldrow {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .studio-ready * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.studio-ready .page:not(.studio-page):not(#page-create-detail) {
  padding-top: 20px;
}
.studio-ready {
  --font: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --font-display: var(--font);
}
.studio-ready .styles-float[hidden] {
  display: none !important;
}
.st-museum-filter {
  display: none;
}
@media (max-width: 500px) {
  .st-museum-filter {
    display: block;
    margin-left: auto;
    background: transparent;
    border: 0;
    color: var(--fg);
    min-height: 44px;
    padding: 8px 12px;
  }
  .studio-ready .mob-tagbtn {
    display: none !important;
  }
  .studio-ready .mob-tagdrawer {
    z-index: 145;
  }
  .studio-ready #page-styles .styles-layout {
    padding-top: 20px;
  }
  .studio-ready .styles-head {
    min-height: 0 !important;
  }
  .studio-ready .styles-grid {
    margin-top: 24px;
  }
}
.st-themebtn {
  font-size: 20px;
  min-width: 36px;
  min-height: 44px;
}
.st-museum-filter {
  order: 3;
}
@media (max-width: 800px) {
  .st-account > a:not(.st-button):not(.st-worklink) {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .st-account {
    gap: 8px;
  }
  .st-themebtn {
    min-width: 30px;
  }
}
