/* LMF v3.1 property window frame (lane F; gate zero fixes lane SKF-UI). The Darījums tab button is a plain sibling in the existing
 * .detail-tabs strip, so the existing tab rules (workspace.css, workspace-property-focus.css) style it exactly like its neighbours:
 * no rule here changes an existing tab. Only the Darījums panel's own content is styled, plus one frame rule (below). Tokens only. */
#detail-dialog .parcel-layout[data-v31-tab=deal] .v31-deal-mount{display:grid;gap:var(--v31-s-4);min-width:0;font-family:var(--v31-font);color:var(--v31-text)}
#detail-dialog .parcel-layout[data-v31-tab=deal] .v31-deal-placeholder{margin:0;padding:var(--v31-s-5);border:1px dashed var(--v31-line-strong);border-radius:var(--v31-r);color:var(--v31-text-2);font-size:var(--v31-fs);line-height:var(--v31-lh)}
#detail-dialog .parcel-layout[data-v31-tab=deal] .v31-deal-failed{margin:0;color:var(--v31-late);font-weight:var(--v31-fw-bold)}

/* Gate zero M3 and loop check M4 (STATES section 12: never two next-step places in one window). On the Darījums tab, with an active
 * deal or without one, the band or the empty block and the open Tasks list are the next step: the old next-task card (#parcel-next,
 * with its ring and "Ieplānot nākamo darbu") is hidden, and "Pievienot uzdevumu" loses its fill (one filled button per surface:
 * "Sākt darījumu" or the band's button). Scoped to the Darījums tab, so the existing tabs stay as they are. */
#detail-dialog .parcel-layout[data-v31-tab=deal] #parcel-next{display:none}
#detail-dialog .parcel-layout[data-v31-tab=deal] .parcel-aside .detail-actions>button.primary,
#detail-dialog .parcel-layout[data-v31-tab=deal] .parcel-aside .detail-actions>button.primary:hover{background:var(--v31-forest-soft);border-color:var(--v31-line-strong);color:var(--v31-forest)}
#detail-dialog .parcel-layout[data-v31-tab=deal] .parcel-aside .detail-actions>button.primary:hover{background:var(--v31-forest-tint)}
