.stde-product-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  background: #f5f8f6;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
}

.stde-product-entry__body {
  min-width: 0;
}

.stde-product-entry strong {
  display: block;
  color: #203b35;
  font-size: 16px;
}

.stde-product-entry p {
  margin: 6px 0 0;
  color: #52645e;
  font-size: 13px;
  line-height: 1.7;
}

.stde-product-entry__attached {
  color: #c7523f;
  font-weight: 800;
}

.stde-product-entry__saved,
.stde-submission-block__saved {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.stde-product-entry__saved span,
.stde-submission-block__saved label {
  color: #203b35;
  font-size: 12px;
  font-weight: 800;
}

.stde-product-entry__saved input,
.stde-submission-block__saved input {
  width: min(640px, 100%);
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #cbd8d2;
  border-radius: 6px;
  background: #fff;
  color: #203b35;
  font-size: 12px;
}

.stde-product-entry__button {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #203b35;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.stde-product-entry__button:hover {
  color: #fff;
  opacity: 0.88;
}

.stde-cart-design {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  background: #f5f8f6;
  border: 1px solid #dfe8e4;
  border-radius: 6px;
}

.stde-cart-design__text {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.stde-cart-design__edit {
  margin-left: 6px;
  color: #1b6f5a;
  font-weight: 800;
}

.stde-cart-design__preview {
  display: block;
  width: min(220px, 100%);
  height: auto;
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 4px;
}

.stde-start-page {
  background: #f5f2ec;
  color: #162723;
  padding: 44px 0 72px;
}

.stde-start-hero,
.stde-start-products {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.stde-start-hero {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.stde-start-hero__eyebrow {
  margin: 0;
  color: #c7523f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.stde-start-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
  word-break: keep-all;
}

.stde-start-hero p {
  max-width: 760px;
  margin: 0;
  color: #52645e;
  font-size: 15px;
  line-height: 1.9;
}

.stde-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stde-start-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2ddd3;
  border-radius: 8px;
}

.stde-start-card__image {
  display: grid;
  gap: 12px;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: #eef3ef;
  color: #203b35;
  font-weight: 800;
  text-decoration: none;
}

.stde-start-card__image--template {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(216, 94, 69, .08), transparent 40%),
    #eef3ef;
}

.stde-start-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stde-start-card__body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.stde-start-card h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.stde-start-card h2 a {
  color: #162723;
  text-decoration: none;
}

.stde-start-card p {
  margin: 0;
  color: #52645e;
  font-size: 14px;
  line-height: 1.75;
}

.stde-template-shape {
  display: block;
  width: min(82%, 300px);
  max-height: 160px;
  background: #fffdfa;
  border: 2px solid #203b35;
  border-radius: 4px;
  box-shadow: 0 16px 28px rgba(32, 59, 53, .12);
}

.stde-template-shape--muffler_110x20 {
  aspect-ratio: 11 / 2;
}

.stde-template-shape--face_83x34 {
  aspect-ratio: 83 / 34;
}

.stde-template-shape--hand_34x35 {
  width: min(52%, 170px);
  aspect-ratio: 34 / 35;
}

.stde-template-shape--mini_20x20 {
  width: min(48%, 160px);
  aspect-ratio: 1 / 1;
}

.stde-template-shape--bath_120x60 {
  aspect-ratio: 2 / 1;
}

.stde-start-card__image--template strong {
  color: #203b35;
  font-size: 13px;
}

.stde-start-card__price {
  margin: 0;
  color: #52645e;
  font-size: 14px;
  font-weight: 800;
}

.stde-start-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.stde-start-card__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: #203b35;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.stde-start-card__button:hover {
  color: #fff;
  opacity: 0.88;
}

.stde-start-card__link {
  color: #1b6f5a;
  font-size: 13px;
  font-weight: 800;
}

.stde-start-empty {
  margin: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid #e2ddd3;
  border-radius: 8px;
}

.stde-submission-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 260px) auto;
  gap: 18px;
  align-items: center;
  margin: 20px 0;
  padding: 18px;
  background: #f5f8f6;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
}

.stde-submission-block__eyebrow {
  margin: 0 0 6px;
  color: #c7523f;
  font-size: 12px;
  font-weight: 800;
}

.stde-submission-block h2 {
  margin: 0;
  color: #203b35;
  font-size: 21px;
  line-height: 1.5;
}

.stde-submission-block p {
  margin: 8px 0 0;
  color: #52645e;
  font-size: 14px;
  line-height: 1.8;
}

.stde-submission-block__notice {
  color: #c7523f !important;
  font-weight: 800;
}

.stde-submission-block__preview img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 6px;
}

.stde-submission-block__button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #203b35;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.stde-submission-block__button:hover {
  color: #fff;
  opacity: 0.88;
}

.stde-method-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 22px;
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.stde-method-preview {
  align-self: start;
  padding: 14px;
  background: #fff;
  border: 1px solid #e2ddd3;
  border-radius: 8px;
}

.stde-method-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dfe8e4;
  border-radius: 6px;
}

.stde-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stde-method-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e2ddd3;
  border-radius: 8px;
}

.stde-method-card__eyebrow {
  margin: 0;
  color: #c7523f;
  font-size: 12px;
  font-weight: 800;
}

.stde-method-card h2 {
  margin: 0;
  color: #203b35;
  font-size: 19px;
  line-height: 1.45;
}

.stde-method-card p {
  margin: 0;
  color: #52645e;
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 680px) {
  .stde-product-entry {
    display: grid;
  }

  .stde-product-entry__button {
    width: 100%;
  }

  .stde-start-grid,
  .stde-submission-block,
  .stde-method-layout,
  .stde-method-grid {
    grid-template-columns: 1fr;
  }

  .stde-submission-block__button {
    width: 100%;
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  .stde-start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stde-submission-block,
  .stde-method-layout,
  .stde-method-grid {
    grid-template-columns: 1fr;
  }
}

/* 確定済み(編集ロック)バッジ */
.stde-submission-block--locked {
	background: #f4f6f5;
}

.stde-submission-block__locked-badge {
	display: inline-flex;
	align-items: center;
	align-self: center;
	padding: 10px 18px;
	background: #155724;
	color: #fff;
	border-radius: 6px;
	font-weight: 700;
	white-space: nowrap;
}
