.manage-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.managed-sale{margin:20px 0}.sold-badge{color:#385849;background:#e6ede8;display:inline-block;padding:6px 12px;border-radius:20px}.details-content{white-space:pre-wrap;overflow-wrap:anywhere}.details-content a,.details-preview a{color:var(--green);text-decoration:underline;text-underline-offset:2px}.draft-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 0}.draft-bar p{margin:0;flex:1;font-size:14px}.creator #manage-message{color:#a82e23;line-height:1.5}.creator [hidden]{display:none!important}.site-manage{font-size:14px;color:inherit;text-decoration:none}.published-link{overflow-wrap:anywhere}.creator fieldset:disabled{opacity:.65}
/* Shared sale layout: profile first on phones, sidebar on desktop. */
.sale-layout .preview-profile{padding:8px 0 28px;min-width:0;overflow-wrap:anywhere}
.sale-layout .preview-profile p{margin:12px 0 20px}
.sale-layout .sale-feed{min-width:0}
@media(min-width:801px){
 #sale-content.sale-layout,.creator:has(#result:not([hidden])){max-width:1000px;padding:38px 28px 50px}
 .sale-layout{display:grid;grid-template-columns:minmax(0,300px) minmax(0,540px);gap:48px}
 .sale-layout .preview-profile{align-self:start;padding:5px 0 0;position:sticky;top:calc(var(--site-nav-height,74px) + 28px)}
 .sale-layout .preview-profile h1{font-size:29px}
 .sale-layout .preview-profile p{max-width:270px}
 #page-preview .preview-profile{position:static}
}

.managed-sale{padding:22px;border-radius:20px}
.managed-sale .sale-card-heading{display:grid;grid-template-columns:minmax(0,1fr) auto 48px;align-items:start;gap:8px}.managed-sale .sale-card-heading h2{min-width:0;margin:0;padding-top:9px;font-size:24px;line-height:1.2;letter-spacing:-.6px;overflow-wrap:anywhere}.sale-status{margin-top:10px;border-radius:20px;padding:4px 9px;background:#edf0ed;font-size:12px;line-height:20px;color:#52665a}.sale-status--published{background:#e8f2ec;color:#08634e}
.managed-sale .sale-card-description{font-size:15px;line-height:1.5;color:#52665a;margin:12px 0 18px;white-space:pre-wrap;overflow-wrap:anywhere}
.sale-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0 16px}.sale-card-actions .btn{width:100%}.sale-card-actions .btn:last-child:nth-child(3){grid-column:1/-1}
.sale-card-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px;margin:0 0 18px;padding:18px 0 0;border-top:1px solid #e2e9e5}.sale-card-stats>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:5px}.sale-card-stats dt{font-size:12px;line-height:1.4;color:#64736c}.sale-card-stats dd{font-size:26px;line-height:1.1;font-weight:600;margin:0;font-variant-numeric:tabular-nums}
.sale-card-dates{margin:12px 0;display:grid;gap:8px;font-size:12px;line-height:1.5}.sale-card-dates>div{display:flex;justify-content:space-between;gap:12px}.sale-card-dates dt{color:#64736c}.sale-card-dates dd{margin:0;text-align:right}
.sale-view-help{border-top:1px solid #e2e9e5;font-size:12px;color:#52665e;margin-top:14px;padding-top:4px}.sale-view-help summary{font-size:13px}.sale-view-help p,.managed-sale .sale-history-note{font-size:12px;line-height:1.5;color:#64736c;margin:0 0 12px}
.share-actions{display:grid;gap:10px;margin-top:16px}#share-url{width:100%;box-sizing:border-box}#share-feedback{min-height:22px}
@media(max-width:360px){.managed-sale{padding:18px}.managed-sale .sale-card-heading h2{font-size:22px}.sale-card-dates>div{flex-direction:column;gap:2px}.sale-card-dates dd{text-align:left}}

#share-dialog{width:min(440px,calc(100% - 32px));box-sizing:border-box;padding:24px;border:1px solid #dce5df;border-radius:20px}#share-dialog::backdrop{background:#152c2466}#share-dialog input{box-sizing:border-box;width:100%;min-width:0}#share-dialog h2{margin-top:0;padding-right:32px}#share-dialog .share-close{position:absolute;right:8px;top:8px}

#share-dialog #share-feedback{font-size:13px;margin:8px 0 0;color:#087b5f}#share-dialog{padding-bottom:16px}


#status-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:440px;padding:24px;border:1px solid #dce5df;border-radius:20px}#status-dialog h2{margin-top:0}#status-message{line-height:1.5}

#delete-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:440px;padding:24px;border:1px solid #dce5df;border-radius:20px}#delete-dialog h2{margin-top:0}#delete-dialog p{line-height:1.5;overflow-wrap:anywhere}#delete-error{color:#a52b24}#delete-error:empty{display:none}

/* Offline cards use the live header layout; their actions live in the shared menu. */
.managed-sale .sale-card-heading:has(.sale-status--unpublished),.managed-sale .sale-card-heading:has(.sale-status--archived){margin-bottom:18px}

.payment-methods>svg{flex:none}.payment-methods>div{min-width:0;overflow-wrap:anywhere}

/* Keep the original pickup row readable when it leaves the visible sale area. */
.sale-pickup-slot{margin-top:7px;padding-top:env(safe-area-inset-top,0px)}
.preview-profile .sale-pickup-slot>[data-sale-pickup]{margin-top:0;overflow-wrap:anywhere}
[data-sale-pickup]>svg{flex:none}
[data-sale-pickup][data-stuck]{position:fixed;top:var(--pickup-top);left:var(--pickup-left);width:var(--pickup-width);z-index:19;background:#f5f7f6;padding:8px 0;border-bottom:1px solid var(--line)}
.sale-layout :is(a,button,summary,[tabindex]){scroll-margin-top:var(--sale-pickup-clearance,100px)}

/* Stable box insets and natural paragraph flow in both disclosure states. */
.buyer-details{padding:12px 20px;border-top:1px solid var(--line);font-size:16px;line-height:24px;color:#111b21;position:relative}.buyer-details>.details-content{display:inline;padding:0;color:inherit;font-size:inherit;line-height:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.buyer-details>.details-preview{display:inline-block;vertical-align:bottom;white-space:pre;overflow:hidden;line-height:inherit}.buyer-details>.btn--inline{margin-inline-start:4px}.buyer-details>.details-action-gap{display:none}.buyer-details.is-expanded>.details-action-gap{display:inline;white-space:normal}.buyer-details.is-expanded>.btn--inline{margin-inline-start:0}.buyer-details>[hidden]{display:none!important}.buyer-details>.details-measure{position:fixed;inset:0 auto auto -100000px;display:block!important;width:max-content;max-width:none;height:auto;white-space:pre;visibility:hidden;pointer-events:none}@media(max-width:800px){.buyer-details{padding-inline:16px}}
