/* Build 515 owner-requested Etsy clean-up: one draft workflow on the Etsy tab.
   All historical audit controls remain in the DOM for existing event handlers,
   but are behind a closed support-only disclosure. */
body:has([data-editor-tab="etsy"][aria-selected="true"]) .dd489-readiness,
body:has([data-editor-tab="etsy"][aria-selected="true"]) .dd471-creation-flow {
  display:none;
}
.dd-etsy-panel #dd500Package {
  max-width:900px;
  margin-inline:auto;
  gap:16px;
}
.dd521-save-review {border:1px solid #ce8854;border-radius:10px;padding:14px;background:rgba(169,96,52,.12);margin:12px 0;display:grid;gap:10px}
.dd521-save-review[hidden] {display:none}
.dd521-save-review h3,.dd521-save-review p {margin:0;line-height:1.5;overflow-wrap:anywhere}
.dd521-save-review ul {margin:0;padding-left:24px;line-height:1.5;overflow-wrap:anywhere}
.dd521-save-review details {margin:.45rem 0;max-width:100%}
.dd521-save-review .dd522-diff-value {overflow-wrap:anywhere;white-space:pre-wrap;margin:.35rem 0;padding:.45rem .65rem;background:rgba(14,15,31,.65);border-radius:.4rem}
.dd-etsy-panel #dd500Title {font-size:clamp(1.45rem,2.3vw,2rem)}
.dd-etsy-panel .dd500-head p {line-height:1.55}
.dd-etsy-panel #dd500Open {max-width:max-content}
.dd-etsy-panel #dd500Status {
  padding:12px 14px;
  border:1px solid rgba(173,143,77,.4);
  border-radius:9px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.dd-etsy-panel #dd500Status[data-tone="hold"] {
  border-color:#d38b56;
  background:rgba(146,67,34,.13);
}
.dd-etsy-panel .dd500-readiness {display:block}
.dd-etsy-panel .dd500-readiness summary,
.dd-etsy-panel .dd515-support summary {cursor:pointer;font-weight:600;line-height:1.4}
.dd-etsy-panel .dd500-readiness ul {margin-top:12px}
.dd-etsy-panel .dd515-support {
  padding:12px 14px;
  border:1px solid rgba(167,119,59,.35);
  border-radius:10px;
}
.dd-etsy-panel .dd515-photo-repair {
  border:1px solid rgba(167,119,59,.42);
  border-radius:10px;
  padding:12px 14px;
}
.dd-etsy-panel .dd515-photo-repair summary {cursor:pointer;font-weight:600;line-height:1.4}
.dd-etsy-panel .dd515-photo-repair #dd505PhotoReview {margin-top:14px}
.dd-etsy-panel .dd516-photo-action {
  border:1px solid rgba(118,164,200,.5);
  border-radius:10px;
  background:rgba(45,85,126,.13);
  padding:14px;
  display:grid;
  gap:10px;
}
.dd-etsy-panel .dd516-photo-action[hidden] {display:none}
.dd-etsy-panel #dd516PhotoStatus {margin:0;line-height:1.5;overflow-wrap:anywhere}
.dd-etsy-panel .dd516-photo-action .btn {max-width:max-content}
.dd-etsy-panel .dd517-owner-check {
  display:grid;
  gap:10px;
  padding:14px;
  border:1px solid rgba(167,119,59,.55);
  border-radius:10px;
  background:rgba(167,119,59,.09);
}
.dd-etsy-panel .dd517-owner-check[hidden] {display:none}
.dd-etsy-panel .dd519-photo-evidence {display:grid;gap:10px;padding:14px;border:1px solid rgba(147,103,192,.6);border-radius:10px;background:rgba(147,103,192,.08)}
.dd-etsy-panel .dd519-photo-evidence[hidden] {display:none}
.dd-etsy-panel .dd519-photo-evidence h3,.dd-etsy-panel .dd519-photo-evidence p {margin:0;line-height:1.5;overflow-wrap:anywhere}
.dd-etsy-panel .dd519-photo-evidence .btn {width:fit-content;max-width:100%}
.dd-etsy-panel .dd520-evidence-list {margin:0;padding:10px 12px 10px 34px;line-height:1.55;border:1px solid rgba(167,119,59,.28);border-radius:8px;overflow-wrap:anywhere}
.dd-etsy-panel .dd520-evidence-list li+li {margin-top:6px}
.dd-etsy-panel .dd521-pair-gallery {display:grid;gap:12px}
.dd-etsy-panel .dd521-identity-pair {padding:12px;border:1px solid rgba(164,143,209,.55);border-radius:9px;display:grid;gap:8px;min-width:0}
.dd-etsy-panel .dd521-identity-pair strong {overflow-wrap:anywhere}
.dd-etsy-panel .dd521-pair-images {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dd-etsy-panel .dd521-pair-images figure {margin:0;min-width:0;display:grid;gap:6px}
.dd-etsy-panel .dd521-pair-images img {display:block;width:100%;height:150px;object-fit:contain;background:#141522;border:1px solid rgba(255,255,255,.15);border-radius:6px}
.dd-etsy-panel .dd521-pair-images figcaption {font-size:.86rem;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:500px) {.dd-etsy-panel .dd521-pair-images {grid-template-columns:minmax(0,1fr)} .dd-etsy-panel .dd521-pair-images img {height:210px}}
.dd-etsy-panel .dd517-owner-check h3,
.dd-etsy-panel .dd517-owner-check p {margin:0;line-height:1.5;overflow-wrap:anywhere}
.dd-etsy-panel .dd517-owner-check .btn {width:fit-content;max-width:100%}
.dd-etsy-panel .dd517-owner-consent {display:flex;align-items:flex-start;gap:9px;line-height:1.5}
.dd-etsy-panel .dd517-owner-consent input {width:19px;height:19px;flex:none;margin-top:2px}
.dd-etsy-panel .dd515-support[open] {display:grid;gap:12px}
/* The prior alternative draft editor duplicated the same create/update actions.
   Keep historical wiring available in source, but don't show two competing UIs. */
.dd-etsy-panel #dd500Legacy {display:none!important}
@media(max-width:700px) {
  .dd-etsy-panel #dd500Package {margin:8px 0;padding:14px}
  .dd-etsy-panel .dd500-head {display:block}
}
