/* A short state task uses the current product sheet and existing paper tokens. */
.product-offer-heading{display:flex;align-items:center;gap:4px 10px;flex-wrap:wrap;min-width:0}.product-offer-heading>strong{flex:1 1 150px;min-width:0;overflow-wrap:anywhere}.product-offer-heading>[data-product-state][open]{flex-basis:100%;min-width:0}
.product-current-state,.product-state-entry{display:inline-flex;align-items:center;gap:5px;min-height:36px;color:var(--ifx-color-text);font-weight:650}
.product-state-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.product-state-entry{list-style:none;border:1px solid var(--ifx-color-border-strong);border-radius:var(--ifx-radius-control);padding:2px 7px;background:var(--ifx-color-surface-muted);cursor:pointer;width:max-content;max-width:100%;box-sizing:border-box}
.product-state-entry::-webkit-details-marker{display:none}.product-state-entry:focus-visible{outline:var(--ifx-focus-ring);outline-offset:2px}
.product-state-entry .product-state-edit{width:14px;height:14px;color:var(--ifx-color-action)}
.product-state-editor{margin:6px 0 0;padding:8px 10px;background:var(--ifx-color-surface-muted);border:1px solid var(--ifx-color-border);border-radius:var(--ifx-radius-panel);max-width:460px;box-sizing:border-box;min-width:0}
.product-state-editor header{display:flex;align-items:center;gap:8px;margin:0 0 4px}
.product-state-editor header strong{flex:1;min-width:0;overflow-wrap:anywhere}
.product-state-close{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:0;color:var(--ifx-color-action);font-size:22px;text-decoration:none;background:transparent;border:0}
.product-state-choices{display:flex;align-items:center;gap:5px 14px;flex-wrap:wrap;border:0;padding:0;margin:4px 0;min-width:0}
.product-state-choices legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.product-state-choices label{display:inline-flex;align-items:center;gap:6px;min-height:36px;margin:0;cursor:pointer;max-width:100%;overflow-wrap:anywhere}
.product-state-choices input{margin:0!important;width:auto!important;flex:none}
.product-state-choices label:has(input:checked){font-weight:700}.product-state-choices label:has(input:focus-visible){outline:var(--ifx-focus-ring);outline-offset:2px}
.product-state-dirty{color:var(--ifx-color-warning);font-size:14px}.product-state-editor p,.product-operation-policy p{margin:4px 0!important}
.product-state-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:6px}.product-state-actions a{min-height:36px;display:inline-flex;align-items:center;padding:2px 7px}
.product-state-editor .error{margin:4px 0!important}
.product-state-history{margin-top:8px;border-top:1px solid var(--ifx-color-border);padding-top:4px;min-width:0}
.product-state-history summary{font-weight:650}.product-state-record{display:flex;align-items:baseline;gap:3px 10px;flex-wrap:wrap;padding:5px 0;border-bottom:1px solid var(--ifx-color-border);min-width:0}
.product-state-record:last-child{border-bottom:0}.product-state-record strong{overflow-wrap:anywhere;min-width:0}.product-state-record time{margin-inline-start:auto;color:var(--ifx-color-text-muted);font-size:14px}.product-state-record a{min-height:32px;display:inline-flex;align-items:center}
.product-operation-policy{border:0;border-top:1px solid var(--ifx-color-border);padding:8px 0 0;margin-top:12px;min-width:0}.product-operation-policy h2{margin:0 0 4px!important}
.product-operation-policy .check{min-height:36px;padding:0;margin:0}.product-operation-policy .product-state-choices{margin-top:6px}
.product-operation-policy .product-state-choices legend{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip-path:none;white-space:normal;color:var(--ifx-color-text-muted)}
.product-state-record+.pagination:empty,.product-state-history>.pagination:empty,.product-operation-list>.pagination:empty{display:none}
.product-operation-list{margin:8px 0;min-width:0}.product-operation-list h2{margin-bottom:4px!important}.product-operation-row{display:flex;align-items:baseline;gap:3px 10px;flex-wrap:wrap;border-bottom:1px solid var(--ifx-color-border);padding:6px 0;min-width:0}.product-operation-row>a{flex:1 1 220px;min-width:0;overflow-wrap:anywhere;font-weight:650}.product-operation-row time{color:var(--ifx-color-text-muted);font-size:14px}
.product-operation-detail p{margin:6px 0!important}.product-operation-detail .product-current-state{margin:4px 0}
@media(max-width:420px){.product-state-editor{padding:6px 8px}.product-state-choices{gap:2px 10px}.product-state-record time{margin-inline-start:0}.product-operation-row{gap:2px 8px}}
/* Product availability: readable content, explicit status and a direct business action. */
.product-sale--active{--product-sale-color:var(--ifx-color-success)}
.product-sale--paused{--product-sale-color:var(--ifx-color-warning)}
.product-sale--empty{--product-sale-color:var(--ifx-color-warning)}
.post-list .feed-post.product-sale--active,.post-list .feed-post.product-sale--paused,.post-list .feed-post.product-sale--empty{border-color:var(--product-sale-color);border-inline-start-width:3px}
.product-sale-state{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;border:1px solid var(--product-sale-color);border-inline-start-width:3px;border-radius:var(--ifx-radius-control);padding:5px 8px;max-width:100%;box-sizing:border-box;min-width:0}
.product-sale-state .product-current-state,.product-sale-label{color:var(--product-sale-color)}
.product-sale-label{display:inline-flex;align-items:center;gap:5px;font-weight:650;border:1px solid currentColor;border-radius:var(--ifx-radius-control);padding:2px 6px;white-space:normal}
.product-quick-state-form{display:flex;align-items:center;gap:4px 8px;flex-wrap:wrap;min-width:0;margin:0}
.product-quick-state-form button{min-height:36px;white-space:normal;overflow-wrap:anywhere}
.product-quick-state-form .error,.product-quick-state-form [data-state-conflict]{flex-basis:100%;margin:4px 0!important}
.product-quick-state-form--row{position:relative;z-index:2;width:fit-content;max-width:100%;cursor:auto;margin:4px 0}
.product-offer-heading>.product-sale-state{flex:0 1 auto}
